diff --git a/PublicHealthCaseReporting/.DS_Store b/PublicHealthCaseReporting/.DS_Store new file mode 100644 index 0000000000..7bfa1c7127 Binary files /dev/null and b/PublicHealthCaseReporting/.DS_Store differ diff --git a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.anthrax.doc/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.anthrax.doc/META-INF/MANIFEST.MF index a47c7fc323..c8dc268603 100644 --- a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.anthrax.doc/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.anthrax.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.anthrax.doc;singleton:=true Bundle-ClassPath: . diff --git a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis.doc/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis.doc/META-INF/MANIFEST.MF index 15c8843153..e6a03ee86b 100644 --- a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis.doc/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis.doc;singleton:=true Bundle-ClassPath: . diff --git a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.cocci.doc/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.cocci.doc/META-INF/MANIFEST.MF index a585ab8f2b..523690f154 100644 --- a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.cocci.doc/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.cocci.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.cocci.doc;singleton:=true Bundle-ClassPath: . diff --git a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.doc/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.doc/META-INF/MANIFEST.MF index 0863e82ae2..750944d353 100644 --- a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.doc/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.doc;singleton:=true Bundle-ClassPath: . diff --git a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.flu.doc/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.flu.doc/META-INF/MANIFEST.MF index 288accd686..6e3e4b5eb0 100644 --- a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.flu.doc/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.flu.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.flu.doc;singleton:=true Bundle-ClassPath: . diff --git a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.hepb.doc/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.hepb.doc/META-INF/MANIFEST.MF index e2026e95e7..f90e0e060a 100644 --- a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.hepb.doc/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.hepb.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.hepb.doc;singleton:=true Bundle-ClassPath: . diff --git a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.hib.doc/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.hib.doc/META-INF/MANIFEST.MF index 2f76ba6615..0f6a38666b 100644 --- a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.hib.doc/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.hib.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.hib.doc;singleton:=true Bundle-ClassPath: . diff --git a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.meningococcal.doc/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.meningococcal.doc/META-INF/MANIFEST.MF index b6f546108b..152881edcf 100644 --- a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.meningococcal.doc/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.meningococcal.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.meningococcal.doc;singleton:=true Bundle-ClassPath: . diff --git a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.pertussis.doc/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.pertussis.doc/META-INF/MANIFEST.MF index 6ac7351856..7eb05331ff 100644 --- a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.pertussis.doc/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.pertussis.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.pertussis.doc;singleton:=true Bundle-ClassPath: . diff --git a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.salmonellosis.doc/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.salmonellosis.doc/META-INF/MANIFEST.MF index b8eb178eb1..46b5a70c2a 100644 --- a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.salmonellosis.doc/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.salmonellosis.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.salmonellosis.doc;singleton:=true Bundle-ClassPath: . diff --git a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.silicosis.doc/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.silicosis.doc/META-INF/MANIFEST.MF index 2c1a957d6d..e6cc76a778 100644 --- a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.silicosis.doc/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.silicosis.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.silicosis.doc;singleton:=true Bundle-ClassPath: . diff --git a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.streppneumo.doc/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.streppneumo.doc/META-INF/MANIFEST.MF index 288accd686..6e3e4b5eb0 100644 --- a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.streppneumo.doc/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.streppneumo.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.flu.doc;singleton:=true Bundle-ClassPath: . diff --git a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.tss.doc/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.tss.doc/META-INF/MANIFEST.MF index 52a2c66ccd..18f032a853 100644 --- a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.tss.doc/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.tss.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.tss.doc;singleton:=true Bundle-ClassPath: . diff --git a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.tuberculosis.doc/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.tuberculosis.doc/META-INF/MANIFEST.MF index cebaa04c12..b19bf8d85e 100644 --- a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.tuberculosis.doc/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.tuberculosis.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.tuberculosis.doc;singleton:=true Bundle-ClassPath: . diff --git a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.tularemia.doc/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.tularemia.doc/META-INF/MANIFEST.MF index 0eed4592e0..dca1a943f0 100644 --- a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.tularemia.doc/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.tularemia.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.tularemia.doc;singleton:=true Bundle-ClassPath: . diff --git a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.wnv.doc/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.wnv.doc/META-INF/MANIFEST.MF index 74ad1361b9..1a94336c83 100644 --- a/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.wnv.doc/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/doc/org.openhealthtools.mdht.uml.cda.phcr.wnv.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.wnv.doc;singleton:=true Bundle-ClassPath: . diff --git a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.anthrax/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.anthrax/META-INF/MANIFEST.MF index 76d16eb394..b2818597b1 100644 --- a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.anthrax/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.anthrax/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.9.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.anthrax;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis/META-INF/MANIFEST.MF index 0b5afcc7f8..758af5ce57 100644 --- a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.cocci/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.cocci/META-INF/MANIFEST.MF index 76a2304826..13f1cba387 100644 --- a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.cocci/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.cocci/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.cocci;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.flu/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.flu/META-INF/MANIFEST.MF index eaa1fd7f68..bc0209fb06 100644 --- a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.flu/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.flu/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.flu;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.hepb/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.hepb/META-INF/MANIFEST.MF index 61425fe8c2..4c0e4b577b 100644 --- a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.hepb/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.hepb/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.hepb;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.hib/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.hib/META-INF/MANIFEST.MF index b3c3a91411..c8bf0844d8 100644 --- a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.hib/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.hib/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.hib;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.meningococcal/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.meningococcal/META-INF/MANIFEST.MF index 79da854141..e49a98aeec 100644 --- a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.meningococcal/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.meningococcal/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.meningococcal;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.pertussis/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.pertussis/META-INF/MANIFEST.MF index 060a17df48..eb9077449f 100644 --- a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.pertussis/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.pertussis/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.pertussis;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.salmonellosis/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.salmonellosis/META-INF/MANIFEST.MF index e8130f3f10..d3f1e00f29 100644 --- a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.salmonellosis/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.salmonellosis/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.salmonellosis;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.silicosis/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.silicosis/META-INF/MANIFEST.MF index 803a9839fa..640e5556a2 100644 --- a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.silicosis/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.silicosis/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.silicosis;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.streppneumo/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.streppneumo/META-INF/MANIFEST.MF index 2e0a3b6072..4a18288a6c 100644 --- a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.streppneumo/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.streppneumo/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.streppneumo;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.tss/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.tss/META-INF/MANIFEST.MF index cd4165d434..2c1000eff9 100644 --- a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.tss/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.tss/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.tss;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.tuberculosis/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.tuberculosis/META-INF/MANIFEST.MF index f5751c1825..4156f7a1ca 100644 --- a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.tuberculosis/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.tuberculosis/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.tuberculosis;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.tularemia/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.tularemia/META-INF/MANIFEST.MF index 5b37bed969..bc893187fa 100644 --- a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.tularemia/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.tularemia/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.tularemia;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.wnv/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.wnv/META-INF/MANIFEST.MF index db46280a05..ac343f961d 100644 --- a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.wnv/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr.wnv/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phcr.wnv;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr/META-INF/MANIFEST.MF index fb2eb99948..f4114bf0a3 100644 --- a/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/generated/org.openhealthtools.mdht.uml.cda.phcr/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.9.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr, org.openhealthtools.mdht.uml.cda.phcr.impl, org.openhealthtools.mdht.uml.cda.phcr.operations, diff --git a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.anthrax.tests/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.anthrax.tests/META-INF/MANIFEST.MF index 777f9c0081..6a6e479fe3 100644 --- a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.anthrax.tests/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.anthrax.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.5.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.anthrax.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.anthrax;visibility:=reexport, diff --git a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis.tests/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis.tests/META-INF/MANIFEST.MF index 7bedabb7d7..1ddaa1f7df 100644 --- a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis.tests/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.5.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis;visibility:=reexport, diff --git a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.cocci.tests/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.cocci.tests/META-INF/MANIFEST.MF index d78f7295d1..4d7455cb36 100644 --- a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.cocci.tests/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.cocci.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.5.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.cocci.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.cocci;visibility:=reexport, diff --git a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.hepb.tests/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.hepb.tests/META-INF/MANIFEST.MF index 40d847a1cb..02ef4bafb4 100644 --- a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.hepb.tests/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.hepb.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.5.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.hepb.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.hepb;visibility:=reexport, diff --git a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.pertussis.tests/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.pertussis.tests/META-INF/MANIFEST.MF index 266810e49a..d820092847 100644 --- a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.pertussis.tests/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.pertussis.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.5.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.pertussis.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.pertussis;visibility:=reexport, diff --git a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.salmonellosis.tests/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.salmonellosis.tests/META-INF/MANIFEST.MF index f045af281b..0f5dae15d8 100644 --- a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.salmonellosis.tests/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.salmonellosis.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.5.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.salmonellosis.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.salmonellosis;visibility:=reexport, diff --git a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.silicosis.tests/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.silicosis.tests/META-INF/MANIFEST.MF index 5cd1a3f764..befe1b7ec3 100644 --- a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.silicosis.tests/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.silicosis.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.5.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.silicosis.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.silicosis;visibility:=reexport, diff --git a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.streppneumo.tests/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.streppneumo.tests/META-INF/MANIFEST.MF index ecf17e6a9b..57e626f579 100644 --- a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.streppneumo.tests/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.streppneumo.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.5.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.streppneumo.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.streppneumo;visibility:=reexport, diff --git a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.tests/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.tests/META-INF/MANIFEST.MF index b4889fdf3e..034361f17d 100644 --- a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.tests/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.5.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr;visibility:=reexport, diff --git a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.tss.tests/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.tss.tests/META-INF/MANIFEST.MF index 75935ba8aa..6341f27750 100644 --- a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.tss.tests/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.tss.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.5.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.tss.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.tss;visibility:=reexport, diff --git a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.tuberculosis.tests/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.tuberculosis.tests/META-INF/MANIFEST.MF index a01c4e3848..e0645d40c7 100644 --- a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.tuberculosis.tests/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.tuberculosis.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.5.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.tuberculosis.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.tuberculosis;visibility:=reexport, diff --git a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.tularemia.tests/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.tularemia.tests/META-INF/MANIFEST.MF index 60929e4809..6741ab6d5f 100644 --- a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.tularemia.tests/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.tularemia.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.5.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.tularemia.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.tularemia;visibility:=reexport, diff --git a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.wnv.tests/META-INF/MANIFEST.MF b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.wnv.tests/META-INF/MANIFEST.MF index a1f31b4099..40ba944240 100644 --- a/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.wnv.tests/META-INF/MANIFEST.MF +++ b/PublicHealthCaseReporting/tests/org.openhealthtools.mdht.uml.cda.phcr.wnv.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.5.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.wnv.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.wnv;visibility:=reexport, diff --git a/deprecated/emspatientcarereport/org.openhealthtools.mdht.uml.cda.emspatientcarereport/META-INF/MANIFEST.MF b/deprecated/emspatientcarereport/org.openhealthtools.mdht.uml.cda.emspatientcarereport/META-INF/MANIFEST.MF index e0bdb4b900..95331a4195 100644 --- a/deprecated/emspatientcarereport/org.openhealthtools.mdht.uml.cda.emspatientcarereport/META-INF/MANIFEST.MF +++ b/deprecated/emspatientcarereport/org.openhealthtools.mdht.uml.cda.emspatientcarereport/META-INF/MANIFEST.MF @@ -1,14 +1,14 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.emspatientcarereport;singleton:=true Bundle-Version: 0.7.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Require-Bundle: org.eclipse.core.runtime, org.eclipse.emf.ecore;visibility:=reexport, org.eclipse.ocl.ecore;visibility:=reexport, diff --git a/deprecated/org.openhealthtools.mdht.uml.cda.consoltoc.doc/META-INF/MANIFEST.MF b/deprecated/org.openhealthtools.mdht.uml.cda.consoltoc.doc/META-INF/MANIFEST.MF index e43d9f1187..e7031ac63d 100644 --- a/deprecated/org.openhealthtools.mdht.uml.cda.consoltoc.doc/META-INF/MANIFEST.MF +++ b/deprecated/org.openhealthtools.mdht.uml.cda.consoltoc.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.consoltoc.doc;singleton:=true Bundle-ClassPath: . diff --git a/deprecated/org.openhealthtools.mdht.uml.cda.consoltoc/META-INF/MANIFEST.MF b/deprecated/org.openhealthtools.mdht.uml.cda.consoltoc/META-INF/MANIFEST.MF index bde6228c0f..3ffd1d02e6 100644 --- a/deprecated/org.openhealthtools.mdht.uml.cda.consoltoc/META-INF/MANIFEST.MF +++ b/deprecated/org.openhealthtools.mdht.uml.cda.consoltoc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 1.0.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.consoltoc;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/deprecated/tests/org.openhealthtools.mdht.uml.cda.phcr.anthrax.tests/META-INF/MANIFEST.MF b/deprecated/tests/org.openhealthtools.mdht.uml.cda.phcr.anthrax.tests/META-INF/MANIFEST.MF index cb1a40078b..81a186465b 100644 --- a/deprecated/tests/org.openhealthtools.mdht.uml.cda.phcr.anthrax.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/org.openhealthtools.mdht.uml.cda.phcr.anthrax.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.anthrax.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.anthrax;visibility:=reexport, diff --git a/deprecated/tests/org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis.tests/META-INF/MANIFEST.MF b/deprecated/tests/org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis.tests/META-INF/MANIFEST.MF index 0c52924913..5b755b162c 100644 --- a/deprecated/tests/org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.chlamydiatrachomatis;visibility:=reexport, diff --git a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.cocci.tests/META-INF/MANIFEST.MF b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.cocci.tests/META-INF/MANIFEST.MF index 6b660d8c3f..80f1a024d2 100644 --- a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.cocci.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.cocci.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.cocci.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.cocci;visibility:=reexport, diff --git a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.hepb.tests/META-INF/MANIFEST.MF b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.hepb.tests/META-INF/MANIFEST.MF index 13659dabf0..169d67fd34 100644 --- a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.hepb.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.hepb.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.hepb.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.hepb;visibility:=reexport, diff --git a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.pertussis.tests/META-INF/MANIFEST.MF b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.pertussis.tests/META-INF/MANIFEST.MF index 3d185aa838..ea04745362 100644 --- a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.pertussis.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.pertussis.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.pertussis.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.pertussis;visibility:=reexport, diff --git a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.salmonellosis.tests/META-INF/MANIFEST.MF b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.salmonellosis.tests/META-INF/MANIFEST.MF index 45799dffcb..b0cbcb18d2 100644 --- a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.salmonellosis.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.salmonellosis.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.salmonellosis.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.salmonellosis;visibility:=reexport, diff --git a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.silicosis.tests/META-INF/MANIFEST.MF b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.silicosis.tests/META-INF/MANIFEST.MF index 994aca85eb..48cf91e172 100644 --- a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.silicosis.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.silicosis.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.silicosis.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.silicosis;visibility:=reexport, diff --git a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.streppneumo.tests/META-INF/MANIFEST.MF b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.streppneumo.tests/META-INF/MANIFEST.MF index 4b6cd9cb05..5d4249b0dc 100644 --- a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.streppneumo.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.streppneumo.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.streppneumo.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.streppneumo;visibility:=reexport, diff --git a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.tss.tests/META-INF/MANIFEST.MF b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.tss.tests/META-INF/MANIFEST.MF index 80e4823ac7..1fa1f79add 100644 --- a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.tss.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.tss.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.tss.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.tss;visibility:=reexport, diff --git a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.tuberculosis.tests/META-INF/MANIFEST.MF b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.tuberculosis.tests/META-INF/MANIFEST.MF index d9fbb94d6e..250af70a65 100644 --- a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.tuberculosis.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.tuberculosis.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.tuberculosis.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.tuberculosis;visibility:=reexport, diff --git a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.tularemia.tests/META-INF/MANIFEST.MF b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.tularemia.tests/META-INF/MANIFEST.MF index d24f64a995..edb66c3b8f 100644 --- a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.tularemia.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.tularemia.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.tularemia.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.tularemia;visibility:=reexport, diff --git a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.wnv.tests/META-INF/MANIFEST.MF b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.wnv.tests/META-INF/MANIFEST.MF index c754e75723..419561eee8 100644 --- a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.wnv.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phcr.wnv.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phcr.wnv.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phcr.wnv;visibility:=reexport, diff --git a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phmr.tests/META-INF/MANIFEST.MF b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phmr.tests/META-INF/MANIFEST.MF index 12b5aa1676..c2b8272848 100644 --- a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phmr.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.phmr.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phmr.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phmr;visibility:=reexport, diff --git a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.qrda.tests/META-INF/MANIFEST.MF b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.qrda.tests/META-INF/MANIFEST.MF index c68097d8db..0ef85518fa 100644 --- a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.qrda.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.qrda.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.qrda.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.qrda;visibility:=reexport, diff --git a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.sdtm.tests/META-INF/MANIFEST.MF b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.sdtm.tests/META-INF/MANIFEST.MF index 2a20672c79..0ce988030a 100644 --- a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.sdtm.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.sdtm.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.sdtm.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.sdtm;visibility:=reexport, diff --git a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.vsbr.tests/META-INF/MANIFEST.MF b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.vsbr.tests/META-INF/MANIFEST.MF index b72c5cb4c9..bc238d4203 100644 --- a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.vsbr.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.vsbr.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.vsbr.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.vsbr;visibility:=reexport, diff --git a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.vsdr.tests/META-INF/MANIFEST.MF b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.vsdr.tests/META-INF/MANIFEST.MF index d417bc0d7c..03f5f18bed 100644 --- a/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.vsdr.tests/META-INF/MANIFEST.MF +++ b/deprecated/tests/trunk/org.openhealthtools.mdht.uml.cda.vsdr.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.vsdr.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.vsdr;visibility:=reexport, diff --git a/doc/.DS_Store b/doc/.DS_Store new file mode 100644 index 0000000000..5aa5e49de3 Binary files /dev/null and b/doc/.DS_Store differ diff --git a/doc/.project b/doc/.project new file mode 100644 index 0000000000..f7597a8ab5 --- /dev/null +++ b/doc/.project @@ -0,0 +1,11 @@ + + + doc + + + + + + + + diff --git a/doc/org.openhealthtools.mdht.uml.cda.consol.doc/.externalToolBuilders/org.eclipse.mdht.uml.cda.ui.org.eclipse.mdht.uml.cda.builder.id.launch b/doc/org.openhealthtools.mdht.uml.cda.consol.doc/.externalToolBuilders/org.eclipse.mdht.uml.cda.ui.org.eclipse.mdht.uml.cda.builder.id.launch new file mode 100644 index 0000000000..aea9581811 --- /dev/null +++ b/doc/org.openhealthtools.mdht.uml.cda.consol.doc/.externalToolBuilders/org.eclipse.mdht.uml.cda.ui.org.eclipse.mdht.uml.cda.builder.id.launch @@ -0,0 +1,7 @@ + + + + + + + diff --git a/doc/org.openhealthtools.mdht.uml.cda.consol.doc/dita/out/spec-book.pdf b/doc/org.openhealthtools.mdht.uml.cda.consol.doc/dita/out/spec-book.pdf new file mode 100644 index 0000000000..cbbf79d6f9 Binary files /dev/null and b/doc/org.openhealthtools.mdht.uml.cda.consol.doc/dita/out/spec-book.pdf differ diff --git a/doc/org.openhealthtools.mdht.uml.cda.hitsp.doc/dita/out/hitsp-book.pdf b/doc/org.openhealthtools.mdht.uml.cda.hitsp.doc/dita/out/hitsp-book.pdf new file mode 100644 index 0000000000..9097a0b93c Binary files /dev/null and b/doc/org.openhealthtools.mdht.uml.cda.hitsp.doc/dita/out/hitsp-book.pdf differ diff --git a/doc/org.openhealthtools.mdht.uml.cda.ihe.eye.doc/META-INF/MANIFEST.MF b/doc/org.openhealthtools.mdht.uml.cda.ihe.eye.doc/META-INF/MANIFEST.MF index 3f79d60bb7..3dd7d05904 100644 --- a/doc/org.openhealthtools.mdht.uml.cda.ihe.eye.doc/META-INF/MANIFEST.MF +++ b/doc/org.openhealthtools.mdht.uml.cda.ihe.eye.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.1.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.ihe.eye.doc;singleton:=true Bundle-ClassPath: . diff --git a/doc/org.openhealthtools.mdht.uml.cda.ihe.qrph.doc/META-INF/MANIFEST.MF b/doc/org.openhealthtools.mdht.uml.cda.ihe.qrph.doc/META-INF/MANIFEST.MF index 5f15dd75e3..907a5066c8 100644 --- a/doc/org.openhealthtools.mdht.uml.cda.ihe.qrph.doc/META-INF/MANIFEST.MF +++ b/doc/org.openhealthtools.mdht.uml.cda.ihe.qrph.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.1.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.ihe.qrph.doc;singleton:=true Bundle-ClassPath: . diff --git a/doc/org.openhealthtools.mdht.uml.cda.phmr.doc/META-INF/MANIFEST.MF b/doc/org.openhealthtools.mdht.uml.cda.phmr.doc/META-INF/MANIFEST.MF index 5c97edb777..703de97185 100644 --- a/doc/org.openhealthtools.mdht.uml.cda.phmr.doc/META-INF/MANIFEST.MF +++ b/doc/org.openhealthtools.mdht.uml.cda.phmr.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.phmr.doc;singleton:=true Bundle-ClassPath: . diff --git a/doc/org.openhealthtools.mdht.uml.cda.qrda.doc/META-INF/MANIFEST.MF b/doc/org.openhealthtools.mdht.uml.cda.qrda.doc/META-INF/MANIFEST.MF index 744b38990d..d931550f20 100644 --- a/doc/org.openhealthtools.mdht.uml.cda.qrda.doc/META-INF/MANIFEST.MF +++ b/doc/org.openhealthtools.mdht.uml.cda.qrda.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.qrda.doc;singleton:=true Bundle-ClassPath: . diff --git a/doc/org.openhealthtools.mdht.uml.cda.sdtm.doc/META-INF/MANIFEST.MF b/doc/org.openhealthtools.mdht.uml.cda.sdtm.doc/META-INF/MANIFEST.MF index a7f394a7a2..f7e43e338c 100644 --- a/doc/org.openhealthtools.mdht.uml.cda.sdtm.doc/META-INF/MANIFEST.MF +++ b/doc/org.openhealthtools.mdht.uml.cda.sdtm.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.sdtm.doc;singleton:=true Bundle-ClassPath: . diff --git a/doc/org.openhealthtools.mdht.uml.cda.toc.doc/META-INF/MANIFEST.MF b/doc/org.openhealthtools.mdht.uml.cda.toc.doc/META-INF/MANIFEST.MF index 13dbdb55ac..325fdc8484 100644 --- a/doc/org.openhealthtools.mdht.uml.cda.toc.doc/META-INF/MANIFEST.MF +++ b/doc/org.openhealthtools.mdht.uml.cda.toc.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.1.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.toc.doc;singleton:=true Bundle-ClassPath: . diff --git a/doc/org.openhealthtools.mdht.uml.cda.vsbr.doc/META-INF/MANIFEST.MF b/doc/org.openhealthtools.mdht.uml.cda.vsbr.doc/META-INF/MANIFEST.MF index 2e6d809cb2..8d2e1425fa 100644 --- a/doc/org.openhealthtools.mdht.uml.cda.vsbr.doc/META-INF/MANIFEST.MF +++ b/doc/org.openhealthtools.mdht.uml.cda.vsbr.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.vsbr.doc;singleton:=true Bundle-ClassPath: . diff --git a/doc/org.openhealthtools.mdht.uml.cda.vsdr.doc/META-INF/MANIFEST.MF b/doc/org.openhealthtools.mdht.uml.cda.vsdr.doc/META-INF/MANIFEST.MF index 1f578d09c9..4cae862244 100644 --- a/doc/org.openhealthtools.mdht.uml.cda.vsdr.doc/META-INF/MANIFEST.MF +++ b/doc/org.openhealthtools.mdht.uml.cda.vsdr.doc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 0.7.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.vsdr.doc;singleton:=true Bundle-ClassPath: . diff --git a/examples/.DS_Store b/examples/.DS_Store new file mode 100644 index 0000000000..ebf728e8f2 Binary files /dev/null and b/examples/.DS_Store differ diff --git a/examples/org.openhealthtools.mdht.cda.processor/META-INF/MANIFEST.MF b/examples/org.openhealthtools.mdht.cda.processor/META-INF/MANIFEST.MF index 7f071b5609..c666209658 100644 --- a/examples/org.openhealthtools.mdht.cda.processor/META-INF/MANIFEST.MF +++ b/examples/org.openhealthtools.mdht.cda.processor/META-INF/MANIFEST.MF @@ -9,4 +9,4 @@ Require-Bundle: org.eclipse.ui, org.openhealthtools.mdht.uml.cda, org.openhealthtools.mdht.uml.cda.consol Bundle-ActivationPolicy: lazy -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 diff --git a/generated/.DS_Store b/generated/.DS_Store new file mode 100644 index 0000000000..1bcad16dfc Binary files /dev/null and b/generated/.DS_Store differ diff --git a/generated/org.hl7.cbcc.privacy.consentdirective/.DS_Store b/generated/org.hl7.cbcc.privacy.consentdirective/.DS_Store new file mode 100644 index 0000000000..785db36d1e Binary files /dev/null and b/generated/org.hl7.cbcc.privacy.consentdirective/.DS_Store differ diff --git a/generated/org.hl7.cbcc.privacy.consentdirective/src/.DS_Store b/generated/org.hl7.cbcc.privacy.consentdirective/src/.DS_Store new file mode 100644 index 0000000000..fef5be2510 Binary files /dev/null and b/generated/org.hl7.cbcc.privacy.consentdirective/src/.DS_Store differ diff --git a/generated/org.hl7.security.ds4p.contentprofile/.DS_Store b/generated/org.hl7.security.ds4p.contentprofile/.DS_Store new file mode 100644 index 0000000000..3c87f3dccd Binary files /dev/null and b/generated/org.hl7.security.ds4p.contentprofile/.DS_Store differ diff --git a/generated/org.hl7.security.ds4p.contentprofile/.classpath b/generated/org.hl7.security.ds4p.contentprofile/.classpath index 2035d8e135..b8f8f99d11 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/.classpath +++ b/generated/org.hl7.security.ds4p.contentprofile/.classpath @@ -2,6 +2,6 @@ - + diff --git a/generated/org.hl7.security.ds4p.contentprofile/.settings/org.eclipse.jdt.core.prefs b/generated/org.hl7.security.ds4p.contentprofile/.settings/org.eclipse.jdt.core.prefs index b17e64399b..c17667ae9d 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/.settings/org.eclipse.jdt.core.prefs +++ b/generated/org.hl7.security.ds4p.contentprofile/.settings/org.eclipse.jdt.core.prefs @@ -162,9 +162,12 @@ 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_field=insert 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_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=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_annotation_on_type=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 diff --git a/generated/org.hl7.security.ds4p.contentprofile/META-INF/MANIFEST.MF b/generated/org.hl7.security.ds4p.contentprofile/META-INF/MANIFEST.MF index fd2cf5f56a..f95170844e 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/META-INF/MANIFEST.MF +++ b/generated/org.hl7.security.ds4p.contentprofile/META-INF/MANIFEST.MF @@ -1,7 +1,6 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 3.0.0.qualifier -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.hl7.security.ds4p.contentprofile;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/generated/org.hl7.security.ds4p.contentprofile/model/contentprofile.ecore b/generated/org.hl7.security.ds4p.contentprofile/model/contentprofile.ecore index 92c18738dd..c2d1d49021 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/model/contentprofile.ecore +++ b/generated/org.hl7.security.ds4p.contentprofile/model/contentprofile.ecore @@ -131,7 +131,7 @@ -
+
@@ -219,7 +219,7 @@ -
+
@@ -304,8 +304,8 @@
-
-
+
+
@@ -352,7 +352,7 @@ -
+
@@ -392,7 +392,7 @@ -
+
@@ -483,7 +483,7 @@ -
+
@@ -502,7 +502,7 @@ -
+
@@ -792,7 +792,7 @@ -
+
@@ -919,8 +919,8 @@
-
-
+
+
@@ -966,7 +966,7 @@ -
+
@@ -1006,7 +1006,7 @@ -
+
@@ -1035,8 +1035,8 @@
-
-
+
+
@@ -1082,7 +1082,7 @@ -
+
@@ -1122,7 +1122,7 @@ -
+
@@ -1196,7 +1196,7 @@ -
+
diff --git a/generated/org.hl7.security.ds4p.contentprofile/model/contentprofile_Ecore.uml b/generated/org.hl7.security.ds4p.contentprofile/model/contentprofile_Ecore.uml index 675819daa3..c3e96aa6d3 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/model/contentprofile_Ecore.uml +++ b/generated/org.hl7.security.ds4p.contentprofile/model/contentprofile_Ecore.uml @@ -1,975 +1,975 @@ - - - - - This model describe the constraints applied to a Consolidated CDA (C-CDA) - document instance to support the requirements of the DS4P project as specified in - the project use cases. This profile includes the main reusable building blocks for - privacy metadata that applies to the document sharing metadata (e.g. XDS metadata, XDM - metadata) specified by IHE ITI Framework. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This CDA document template may be applied to any document type that is the result of - segmentation. Is specifies that the document may contain sections and entries - modified to specify the privacy annotations intended to assist a receiving - systems to process the information contained in the document in a way consistent - with applicable privacy policies. If the information does not contain any additional - section or entry-level annotations, the sender needs ot enforce the requirements to - identify the author of the document, section, or entry if the context conduction requires - it (i.e. if the author of the section is different than the author of the document or the - author of the entry is different than the author of the section). - - - - OCL - self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.1') - - - - - OCL - self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryDocumentProvenance)) - - - - - OCL - self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacySegmentedSection))->size() >= 1 - - - - - OCL - self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacyMarkingsSection))->size() >= 1 - - - - - The privacy segmented document is expected to implement the constraints consistent - with the General Header. - - - - - - - OCL - self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacySegmentedSection)).oclAsType(contentprofile::PrivacySegmentedSection) - - - - - - - - - - OCL - self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacyMarkingsSection)).oclAsType(contentprofile::PrivacyMarkingsSection) - - - - - - - - - - This template is constrains the Security Observation to specify a "obligation - policy code". This template reuses the SecurityObservation implementing the HL7 - Healthcare Security Classification (HCS) standard. - - - - OCL - self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.445.14') - - - - - OCL - not self.code.oclIsUndefined() - - - - - OCL - not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and -let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in -value.code = 'SECCONOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20457' - - - - - OCL - not self.value->isEmpty() - - - - - OCL - self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and -let value : datatypes::CE = element.oclAsType(datatypes::CE) in -value.codeSystem = '2.16.840.1.113883.1.11.20471' and (value.code = 'CPLYCD' or value.code = 'ENCRYPT')) - - - - - - - This CDA template is used to specify the mandatory elements of the - "author" structure in the header of a CDA document. The - "author" is used to specify the provenance of the document. Often, - if the document contents is authored by several providers, the header may specify - only the organization while the section and entry may specify the actual - providers responsible for the section and entry contents. Typically, if author - specified in the header is not responsible for all the sections and entries in - the document, then the "author" associated with those entries - must be specified. This template is intended to help implementers assert conformance to - mandatory provenance business requirements. It demonstrates how the General Header - Constraints can be further constraints to ensure that time when the document was authored - is not left "null". - - - - OCL - self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.2') - - - - - OCL - not self.time.oclIsUndefined() - - - - - OCL - self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(contentprofile::MandatoryDocumentAssignedAuthor)) - - - - - - - - - This CDA template is used to specify the actual person, organization, and/or - device responsible for the contents of the document. If a document is an - aggregate of data authored by several providers, then the author will be an - organization. If the data is produced by a device, then the document header - assigned author is the device identified by its unique identifier. If the author - of a section or entry is different than the one identified in the header, then - the author must be identified at the appropriate section or entry. This template - is intended to help implementers assert conformance to mandatory provenance business - requirements. It demonstrates how the General Header Constraints can be further - constraints to ensure that author's email may be included since the email is often the - basis for digital certificates. - - - - OCL - self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.3') - - - - - OCL - (self.telecom->isEmpty() or self.telecom->exists(element | element.isNullFlavorUndefined())) implies (( not self.telecom->isEmpty()) ) - - - - - OCL - self.assignedAuthoringDevice->one(assignedAuthoringDevice : cda::AuthoringDevice | not assignedAuthoringDevice.oclIsUndefined() and assignedAuthoringDevice.oclIsKindOf(cda::AuthoringDevice)) - - - - - OCL - self.assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)) - - - - - OCL - self.representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(rim::Entity)) - - - - - - - - - The CDA privacy annotation is a set of security observations that allow for - specific privacy metadata to be identified and assigned to any entry in a - document if that entry overrides or constrains in any way the overall - confidentiality of the document or section or specifies. For instance if a - document is identified as "Restricted" but a specific entry is - of "Normal" confidentiality, a specific SecurityObservation - will be used to set the confidentiality of that entry to - "Normal". Similarly if an entry has additional security handling - or obligations, they may be added using this template to the appropriate - entry. The privacy annotation may contain up to three security - observations to represent confidentiality, purpose of use, obligation, and - refrain policies. Privacy annotations are applied by the senders and processed by the - receiver(s) of the information. - - - - OCL - self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.4') - - - - - OCL - isDefined('classCode') - - - - - OCL - isDefined('moodCode') - - - - - OCL - not self.statusCode.oclIsUndefined() - - - - - OCL - not self.statusCode.oclIsUndefined() and self.statusCode.oclIsKindOf(datatypes::CS) and -let value : datatypes::CS = self.statusCode.oclAsType(datatypes::CS) in -value.code = 'active' - - - - - OCL - self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::ObligationPolicySecurityObservation)) - - - - - OCL - self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::RefrainPolicySecurityObservation)) - - - - - OCL - self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::PurposeOfUseSecurityObservation)) - - - - - OCL - self.component->one(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::ConfidentialitySecurityObservation)) - - - - - - - - - OCL - self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(contentprofile::ObligationPolicySecurityObservation)).oclAsType(contentprofile::ObligationPolicySecurityObservation) - - - - - - - - - - OCL - self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(contentprofile::RefrainPolicySecurityObservation)).oclAsType(contentprofile::RefrainPolicySecurityObservation) - - - - - - - - - - OCL - self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(contentprofile::PurposeOfUseSecurityObservation)).oclAsType(contentprofile::PurposeOfUseSecurityObservation) - - - - - - - - - - OCL - self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(contentprofile::ConfidentialitySecurityObservation))->asSequence()->any(true).oclAsType(contentprofile::ConfidentialitySecurityObservation) - - - - - - - - - - - This CDA template may apply to any section of a C-CDA document if that section - metadata is different than the document's overall. For instance, this template - may be used to ensure that confidentiality levels and provenance information are - specified correctly for each section in the document. - - - - OCL - self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.10') - - - - - OCL - not self.confidentialityCode.oclIsUndefined() and self.confidentialityCode.oclIsKindOf(datatypes::CE) and -let value : datatypes::CE = self.confidentialityCode.oclAsType(datatypes::CE) in -value.codeSystem = '2.16.840.1.113883.5.25' and (value.code = 'N' or value.code = 'R' or value.code = 'V') - - - - - OCL - not self.confidentialityCode.oclIsUndefined() - - - - - OCL - self.nullFlavor <> vocab::NullFlavor::NI implies author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryEntryProvenance)) - - - - - - - - - This CDA template is intended to specify how a document, section, or entry may - be constrained to specify privacy and security markings. This section is intended - to provide a visual indicator to the end-user of the CDA document of security - label values that are required to be displayed including confidentiality codes, - sensitivity of information disclosed to authorized users, integrity status, - purpose of use limitations, obligations, e.g., restricting access and disclosure - to the minimum necessary, and refrain policies such as the 42 CFR Part 2 and - Title 38 Section 7332 prohibition on redisclosures of the content of the - document, section, or entry to which this template is applied without patient - consent. - - - - OCL - self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.5') - - - - - OCL - (self.code.oclIsUndefined() or self.code.isNullFlavorUndefined()) implies (not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CE) and -let value : datatypes::CE = self.code.oclAsType(datatypes::CE) in -value.code = '57017-6' and value.codeSystem = '2.16.840.1.113883.6.1') - - - - - OCL - (self.code.oclIsUndefined() or self.code.isNullFlavorUndefined()) implies (not self.code.oclIsUndefined()) - - - - - OCL - not self.text.oclIsUndefined() - - - - - OCL - self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.oclIsUndefined() and entry.oclIsKindOf(contentprofile::PrivacyMarkingsEntry) and entry.typeCode = vocab::x_ActRelationshipEntry::COMP) - - - - - - - - - This CDA template is an example that demonstrates how the privacy metadata could be - used to represent protected information (e.g. a protected problem "HIV" - may be disclosed with the consent of a patient and carries additional privacy metadata ) . - This example CDA template combines a mandatory provenance and privacy annotations - with the default, C-CDA constraints applied to a ProblemObservation. The - protected problem has two mandatory associations: one to an author to establish - provenance and the second to a privacy annotation to specify confidentiality, - purpose of use, obligation, or refrain policy. This template is an example for - other types of information that is annotated with privacy annotations. - - - - OCL - self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.8') - - - - - OCL - self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryEntryProvenance)) - - - - - OCL - self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(contentprofile::PrivacyAnnotationEntryRelationship)) - - - - - - - - - This CDA template is used to specify the provenance of an act. observation, etc. in - an entry that contains protected information. This template is intended to help - implementers assert conformance to mandatory provenance business requirements. The entry - "author" is further constrained to ensure that time when the document - was authored is not left "null" by the sender in the case when the - author of the entry differs from the author asserted in the document header. - - - - OCL - self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.6') - - - - - OCL - not self.time.oclIsUndefined() - - - - - OCL - self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(contentprofile::MandatoryEntryAssignedAuthor)) - - - - - - - - - This CDA template specifies the assigned author (e.g. organization. provider, or - device) that is responsible for the contents of a act, observation. etc. in an - entry. In specific cases the author information is mandatory for complete provenance. This - template is intended to help implementers assert conformance to mandatory provenance - business requirements. This template is used if the author of an entry differs from the - author asserted in the document header. This may be the case when a summary document is - sent on behalf of an organization but individual entries are authored by specific - providers in that provider organization. - - - - OCL - self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.7') - - - - - OCL - true - - - - - OCL - true - - - - - OCL - true - - - - - - - - - This CDA template is used to specify an association to an organizer template that - holds the privacy annotation (represented using a set of SecurityObservation - derived templates). - - - - OCL - self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.11') - - - - - OCL - self.organizer->one(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(contentprofile::PrivacyAnnotation)) - - - - - - - - - This CDA entry template reuses a PrivacyAnnotation - a type of security label that - specifies confidentiality, obligation(s), refrain policies, and purpose of use. - It is implemented either using ebXML RegistryClassifications or as CDA Security - Observations and their derived classes. - - - - OCL - self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.9') - - - - - OCL - self.organizer->one(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(contentprofile::PrivacyAnnotation)) - - - - - - - - - This template is constrains the Security Observation to specify a - "confidentiality code". This template reuses the SecurityObservation - implementing the HL7 Healthcare Security Classification (HCS) standard. - - - - OCL - self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.445.12') - - - - - OCL - not self.code.oclIsUndefined() - - - - - OCL - not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and -let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in -value.code = 'SECCLASSOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20471' - - - - - OCL - not self.value->isEmpty() - - - - - - - This template is used to specify an security observation associated with an - information type specified in the privacy consent document or information instance that - appears in a CDA document. A security observation is an abstract template intended to - specialized for use to indicate a security classification, control, category, or integrity - criterion. - - - - OCL - self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.445.21') - - - - - OCL - self.moodCode=vocab::x_ActMoodDocumentObservation::EVN - - - - - OCL - not self.code.oclIsUndefined() - - - - - OCL - not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and -let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in -value.codeSystem = '2.16.840.1.113883.1.11.20457' - - - - - OCL - self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and -let value : datatypes::CE = element.oclAsType(datatypes::CE) in -value.codeSystem = '2.16.840.1.113883.5.1063') - - - - - OCL - self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CE)) - - - - - - - - - This template is constrains the Security Observation to specify a "refrain - policy code". This template reuses the SecurityObservation implementing the HL7 - Healthcare Security Classification (HCS) standard. - - - - OCL - self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.445.23') - - - - - OCL - not self.code.oclIsUndefined() - - - - - OCL - not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and -let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in -value.code = 'SECCONOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20457' - - - - - OCL - not self.value->isEmpty() - - - - - OCL - self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and -let value : datatypes::CE = element.oclAsType(datatypes::CE) in -value.codeSystem = '2.16.840.1.113883.1.11.20471' and (value.code = 'NORDSCLCD' or value.code = 'NOMOU')) - - - - - - - This template is constrains the Security Observation to specify a "purpose of - use". This template reuses the SecurityObservation implementing the HL7 - Healthcare Security Classification (HCS) standard. - - - - OCL - self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.445.22') - - - - - OCL - not self.code.oclIsUndefined() - - - - - OCL - not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and -let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in -value.code = 'SECCONOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20457' - - - - - OCL - not self.value->isEmpty() - - - - - OCL - self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and -let value : datatypes::CE = element.oclAsType(datatypes::CE) in -value.codeSystem = '2.16.840.1.113883.5.8' and not value.code.oclIsUndefined()) - - - - - - - - - - - - - - - - - - - - CONF-DS4P-1 - - - CONF:16791 - - - CONF:5454 - - - CONF:5453 - - - CONF-DS4P-2 - - - CONF-DS4P-3 - - - CONF-DS4P-4 - - - CONF:5456 - - - - CONF:5457 - - - CONF:5461 - - - CONF-DS4P-10 - - - CONF:9056 - - - CONF:9051 - - - CONF-DS4P-5 - - - CONF:9041 - - - - CONF:9045 - - - CONF:9060 - - - CONF:9050 - - - CONF:9043 - - - - CONF:9049 - - - - CONF:9058 - - - - - CONF:9061 - - - CONF:9062 - - - CONF:9063 - - - CONF:14891 - - - CONF:9060 - - - CONF-DS4P-6 - - - CONF-DS4P-7 - - - CONF-DS4P-8 - - - CONF-DS4P-15 - - - CONF-DS4P-9 - - - - - CONF:16788 - - - CONF:16787 - - - CONF:16795 - - - CONF:16799 - - - CONF:16800 - - - CONF:16804 - - - CONF:16801 - - - CONF:16803 - - - CONF-CD-12 - - - CONF-CD-21 - - - CONF:14899 - - - CONF-CD-23 - - - CONF-CD-14 - - - CONF:16828 - - - CONF:16826 - - - CONF:16824 - - - CONF-CD-22 - - - http://www.eclipse.org/mdht/uml initializers='org.hl7.security.ds4p.contentprofile' - - - http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='PrivacySegmentedDocumentTemplateId PrivacySegmentedDocumentAuthor1' templateId.root='2.16.840.1.113883.3.3251.1.1' constraints.validation.info='PrivacySegmentedDocumentSegmentedSection' constraints.validation.warning='PrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection' - - - http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValueP' templateId.root='2.16.840.1.113883.3.445.14' code.code='SECCONOBS' code.codeSystem='2.16.840.1.113883.1.11.20457' code.codeSystemName='SecurityObservationTypeCodeSystem' code.displayName='Security Control' constraints.validation.dependOn.SecurityObservationCode='SecurityObservationCodeP' value.codeSystem='2.16.840.1.113883.1.11.20471' value.codeSystemName='SecurityControlObservationValue' constraints.validation.warning='SecurityObservationValue' constraints.validation.dependOn.SecurityObservationValue='SecurityObservationValueP' - - - http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='MandatoryDocumentProvenanceTemplateId MandatoryDocumentProvenanceTime MandatoryDocumentProvenanceAssignedAuthor' templateId.root='2.16.840.1.113883.3.3251.1.2' - - - http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='MandatoryDocumentAssignedAuthorTemplateId MandatoryDocumentAssignedAuthorTelecomEmail' templateId.root='2.16.840.1.113883.3.3251.1.3' constraints.validation.warning='MandatoryDocumentAssignedAuthorAssignedAuthoringDevice MandatoryDocumentAssignedAuthorAssignedPerson MandatoryDocumentAssignedAuthorRepresentedOrganization' - - - http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='PrivacyAnnotationTemplateId PrivacyAnnotationClassCode PrivacyAnnotationMoodCode PrivacyAnnotationStatusCode PrivacyAnnotationStatusCodeP PrivacyAnnotationConfidentialityCodeSecurityObservation' templateId.root='2.16.840.1.113883.3.3251.1.4' classCode='CLUSTER' moodCode='EVN' statusCode.code='active' constraints.validation.dependOn.PrivacyAnnotationStatusCode='PrivacyAnnotationStatusCodeP' constraints.validation.info='PrivacyAnnotationObligationPolicySecurityObservation PrivacyAnnotationRefrainPolicySecurityObservation PrivacyAnnotationPurposeOfUseSecurityObservation' - - - http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='PrivacySegmentedSectionTemplateId PrivacySegmentedSectionConfidentialityCode' templateId.root='2.16.840.1.113883.3.3251.1.10' confidentialityCode.codeSystem='2.16.840.1.113883.5.25' confidentialityCode.codeSystemName='ConfidentialityCode' constraints.validation.warning='PrivacySegmentedSectionConfidentialityCodeP PrivacySegmentedSectionAuthor' - - - http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='PrivacyMarkingsSectionTemplateId PrivacyMarkingsSectionCodeP PrivacyMarkingsSectionText' templateId.root='2.16.840.1.113883.3.3251.1.5' code.code='57017-6' code.codeSystem='2.16.840.1.113883.6.1' code.codeSystemName='LOINC' code.displayName='Privacy Policy' constraints.validation.warning='PrivacyMarkingsSectionCode' constraints.validation.info='PrivacyMarkingsSectionEntry1' - - - http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='ProblemObservationTemplateId ProtectedProblemProblemProvenance ProtectedProblemPrivacyAnnotations' templateId.root='2.16.840.1.113883.3.3251.1.8' - - - http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='MandatoryEntryProvenanceTemplateId MandatoryEntryProvenanceTime MandatoryEntryProvenanceAssignedAuthor' templateId.root='2.16.840.1.113883.3.3251.1.6' - - - http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='MandatoryEntryAssignedAuthorTemplateId MandatoryEntryAssignedAuthorAssignedAuthoringDevice MandatoryEntryAssignedAuthorAssignedPerson MandatoryEntryAssignedAuthorRepresentedOrganization' templateId.root='2.16.840.1.113883.3.3251.1.7' - - - http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='PrivacyAnnotationEntryRelationshipTemplateId PrivacyAnnotationEntryRelationshipOrganizer' templateId.root='2.16.840.1.113883.3.3251.1.11' - - - http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='PrivacyMarkingsEntryTemplateId PrivacyMarkingsEntryOrganizer' templateId.root='2.16.840.1.113883.3.3251.1.9' - - - http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue' templateId.root='2.16.840.1.113883.3.445.12' code.code='SECCLASSOBS' code.codeSystem='2.16.840.1.113883.1.11.20471' code.codeSystemName='SecurityControlObservationValue' code.displayName='Security Category' constraints.validation.dependOn.SecurityObservationCode='SecurityObservationCodeP' - - - http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='SecurityObservationTemplateId SecurityObservationMoodCode SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP' templateId.root='2.16.840.1.113883.3.445.21' moodCode='EVN' code.codeSystem='2.16.840.1.113883.1.11.20457' code.codeSystemName='SecurityObservationTypeCodeSystem' constraints.validation.dependOn.SecurityObservationCode='SecurityObservationCodeP' value.codeSystem='2.16.840.1.113883.5.1063' value.codeSystemName='SecurityObservationValueCodeSystem' - - - http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP' templateId.root='2.16.840.1.113883.3.445.23' code.code='SECCONOBS' code.codeSystem='2.16.840.1.113883.1.11.20457' code.codeSystemName='SecurityObservationTypeCodeSystem' code.displayName='Security Control Observation Type' constraints.validation.dependOn.SecurityObservationCode='SecurityObservationCodeP' value.codeSystem='2.16.840.1.113883.1.11.20471' value.codeSystemName='SecurityControlObservationValue' constraints.validation.dependOn.SecurityObservationValue='SecurityObservationValueP' - - - - http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP' templateId.root='2.16.840.1.113883.3.445.22' code.code='SECCONOBS' code.codeSystem='2.16.840.1.113883.1.11.20457' code.codeSystemName='SecurityObservationTypeCodeSystem' code.displayName='Security Control' constraints.validation.dependOn.SecurityObservationCode='SecurityObservationCodeP' value.codeSystem='2.16.840.1.113883.5.8' value.codeSystemName='ActReason' constraints.validation.dependOn.SecurityObservationValue='SecurityObservationValueP' - - + + + + + This model describe the constraints applied to a Consolidated CDA (C-CDA) + document instance to support the requirements of the DS4P project as specified in + the project use cases. This profile includes the main reusable building blocks for + privacy metadata that applies to the document sharing metadata (e.g. XDS metadata, XDM + metadata) specified by IHE ITI Framework. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This CDA document template may be applied to any document type that is the result of + segmentation. Is specifies that the document may contain sections and entries + modified to specify the privacy annotations intended to assist a receiving + systems to process the information contained in the document in a way consistent + with applicable privacy policies. If the information does not contain any additional + section or entry-level annotations, the sender needs ot enforce the requirements to + identify the author of the document, section, or entry if the context conduction requires + it (i.e. if the author of the section is different than the author of the document or the + author of the entry is different than the author of the section). + + + + OCL + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.1') + + + + + OCL + self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryDocumentProvenance)) + + + + + OCL + self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacySegmentedSection))->size() >= 1 + + + + + OCL + self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacyMarkingsSection))->size() >= 1 + + + + + The privacy segmented document is expected to implement the constraints consistent + with the General Header. + + + + + + + OCL + self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacySegmentedSection)).oclAsType(contentprofile::PrivacySegmentedSection) + + + + + + + + + + OCL + self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacyMarkingsSection)).oclAsType(contentprofile::PrivacyMarkingsSection) + + + + + + + + + + This template is constrains the Security Observation to specify a "obligation + policy code". This template reuses the SecurityObservation implementing the HL7 + Healthcare Security Classification (HCS) standard. + + + + OCL + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.445.14') + + + + + OCL + not self.code.oclIsUndefined() + + + + + OCL + not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and +let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in +value.code = 'SECCONOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20457' + + + + + OCL + not self.value->isEmpty() + + + + + OCL + self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and +let value : datatypes::CE = element.oclAsType(datatypes::CE) in +value.codeSystem = '2.16.840.1.113883.5.1063' and (value.code = 'CPLYCD' or value.code = 'ENCRYPT')) + + + + + + + This CDA template is used to specify the mandatory elements of the + "author" structure in the header of a CDA document. The + "author" is used to specify the provenance of the document. Often, + if the document contents is authored by several providers, the header may specify + only the organization while the section and entry may specify the actual + providers responsible for the section and entry contents. Typically, if author + specified in the header is not responsible for all the sections and entries in + the document, then the "author" associated with those entries + must be specified. This template is intended to help implementers assert conformance to + mandatory provenance business requirements. It demonstrates how the General Header + Constraints can be further constraints to ensure that time when the document was authored + is not left "null". + + + + OCL + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.2') + + + + + OCL + not self.time.oclIsUndefined() + + + + + OCL + self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(contentprofile::MandatoryDocumentAssignedAuthor)) + + + + + + + + + This CDA template is used to specify the actual person, organization, and/or + device responsible for the contents of the document. If a document is an + aggregate of data authored by several providers, then the author will be an + organization. If the data is produced by a device, then the document header + assigned author is the device identified by its unique identifier. If the author + of a section or entry is different than the one identified in the header, then + the author must be identified at the appropriate section or entry. This template + is intended to help implementers assert conformance to mandatory provenance business + requirements. It demonstrates how the General Header Constraints can be further + constraints to ensure that author's email may be included since the email is often the + basis for digital certificates. + + + + OCL + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.3') + + + + + OCL + (self.telecom->isEmpty() or self.telecom->exists(element | element.isNullFlavorUndefined())) implies (( not self.telecom->isEmpty()) ) + + + + + OCL + self.assignedAuthoringDevice->one(assignedAuthoringDevice : cda::AuthoringDevice | not assignedAuthoringDevice.oclIsUndefined() and assignedAuthoringDevice.oclIsKindOf(cda::AuthoringDevice)) + + + + + OCL + self.assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)) + + + + + OCL + self.representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(rim::Entity)) + + + + + + + + + The CDA privacy annotation is a set of security observations that allow for + specific privacy metadata to be identified and assigned to any entry in a + document if that entry overrides or constrains in any way the overall + confidentiality of the document or section or specifies. For instance if a + document is identified as "Restricted" but a specific entry is + of "Normal" confidentiality, a specific SecurityObservation + will be used to set the confidentiality of that entry to + "Normal". Similarly if an entry has additional security handling + or obligations, they may be added using this template to the appropriate + entry. The privacy annotation may contain up to three security + observations to represent confidentiality, purpose of use, obligation, and + refrain policies. Privacy annotations are applied by the senders and processed by the + receiver(s) of the information. + + + + OCL + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.4') + + + + + OCL + isDefined('classCode') + + + + + OCL + isDefined('moodCode') + + + + + OCL + not self.statusCode.oclIsUndefined() + + + + + OCL + not self.statusCode.oclIsUndefined() and self.statusCode.oclIsKindOf(datatypes::CS) and +let value : datatypes::CS = self.statusCode.oclAsType(datatypes::CS) in +value.code = 'active' + + + + + OCL + self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::ObligationPolicySecurityObservation)) + + + + + OCL + self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::RefrainPolicySecurityObservation)) + + + + + OCL + self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::PurposeOfUseSecurityObservation)) + + + + + OCL + self.component->one(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::ConfidentialitySecurityObservation)) + + + + + + + + + OCL + self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(contentprofile::ObligationPolicySecurityObservation)).oclAsType(contentprofile::ObligationPolicySecurityObservation) + + + + + + + + + + OCL + self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(contentprofile::RefrainPolicySecurityObservation)).oclAsType(contentprofile::RefrainPolicySecurityObservation) + + + + + + + + + + OCL + self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(contentprofile::PurposeOfUseSecurityObservation)).oclAsType(contentprofile::PurposeOfUseSecurityObservation) + + + + + + + + + + OCL + self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(contentprofile::ConfidentialitySecurityObservation))->asSequence()->any(true).oclAsType(contentprofile::ConfidentialitySecurityObservation) + + + + + + + + + + + This CDA template may apply to any section of a C-CDA document if that section + metadata is different than the document's overall. For instance, this template + may be used to ensure that confidentiality levels and provenance information are + specified correctly for each section in the document. + + + + OCL + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.10') + + + + + OCL + not self.confidentialityCode.oclIsUndefined() and self.confidentialityCode.oclIsKindOf(datatypes::CE) and +let value : datatypes::CE = self.confidentialityCode.oclAsType(datatypes::CE) in +value.codeSystem = '2.16.840.1.113883.5.25' and (value.code = 'N' or value.code = 'R' or value.code = 'V') + + + + + OCL + not self.confidentialityCode.oclIsUndefined() + + + + + OCL + self.nullFlavor <> vocab::NullFlavor::NI implies author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryEntryProvenance)) + + + + + + + + + This CDA template is intended to specify how a document, section, or entry may + be constrained to specify privacy and security markings. This section is intended + to provide a visual indicator to the end-user of the CDA document of security + label values that are required to be displayed including confidentiality codes, + sensitivity of information disclosed to authorized users, integrity status, + purpose of use limitations, obligations, e.g., restricting access and disclosure + to the minimum necessary, and refrain policies such as the 42 CFR Part 2 and + Title 38 Section 7332 prohibition on redisclosures of the content of the + document, section, or entry to which this template is applied without patient + consent. + + + + OCL + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.5') + + + + + OCL + (self.code.oclIsUndefined() or self.code.isNullFlavorUndefined()) implies (not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CE) and +let value : datatypes::CE = self.code.oclAsType(datatypes::CE) in +value.code = '57017-6' and value.codeSystem = '2.16.840.1.113883.6.1') + + + + + OCL + (self.code.oclIsUndefined() or self.code.isNullFlavorUndefined()) implies (not self.code.oclIsUndefined()) + + + + + OCL + not self.text.oclIsUndefined() + + + + + OCL + self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.oclIsUndefined() and entry.oclIsKindOf(contentprofile::PrivacyMarkingsEntry) and entry.typeCode = vocab::x_ActRelationshipEntry::COMP) + + + + + + + + + This CDA template is an example that demonstrates how the privacy metadata could be + used to represent protected information (e.g. a protected problem "HIV" + may be disclosed with the consent of a patient and carries additional privacy metadata ) . + This example CDA template combines a mandatory provenance and privacy annotations + with the default, C-CDA constraints applied to a ProblemObservation. The + protected problem has two mandatory associations: one to an author to establish + provenance and the second to a privacy annotation to specify confidentiality, + purpose of use, obligation, or refrain policy. This template is an example for + other types of information that is annotated with privacy annotations. + + + + OCL + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.8') + + + + + OCL + self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryEntryProvenance)) + + + + + OCL + self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(contentprofile::PrivacyAnnotationEntryRelationship)) + + + + + + + + + This CDA template is used to specify the provenance of an act. observation, etc. in + an entry that contains protected information. This template is intended to help + implementers assert conformance to mandatory provenance business requirements. The entry + "author" is further constrained to ensure that time when the document + was authored is not left "null" by the sender in the case when the + author of the entry differs from the author asserted in the document header. + + + + OCL + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.6') + + + + + OCL + not self.time.oclIsUndefined() + + + + + OCL + self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(contentprofile::MandatoryEntryAssignedAuthor)) + + + + + + + + + This CDA template specifies the assigned author (e.g. organization. provider, or + device) that is responsible for the contents of a act, observation. etc. in an + entry. In specific cases the author information is mandatory for complete provenance. This + template is intended to help implementers assert conformance to mandatory provenance + business requirements. This template is used if the author of an entry differs from the + author asserted in the document header. This may be the case when a summary document is + sent on behalf of an organization but individual entries are authored by specific + providers in that provider organization. + + + + OCL + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.7') + + + + + OCL + true + + + + + OCL + true + + + + + OCL + true + + + + + + + + + This CDA template is used to specify an association to an organizer template that + holds the privacy annotation (represented using a set of SecurityObservation + derived templates). + + + + OCL + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.11') + + + + + OCL + self.organizer->one(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(contentprofile::PrivacyAnnotation)) + + + + + + + + + This CDA entry template reuses a PrivacyAnnotation - a type of security label that + specifies confidentiality, obligation(s), refrain policies, and purpose of use. + It is implemented either using ebXML RegistryClassifications or as CDA Security + Observations and their derived classes. + + + + OCL + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.9') + + + + + OCL + self.organizer->one(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(contentprofile::PrivacyAnnotation)) + + + + + + + + + This template is constrains the Security Observation to specify a + "confidentiality code". This template reuses the SecurityObservation + implementing the HL7 Healthcare Security Classification (HCS) standard. + + + + OCL + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.445.12') + + + + + OCL + not self.code.oclIsUndefined() + + + + + OCL + not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and +let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in +value.code = 'SECCLASSOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20471' + + + + + OCL + not self.value->isEmpty() + + + + + + + This template is used to specify an security observation associated with an + information type specified in the privacy consent document or information instance that + appears in a CDA document. A security observation is an abstract template intended to + specialized for use to indicate a security classification, control, category, or integrity + criterion. + + + + OCL + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.445.21') + + + + + OCL + self.moodCode=vocab::x_ActMoodDocumentObservation::EVN + + + + + OCL + not self.code.oclIsUndefined() + + + + + OCL + not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and +let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in +value.codeSystem = '2.16.840.1.113883.1.11.20457' + + + + + OCL + self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and +let value : datatypes::CE = element.oclAsType(datatypes::CE) in +value.codeSystem = '2.16.840.1.113883.5.1063') + + + + + OCL + self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CE)) + + + + + + + + + This template is constrains the Security Observation to specify a "refrain + policy code". This template reuses the SecurityObservation implementing the HL7 + Healthcare Security Classification (HCS) standard. + + + + OCL + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.445.23') + + + + + OCL + not self.code.oclIsUndefined() + + + + + OCL + not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and +let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in +value.code = 'SECCONOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20457' + + + + + OCL + not self.value->isEmpty() + + + + + OCL + self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and +let value : datatypes::CE = element.oclAsType(datatypes::CE) in +value.codeSystem = '2.16.840.1.113883.5.1063' and (value.code = 'NORDSLCD' or value.code = 'NOMOU')) + + + + + + + This template is constrains the Security Observation to specify a "purpose of + use". This template reuses the SecurityObservation implementing the HL7 + Healthcare Security Classification (HCS) standard. + + + + OCL + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.445.22') + + + + + OCL + not self.code.oclIsUndefined() + + + + + OCL + not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and +let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in +value.code = 'SECCONOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20457' + + + + + OCL + not self.value->isEmpty() + + + + + OCL + self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and +let value : datatypes::CE = element.oclAsType(datatypes::CE) in +value.codeSystem = '2.16.840.1.113883.5.1063' and (value.code = 'TREAT' or value.code = 'ETREAT' or value.code = 'HPAYMT' or value.code = 'HRESCH' or value.code = 'CLINTRCH' or value.code = ' CLINTRL')) + + + + + + + + + + + + + + + + + + + + CONF-DS4P-1 + + + CONF:16791 + + + CONF:5454 + + + CONF:5453 + + + CONF-DS4P-2 + + + CONF-DS4P-3 + + + CONF-DS4P-4 + + + CONF:5456 + + + + CONF:5457 + + + CONF:5461 + + + CONF-DS4P-10 + + + CONF:9056 + + + CONF:9051 + + + CONF-DS4P-5 + + + CONF:9041 + + + + CONF:9045 + + + CONF:9060 + + + CONF:9050 + + + CONF:9043 + + + + CONF:9049 + + + + CONF:9058 + + + + + CONF:9061 + + + CONF:9062 + + + CONF:9063 + + + CONF:14891 + + + CONF:9060 + + + CONF-DS4P-6 + + + CONF-DS4P-7 + + + CONF-DS4P-8 + + + CONF-DS4P-15 + + + CONF-DS4P-9 + + + + + CONF:16788 + + + CONF:16787 + + + CONF:16795 + + + CONF:16799 + + + CONF:16800 + + + CONF:16804 + + + CONF:16801 + + + CONF:16803 + + + CONF-CD-12 + + + CONF-CD-21 + + + CONF:14899 + + + CONF-CD-23 + + + CONF-CD-14 + + + CONF:16828 + + + CONF:16826 + + + CONF:16824 + + + CONF-CD-22 + + + http://www.eclipse.org/mdht/uml initializers='org.hl7.security.ds4p.contentprofile' + + + http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='PrivacySegmentedDocumentTemplateId PrivacySegmentedDocumentAuthor1' templateId.root='2.16.840.1.113883.3.3251.1.1' constraints.validation.info='PrivacySegmentedDocumentSegmentedSection' constraints.validation.warning='PrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection' + + + http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValueP' templateId.root='2.16.840.1.113883.3.445.14' code.code='SECCONOBS' code.codeSystem='2.16.840.1.113883.1.11.20457' code.codeSystemName='SecurityObservationTypeCodeSystem' code.displayName='Security Control' constraints.validation.dependOn.SecurityObservationCode='SecurityObservationCodeP' value.codeSystem='2.16.840.1.113883.5.1063' value.codeSystemName='SecurityObservationValueCodeSystem' constraints.validation.warning='SecurityObservationValue' constraints.validation.dependOn.SecurityObservationValue='SecurityObservationValueP' + + + http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='MandatoryDocumentProvenanceTemplateId MandatoryDocumentProvenanceTime MandatoryDocumentProvenanceAssignedAuthor' templateId.root='2.16.840.1.113883.3.3251.1.2' + + + http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='MandatoryDocumentAssignedAuthorTemplateId MandatoryDocumentAssignedAuthorTelecomEmail' templateId.root='2.16.840.1.113883.3.3251.1.3' constraints.validation.warning='MandatoryDocumentAssignedAuthorAssignedAuthoringDevice MandatoryDocumentAssignedAuthorAssignedPerson MandatoryDocumentAssignedAuthorRepresentedOrganization' + + + http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='PrivacyAnnotationTemplateId PrivacyAnnotationClassCode PrivacyAnnotationMoodCode PrivacyAnnotationStatusCode PrivacyAnnotationStatusCodeP PrivacyAnnotationConfidentialityCodeSecurityObservation' templateId.root='2.16.840.1.113883.3.3251.1.4' classCode='CLUSTER' moodCode='EVN' statusCode.code='active' constraints.validation.dependOn.PrivacyAnnotationStatusCode='PrivacyAnnotationStatusCodeP' constraints.validation.info='PrivacyAnnotationObligationPolicySecurityObservation PrivacyAnnotationRefrainPolicySecurityObservation PrivacyAnnotationPurposeOfUseSecurityObservation' + + + http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='PrivacySegmentedSectionTemplateId PrivacySegmentedSectionConfidentialityCode' templateId.root='2.16.840.1.113883.3.3251.1.10' confidentialityCode.codeSystem='2.16.840.1.113883.5.25' confidentialityCode.codeSystemName='ConfidentialityCode' constraints.validation.warning='PrivacySegmentedSectionConfidentialityCodeP PrivacySegmentedSectionAuthor' + + + http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='PrivacyMarkingsSectionTemplateId PrivacyMarkingsSectionCodeP PrivacyMarkingsSectionText' templateId.root='2.16.840.1.113883.3.3251.1.5' code.code='57017-6' code.codeSystem='2.16.840.1.113883.6.1' code.codeSystemName='LOINC' code.displayName='Privacy Policy' constraints.validation.warning='PrivacyMarkingsSectionCode' constraints.validation.info='PrivacyMarkingsSectionEntry1' + + + http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='ProblemObservationTemplateId ProtectedProblemProblemProvenance ProtectedProblemPrivacyAnnotations' templateId.root='2.16.840.1.113883.3.3251.1.8' + + + http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='MandatoryEntryProvenanceTemplateId MandatoryEntryProvenanceTime MandatoryEntryProvenanceAssignedAuthor' templateId.root='2.16.840.1.113883.3.3251.1.6' + + + http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='MandatoryEntryAssignedAuthorTemplateId MandatoryEntryAssignedAuthorAssignedAuthoringDevice MandatoryEntryAssignedAuthorAssignedPerson MandatoryEntryAssignedAuthorRepresentedOrganization' templateId.root='2.16.840.1.113883.3.3251.1.7' + + + http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='PrivacyAnnotationEntryRelationshipTemplateId PrivacyAnnotationEntryRelationshipOrganizer' templateId.root='2.16.840.1.113883.3.3251.1.11' + + + http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='PrivacyMarkingsEntryTemplateId PrivacyMarkingsEntryOrganizer' templateId.root='2.16.840.1.113883.3.3251.1.9' + + + http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue' templateId.root='2.16.840.1.113883.3.445.12' code.code='SECCLASSOBS' code.codeSystem='2.16.840.1.113883.1.11.20471' code.codeSystemName='SecurityControlObservationValue' code.displayName='Security Category' constraints.validation.dependOn.SecurityObservationCode='SecurityObservationCodeP' + + + http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='SecurityObservationTemplateId SecurityObservationMoodCode SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP' templateId.root='2.16.840.1.113883.3.445.21' moodCode='EVN' code.codeSystem='2.16.840.1.113883.1.11.20457' code.codeSystemName='SecurityObservationTypeCodeSystem' constraints.validation.dependOn.SecurityObservationCode='SecurityObservationCodeP' value.codeSystem='2.16.840.1.113883.5.1063' value.codeSystemName='SecurityObservationValueCodeSystem' + + + http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP' templateId.root='2.16.840.1.113883.3.445.23' code.code='SECCONOBS' code.codeSystem='2.16.840.1.113883.1.11.20457' code.codeSystemName='SecurityObservationTypeCodeSystem' code.displayName='Security Control Observation Type' constraints.validation.dependOn.SecurityObservationCode='SecurityObservationCodeP' value.codeSystem='2.16.840.1.113883.5.1063' value.codeSystemName='SecurityObservationValueCodeSystem' constraints.validation.dependOn.SecurityObservationValue='SecurityObservationValueP' + + + + http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP' templateId.root='2.16.840.1.113883.3.445.22' code.code='SECCONOBS' code.codeSystem='2.16.840.1.113883.1.11.20457' code.codeSystemName='SecurityObservationTypeCodeSystem' code.displayName='Security Control' constraints.validation.dependOn.SecurityObservationCode='SecurityObservationCodeP' value.codeSystem='2.16.840.1.113883.5.1063' value.codeSystemName='SecurityObservationValueCodeSystem' constraints.validation.dependOn.SecurityObservationValue='SecurityObservationValueP' + + diff --git a/generated/org.hl7.security.ds4p.contentprofile/samples/.DS_Store b/generated/org.hl7.security.ds4p.contentprofile/samples/.DS_Store new file mode 100644 index 0000000000..7624e793e2 Binary files /dev/null and b/generated/org.hl7.security.ds4p.contentprofile/samples/.DS_Store differ diff --git a/generated/org.hl7.security.ds4p.contentprofile/samples/ds4p/170.315_b8_ds4p_amb_sample1_v2.xml b/generated/org.hl7.security.ds4p.contentprofile/samples/ds4p/170.315_b8_ds4p_amb_sample1_v2.xml new file mode 100644 index 0000000000..1232c7f014 --- /dev/null +++ b/generated/org.hl7.security.ds4p.contentprofile/samples/ds4p/170.315_b8_ds4p_amb_sample1_v2.xml @@ -0,0 +1,2698 @@ + + + + + + + + + + + + + + + + + + + + + 170.315_b1_toc_amb_ccd_r21_sample1 test data + + + + + + + + + + + + + + + + 1357 Amber Dr + Beaverton + OR + 97006 + US + + + + + + + + Alice + Jones + Newman + + + Alicia + Jones + Newman + + + + + + + + + + + + + + + + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Tracy + Davis + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Albert + Davis + + + + + + + + + + + Matthew + Newman + + + + + + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + Dr + Albert + Davis + + + + Neighborhood Physicians Practice + + + + + + + + + + + + + + + + + 1357 Amber Dr + Beaverton + OR + 97006 + US + + + + + + Mr + Rick + Holler + + + + + + + + + + + + 1357 Amber Dr + Beaverton + OR + 97006 + US + + + + + + Mr + Matthew + Newman + + + + + + + + + + + + + + + + + + + Primary Care Provider + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Dr + Albert + Davis + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Tracy + Davis + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Security and Privacy Prohibitions + + Section Author: Dr. Davis Albert, Neighborhood Physicians Practice
+ PROHIBITION ON REDISCLOSURE OF CONFIDENTIAL INFORMATION:
This notice + accompanies a disclosure of information concerning a client in alcohol/drug + treatment, made to you with the consent of such client. This information has + been disclosed to you from records protected by federal confidentiality + rules (42 C.F.R. Part 2). The federal rules prohibit you from making any + further disclosure of this information unless further disclosure is + expressly permitted by the written consent of the person to whom it pertains + or as otherwise permitted by 42 C.F.R. Part 2. A general authorization for + the release of medical or other information is NOT sufficient for this + purpose. The federal rules restrict any use of the information to criminally + investigate or prosecute any alcohol or drug abuse patient.
+ + + + + + + + + + + + + + + + + + + + + + + + + Restricted Confidentiality + + + + + + + + + + + + + Prohibition on redisclosure without patient + consent directive + + + + + + + + + + + + + Information intended for + treatment + + + + + +
+
+ + + + + + +
+ + + + + + ALLERGIES AND ADVERSE REACTIONS + + + + + + + + + + + + + + + + + + + + + + + + +
SubstanceReactionSeverityStatus
+ Penicillin G benzathine + + Hives + + Moderate + Active
+ Ampicillin Sodium + + Hives + + Moderate + Active
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + MEDICATIONS + + + + + + + + + + + + + + + + + + + + + + + + + + +
MedicationDirectionsStart Date
Ceftriaxone 100MG/MLBIDJune 22, 2015
Tylenol 500mgFor 10 days As neededJune 22, 2015
Darbepoetin Alfa 0.5 MG/MLOnce a weekJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + PROBLEMS + + Active Concerns + + Problem #1 + + Essential hypertension (Disorder) + + + Problem #2 + + Severe Hypothyroidism (Disorder) + + + Problem #3 + + Chronic rejection of renal transplant (disorder) + + + Problem #4 + + Fever (finding) + + + + Resolved Concerns + + Problem #5 + + Overweight (finding) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + ENCOUNTERS + + + + + + + + + + + + + + + + +
Encounter DiagnosisLocationDate
Fever Neighborhood Physicians PracticeJune 22, 2015 at 10am EST
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + Neighborhood Physicians Practice + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + IMMUNIZATIONS + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VaccineDateStatus
Influenza Virus VaccineMay 10, 2014Completed
Tetanus and diphtheria toxoidsJanuary 4, 2012Completed
influenza, intradermal, quadrivalent, preservative freeJune 22, 2015Refused by Patient
+
+ + + + + + + + + + + + + + + + + + + + + 1 + + + Immuno Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + Immuno Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + Immuno Inc. + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + VITAL SIGNS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Date / Time: June 22, 2015
Height177 cm
Weight88 kg
Blood Pressure145/88
Heart Rate80 beats per minute
O2 Percentage BldC Oximetry95 percent
Body Temperature38 degree celsius
Respiratory Rate18 breaths per minute
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + SOCIAL HISTORY + + + + + + + + + + + + + + + + + + + + + +
Social History ObservationDescriptionDates Observed
Smoking StatusHeavy tobacco smokerMay 1, 2005 - February 27, 2011
Current Smoking StatusCurrent every dayJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + PROCEDURES + + + + + + + + + + + + + + + + + + +
ProcedureDate
Nebulizer TherapyJune 22, 2015
Introduction of cardiac pacemaker system via veinOctober 5, 2011
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + RESULTS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Result TypeResult ValueRelevant Reference RangeInterpretationDate
Color of UrineYELLOWYELLOWNormal06/22/2015
Appearance of UrineCLEARCLEARNormal06/22/2015
Specific gravity of Urine by Test strip1.0151.005 – 1.030Normal06/22/2015
pH of Urine by Test strip5.0 pH5.0-8.0Normal06/22/2015
Glucose [Mass/volume] in urine by test strip50mg/dlNeg06/22/2015
Ketones [Mass/Volume] in urine by test stripNegativeNegative06/22/2015
Protein[Mass/Volume] in urine by test strip100mg/dlnegative06/22/2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + YELLOW + + + + YELLOW + + + + + + + + + + + + + + + + + CLEAR + + + + CLEAR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + +
+ + + + + + FUNCTIONAL STATUS + + + + + + + + + + + + + + +
Functional CategoryEffective Dates
Dependence on CaneMay 01, 2005
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + +
+ + + + + ASSESSMENTS + The patient was found to have fever and Dr Davis is suspecting Anemia based on the patient history. So Dr Davis asked the patient to closely monitor the temperature and blood pressure and get admitted to Community Health Hospitals if the fever does not subside within a day. +
+
+ + + + +
+ + + + + TREATMENT PLAN + + Hand-off Communication: +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Planned CareStart Date
Urinanalysis macro (dipstick) panelJune 22, 2015
Get an EKG done on 6/23/2015.June 23, 2015
Get a Chest X-ray done on 6/23/2015 showing the Lower Respiratory Tract Structure.June 23, 2015
Take Clindamycin 300mg three times a day as needed if pain does not subside.June 23, 2015 three times a day as needed
Schedule follow on visit with Neighborhood Physicians Practice on 7/1/2015.July 7, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Take Clindamycin 300mg three times a day as needed if pain does not subside. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + + + Schedule follow on visit with Neighborhood Physicians Practice on 7/1/2015. + + + + + + + + + +
+
+ + + + + +
+ + + + + Goals Section + + + + + + + + + + + + + + + + + + + + + + + + +
GoalValueDate
Get rid of intermittent fever that is occurring every few weeks (Visual Inspection)N/AJune 23, 2015
Need to gain more energy to do regular activities (Visual Inspection)N/AJune 23, 2015
+
+ + + + + + + + + + + + Get rid of intermittent fever that is occurring every few weeks. (Visual Inspection) + + + + + + + + + + + + + + + + + + + + + + + + + + Need to gain more energy to do regular activities. (Visual Inspection) + + + + + + + + + + +
+
+ + + + + + +
+ + + + Health Concerns Section + + + + + + + + + + + + + + + + +
ObservationStatusDate
Chronic Sickness exhibited by patientActiveJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ConcernStatusDate
Documented HyperTension problemActiveJune 22, 2015
Documented HypoThyroidism problemActiveJune 22, 2015
Watch Weight of patientActiveJune 22, 2015
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + REASON FOR REFERRAL + Ms Alice Newman is being referred to Community Health Hospitals Inpatient facility because of the high fever noticed and suspected Anemia. +
+
+ + + + +
+ + + + + + MENTAL STATUS + + + + + + + + + + + + + + +
StatusDate
AmnesiaMay 05, 2005
+
+ + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
diff --git a/generated/org.hl7.security.ds4p.contentprofile/samples/ds4p/SegmentedDocumentContentProfileSample.xml b/generated/org.hl7.security.ds4p.contentprofile/samples/ds4p/SegmentedDocumentContentProfileSample.xml new file mode 100644 index 0000000000..cb1ec36bfc --- /dev/null +++ b/generated/org.hl7.security.ds4p.contentprofile/samples/ds4p/SegmentedDocumentContentProfileSample.xml @@ -0,0 +1,2273 @@ + + + + + + + + + + Example Continuity of Care Document + + + + + + + + + + + + + 1 Main St + Anytown + NH + 99999 + + + + + + + + + + + Mary + A + Everyperson + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example Organization + + + + + Example Address Line + ExampleCity + NH + 99999 + + + + + + + + + + + + + + + + + + + + + + + 1 Main St + Anytowm + NH + 99999 + + + + + + Everyperson + Harold + M + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Security and Privacy Prohibitions + PROHIBITION ON REDISCLOSURE OF CONFIDENTIAL INFORMATION
+ This notice accompanies a disclosure of information concerning a client in alcohol/drug treatment, made to you with the consent of such client. This information has been disclosed to you from records protected by federal confidentiality rules (42 C.F.R. Part 2). The federal rules prohibit you from making any further disclosure of this information unless further disclosure is expressly permitted by the written consent of the person to whom it pertains or as otherwise permitted by 42 C.F.R. Part 2. A general authorization for the release of medical or other information is NOT sufficient for this purpose. The federal rules restrict any use of the information to criminally investigate or prosecute any alcohol or drug abuse patient.
+ + + + + + + + + + + + + + + + + + + + + + + Restricted Confidentiality + + + + + + + + + + + + + Information must be encrypted + + + + + + + + + + + + + Prohibition on redisclosure without patient + consent directive + + + + + + + + + + + + + Information intended for + treatment + + + + + +
+
+ + +
+ + + + + + + + Allergies and Alert Problems + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SubstanceReactionsSeverityDate of onsetComments
IVP dyeanaphylaxisHigh2010Allergy is is very severe...
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Allergy is very + severe... + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + Conditions or Problems + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ConditionCode SystemCodeDate of onsetAuthor
HypertensionICD-9401January 2009Dr. Harold Hippocrates,
Example Organization
Oct. + 21, 2010
HeadacheICD-9784.0 Dr. Harold Hippocrates,
Example Organization
Oct. + 21, 2010
+   + + + + + + + + + + + + + + + +
Accident TypeAccident DescriptionDate of onset
Car AccidentTrauma...October 10, 2010
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Restricted + Confidentiality + + + + + + + + + + + + + Information must be + encrypted + + + + + + + + + + + + + Prohibition on redisclosure + without patient consent + directive + + + + + + + + + + + + + Information intended for + treatment + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Trauma... + + + + + +
+
+ + +
+ + + + + + + + Results + + + Note: Only the the most recent three laboratory result values of + each type are listed below: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chem-Glucose POC Results
Result1/27/2010 9:101/26/2010 22:001/26/2010 15:29
+ Chem-Glucose POC + (90-120)140 mg/dL H120 mg/dL H90 mg/dL
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Coagulation
Result1/26/2010 7:30                                                      
+ Prothrombin Time + (9.0-12.1)15.9 sec H  
+ INR +  1.5 sec  
+ PTT + (25.0-38.0)25.4 sec  
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chem-General Results
Result1/27/2010 15:201/27/2010 7:301/26/2010 21:45
+ Sodium + (136-145)137 mmol/L138 mmol/L137 mmol/L
+ Potassium + (3.5-5.1)4.7 mmol/L4.4 mmol/L4.3 mmol/L
+ Chloride + (98-107)103 mmol/L104 mmol/L104 mmol/L
+ + Note: Only the the most recent radiology reports of each type + are listed below: + + + + + + + + + + + + + + + + + + + + + +
Radiology Reports
1/26/2010 13:09
+ Example
PROCEDURE: ADX6544 - WRIST + ROUTINE MIN 3 VIEW LT
DATE OF EXAM: 26-Jan-2010 + 1:09PM RIS ORDER NO: 90001 CPT:
HISTORY: + Pain/trauma.
nondisplaced fracture of the distal + left radius. The remaining bones
appear intact. + The carpal bones are intact.
IMPRESSION: + Nondisplaced fracture of the distal left radius.
+
Transcriptionist:
CR2
+
Dictated Date:
26-Jan-2010
+
Transcribe Date/Time:
26-Jan-2010 2:51P +
Read By: Dr. Avicenna M.D.
+
Signed By:
Dr. Avicenna M.D.
+ Professional Codes: \
+
1/26/2010 20:09
+
PROCEDURE: CDX2050 - SPINE CERVICAL + COMP MIN 4 VIEW
ORDERING DOCTOR: Hippocrates, + Doctor M.D.
DATE OF EXAM: 26-Jan-2010 8:09PM RIS + ORDER NO: 90001 CPT: 72050
HISTORY: Trauma.
+ FINDINGS: Five views of the cervical spine demonstrate + normal alignment
and stature of the cervical + vertebral bodies. The disc spaces are
preserved. + The neural foramina are largely patent. Carotid vascular +
calcification is seen in the left neck.
+
IMPRESSION: No acute fracture.
+ Transcriptionist:
KP1
+
Dictated Date:
26-Jan-2010
+
Transcribe Date/Time:
26-Jan-2010 11:47A
+
Read By: Doctor Avicenna M.D.
+
Signed By:
Doctor Avicenna M.D.
+ Professional Codes: 959.09-1403

+ +
+ Note: Only the the most recent cardiology reports of each type + are listed below: + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 140 mg/dL + + + + + + + + + + + (90-120) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 120 mg/dL + + + + + + (90-120) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 90 mg/dL + + + + (90-120) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 15.9 sec + + + + + + (9.0-12.1) + + + + + + + + + + + + + + + + 11.5 + + + + + + + + + + + + + + 25.4 sec + + + + (25.0-38.0) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 137 mmol/L + + + + + + (136-145) + + + + + + + + + + + + + + + + 4.7 mmol/L + + + + + + (3.5-5.1) + + + + + + + + + + + + + + + + 103 mmol/L + + + + + + (98-107) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 138 mmol/L + + + + (136-145) + + + + + + + + + + + + + + + + 4.4 mmol/L + + + + (3.5-5.1) + + + + + + + + + + + + + + + + 104 mmol/L + + + + (98-107) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 137 mmol/L + + + + (136-145) + + + + + + + + + + + + + + + + 4.3 mmol/L + + + + (3.5-5.1) + + + + + + + + + + + + + + + + 104 mmol/L + + + + (98-107) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + Procedures + + + + + + + + + + + + + + + +
ProcedureDate
Knee Replacement10/06/2008
+
+ + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + + + + + Encounters + + + + + + + + + + + + + + + + + + + +
Encounter TypeLocationDateAccount Number
EmergencyExample Clinic1/25/2010 - 1/28/20109898-8988
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example Clinic + + + + + +
+
+ + + +
+ + + + + + + + Insurance Payers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Payer Name/ContactPriorityGroup IdCovered Party IdCovered Party Name/RelationshipCovered Party Date of Birth
Good Health
99 Main St.
Anytown, + NH
978-555-1234
Primary1111G-0980Everyperson, Harold M./Spouse11/12/1944
Metropolitan Health
1 Elm St.
Anytown, + NH
603-555-1212
Secondary2222M-987987Everyperson, Mary A./Self7/04/1943
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 99 Main St. + + Anytown + + NH + + 99999 + + + + + + + Everyperson + M + Harold + + + + + + + Good Health + + + + + 99 Main St. + + Anytown + + NH + + 99999 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 Elm St. + + Anytown + + NH + + 99999 + + + + + + + Everyperson + + A + + Mary + + + + + + + Metropolitan Health + + + + + + 1 Elm St. + + Anytown + + NH + + 99999 + + + + + + + + + + + + + + + + +
+
+
+
+
diff --git a/generated/org.hl7.security.ds4p.contentprofile/samples/ds4p/cdaPrivacySegmentedDocument.xml b/generated/org.hl7.security.ds4p.contentprofile/samples/ds4p/cdaPrivacySegmentedDocument.xml new file mode 100644 index 0000000000..ad31e95d37 --- /dev/null +++ b/generated/org.hl7.security.ds4p.contentprofile/samples/ds4p/cdaPrivacySegmentedDocument.xml @@ -0,0 +1,2458 @@ + + + + + + + + + Example Continuity of Care Document + + + + + + + + + + + + + 1 Main St + Anytown + NH + 99999 + + + + + + + + + + + Mary + A + Everyperson + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example Organization + + + + + Example Address Line + ExampleCity + NH + 99999 + + + + + + + + + + + + + + + + + + + + + + + 1 Main St + Anytowm + NH + 99999 + + + + + + Everyperson + Harold + M + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Security and Privacy Prohibitions + + PROHIBITION ON REDISCLOSURE OF CONFIDENTIAL INFORMATION +
+ This notice + accompanies a disclosure of information concerning a + client in alcohol/drug + treatment, made to you with the consent of + such client. This information has + been disclosed to you from + records protected by federal confidentiality + rules (42 C.F.R. Part + 2). The federal rules prohibit you from making any + further + disclosure of this information unless further disclosure is + expressly permitted by the written consent of the person to whom + it pertains + or as otherwise permitted by 42 C.F.R. Part 2. A + general authorization for + the release of medical or other + information is NOT sufficient for this + purpose. The federal rules + restrict any use of the information to criminally + investigate or + prosecute any alcohol or drug abuse patient. +
+ + + + + + + + + + + + + + + + + + + + + + + Restricted Confidentiality + + + + + + + + + + + + + Information must be encrypted + + + + + + + + + + + + + Prohibition on redisclosure without patient + consent directive + + + + + + + + + + + + + + Information intended for + treatment + + + + + + +
+
+ + +
+ + + + + + + + Allergies and Alert Problems + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SubstanceReactionsSeverityDate of onsetComments
IVP dyeanaphylaxisHigh2010Allergy is is very severe...
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Allergy is very + severe... + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + Conditions or Problems + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ConditionCode SystemCodeDate of onsetAuthor
Cannabis dependence, unspecifiedICD-9304.30January 2009 + Dr. Harold Hippocrates, +
+ Example Organization +
+ Oct. + 21, 2010 +
HeadacheICD-9784.0  + Dr. Harold Hippocrates, +
+ Example Organization +
+ Oct. + 21, 2010 +
+   + + + + + + + + + + + + + + + +
Accident TypeAccident DescriptionDate of onset
Car AccidentTrauma...October 10, 2010
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Restricted + Confidentiality + + + + + + + + + + + + + + Information must be + encrypted + + + + + + + + + + + + + + Prohibition on redisclosure + without patient consent + directive + + + + + + + + + + + + + + Information intended for + treatment + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Trauma... + + + + + +
+
+ + +
+ + + + + + + + Results + + + Note: Only the the most recent three laboratory result + values of + each type are listed below: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chem-Glucose POC Results
Result1/27/2010 9:101/26/2010 22:001/26/2010 15:29
+ Chem-Glucose POC + (90-120) + 140 mg/dL + H + + 120 mg/dL + H + 90 mg/dL
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Coagulation
Result1/26/2010 7:30                            +                             +
+ Prothrombin Time + (9.0-12.1) + 15.9 sec + H +   
+ INR +  1.5 sec  
+ PTT + (25.0-38.0)25.4 sec  
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chem-General Results
Result1/27/2010 15:201/27/2010 7:301/26/2010 21:45
+ Sodium + (136-145)137 mmol/L138 mmol/L137 mmol/L
+ Potassium + (3.5-5.1)4.7 mmol/L4.4 mmol/L4.3 mmol/L
+ Chloride + (98-107)103 mmol/L104 mmol/L104 mmol/L
+ + Note: Only the the most recent radiology reports of + each type + are listed below: + + + + + + + + + + + + + + + + + + + + + + +
Radiology Reports
1/26/2010 13:09
+ + Example +
+ PROCEDURE: ADX6544 - WRIST + ROUTINE MIN 3 VIEW LT +
+ DATE OF EXAM: 26-Jan-2010 + 1:09PM RIS ORDER NO: 90001 CPT: +
+ HISTORY: + Pain/trauma. +
+ nondisplaced fracture of the distal + left radius. The remaining + bones +
+ appear intact. + The carpal bones are intact. +
+ IMPRESSION: + Nondisplaced fracture of the distal left radius. +
+
+ Transcriptionist: +
+ CR2 +
+
+ Dictated Date: +
+ 26-Jan-2010 +
+
+ Transcribe Date/Time: +
+ 26-Jan-2010 2:51P +
+ Read By: Dr. Avicenna M.D. +
+
+ Signed By: +
+ Dr. Avicenna M.D. +
+ Professional Codes: \ +
+
+
1/26/2010 20:09
+ +
+ PROCEDURE: CDX2050 - SPINE CERVICAL + COMP MIN 4 VIEW +
+ ORDERING DOCTOR: Hippocrates, + Doctor M.D. +
+ DATE OF EXAM: 26-Jan-2010 8:09PM RIS + ORDER NO: 90001 CPT: + 72050 +
+ HISTORY: Trauma. +
+ FINDINGS: Five views of the cervical spine demonstrate + normal + alignment +
+ and stature of the cervical + vertebral bodies. The disc spaces + are +
+ preserved. + The neural foramina are largely patent. Carotid + vascular +
+ calcification is seen in the left neck. +
+
+ IMPRESSION: No acute fracture. +
+ Transcriptionist: +
+ KP1 +
+
+ Dictated Date: +
+ 26-Jan-2010 +
+
+ Transcribe Date/Time: +
+ 26-Jan-2010 11:47A +
+
+ Read By: Doctor Avicenna M.D. +
+
+ Signed By: +
+ Doctor Avicenna M.D. +
+ Professional Codes: 959.09-1403 +
+
+
+ +
+ Note: Only the the most recent cardiology reports of + each type + are listed below: + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 140 mg/dL + + + + + + + + + + + (90-120) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 120 mg/dL + + + + + + (90-120) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 90 mg/dL + + + + (90-120) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 15.9 sec + + + + + + (9.0-12.1) + + + + + + + + + + + + + + + + 11.5 + + + + + + + + + + + + + + 25.4 sec + + + + (25.0-38.0) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 137 mmol/L + + + + + + (136-145) + + + + + + + + + + + + + + + + 4.7 mmol/L + + + + + + (3.5-5.1) + + + + + + + + + + + + + + + + 103 mmol/L + + + + + + (98-107) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 138 mmol/L + + + + (136-145) + + + + + + + + + + + + + + + + 4.4 mmol/L + + + + (3.5-5.1) + + + + + + + + + + + + + + + + 104 mmol/L + + + + (98-107) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 137 mmol/L + + + + (136-145) + + + + + + + + + + + + + + + + 4.3 mmol/L + + + + (3.5-5.1) + + + + + + + + + + + + + + + + 104 mmol/L + + + + (98-107) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + Procedures + + + + + + + + + + + + + + + +
ProcedureDate
Knee Replacement10/06/2008
+
+ + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + + + + + Encounters + + + + + + + + + + + + + + + + + + + +
Encounter TypeLocationDateAccount Number
EmergencyExample Clinic1/25/2010 - 1/28/20109898-8988
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example Clinic + + + + + +
+
+ + + +
+ + + + + + + + Insurance Payers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Payer Name/ContactPriorityGroup IdCovered Party IdCovered Party Name/RelationshipCovered Party Date of Birth
+ Good Health +
+ 99 Main St. +
+ Anytown, + NH +
+ 978-555-1234 +
Primary1111G-0980Everyperson, Harold M./Spouse11/12/1944
+ Metropolitan Health +
+ 1 Elm St. +
+ Anytown, + NH +
+ 603-555-1212 +
Secondary2222M-987987Everyperson, Mary A./Self7/04/1943
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 99 Main St. + + Anytown + + NH + + 99999 + + + + + + + Everyperson + M + Harold + + + + + + + Good Health + + + + + 99 Main St. + + Anytown + + NH + + 99999 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 Elm St. + + Anytown + + NH + + 99999 + + + + + + + Everyperson + + A + + Mary + + + + + + + Metropolitan Health + + + + + + 1 Elm St. + + Anytown + + NH + + 99999 + + + + + + + + + + + + + + + + +
+
+
+
+
diff --git a/generated/org.hl7.security.ds4p.contentprofile/samples/ds4p/ds4pAmbTest1.xml b/generated/org.hl7.security.ds4p.contentprofile/samples/ds4p/ds4pAmbTest1.xml new file mode 100644 index 0000000000..b824424344 --- /dev/null +++ b/generated/org.hl7.security.ds4p.contentprofile/samples/ds4p/ds4pAmbTest1.xml @@ -0,0 +1,2634 @@ + + + + + + + + + + + + + + + + + + + + + 170.315_b1_toc_amb_ccd_r21_sample1 test data + + + + + + + + + + + + + + + + 1357 Amber Dr + Beaverton + OR + 97006 + US + + + + + + + + Alice + Jones + Newman + + + Alicia + Jones + Newman + + + + + + + + + + + + + + + + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Tracy + Davis + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Albert + Davis + + + + + + + + + + + Matthew + Newman + + + + + + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + Dr + Albert + Davis + + + + Neighborhood Physicians Practice + + + + + + + + + + + + + + + + + 1357 Amber Dr + Beaverton + OR + 97006 + US + + + + + + Mr + Rick + Holler + + + + + + + + + + + + 1357 Amber Dr + Beaverton + OR + 97006 + US + + + + + + Mr + Matthew + Newman + + + + + + + + + + + + + + + + + + + Primary Care Provider + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Dr + Albert + Davis + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Tracy + Davis + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + Security and Privacy Prohibitions + This notice accompanies a disclosure of information concerning a client in alcohol/drug treatment, made to you with the consent of such client. This information has been disclosed to you from records protected by federal confidentiality rules (42 C.F.R. Part 2). The federal rules prohibit you from making any further disclosure of this information unless further disclosure is expressly permitted by the written consent of the person to whom it pertains or as otherwise permitted by 42 C.F.R. Part 2. A general authorization for the release of medical or other information is NOT sufficient for this purpose. The federal rules restrict any use of the information to criminally investigate or prosecute any alcohol or drug abuse patient. + + + + + + + + + + + + + + + + Restricted Confidentiality + + + + + + + + + + Information must be encrypted + + + + + + + + + + Prohibition on redisclosure without patient consent directive + + + + + + + + + + Information intended for treatment + + + + + +
+ +
+ + + + + + +
+ + + + + + ALLERGIES AND ADVERSE REACTIONS + + + + + + + + + + + + + + + + + + + + + + + + +
SubstanceReactionSeverityStatus
+ Penicillin G benzathine + + Hives + + Moderate + Active
+ Ampicillin Sodium + + Hives + + Moderate + Active
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + MEDICATIONS + + + + + + + + + + + + + + + + + + + + + + + + + + +
MedicationDirectionsStart Date
Ceftriaxone 100MG/MLBIDJune 22, 2015
Tylenol 500mgFor 10 days As neededJune 22, 2015
Darbepoetin Alfa 0.5 MG/MLOnce a weekJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + PROBLEMS + + Active Concerns + + Problem #1 + + Essential hypertension (Disorder) + + + Problem #2 + + Severe Hypothyroidism (Disorder) + + + Problem #3 + + Chronic rejection of renal transplant (disorder) + + + Problem #4 + + Fever (finding) + + + + Resolved Concerns + + Problem #5 + + Overweight (finding) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + ENCOUNTERS + + + + + + + + + + + + + + + + +
Encounter DiagnosisLocationDate
Fever Neighborhood Physicians PracticeJune 22, 2015 at 10am EST
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + Neighborhood Physicians Practice + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + IMMUNIZATIONS + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VaccineDateStatus
Influenza Virus VaccineMay 10, 2014Completed
Tetanus and diphtheria toxoidsJanuary 4, 2012Completed
influenza, intradermal, quadrivalent, preservative freeJune 22, 2015Refused by Patient
+
+ + + + + + + + + + + + + + + + + + + + + 1 + + + Immuno Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + Immuno Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + Immuno Inc. + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + VITAL SIGNS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Date / Time: June 22, 2015
Height177 cm
Weight88 kg
Blood Pressure145/88
Heart Rate80 beats per minute
O2 Percentage BldC Oximetry95 percent
Body Temperature38 degree celsius
Respiratory Rate18 breaths per minute
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + SOCIAL HISTORY + + + + + + + + + + + + + + + + + + + + + +
Social History ObservationDescriptionDates Observed
Smoking StatusHeavy tobacco smokerMay 1, 2005 - February 27, 2011
Current Smoking StatusCurrent every dayJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + PROCEDURES + + + + + + + + + + + + + + + + + + +
ProcedureDate
Nebulizer TherapyJune 22, 2015
Introduction of cardiac pacemaker system via veinOctober 5, 2011
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + RESULTS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Result TypeResult ValueRelevant Reference RangeInterpretationDate
Color of UrineYELLOWYELLOWNormal06/22/2015
Appearance of UrineCLEARCLEARNormal06/22/2015
Specific gravity of Urine by Test strip1.0151.005 – 1.030Normal06/22/2015
pH of Urine by Test strip5.0 pH5.0-8.0Normal06/22/2015
Glucose [Mass/volume] in urine by test strip50mg/dlNeg06/22/2015
Ketones [Mass/Volume] in urine by test stripNegativeNegative06/22/2015
Protein[Mass/Volume] in urine by test strip100mg/dlnegative06/22/2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + YELLOW + + + + YELLOW + + + + + + + + + + + + + + + + + CLEAR + + + + CLEAR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + +
+ + + + + + FUNCTIONAL STATUS + + + + + + + + + + + + + + +
Functional CategoryEffective Dates
Dependence on CaneMay 01, 2005
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + +
+ + + + + ASSESSMENTS + The patient was found to have fever and Dr Davis is suspecting Anemia based on the patient history. So Dr Davis asked the patient to closely monitor the temperature and blood pressure and get admitted to Community Health Hospitals if the fever does not subside within a day. +
+
+ + + + +
+ + + + + TREATMENT PLAN + + Hand-off Communication: +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Planned CareStart Date
Urinanalysis macro (dipstick) panelJune 22, 2015
Get an EKG done on 6/23/2015.June 23, 2015
Get a Chest X-ray done on 6/23/2015 showing the Lower Respiratory Tract Structure.June 23, 2015
Take Clindamycin 300mg three times a day as needed if pain does not subside.June 23, 2015 three times a day as needed
Schedule follow on visit with Neighborhood Physicians Practice on 7/1/2015.July 7, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Take Clindamycin 300mg three times a day as needed if pain does not subside. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + + + Schedule follow on visit with Neighborhood Physicians Practice on 7/1/2015. + + + + + + + + + +
+
+ + + + + +
+ + + + + Goals Section + + + + + + + + + + + + + + + + + + + + + + + + +
GoalValueDate
Get rid of intermittent fever that is occurring every few weeks (Visual Inspection)N/AJune 23, 2015
Need to gain more energy to do regular activities (Visual Inspection)N/AJune 23, 2015
+
+ + + + + + + + + + + + Get rid of intermittent fever that is occurring every few weeks. (Visual Inspection) + + + + + + + + + + + + + + + + + + + + + + + + + + Need to gain more energy to do regular activities. (Visual Inspection) + + + + + + + + + + +
+
+ + + + + + +
+ + + + Health Concerns Section + + + + + + + + + + + + + + + + +
ObservationStatusDate
Chronic Sickness exhibited by patientActiveJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ConcernStatusDate
Documented HyperTension problemActiveJune 22, 2015
Documented HypoThyroidism problemActiveJune 22, 2015
Watch Weight of patientActiveJune 22, 2015
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + REASON FOR REFERRAL + Ms Alice Newman is being referred to Community Health Hospitals Inpatient facility because of the high fever noticed and suspected Anemia. +
+
+ + + + +
+ + + + + + MENTAL STATUS + + + + + + + + + + + + + + +
StatusDate
AmnesiaMay 05, 2005
+
+ + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/.DS_Store b/generated/org.hl7.security.ds4p.contentprofile/src/.DS_Store new file mode 100644 index 0000000000..304f7a8e49 Binary files /dev/null and b/generated/org.hl7.security.ds4p.contentprofile/src/.DS_Store differ diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/.DS_Store b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/.DS_Store new file mode 100644 index 0000000000..68c2193a83 Binary files /dev/null and b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/.DS_Store differ diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/CONTENTPROFILEPackage.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/CONTENTPROFILEPackage.java index 9ef285b39f..7c5c8ab9e0 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/CONTENTPROFILEPackage.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/CONTENTPROFILEPackage.java @@ -29,3631 +29,3631 @@ */ public interface CONTENTPROFILEPackage extends EPackage { /** - * The package name. - * + * The package name. + * * - * @generated - */ + * @generated + */ String eNAME = "contentprofile"; /** - * The package namespace URI. - * + * The package namespace URI. + * * - * @generated - */ + * @generated + */ String eNS_URI = "http://www.hl7.org/security/ds4p/contentprofile"; /** - * The package namespace name. - * + * The package namespace name. + * * - * @generated - */ + * @generated + */ String eNS_PREFIX = "contentprofile"; /** - * The singleton instance of the package. - * + * The singleton instance of the package. + * * - * @generated - */ + * @generated + */ CONTENTPROFILEPackage eINSTANCE = org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl.init(); /** - * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacySegmentedDocumentImpl Privacy Segmented Document}' class. - * + * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacySegmentedDocumentImpl Privacy Segmented Document}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.PrivacySegmentedDocumentImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacySegmentedDocument() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.PrivacySegmentedDocumentImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacySegmentedDocument() + * @generated + */ int PRIVACY_SEGMENTED_DOCUMENT = 0; /** - * The feature id for the 'Realm Code' containment reference list. - * + * The feature id for the 'Realm Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__REALM_CODE = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__REALM_CODE; /** - * The feature id for the 'Type Id' containment reference. - * + * The feature id for the 'Type Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__TYPE_ID = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__TYPE_ID; /** - * The feature id for the 'Template Id' containment reference list. - * + * The feature id for the 'Template Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__TEMPLATE_ID = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__TEMPLATE_ID; /** - * The feature id for the 'Id' containment reference. - * + * The feature id for the 'Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__ID = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__ID; /** - * The feature id for the 'Code' containment reference. - * + * The feature id for the 'Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__CODE = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__CODE; /** - * The feature id for the 'Title' containment reference. - * + * The feature id for the 'Title' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__TITLE = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__TITLE; /** - * The feature id for the 'Effective Time' containment reference. - * + * The feature id for the 'Effective Time' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__EFFECTIVE_TIME = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__EFFECTIVE_TIME; /** - * The feature id for the 'Confidentiality Code' containment reference. - * + * The feature id for the 'Confidentiality Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__CONFIDENTIALITY_CODE = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__CONFIDENTIALITY_CODE; /** - * The feature id for the 'Language Code' containment reference. - * + * The feature id for the 'Language Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__LANGUAGE_CODE = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__LANGUAGE_CODE; /** - * The feature id for the 'Set Id' containment reference. - * + * The feature id for the 'Set Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__SET_ID = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__SET_ID; /** - * The feature id for the 'Version Number' containment reference. - * + * The feature id for the 'Version Number' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__VERSION_NUMBER = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__VERSION_NUMBER; /** - * The feature id for the 'Copy Time' containment reference. - * + * The feature id for the 'Copy Time' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__COPY_TIME = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__COPY_TIME; /** - * The feature id for the 'Record Target' containment reference list. - * + * The feature id for the 'Record Target' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__RECORD_TARGET = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__RECORD_TARGET; /** - * The feature id for the 'Author' containment reference list. - * + * The feature id for the 'Author' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__AUTHOR = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__AUTHOR; /** - * The feature id for the 'Data Enterer' containment reference. - * + * The feature id for the 'Data Enterer' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__DATA_ENTERER = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__DATA_ENTERER; /** - * The feature id for the 'Informant' containment reference list. - * + * The feature id for the 'Informant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__INFORMANT = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__INFORMANT; /** - * The feature id for the 'Custodian' containment reference. - * + * The feature id for the 'Custodian' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__CUSTODIAN = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__CUSTODIAN; /** - * The feature id for the 'Information Recipient' containment reference list. - * + * The feature id for the 'Information Recipient' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__INFORMATION_RECIPIENT = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__INFORMATION_RECIPIENT; /** - * The feature id for the 'Legal Authenticator' containment reference. - * + * The feature id for the 'Legal Authenticator' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__LEGAL_AUTHENTICATOR = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__LEGAL_AUTHENTICATOR; /** - * The feature id for the 'Authenticator' containment reference list. - * + * The feature id for the 'Authenticator' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__AUTHENTICATOR = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__AUTHENTICATOR; /** - * The feature id for the 'Participant' containment reference list. - * + * The feature id for the 'Participant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__PARTICIPANT = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__PARTICIPANT; /** - * The feature id for the 'In Fulfillment Of' containment reference list. - * + * The feature id for the 'In Fulfillment Of' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__IN_FULFILLMENT_OF = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__IN_FULFILLMENT_OF; /** - * The feature id for the 'Documentation Of' containment reference list. - * + * The feature id for the 'Documentation Of' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__DOCUMENTATION_OF = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__DOCUMENTATION_OF; /** - * The feature id for the 'Related Document' containment reference list. - * + * The feature id for the 'Related Document' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__RELATED_DOCUMENT = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__RELATED_DOCUMENT; /** - * The feature id for the 'Authorization' containment reference list. - * + * The feature id for the 'Authorization' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__AUTHORIZATION = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__AUTHORIZATION; /** - * The feature id for the 'Component Of' containment reference. - * + * The feature id for the 'Component Of' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__COMPONENT_OF = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__COMPONENT_OF; /** - * The feature id for the 'Component' containment reference. - * + * The feature id for the 'Component' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__COMPONENT = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__COMPONENT; /** - * The feature id for the 'Null Flavor' attribute. - * + * The feature id for the 'Null Flavor' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__NULL_FLAVOR = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__NULL_FLAVOR; /** - * The feature id for the 'Class Code' attribute. - * + * The feature id for the 'Class Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__CLASS_CODE = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__CLASS_CODE; /** - * The feature id for the 'Mood Code' attribute. - * + * The feature id for the 'Mood Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT__MOOD_CODE = ConsolPackage.GENERAL_HEADER_CONSTRAINTS__MOOD_CODE; /** - * The number of structural features of the 'Privacy Segmented Document' class. - * + * The number of structural features of the 'Privacy Segmented Document' class. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_DOCUMENT_FEATURE_COUNT = ConsolPackage.GENERAL_HEADER_CONSTRAINTS_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacySegmentedSectionImpl Privacy Segmented Section}' class. - * + * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacySegmentedSectionImpl Privacy Segmented Section}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.PrivacySegmentedSectionImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacySegmentedSection() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.PrivacySegmentedSectionImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacySegmentedSection() + * @generated + */ int PRIVACY_SEGMENTED_SECTION = 1; /** - * The feature id for the 'Realm Code' containment reference list. - * + * The feature id for the 'Realm Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__REALM_CODE = CDAPackage.SECTION__REALM_CODE; /** - * The feature id for the 'Type Id' containment reference. - * + * The feature id for the 'Type Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__TYPE_ID = CDAPackage.SECTION__TYPE_ID; /** - * The feature id for the 'Template Id' containment reference list. - * + * The feature id for the 'Template Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__TEMPLATE_ID = CDAPackage.SECTION__TEMPLATE_ID; /** - * The feature id for the 'Id' containment reference. - * + * The feature id for the 'Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__ID = CDAPackage.SECTION__ID; /** - * The feature id for the 'Code' containment reference. - * + * The feature id for the 'Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__CODE = CDAPackage.SECTION__CODE; /** - * The feature id for the 'Title' containment reference. - * + * The feature id for the 'Title' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__TITLE = CDAPackage.SECTION__TITLE; /** - * The feature id for the 'Text' containment reference. - * + * The feature id for the 'Text' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__TEXT = CDAPackage.SECTION__TEXT; /** - * The feature id for the 'Confidentiality Code' containment reference. - * + * The feature id for the 'Confidentiality Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__CONFIDENTIALITY_CODE = CDAPackage.SECTION__CONFIDENTIALITY_CODE; /** - * The feature id for the 'Language Code' containment reference. - * + * The feature id for the 'Language Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__LANGUAGE_CODE = CDAPackage.SECTION__LANGUAGE_CODE; /** - * The feature id for the 'Subject' containment reference. - * + * The feature id for the 'Subject' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__SUBJECT = CDAPackage.SECTION__SUBJECT; /** - * The feature id for the 'Author' containment reference list. - * + * The feature id for the 'Author' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__AUTHOR = CDAPackage.SECTION__AUTHOR; /** - * The feature id for the 'Informant' containment reference list. - * + * The feature id for the 'Informant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__INFORMANT = CDAPackage.SECTION__INFORMANT; /** - * The feature id for the 'Entry' containment reference list. - * + * The feature id for the 'Entry' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__ENTRY = CDAPackage.SECTION__ENTRY; /** - * The feature id for the 'Component' containment reference list. - * + * The feature id for the 'Component' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__COMPONENT = CDAPackage.SECTION__COMPONENT; /** - * The feature id for the 'Section Id' attribute. - * + * The feature id for the 'Section Id' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__SECTION_ID = CDAPackage.SECTION__SECTION_ID; /** - * The feature id for the 'Null Flavor' attribute. - * + * The feature id for the 'Null Flavor' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__NULL_FLAVOR = CDAPackage.SECTION__NULL_FLAVOR; /** - * The feature id for the 'Class Code' attribute. - * + * The feature id for the 'Class Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__CLASS_CODE = CDAPackage.SECTION__CLASS_CODE; /** - * The feature id for the 'Mood Code' attribute. - * + * The feature id for the 'Mood Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION__MOOD_CODE = CDAPackage.SECTION__MOOD_CODE; /** - * The number of structural features of the 'Privacy Segmented Section' class. - * + * The number of structural features of the 'Privacy Segmented Section' class. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_SEGMENTED_SECTION_FEATURE_COUNT = CDAPackage.SECTION_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacyMarkingsSectionImpl Privacy Markings Section}' class. - * + * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacyMarkingsSectionImpl Privacy Markings Section}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.PrivacyMarkingsSectionImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacyMarkingsSection() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.PrivacyMarkingsSectionImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacyMarkingsSection() + * @generated + */ int PRIVACY_MARKINGS_SECTION = 2; /** - * The feature id for the 'Realm Code' containment reference list. - * + * The feature id for the 'Realm Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__REALM_CODE = CDAPackage.SECTION__REALM_CODE; /** - * The feature id for the 'Type Id' containment reference. - * + * The feature id for the 'Type Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__TYPE_ID = CDAPackage.SECTION__TYPE_ID; /** - * The feature id for the 'Template Id' containment reference list. - * + * The feature id for the 'Template Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__TEMPLATE_ID = CDAPackage.SECTION__TEMPLATE_ID; /** - * The feature id for the 'Id' containment reference. - * + * The feature id for the 'Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__ID = CDAPackage.SECTION__ID; /** - * The feature id for the 'Code' containment reference. - * + * The feature id for the 'Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__CODE = CDAPackage.SECTION__CODE; /** - * The feature id for the 'Title' containment reference. - * + * The feature id for the 'Title' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__TITLE = CDAPackage.SECTION__TITLE; /** - * The feature id for the 'Text' containment reference. - * + * The feature id for the 'Text' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__TEXT = CDAPackage.SECTION__TEXT; /** - * The feature id for the 'Confidentiality Code' containment reference. - * + * The feature id for the 'Confidentiality Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__CONFIDENTIALITY_CODE = CDAPackage.SECTION__CONFIDENTIALITY_CODE; /** - * The feature id for the 'Language Code' containment reference. - * + * The feature id for the 'Language Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__LANGUAGE_CODE = CDAPackage.SECTION__LANGUAGE_CODE; /** - * The feature id for the 'Subject' containment reference. - * + * The feature id for the 'Subject' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__SUBJECT = CDAPackage.SECTION__SUBJECT; /** - * The feature id for the 'Author' containment reference list. - * + * The feature id for the 'Author' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__AUTHOR = CDAPackage.SECTION__AUTHOR; /** - * The feature id for the 'Informant' containment reference list. - * + * The feature id for the 'Informant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__INFORMANT = CDAPackage.SECTION__INFORMANT; /** - * The feature id for the 'Entry' containment reference list. - * + * The feature id for the 'Entry' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__ENTRY = CDAPackage.SECTION__ENTRY; /** - * The feature id for the 'Component' containment reference list. - * + * The feature id for the 'Component' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__COMPONENT = CDAPackage.SECTION__COMPONENT; /** - * The feature id for the 'Section Id' attribute. - * + * The feature id for the 'Section Id' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__SECTION_ID = CDAPackage.SECTION__SECTION_ID; /** - * The feature id for the 'Null Flavor' attribute. - * + * The feature id for the 'Null Flavor' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__NULL_FLAVOR = CDAPackage.SECTION__NULL_FLAVOR; /** - * The feature id for the 'Class Code' attribute. - * + * The feature id for the 'Class Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__CLASS_CODE = CDAPackage.SECTION__CLASS_CODE; /** - * The feature id for the 'Mood Code' attribute. - * + * The feature id for the 'Mood Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION__MOOD_CODE = CDAPackage.SECTION__MOOD_CODE; /** - * The number of structural features of the 'Privacy Markings Section' class. - * + * The number of structural features of the 'Privacy Markings Section' class. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_SECTION_FEATURE_COUNT = CDAPackage.SECTION_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.SecurityObservationImpl Security Observation}' class. - * + * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.SecurityObservationImpl Security Observation}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.SecurityObservationImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getSecurityObservation() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.SecurityObservationImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getSecurityObservation() + * @generated + */ int SECURITY_OBSERVATION = 4; /** - * The feature id for the 'Realm Code' containment reference list. - * + * The feature id for the 'Realm Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__REALM_CODE = CDAPackage.OBSERVATION__REALM_CODE; /** - * The feature id for the 'Type Id' containment reference. - * + * The feature id for the 'Type Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__TYPE_ID = CDAPackage.OBSERVATION__TYPE_ID; /** - * The feature id for the 'Template Id' containment reference list. - * + * The feature id for the 'Template Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__TEMPLATE_ID = CDAPackage.OBSERVATION__TEMPLATE_ID; /** - * The feature id for the 'Id' containment reference list. - * + * The feature id for the 'Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__ID = CDAPackage.OBSERVATION__ID; /** - * The feature id for the 'Code' containment reference. - * + * The feature id for the 'Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__CODE = CDAPackage.OBSERVATION__CODE; /** - * The feature id for the 'Derivation Expr' containment reference. - * + * The feature id for the 'Derivation Expr' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__DERIVATION_EXPR = CDAPackage.OBSERVATION__DERIVATION_EXPR; /** - * The feature id for the 'Text' containment reference. - * + * The feature id for the 'Text' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__TEXT = CDAPackage.OBSERVATION__TEXT; /** - * The feature id for the 'Status Code' containment reference. - * + * The feature id for the 'Status Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__STATUS_CODE = CDAPackage.OBSERVATION__STATUS_CODE; /** - * The feature id for the 'Effective Time' containment reference. - * + * The feature id for the 'Effective Time' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__EFFECTIVE_TIME = CDAPackage.OBSERVATION__EFFECTIVE_TIME; /** - * The feature id for the 'Priority Code' containment reference. - * + * The feature id for the 'Priority Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__PRIORITY_CODE = CDAPackage.OBSERVATION__PRIORITY_CODE; /** - * The feature id for the 'Repeat Number' containment reference. - * + * The feature id for the 'Repeat Number' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__REPEAT_NUMBER = CDAPackage.OBSERVATION__REPEAT_NUMBER; /** - * The feature id for the 'Language Code' containment reference. - * + * The feature id for the 'Language Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__LANGUAGE_CODE = CDAPackage.OBSERVATION__LANGUAGE_CODE; /** - * The feature id for the 'Value' containment reference list. - * + * The feature id for the 'Value' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__VALUE = CDAPackage.OBSERVATION__VALUE; /** - * The feature id for the 'Interpretation Code' containment reference list. - * + * The feature id for the 'Interpretation Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__INTERPRETATION_CODE = CDAPackage.OBSERVATION__INTERPRETATION_CODE; /** - * The feature id for the 'Method Code' containment reference list. - * + * The feature id for the 'Method Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__METHOD_CODE = CDAPackage.OBSERVATION__METHOD_CODE; /** - * The feature id for the 'Target Site Code' containment reference list. - * + * The feature id for the 'Target Site Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__TARGET_SITE_CODE = CDAPackage.OBSERVATION__TARGET_SITE_CODE; /** - * The feature id for the 'Subject' containment reference. - * + * The feature id for the 'Subject' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__SUBJECT = CDAPackage.OBSERVATION__SUBJECT; /** - * The feature id for the 'Specimen' containment reference list. - * + * The feature id for the 'Specimen' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__SPECIMEN = CDAPackage.OBSERVATION__SPECIMEN; /** - * The feature id for the 'Performer' containment reference list. - * + * The feature id for the 'Performer' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__PERFORMER = CDAPackage.OBSERVATION__PERFORMER; /** - * The feature id for the 'Author' containment reference list. - * + * The feature id for the 'Author' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__AUTHOR = CDAPackage.OBSERVATION__AUTHOR; /** - * The feature id for the 'Informant' containment reference list. - * + * The feature id for the 'Informant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__INFORMANT = CDAPackage.OBSERVATION__INFORMANT; /** - * The feature id for the 'Participant' containment reference list. - * + * The feature id for the 'Participant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__PARTICIPANT = CDAPackage.OBSERVATION__PARTICIPANT; /** - * The feature id for the 'Entry Relationship' containment reference list. - * + * The feature id for the 'Entry Relationship' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__ENTRY_RELATIONSHIP = CDAPackage.OBSERVATION__ENTRY_RELATIONSHIP; /** - * The feature id for the 'Reference' containment reference list. - * + * The feature id for the 'Reference' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__REFERENCE = CDAPackage.OBSERVATION__REFERENCE; /** - * The feature id for the 'Precondition' containment reference list. - * + * The feature id for the 'Precondition' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__PRECONDITION = CDAPackage.OBSERVATION__PRECONDITION; /** - * The feature id for the 'Reference Range' containment reference list. - * + * The feature id for the 'Reference Range' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__REFERENCE_RANGE = CDAPackage.OBSERVATION__REFERENCE_RANGE; /** - * The feature id for the 'Null Flavor' attribute. - * + * The feature id for the 'Null Flavor' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__NULL_FLAVOR = CDAPackage.OBSERVATION__NULL_FLAVOR; /** - * The feature id for the 'Class Code' attribute. - * + * The feature id for the 'Class Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__CLASS_CODE = CDAPackage.OBSERVATION__CLASS_CODE; /** - * The feature id for the 'Mood Code' attribute. - * + * The feature id for the 'Mood Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__MOOD_CODE = CDAPackage.OBSERVATION__MOOD_CODE; /** - * The feature id for the 'Negation Ind' attribute. - * + * The feature id for the 'Negation Ind' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__NEGATION_IND = CDAPackage.OBSERVATION__NEGATION_IND; /** - * The feature id for the 'In Fulfillment Of1' containment reference list. - * + * The feature id for the 'In Fulfillment Of1' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION__IN_FULFILLMENT_OF1 = CDAPackage.OBSERVATION__IN_FULFILLMENT_OF1; /** - * The number of structural features of the 'Security Observation' class. - * + * The number of structural features of the 'Security Observation' class. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int SECURITY_OBSERVATION_FEATURE_COUNT = CDAPackage.OBSERVATION_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.ObligationPolicySecurityObservationImpl Obligation Policy Security Observation}' class. - * + * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.ObligationPolicySecurityObservationImpl Obligation Policy Security Observation}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.ObligationPolicySecurityObservationImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getObligationPolicySecurityObservation() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.ObligationPolicySecurityObservationImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getObligationPolicySecurityObservation() + * @generated + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION = 3; /** - * The feature id for the 'Realm Code' containment reference list. - * + * The feature id for the 'Realm Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__REALM_CODE = SECURITY_OBSERVATION__REALM_CODE; /** - * The feature id for the 'Type Id' containment reference. - * + * The feature id for the 'Type Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__TYPE_ID = SECURITY_OBSERVATION__TYPE_ID; /** - * The feature id for the 'Template Id' containment reference list. - * + * The feature id for the 'Template Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__TEMPLATE_ID = SECURITY_OBSERVATION__TEMPLATE_ID; /** - * The feature id for the 'Id' containment reference list. - * + * The feature id for the 'Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__ID = SECURITY_OBSERVATION__ID; /** - * The feature id for the 'Code' containment reference. - * + * The feature id for the 'Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__CODE = SECURITY_OBSERVATION__CODE; /** - * The feature id for the 'Derivation Expr' containment reference. - * + * The feature id for the 'Derivation Expr' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__DERIVATION_EXPR = SECURITY_OBSERVATION__DERIVATION_EXPR; /** - * The feature id for the 'Text' containment reference. - * + * The feature id for the 'Text' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__TEXT = SECURITY_OBSERVATION__TEXT; /** - * The feature id for the 'Status Code' containment reference. - * + * The feature id for the 'Status Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__STATUS_CODE = SECURITY_OBSERVATION__STATUS_CODE; /** - * The feature id for the 'Effective Time' containment reference. - * + * The feature id for the 'Effective Time' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__EFFECTIVE_TIME = SECURITY_OBSERVATION__EFFECTIVE_TIME; /** - * The feature id for the 'Priority Code' containment reference. - * + * The feature id for the 'Priority Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__PRIORITY_CODE = SECURITY_OBSERVATION__PRIORITY_CODE; /** - * The feature id for the 'Repeat Number' containment reference. - * + * The feature id for the 'Repeat Number' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__REPEAT_NUMBER = SECURITY_OBSERVATION__REPEAT_NUMBER; /** - * The feature id for the 'Language Code' containment reference. - * + * The feature id for the 'Language Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__LANGUAGE_CODE = SECURITY_OBSERVATION__LANGUAGE_CODE; /** - * The feature id for the 'Value' containment reference list. - * + * The feature id for the 'Value' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__VALUE = SECURITY_OBSERVATION__VALUE; /** - * The feature id for the 'Interpretation Code' containment reference list. - * + * The feature id for the 'Interpretation Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__INTERPRETATION_CODE = SECURITY_OBSERVATION__INTERPRETATION_CODE; /** - * The feature id for the 'Method Code' containment reference list. - * + * The feature id for the 'Method Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__METHOD_CODE = SECURITY_OBSERVATION__METHOD_CODE; /** - * The feature id for the 'Target Site Code' containment reference list. - * + * The feature id for the 'Target Site Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__TARGET_SITE_CODE = SECURITY_OBSERVATION__TARGET_SITE_CODE; /** - * The feature id for the 'Subject' containment reference. - * + * The feature id for the 'Subject' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__SUBJECT = SECURITY_OBSERVATION__SUBJECT; /** - * The feature id for the 'Specimen' containment reference list. - * + * The feature id for the 'Specimen' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__SPECIMEN = SECURITY_OBSERVATION__SPECIMEN; /** - * The feature id for the 'Performer' containment reference list. - * + * The feature id for the 'Performer' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__PERFORMER = SECURITY_OBSERVATION__PERFORMER; /** - * The feature id for the 'Author' containment reference list. - * + * The feature id for the 'Author' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__AUTHOR = SECURITY_OBSERVATION__AUTHOR; /** - * The feature id for the 'Informant' containment reference list. - * + * The feature id for the 'Informant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__INFORMANT = SECURITY_OBSERVATION__INFORMANT; /** - * The feature id for the 'Participant' containment reference list. - * + * The feature id for the 'Participant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__PARTICIPANT = SECURITY_OBSERVATION__PARTICIPANT; /** - * The feature id for the 'Entry Relationship' containment reference list. - * + * The feature id for the 'Entry Relationship' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__ENTRY_RELATIONSHIP = SECURITY_OBSERVATION__ENTRY_RELATIONSHIP; /** - * The feature id for the 'Reference' containment reference list. - * + * The feature id for the 'Reference' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__REFERENCE = SECURITY_OBSERVATION__REFERENCE; /** - * The feature id for the 'Precondition' containment reference list. - * + * The feature id for the 'Precondition' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__PRECONDITION = SECURITY_OBSERVATION__PRECONDITION; /** - * The feature id for the 'Reference Range' containment reference list. - * + * The feature id for the 'Reference Range' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__REFERENCE_RANGE = SECURITY_OBSERVATION__REFERENCE_RANGE; /** - * The feature id for the 'Null Flavor' attribute. - * + * The feature id for the 'Null Flavor' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__NULL_FLAVOR = SECURITY_OBSERVATION__NULL_FLAVOR; /** - * The feature id for the 'Class Code' attribute. - * + * The feature id for the 'Class Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__CLASS_CODE = SECURITY_OBSERVATION__CLASS_CODE; /** - * The feature id for the 'Mood Code' attribute. - * + * The feature id for the 'Mood Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__MOOD_CODE = SECURITY_OBSERVATION__MOOD_CODE; /** - * The feature id for the 'Negation Ind' attribute. - * + * The feature id for the 'Negation Ind' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__NEGATION_IND = SECURITY_OBSERVATION__NEGATION_IND; /** - * The feature id for the 'In Fulfillment Of1' containment reference list. - * + * The feature id for the 'In Fulfillment Of1' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION__IN_FULFILLMENT_OF1 = SECURITY_OBSERVATION__IN_FULFILLMENT_OF1; /** - * The number of structural features of the 'Obligation Policy Security Observation' class. - * + * The number of structural features of the 'Obligation Policy Security Observation' class. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int OBLIGATION_POLICY_SECURITY_OBSERVATION_FEATURE_COUNT = SECURITY_OBSERVATION_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.MandatoryDocumentProvenanceImpl Mandatory Document Provenance}' class. - * + * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.MandatoryDocumentProvenanceImpl Mandatory Document Provenance}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.MandatoryDocumentProvenanceImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getMandatoryDocumentProvenance() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.MandatoryDocumentProvenanceImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getMandatoryDocumentProvenance() + * @generated + */ int MANDATORY_DOCUMENT_PROVENANCE = 5; /** - * The feature id for the 'Realm Code' containment reference list. - * + * The feature id for the 'Realm Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_PROVENANCE__REALM_CODE = CDAPackage.AUTHOR__REALM_CODE; /** - * The feature id for the 'Type Id' containment reference. - * + * The feature id for the 'Type Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_PROVENANCE__TYPE_ID = CDAPackage.AUTHOR__TYPE_ID; /** - * The feature id for the 'Template Id' containment reference list. - * + * The feature id for the 'Template Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_PROVENANCE__TEMPLATE_ID = CDAPackage.AUTHOR__TEMPLATE_ID; /** - * The feature id for the 'Function Code' containment reference. - * + * The feature id for the 'Function Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_PROVENANCE__FUNCTION_CODE = CDAPackage.AUTHOR__FUNCTION_CODE; /** - * The feature id for the 'Time' containment reference. - * + * The feature id for the 'Time' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_PROVENANCE__TIME = CDAPackage.AUTHOR__TIME; /** - * The feature id for the 'Assigned Author' containment reference. - * + * The feature id for the 'Assigned Author' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_PROVENANCE__ASSIGNED_AUTHOR = CDAPackage.AUTHOR__ASSIGNED_AUTHOR; /** - * The feature id for the 'Null Flavor' attribute. - * + * The feature id for the 'Null Flavor' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_PROVENANCE__NULL_FLAVOR = CDAPackage.AUTHOR__NULL_FLAVOR; /** - * The feature id for the 'Type Code' attribute. - * + * The feature id for the 'Type Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_PROVENANCE__TYPE_CODE = CDAPackage.AUTHOR__TYPE_CODE; /** - * The feature id for the 'Context Control Code' attribute. - * + * The feature id for the 'Context Control Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_PROVENANCE__CONTEXT_CONTROL_CODE = CDAPackage.AUTHOR__CONTEXT_CONTROL_CODE; /** - * The number of structural features of the 'Mandatory Document Provenance' class. - * + * The number of structural features of the 'Mandatory Document Provenance' class. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_PROVENANCE_FEATURE_COUNT = CDAPackage.AUTHOR_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.MandatoryDocumentAssignedAuthorImpl Mandatory Document Assigned Author}' class. - * + * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.MandatoryDocumentAssignedAuthorImpl Mandatory Document Assigned Author}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.MandatoryDocumentAssignedAuthorImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getMandatoryDocumentAssignedAuthor() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.MandatoryDocumentAssignedAuthorImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getMandatoryDocumentAssignedAuthor() + * @generated + */ int MANDATORY_DOCUMENT_ASSIGNED_AUTHOR = 6; /** - * The feature id for the 'Realm Code' containment reference list. - * + * The feature id for the 'Realm Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__REALM_CODE = CDAPackage.ASSIGNED_AUTHOR__REALM_CODE; /** - * The feature id for the 'Type Id' containment reference. - * + * The feature id for the 'Type Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__TYPE_ID = CDAPackage.ASSIGNED_AUTHOR__TYPE_ID; /** - * The feature id for the 'Template Id' containment reference list. - * + * The feature id for the 'Template Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__TEMPLATE_ID = CDAPackage.ASSIGNED_AUTHOR__TEMPLATE_ID; /** - * The feature id for the 'Id' containment reference list. - * + * The feature id for the 'Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__ID = CDAPackage.ASSIGNED_AUTHOR__ID; /** - * The feature id for the 'Code' containment reference. - * + * The feature id for the 'Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__CODE = CDAPackage.ASSIGNED_AUTHOR__CODE; /** - * The feature id for the 'Addr' containment reference list. - * + * The feature id for the 'Addr' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__ADDR = CDAPackage.ASSIGNED_AUTHOR__ADDR; /** - * The feature id for the 'Telecom' containment reference list. - * + * The feature id for the 'Telecom' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__TELECOM = CDAPackage.ASSIGNED_AUTHOR__TELECOM; /** - * The feature id for the 'Assigned Person' containment reference. - * + * The feature id for the 'Assigned Person' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__ASSIGNED_PERSON = CDAPackage.ASSIGNED_AUTHOR__ASSIGNED_PERSON; /** - * The feature id for the 'Assigned Authoring Device' containment reference. - * + * The feature id for the 'Assigned Authoring Device' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__ASSIGNED_AUTHORING_DEVICE = CDAPackage.ASSIGNED_AUTHOR__ASSIGNED_AUTHORING_DEVICE; /** - * The feature id for the 'Represented Organization' containment reference. - * + * The feature id for the 'Represented Organization' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__REPRESENTED_ORGANIZATION = CDAPackage.ASSIGNED_AUTHOR__REPRESENTED_ORGANIZATION; /** - * The feature id for the 'Null Flavor' attribute. - * + * The feature id for the 'Null Flavor' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__NULL_FLAVOR = CDAPackage.ASSIGNED_AUTHOR__NULL_FLAVOR; /** - * The feature id for the 'Class Code' attribute. - * + * The feature id for the 'Class Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__CLASS_CODE = CDAPackage.ASSIGNED_AUTHOR__CLASS_CODE; /** - * The number of structural features of the 'Mandatory Document Assigned Author' class. - * + * The number of structural features of the 'Mandatory Document Assigned Author' class. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_FEATURE_COUNT = CDAPackage.ASSIGNED_AUTHOR_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacyAnnotationImpl Privacy Annotation}' class. - * + * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacyAnnotationImpl Privacy Annotation}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.PrivacyAnnotationImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacyAnnotation() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.PrivacyAnnotationImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacyAnnotation() + * @generated + */ int PRIVACY_ANNOTATION = 7; /** - * The feature id for the 'Realm Code' containment reference list. - * + * The feature id for the 'Realm Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__REALM_CODE = CDAPackage.ORGANIZER__REALM_CODE; /** - * The feature id for the 'Type Id' containment reference. - * + * The feature id for the 'Type Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__TYPE_ID = CDAPackage.ORGANIZER__TYPE_ID; /** - * The feature id for the 'Template Id' containment reference list. - * + * The feature id for the 'Template Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__TEMPLATE_ID = CDAPackage.ORGANIZER__TEMPLATE_ID; /** - * The feature id for the 'Id' containment reference list. - * + * The feature id for the 'Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__ID = CDAPackage.ORGANIZER__ID; /** - * The feature id for the 'Code' containment reference. - * + * The feature id for the 'Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__CODE = CDAPackage.ORGANIZER__CODE; /** - * The feature id for the 'Status Code' containment reference. - * + * The feature id for the 'Status Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__STATUS_CODE = CDAPackage.ORGANIZER__STATUS_CODE; /** - * The feature id for the 'Effective Time' containment reference. - * + * The feature id for the 'Effective Time' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__EFFECTIVE_TIME = CDAPackage.ORGANIZER__EFFECTIVE_TIME; /** - * The feature id for the 'Subject' containment reference. - * + * The feature id for the 'Subject' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__SUBJECT = CDAPackage.ORGANIZER__SUBJECT; /** - * The feature id for the 'Specimen' containment reference list. - * + * The feature id for the 'Specimen' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__SPECIMEN = CDAPackage.ORGANIZER__SPECIMEN; /** - * The feature id for the 'Performer' containment reference list. - * + * The feature id for the 'Performer' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__PERFORMER = CDAPackage.ORGANIZER__PERFORMER; /** - * The feature id for the 'Author' containment reference list. - * + * The feature id for the 'Author' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__AUTHOR = CDAPackage.ORGANIZER__AUTHOR; /** - * The feature id for the 'Informant' containment reference list. - * + * The feature id for the 'Informant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__INFORMANT = CDAPackage.ORGANIZER__INFORMANT; /** - * The feature id for the 'Participant' containment reference list. - * + * The feature id for the 'Participant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__PARTICIPANT = CDAPackage.ORGANIZER__PARTICIPANT; /** - * The feature id for the 'Reference' containment reference list. - * + * The feature id for the 'Reference' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__REFERENCE = CDAPackage.ORGANIZER__REFERENCE; /** - * The feature id for the 'Precondition' containment reference list. - * + * The feature id for the 'Precondition' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__PRECONDITION = CDAPackage.ORGANIZER__PRECONDITION; /** - * The feature id for the 'Component' containment reference list. - * + * The feature id for the 'Component' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__COMPONENT = CDAPackage.ORGANIZER__COMPONENT; /** - * The feature id for the 'Null Flavor' attribute. - * + * The feature id for the 'Null Flavor' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__NULL_FLAVOR = CDAPackage.ORGANIZER__NULL_FLAVOR; /** - * The feature id for the 'Class Code' attribute. - * + * The feature id for the 'Class Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__CLASS_CODE = CDAPackage.ORGANIZER__CLASS_CODE; /** - * The feature id for the 'Mood Code' attribute. - * + * The feature id for the 'Mood Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION__MOOD_CODE = CDAPackage.ORGANIZER__MOOD_CODE; /** - * The number of structural features of the 'Privacy Annotation' class. - * + * The number of structural features of the 'Privacy Annotation' class. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_FEATURE_COUNT = CDAPackage.ORGANIZER_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.RefrainPolicySecurityObservationImpl Refrain Policy Security Observation}' class. - * + * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.RefrainPolicySecurityObservationImpl Refrain Policy Security Observation}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.RefrainPolicySecurityObservationImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getRefrainPolicySecurityObservation() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.RefrainPolicySecurityObservationImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getRefrainPolicySecurityObservation() + * @generated + */ int REFRAIN_POLICY_SECURITY_OBSERVATION = 8; /** - * The feature id for the 'Realm Code' containment reference list. - * + * The feature id for the 'Realm Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__REALM_CODE = SECURITY_OBSERVATION__REALM_CODE; /** - * The feature id for the 'Type Id' containment reference. - * + * The feature id for the 'Type Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__TYPE_ID = SECURITY_OBSERVATION__TYPE_ID; /** - * The feature id for the 'Template Id' containment reference list. - * + * The feature id for the 'Template Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__TEMPLATE_ID = SECURITY_OBSERVATION__TEMPLATE_ID; /** - * The feature id for the 'Id' containment reference list. - * + * The feature id for the 'Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__ID = SECURITY_OBSERVATION__ID; /** - * The feature id for the 'Code' containment reference. - * + * The feature id for the 'Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__CODE = SECURITY_OBSERVATION__CODE; /** - * The feature id for the 'Derivation Expr' containment reference. - * + * The feature id for the 'Derivation Expr' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__DERIVATION_EXPR = SECURITY_OBSERVATION__DERIVATION_EXPR; /** - * The feature id for the 'Text' containment reference. - * + * The feature id for the 'Text' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__TEXT = SECURITY_OBSERVATION__TEXT; /** - * The feature id for the 'Status Code' containment reference. - * + * The feature id for the 'Status Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__STATUS_CODE = SECURITY_OBSERVATION__STATUS_CODE; /** - * The feature id for the 'Effective Time' containment reference. - * + * The feature id for the 'Effective Time' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__EFFECTIVE_TIME = SECURITY_OBSERVATION__EFFECTIVE_TIME; /** - * The feature id for the 'Priority Code' containment reference. - * + * The feature id for the 'Priority Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__PRIORITY_CODE = SECURITY_OBSERVATION__PRIORITY_CODE; /** - * The feature id for the 'Repeat Number' containment reference. - * + * The feature id for the 'Repeat Number' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__REPEAT_NUMBER = SECURITY_OBSERVATION__REPEAT_NUMBER; /** - * The feature id for the 'Language Code' containment reference. - * + * The feature id for the 'Language Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__LANGUAGE_CODE = SECURITY_OBSERVATION__LANGUAGE_CODE; /** - * The feature id for the 'Value' containment reference list. - * + * The feature id for the 'Value' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__VALUE = SECURITY_OBSERVATION__VALUE; /** - * The feature id for the 'Interpretation Code' containment reference list. - * + * The feature id for the 'Interpretation Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__INTERPRETATION_CODE = SECURITY_OBSERVATION__INTERPRETATION_CODE; /** - * The feature id for the 'Method Code' containment reference list. - * + * The feature id for the 'Method Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__METHOD_CODE = SECURITY_OBSERVATION__METHOD_CODE; /** - * The feature id for the 'Target Site Code' containment reference list. - * + * The feature id for the 'Target Site Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__TARGET_SITE_CODE = SECURITY_OBSERVATION__TARGET_SITE_CODE; /** - * The feature id for the 'Subject' containment reference. - * + * The feature id for the 'Subject' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__SUBJECT = SECURITY_OBSERVATION__SUBJECT; /** - * The feature id for the 'Specimen' containment reference list. - * + * The feature id for the 'Specimen' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__SPECIMEN = SECURITY_OBSERVATION__SPECIMEN; /** - * The feature id for the 'Performer' containment reference list. - * + * The feature id for the 'Performer' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__PERFORMER = SECURITY_OBSERVATION__PERFORMER; /** - * The feature id for the 'Author' containment reference list. - * + * The feature id for the 'Author' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__AUTHOR = SECURITY_OBSERVATION__AUTHOR; /** - * The feature id for the 'Informant' containment reference list. - * + * The feature id for the 'Informant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__INFORMANT = SECURITY_OBSERVATION__INFORMANT; /** - * The feature id for the 'Participant' containment reference list. - * + * The feature id for the 'Participant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__PARTICIPANT = SECURITY_OBSERVATION__PARTICIPANT; /** - * The feature id for the 'Entry Relationship' containment reference list. - * + * The feature id for the 'Entry Relationship' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__ENTRY_RELATIONSHIP = SECURITY_OBSERVATION__ENTRY_RELATIONSHIP; /** - * The feature id for the 'Reference' containment reference list. - * + * The feature id for the 'Reference' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__REFERENCE = SECURITY_OBSERVATION__REFERENCE; /** - * The feature id for the 'Precondition' containment reference list. - * + * The feature id for the 'Precondition' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__PRECONDITION = SECURITY_OBSERVATION__PRECONDITION; /** - * The feature id for the 'Reference Range' containment reference list. - * + * The feature id for the 'Reference Range' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__REFERENCE_RANGE = SECURITY_OBSERVATION__REFERENCE_RANGE; /** - * The feature id for the 'Null Flavor' attribute. - * + * The feature id for the 'Null Flavor' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__NULL_FLAVOR = SECURITY_OBSERVATION__NULL_FLAVOR; /** - * The feature id for the 'Class Code' attribute. - * + * The feature id for the 'Class Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__CLASS_CODE = SECURITY_OBSERVATION__CLASS_CODE; /** - * The feature id for the 'Mood Code' attribute. - * + * The feature id for the 'Mood Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__MOOD_CODE = SECURITY_OBSERVATION__MOOD_CODE; /** - * The feature id for the 'Negation Ind' attribute. - * + * The feature id for the 'Negation Ind' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__NEGATION_IND = SECURITY_OBSERVATION__NEGATION_IND; /** - * The feature id for the 'In Fulfillment Of1' containment reference list. - * + * The feature id for the 'In Fulfillment Of1' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION__IN_FULFILLMENT_OF1 = SECURITY_OBSERVATION__IN_FULFILLMENT_OF1; /** - * The number of structural features of the 'Refrain Policy Security Observation' class. - * + * The number of structural features of the 'Refrain Policy Security Observation' class. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int REFRAIN_POLICY_SECURITY_OBSERVATION_FEATURE_COUNT = SECURITY_OBSERVATION_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.PurposeOfUseSecurityObservationImpl Purpose Of Use Security Observation}' class. - * + * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.PurposeOfUseSecurityObservationImpl Purpose Of Use Security Observation}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.PurposeOfUseSecurityObservationImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPurposeOfUseSecurityObservation() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.PurposeOfUseSecurityObservationImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPurposeOfUseSecurityObservation() + * @generated + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION = 9; /** - * The feature id for the 'Realm Code' containment reference list. - * + * The feature id for the 'Realm Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__REALM_CODE = SECURITY_OBSERVATION__REALM_CODE; /** - * The feature id for the 'Type Id' containment reference. - * + * The feature id for the 'Type Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__TYPE_ID = SECURITY_OBSERVATION__TYPE_ID; /** - * The feature id for the 'Template Id' containment reference list. - * + * The feature id for the 'Template Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__TEMPLATE_ID = SECURITY_OBSERVATION__TEMPLATE_ID; /** - * The feature id for the 'Id' containment reference list. - * + * The feature id for the 'Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__ID = SECURITY_OBSERVATION__ID; /** - * The feature id for the 'Code' containment reference. - * + * The feature id for the 'Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__CODE = SECURITY_OBSERVATION__CODE; /** - * The feature id for the 'Derivation Expr' containment reference. - * + * The feature id for the 'Derivation Expr' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__DERIVATION_EXPR = SECURITY_OBSERVATION__DERIVATION_EXPR; /** - * The feature id for the 'Text' containment reference. - * + * The feature id for the 'Text' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__TEXT = SECURITY_OBSERVATION__TEXT; /** - * The feature id for the 'Status Code' containment reference. - * + * The feature id for the 'Status Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__STATUS_CODE = SECURITY_OBSERVATION__STATUS_CODE; /** - * The feature id for the 'Effective Time' containment reference. - * + * The feature id for the 'Effective Time' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__EFFECTIVE_TIME = SECURITY_OBSERVATION__EFFECTIVE_TIME; /** - * The feature id for the 'Priority Code' containment reference. - * + * The feature id for the 'Priority Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__PRIORITY_CODE = SECURITY_OBSERVATION__PRIORITY_CODE; /** - * The feature id for the 'Repeat Number' containment reference. - * + * The feature id for the 'Repeat Number' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__REPEAT_NUMBER = SECURITY_OBSERVATION__REPEAT_NUMBER; /** - * The feature id for the 'Language Code' containment reference. - * + * The feature id for the 'Language Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__LANGUAGE_CODE = SECURITY_OBSERVATION__LANGUAGE_CODE; /** - * The feature id for the 'Value' containment reference list. - * + * The feature id for the 'Value' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__VALUE = SECURITY_OBSERVATION__VALUE; /** - * The feature id for the 'Interpretation Code' containment reference list. - * + * The feature id for the 'Interpretation Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__INTERPRETATION_CODE = SECURITY_OBSERVATION__INTERPRETATION_CODE; /** - * The feature id for the 'Method Code' containment reference list. - * + * The feature id for the 'Method Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__METHOD_CODE = SECURITY_OBSERVATION__METHOD_CODE; /** - * The feature id for the 'Target Site Code' containment reference list. - * + * The feature id for the 'Target Site Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__TARGET_SITE_CODE = SECURITY_OBSERVATION__TARGET_SITE_CODE; /** - * The feature id for the 'Subject' containment reference. - * + * The feature id for the 'Subject' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__SUBJECT = SECURITY_OBSERVATION__SUBJECT; /** - * The feature id for the 'Specimen' containment reference list. - * + * The feature id for the 'Specimen' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__SPECIMEN = SECURITY_OBSERVATION__SPECIMEN; /** - * The feature id for the 'Performer' containment reference list. - * + * The feature id for the 'Performer' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__PERFORMER = SECURITY_OBSERVATION__PERFORMER; /** - * The feature id for the 'Author' containment reference list. - * + * The feature id for the 'Author' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__AUTHOR = SECURITY_OBSERVATION__AUTHOR; /** - * The feature id for the 'Informant' containment reference list. - * + * The feature id for the 'Informant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__INFORMANT = SECURITY_OBSERVATION__INFORMANT; /** - * The feature id for the 'Participant' containment reference list. - * + * The feature id for the 'Participant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__PARTICIPANT = SECURITY_OBSERVATION__PARTICIPANT; /** - * The feature id for the 'Entry Relationship' containment reference list. - * + * The feature id for the 'Entry Relationship' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__ENTRY_RELATIONSHIP = SECURITY_OBSERVATION__ENTRY_RELATIONSHIP; /** - * The feature id for the 'Reference' containment reference list. - * + * The feature id for the 'Reference' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__REFERENCE = SECURITY_OBSERVATION__REFERENCE; /** - * The feature id for the 'Precondition' containment reference list. - * + * The feature id for the 'Precondition' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__PRECONDITION = SECURITY_OBSERVATION__PRECONDITION; /** - * The feature id for the 'Reference Range' containment reference list. - * + * The feature id for the 'Reference Range' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__REFERENCE_RANGE = SECURITY_OBSERVATION__REFERENCE_RANGE; /** - * The feature id for the 'Null Flavor' attribute. - * + * The feature id for the 'Null Flavor' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__NULL_FLAVOR = SECURITY_OBSERVATION__NULL_FLAVOR; /** - * The feature id for the 'Class Code' attribute. - * + * The feature id for the 'Class Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__CLASS_CODE = SECURITY_OBSERVATION__CLASS_CODE; /** - * The feature id for the 'Mood Code' attribute. - * + * The feature id for the 'Mood Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__MOOD_CODE = SECURITY_OBSERVATION__MOOD_CODE; /** - * The feature id for the 'Negation Ind' attribute. - * + * The feature id for the 'Negation Ind' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__NEGATION_IND = SECURITY_OBSERVATION__NEGATION_IND; /** - * The feature id for the 'In Fulfillment Of1' containment reference list. - * + * The feature id for the 'In Fulfillment Of1' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION__IN_FULFILLMENT_OF1 = SECURITY_OBSERVATION__IN_FULFILLMENT_OF1; /** - * The number of structural features of the 'Purpose Of Use Security Observation' class. - * + * The number of structural features of the 'Purpose Of Use Security Observation' class. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PURPOSE_OF_USE_SECURITY_OBSERVATION_FEATURE_COUNT = SECURITY_OBSERVATION_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.ConfidentialitySecurityObservationImpl Confidentiality Security Observation}' class. - * + * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.ConfidentialitySecurityObservationImpl Confidentiality Security Observation}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.ConfidentialitySecurityObservationImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getConfidentialitySecurityObservation() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.ConfidentialitySecurityObservationImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getConfidentialitySecurityObservation() + * @generated + */ int CONFIDENTIALITY_SECURITY_OBSERVATION = 10; /** - * The feature id for the 'Realm Code' containment reference list. - * + * The feature id for the 'Realm Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__REALM_CODE = SECURITY_OBSERVATION__REALM_CODE; /** - * The feature id for the 'Type Id' containment reference. - * + * The feature id for the 'Type Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__TYPE_ID = SECURITY_OBSERVATION__TYPE_ID; /** - * The feature id for the 'Template Id' containment reference list. - * + * The feature id for the 'Template Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__TEMPLATE_ID = SECURITY_OBSERVATION__TEMPLATE_ID; /** - * The feature id for the 'Id' containment reference list. - * + * The feature id for the 'Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__ID = SECURITY_OBSERVATION__ID; /** - * The feature id for the 'Code' containment reference. - * + * The feature id for the 'Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__CODE = SECURITY_OBSERVATION__CODE; /** - * The feature id for the 'Derivation Expr' containment reference. - * + * The feature id for the 'Derivation Expr' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__DERIVATION_EXPR = SECURITY_OBSERVATION__DERIVATION_EXPR; /** - * The feature id for the 'Text' containment reference. - * + * The feature id for the 'Text' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__TEXT = SECURITY_OBSERVATION__TEXT; /** - * The feature id for the 'Status Code' containment reference. - * + * The feature id for the 'Status Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__STATUS_CODE = SECURITY_OBSERVATION__STATUS_CODE; /** - * The feature id for the 'Effective Time' containment reference. - * + * The feature id for the 'Effective Time' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__EFFECTIVE_TIME = SECURITY_OBSERVATION__EFFECTIVE_TIME; /** - * The feature id for the 'Priority Code' containment reference. - * + * The feature id for the 'Priority Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__PRIORITY_CODE = SECURITY_OBSERVATION__PRIORITY_CODE; /** - * The feature id for the 'Repeat Number' containment reference. - * + * The feature id for the 'Repeat Number' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__REPEAT_NUMBER = SECURITY_OBSERVATION__REPEAT_NUMBER; /** - * The feature id for the 'Language Code' containment reference. - * + * The feature id for the 'Language Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__LANGUAGE_CODE = SECURITY_OBSERVATION__LANGUAGE_CODE; /** - * The feature id for the 'Value' containment reference list. - * + * The feature id for the 'Value' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__VALUE = SECURITY_OBSERVATION__VALUE; /** - * The feature id for the 'Interpretation Code' containment reference list. - * + * The feature id for the 'Interpretation Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__INTERPRETATION_CODE = SECURITY_OBSERVATION__INTERPRETATION_CODE; /** - * The feature id for the 'Method Code' containment reference list. - * + * The feature id for the 'Method Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__METHOD_CODE = SECURITY_OBSERVATION__METHOD_CODE; /** - * The feature id for the 'Target Site Code' containment reference list. - * + * The feature id for the 'Target Site Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__TARGET_SITE_CODE = SECURITY_OBSERVATION__TARGET_SITE_CODE; /** - * The feature id for the 'Subject' containment reference. - * + * The feature id for the 'Subject' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__SUBJECT = SECURITY_OBSERVATION__SUBJECT; /** - * The feature id for the 'Specimen' containment reference list. - * + * The feature id for the 'Specimen' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__SPECIMEN = SECURITY_OBSERVATION__SPECIMEN; /** - * The feature id for the 'Performer' containment reference list. - * + * The feature id for the 'Performer' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__PERFORMER = SECURITY_OBSERVATION__PERFORMER; /** - * The feature id for the 'Author' containment reference list. - * + * The feature id for the 'Author' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__AUTHOR = SECURITY_OBSERVATION__AUTHOR; /** - * The feature id for the 'Informant' containment reference list. - * + * The feature id for the 'Informant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__INFORMANT = SECURITY_OBSERVATION__INFORMANT; /** - * The feature id for the 'Participant' containment reference list. - * + * The feature id for the 'Participant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__PARTICIPANT = SECURITY_OBSERVATION__PARTICIPANT; /** - * The feature id for the 'Entry Relationship' containment reference list. - * + * The feature id for the 'Entry Relationship' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__ENTRY_RELATIONSHIP = SECURITY_OBSERVATION__ENTRY_RELATIONSHIP; /** - * The feature id for the 'Reference' containment reference list. - * + * The feature id for the 'Reference' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__REFERENCE = SECURITY_OBSERVATION__REFERENCE; /** - * The feature id for the 'Precondition' containment reference list. - * + * The feature id for the 'Precondition' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__PRECONDITION = SECURITY_OBSERVATION__PRECONDITION; /** - * The feature id for the 'Reference Range' containment reference list. - * + * The feature id for the 'Reference Range' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__REFERENCE_RANGE = SECURITY_OBSERVATION__REFERENCE_RANGE; /** - * The feature id for the 'Null Flavor' attribute. - * + * The feature id for the 'Null Flavor' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__NULL_FLAVOR = SECURITY_OBSERVATION__NULL_FLAVOR; /** - * The feature id for the 'Class Code' attribute. - * + * The feature id for the 'Class Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__CLASS_CODE = SECURITY_OBSERVATION__CLASS_CODE; /** - * The feature id for the 'Mood Code' attribute. - * + * The feature id for the 'Mood Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__MOOD_CODE = SECURITY_OBSERVATION__MOOD_CODE; /** - * The feature id for the 'Negation Ind' attribute. - * + * The feature id for the 'Negation Ind' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__NEGATION_IND = SECURITY_OBSERVATION__NEGATION_IND; /** - * The feature id for the 'In Fulfillment Of1' containment reference list. - * + * The feature id for the 'In Fulfillment Of1' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION__IN_FULFILLMENT_OF1 = SECURITY_OBSERVATION__IN_FULFILLMENT_OF1; /** - * The number of structural features of the 'Confidentiality Security Observation' class. - * + * The number of structural features of the 'Confidentiality Security Observation' class. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int CONFIDENTIALITY_SECURITY_OBSERVATION_FEATURE_COUNT = SECURITY_OBSERVATION_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.ProtectedProblemImpl Protected Problem}' class. - * + * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.ProtectedProblemImpl Protected Problem}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.ProtectedProblemImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getProtectedProblem() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.ProtectedProblemImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getProtectedProblem() + * @generated + */ int PROTECTED_PROBLEM = 11; /** - * The feature id for the 'Realm Code' containment reference list. - * + * The feature id for the 'Realm Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__REALM_CODE = ConsolPackage.PROBLEM_OBSERVATION__REALM_CODE; /** - * The feature id for the 'Type Id' containment reference. - * + * The feature id for the 'Type Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__TYPE_ID = ConsolPackage.PROBLEM_OBSERVATION__TYPE_ID; /** - * The feature id for the 'Template Id' containment reference list. - * + * The feature id for the 'Template Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__TEMPLATE_ID = ConsolPackage.PROBLEM_OBSERVATION__TEMPLATE_ID; /** - * The feature id for the 'Id' containment reference list. - * + * The feature id for the 'Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__ID = ConsolPackage.PROBLEM_OBSERVATION__ID; /** - * The feature id for the 'Code' containment reference. - * + * The feature id for the 'Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__CODE = ConsolPackage.PROBLEM_OBSERVATION__CODE; /** - * The feature id for the 'Derivation Expr' containment reference. - * + * The feature id for the 'Derivation Expr' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__DERIVATION_EXPR = ConsolPackage.PROBLEM_OBSERVATION__DERIVATION_EXPR; /** - * The feature id for the 'Text' containment reference. - * + * The feature id for the 'Text' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__TEXT = ConsolPackage.PROBLEM_OBSERVATION__TEXT; /** - * The feature id for the 'Status Code' containment reference. - * + * The feature id for the 'Status Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__STATUS_CODE = ConsolPackage.PROBLEM_OBSERVATION__STATUS_CODE; /** - * The feature id for the 'Effective Time' containment reference. - * + * The feature id for the 'Effective Time' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__EFFECTIVE_TIME = ConsolPackage.PROBLEM_OBSERVATION__EFFECTIVE_TIME; /** - * The feature id for the 'Priority Code' containment reference. - * + * The feature id for the 'Priority Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__PRIORITY_CODE = ConsolPackage.PROBLEM_OBSERVATION__PRIORITY_CODE; /** - * The feature id for the 'Repeat Number' containment reference. - * + * The feature id for the 'Repeat Number' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__REPEAT_NUMBER = ConsolPackage.PROBLEM_OBSERVATION__REPEAT_NUMBER; /** - * The feature id for the 'Language Code' containment reference. - * + * The feature id for the 'Language Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__LANGUAGE_CODE = ConsolPackage.PROBLEM_OBSERVATION__LANGUAGE_CODE; /** - * The feature id for the 'Value' containment reference list. - * + * The feature id for the 'Value' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__VALUE = ConsolPackage.PROBLEM_OBSERVATION__VALUE; /** - * The feature id for the 'Interpretation Code' containment reference list. - * + * The feature id for the 'Interpretation Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__INTERPRETATION_CODE = ConsolPackage.PROBLEM_OBSERVATION__INTERPRETATION_CODE; /** - * The feature id for the 'Method Code' containment reference list. - * + * The feature id for the 'Method Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__METHOD_CODE = ConsolPackage.PROBLEM_OBSERVATION__METHOD_CODE; /** - * The feature id for the 'Target Site Code' containment reference list. - * + * The feature id for the 'Target Site Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__TARGET_SITE_CODE = ConsolPackage.PROBLEM_OBSERVATION__TARGET_SITE_CODE; /** - * The feature id for the 'Subject' containment reference. - * + * The feature id for the 'Subject' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__SUBJECT = ConsolPackage.PROBLEM_OBSERVATION__SUBJECT; /** - * The feature id for the 'Specimen' containment reference list. - * + * The feature id for the 'Specimen' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__SPECIMEN = ConsolPackage.PROBLEM_OBSERVATION__SPECIMEN; /** - * The feature id for the 'Performer' containment reference list. - * + * The feature id for the 'Performer' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__PERFORMER = ConsolPackage.PROBLEM_OBSERVATION__PERFORMER; /** - * The feature id for the 'Author' containment reference list. - * + * The feature id for the 'Author' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__AUTHOR = ConsolPackage.PROBLEM_OBSERVATION__AUTHOR; /** - * The feature id for the 'Informant' containment reference list. - * + * The feature id for the 'Informant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__INFORMANT = ConsolPackage.PROBLEM_OBSERVATION__INFORMANT; /** - * The feature id for the 'Participant' containment reference list. - * + * The feature id for the 'Participant' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__PARTICIPANT = ConsolPackage.PROBLEM_OBSERVATION__PARTICIPANT; /** - * The feature id for the 'Entry Relationship' containment reference list. - * + * The feature id for the 'Entry Relationship' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__ENTRY_RELATIONSHIP = ConsolPackage.PROBLEM_OBSERVATION__ENTRY_RELATIONSHIP; /** - * The feature id for the 'Reference' containment reference list. - * + * The feature id for the 'Reference' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__REFERENCE = ConsolPackage.PROBLEM_OBSERVATION__REFERENCE; /** - * The feature id for the 'Precondition' containment reference list. - * + * The feature id for the 'Precondition' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__PRECONDITION = ConsolPackage.PROBLEM_OBSERVATION__PRECONDITION; /** - * The feature id for the 'Reference Range' containment reference list. - * + * The feature id for the 'Reference Range' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__REFERENCE_RANGE = ConsolPackage.PROBLEM_OBSERVATION__REFERENCE_RANGE; /** - * The feature id for the 'Null Flavor' attribute. - * + * The feature id for the 'Null Flavor' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__NULL_FLAVOR = ConsolPackage.PROBLEM_OBSERVATION__NULL_FLAVOR; /** - * The feature id for the 'Class Code' attribute. - * + * The feature id for the 'Class Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__CLASS_CODE = ConsolPackage.PROBLEM_OBSERVATION__CLASS_CODE; /** - * The feature id for the 'Mood Code' attribute. - * + * The feature id for the 'Mood Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__MOOD_CODE = ConsolPackage.PROBLEM_OBSERVATION__MOOD_CODE; /** - * The feature id for the 'Negation Ind' attribute. - * + * The feature id for the 'Negation Ind' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__NEGATION_IND = ConsolPackage.PROBLEM_OBSERVATION__NEGATION_IND; /** - * The feature id for the 'In Fulfillment Of1' containment reference list. - * + * The feature id for the 'In Fulfillment Of1' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM__IN_FULFILLMENT_OF1 = ConsolPackage.PROBLEM_OBSERVATION__IN_FULFILLMENT_OF1; /** - * The number of structural features of the 'Protected Problem' class. - * + * The number of structural features of the 'Protected Problem' class. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PROTECTED_PROBLEM_FEATURE_COUNT = ConsolPackage.PROBLEM_OBSERVATION_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.MandatoryEntryProvenanceImpl Mandatory Entry Provenance}' class. - * + * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.MandatoryEntryProvenanceImpl Mandatory Entry Provenance}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.MandatoryEntryProvenanceImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getMandatoryEntryProvenance() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.MandatoryEntryProvenanceImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getMandatoryEntryProvenance() + * @generated + */ int MANDATORY_ENTRY_PROVENANCE = 12; /** - * The feature id for the 'Realm Code' containment reference list. - * + * The feature id for the 'Realm Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_PROVENANCE__REALM_CODE = CDAPackage.AUTHOR__REALM_CODE; /** - * The feature id for the 'Type Id' containment reference. - * + * The feature id for the 'Type Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_PROVENANCE__TYPE_ID = CDAPackage.AUTHOR__TYPE_ID; /** - * The feature id for the 'Template Id' containment reference list. - * + * The feature id for the 'Template Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_PROVENANCE__TEMPLATE_ID = CDAPackage.AUTHOR__TEMPLATE_ID; /** - * The feature id for the 'Function Code' containment reference. - * + * The feature id for the 'Function Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_PROVENANCE__FUNCTION_CODE = CDAPackage.AUTHOR__FUNCTION_CODE; /** - * The feature id for the 'Time' containment reference. - * + * The feature id for the 'Time' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_PROVENANCE__TIME = CDAPackage.AUTHOR__TIME; /** - * The feature id for the 'Assigned Author' containment reference. - * + * The feature id for the 'Assigned Author' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_PROVENANCE__ASSIGNED_AUTHOR = CDAPackage.AUTHOR__ASSIGNED_AUTHOR; /** - * The feature id for the 'Null Flavor' attribute. - * + * The feature id for the 'Null Flavor' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_PROVENANCE__NULL_FLAVOR = CDAPackage.AUTHOR__NULL_FLAVOR; /** - * The feature id for the 'Type Code' attribute. - * + * The feature id for the 'Type Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_PROVENANCE__TYPE_CODE = CDAPackage.AUTHOR__TYPE_CODE; /** - * The feature id for the 'Context Control Code' attribute. - * + * The feature id for the 'Context Control Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_PROVENANCE__CONTEXT_CONTROL_CODE = CDAPackage.AUTHOR__CONTEXT_CONTROL_CODE; /** - * The number of structural features of the 'Mandatory Entry Provenance' class. - * + * The number of structural features of the 'Mandatory Entry Provenance' class. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_PROVENANCE_FEATURE_COUNT = CDAPackage.AUTHOR_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.MandatoryEntryAssignedAuthorImpl Mandatory Entry Assigned Author}' class. - * + * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.MandatoryEntryAssignedAuthorImpl Mandatory Entry Assigned Author}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.MandatoryEntryAssignedAuthorImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getMandatoryEntryAssignedAuthor() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.MandatoryEntryAssignedAuthorImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getMandatoryEntryAssignedAuthor() + * @generated + */ int MANDATORY_ENTRY_ASSIGNED_AUTHOR = 13; /** - * The feature id for the 'Realm Code' containment reference list. - * + * The feature id for the 'Realm Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_ASSIGNED_AUTHOR__REALM_CODE = CDAPackage.ASSIGNED_AUTHOR__REALM_CODE; /** - * The feature id for the 'Type Id' containment reference. - * + * The feature id for the 'Type Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_ASSIGNED_AUTHOR__TYPE_ID = CDAPackage.ASSIGNED_AUTHOR__TYPE_ID; /** - * The feature id for the 'Template Id' containment reference list. - * + * The feature id for the 'Template Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_ASSIGNED_AUTHOR__TEMPLATE_ID = CDAPackage.ASSIGNED_AUTHOR__TEMPLATE_ID; /** - * The feature id for the 'Id' containment reference list. - * + * The feature id for the 'Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_ASSIGNED_AUTHOR__ID = CDAPackage.ASSIGNED_AUTHOR__ID; /** - * The feature id for the 'Code' containment reference. - * + * The feature id for the 'Code' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_ASSIGNED_AUTHOR__CODE = CDAPackage.ASSIGNED_AUTHOR__CODE; /** - * The feature id for the 'Addr' containment reference list. - * + * The feature id for the 'Addr' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_ASSIGNED_AUTHOR__ADDR = CDAPackage.ASSIGNED_AUTHOR__ADDR; /** - * The feature id for the 'Telecom' containment reference list. - * + * The feature id for the 'Telecom' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_ASSIGNED_AUTHOR__TELECOM = CDAPackage.ASSIGNED_AUTHOR__TELECOM; /** - * The feature id for the 'Assigned Person' containment reference. - * + * The feature id for the 'Assigned Person' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_ASSIGNED_AUTHOR__ASSIGNED_PERSON = CDAPackage.ASSIGNED_AUTHOR__ASSIGNED_PERSON; /** - * The feature id for the 'Assigned Authoring Device' containment reference. - * + * The feature id for the 'Assigned Authoring Device' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_ASSIGNED_AUTHOR__ASSIGNED_AUTHORING_DEVICE = CDAPackage.ASSIGNED_AUTHOR__ASSIGNED_AUTHORING_DEVICE; /** - * The feature id for the 'Represented Organization' containment reference. - * + * The feature id for the 'Represented Organization' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_ASSIGNED_AUTHOR__REPRESENTED_ORGANIZATION = CDAPackage.ASSIGNED_AUTHOR__REPRESENTED_ORGANIZATION; /** - * The feature id for the 'Null Flavor' attribute. - * + * The feature id for the 'Null Flavor' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_ASSIGNED_AUTHOR__NULL_FLAVOR = CDAPackage.ASSIGNED_AUTHOR__NULL_FLAVOR; /** - * The feature id for the 'Class Code' attribute. - * + * The feature id for the 'Class Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_ASSIGNED_AUTHOR__CLASS_CODE = CDAPackage.ASSIGNED_AUTHOR__CLASS_CODE; /** - * The number of structural features of the 'Mandatory Entry Assigned Author' class. - * + * The number of structural features of the 'Mandatory Entry Assigned Author' class. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int MANDATORY_ENTRY_ASSIGNED_AUTHOR_FEATURE_COUNT = CDAPackage.ASSIGNED_AUTHOR_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacyAnnotationEntryRelationshipImpl Privacy Annotation Entry Relationship}' class. - * + * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacyAnnotationEntryRelationshipImpl Privacy Annotation Entry Relationship}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.PrivacyAnnotationEntryRelationshipImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacyAnnotationEntryRelationship() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.PrivacyAnnotationEntryRelationshipImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacyAnnotationEntryRelationship() + * @generated + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP = 14; /** - * The feature id for the 'Realm Code' containment reference list. - * + * The feature id for the 'Realm Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__REALM_CODE = CDAPackage.ENTRY_RELATIONSHIP__REALM_CODE; /** - * The feature id for the 'Type Id' containment reference. - * + * The feature id for the 'Type Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__TYPE_ID = CDAPackage.ENTRY_RELATIONSHIP__TYPE_ID; /** - * The feature id for the 'Template Id' containment reference list. - * + * The feature id for the 'Template Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__TEMPLATE_ID = CDAPackage.ENTRY_RELATIONSHIP__TEMPLATE_ID; /** - * The feature id for the 'Sequence Number' containment reference. - * + * The feature id for the 'Sequence Number' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__SEQUENCE_NUMBER = CDAPackage.ENTRY_RELATIONSHIP__SEQUENCE_NUMBER; /** - * The feature id for the 'Seperatable Ind' containment reference. - * + * The feature id for the 'Seperatable Ind' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__SEPERATABLE_IND = CDAPackage.ENTRY_RELATIONSHIP__SEPERATABLE_IND; /** - * The feature id for the 'Act' containment reference. - * + * The feature id for the 'Act' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__ACT = CDAPackage.ENTRY_RELATIONSHIP__ACT; /** - * The feature id for the 'Encounter' containment reference. - * + * The feature id for the 'Encounter' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__ENCOUNTER = CDAPackage.ENTRY_RELATIONSHIP__ENCOUNTER; /** - * The feature id for the 'Observation' containment reference. - * + * The feature id for the 'Observation' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__OBSERVATION = CDAPackage.ENTRY_RELATIONSHIP__OBSERVATION; /** - * The feature id for the 'Observation Media' containment reference. - * + * The feature id for the 'Observation Media' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__OBSERVATION_MEDIA = CDAPackage.ENTRY_RELATIONSHIP__OBSERVATION_MEDIA; /** - * The feature id for the 'Organizer' containment reference. - * + * The feature id for the 'Organizer' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__ORGANIZER = CDAPackage.ENTRY_RELATIONSHIP__ORGANIZER; /** - * The feature id for the 'Procedure' containment reference. - * + * The feature id for the 'Procedure' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__PROCEDURE = CDAPackage.ENTRY_RELATIONSHIP__PROCEDURE; /** - * The feature id for the 'Region Of Interest' containment reference. - * + * The feature id for the 'Region Of Interest' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__REGION_OF_INTEREST = CDAPackage.ENTRY_RELATIONSHIP__REGION_OF_INTEREST; /** - * The feature id for the 'Substance Administration' containment reference. - * + * The feature id for the 'Substance Administration' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__SUBSTANCE_ADMINISTRATION = CDAPackage.ENTRY_RELATIONSHIP__SUBSTANCE_ADMINISTRATION; /** - * The feature id for the 'Supply' containment reference. - * + * The feature id for the 'Supply' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__SUPPLY = CDAPackage.ENTRY_RELATIONSHIP__SUPPLY; /** - * The feature id for the 'Null Flavor' attribute. - * + * The feature id for the 'Null Flavor' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__NULL_FLAVOR = CDAPackage.ENTRY_RELATIONSHIP__NULL_FLAVOR; /** - * The feature id for the 'Type Code' attribute. - * + * The feature id for the 'Type Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__TYPE_CODE = CDAPackage.ENTRY_RELATIONSHIP__TYPE_CODE; /** - * The feature id for the 'Inversion Ind' attribute. - * + * The feature id for the 'Inversion Ind' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__INVERSION_IND = CDAPackage.ENTRY_RELATIONSHIP__INVERSION_IND; /** - * The feature id for the 'Context Conduction Ind' attribute. - * + * The feature id for the 'Context Conduction Ind' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__CONTEXT_CONDUCTION_IND = CDAPackage.ENTRY_RELATIONSHIP__CONTEXT_CONDUCTION_IND; /** - * The feature id for the 'Negation Ind' attribute. - * + * The feature id for the 'Negation Ind' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__NEGATION_IND = CDAPackage.ENTRY_RELATIONSHIP__NEGATION_IND; /** - * The number of structural features of the 'Privacy Annotation Entry Relationship' class. - * + * The number of structural features of the 'Privacy Annotation Entry Relationship' class. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_FEATURE_COUNT = CDAPackage.ENTRY_RELATIONSHIP_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacyMarkingsEntryImpl Privacy Markings Entry}' class. - * + * The meta object id for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacyMarkingsEntryImpl Privacy Markings Entry}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.PrivacyMarkingsEntryImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacyMarkingsEntry() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.PrivacyMarkingsEntryImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacyMarkingsEntry() + * @generated + */ int PRIVACY_MARKINGS_ENTRY = 15; /** - * The feature id for the 'Realm Code' containment reference list. - * + * The feature id for the 'Realm Code' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_ENTRY__REALM_CODE = CDAPackage.ENTRY__REALM_CODE; /** - * The feature id for the 'Type Id' containment reference. - * + * The feature id for the 'Type Id' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_ENTRY__TYPE_ID = CDAPackage.ENTRY__TYPE_ID; /** - * The feature id for the 'Template Id' containment reference list. - * + * The feature id for the 'Template Id' containment reference list. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_ENTRY__TEMPLATE_ID = CDAPackage.ENTRY__TEMPLATE_ID; /** - * The feature id for the 'Act' containment reference. - * + * The feature id for the 'Act' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_ENTRY__ACT = CDAPackage.ENTRY__ACT; /** - * The feature id for the 'Encounter' containment reference. - * + * The feature id for the 'Encounter' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_ENTRY__ENCOUNTER = CDAPackage.ENTRY__ENCOUNTER; /** - * The feature id for the 'Observation' containment reference. - * + * The feature id for the 'Observation' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_ENTRY__OBSERVATION = CDAPackage.ENTRY__OBSERVATION; /** - * The feature id for the 'Observation Media' containment reference. - * + * The feature id for the 'Observation Media' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_ENTRY__OBSERVATION_MEDIA = CDAPackage.ENTRY__OBSERVATION_MEDIA; /** - * The feature id for the 'Organizer' containment reference. - * + * The feature id for the 'Organizer' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_ENTRY__ORGANIZER = CDAPackage.ENTRY__ORGANIZER; /** - * The feature id for the 'Procedure' containment reference. - * + * The feature id for the 'Procedure' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_ENTRY__PROCEDURE = CDAPackage.ENTRY__PROCEDURE; /** - * The feature id for the 'Region Of Interest' containment reference. - * + * The feature id for the 'Region Of Interest' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_ENTRY__REGION_OF_INTEREST = CDAPackage.ENTRY__REGION_OF_INTEREST; /** - * The feature id for the 'Substance Administration' containment reference. - * + * The feature id for the 'Substance Administration' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_ENTRY__SUBSTANCE_ADMINISTRATION = CDAPackage.ENTRY__SUBSTANCE_ADMINISTRATION; /** - * The feature id for the 'Supply' containment reference. - * + * The feature id for the 'Supply' containment reference. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_ENTRY__SUPPLY = CDAPackage.ENTRY__SUPPLY; /** - * The feature id for the 'Null Flavor' attribute. - * + * The feature id for the 'Null Flavor' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_ENTRY__NULL_FLAVOR = CDAPackage.ENTRY__NULL_FLAVOR; /** - * The feature id for the 'Type Code' attribute. - * + * The feature id for the 'Type Code' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_ENTRY__TYPE_CODE = CDAPackage.ENTRY__TYPE_CODE; /** - * The feature id for the 'Context Conduction Ind' attribute. - * + * The feature id for the 'Context Conduction Ind' attribute. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_ENTRY__CONTEXT_CONDUCTION_IND = CDAPackage.ENTRY__CONTEXT_CONDUCTION_IND; /** - * The number of structural features of the 'Privacy Markings Entry' class. - * + * The number of structural features of the 'Privacy Markings Entry' class. + * * - * @generated - * @ordered - */ + * @generated + * @ordered + */ int PRIVACY_MARKINGS_ENTRY_FEATURE_COUNT = CDAPackage.ENTRY_FEATURE_COUNT + 0; /** - * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.PrivacySegmentedDocument Privacy Segmented Document}'. - * + * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.PrivacySegmentedDocument Privacy Segmented Document}'. + * * - * @return the meta object for class 'Privacy Segmented Document'. - * @see org.hl7.security.ds4p.contentprofile.PrivacySegmentedDocument - * @generated - */ + * @return the meta object for class 'Privacy Segmented Document'. + * @see org.hl7.security.ds4p.contentprofile.PrivacySegmentedDocument + * @generated + */ EClass getPrivacySegmentedDocument(); /** - * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.PrivacySegmentedSection Privacy Segmented Section}'. - * + * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.PrivacySegmentedSection Privacy Segmented Section}'. + * * - * @return the meta object for class 'Privacy Segmented Section'. - * @see org.hl7.security.ds4p.contentprofile.PrivacySegmentedSection - * @generated - */ + * @return the meta object for class 'Privacy Segmented Section'. + * @see org.hl7.security.ds4p.contentprofile.PrivacySegmentedSection + * @generated + */ EClass getPrivacySegmentedSection(); /** - * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.PrivacyMarkingsSection Privacy Markings Section}'. - * + * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.PrivacyMarkingsSection Privacy Markings Section}'. + * * - * @return the meta object for class 'Privacy Markings Section'. - * @see org.hl7.security.ds4p.contentprofile.PrivacyMarkingsSection - * @generated - */ + * @return the meta object for class 'Privacy Markings Section'. + * @see org.hl7.security.ds4p.contentprofile.PrivacyMarkingsSection + * @generated + */ EClass getPrivacyMarkingsSection(); /** - * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation Obligation Policy Security Observation}'. - * + * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation Obligation Policy Security Observation}'. + * * - * @return the meta object for class 'Obligation Policy Security Observation'. - * @see org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation - * @generated - */ + * @return the meta object for class 'Obligation Policy Security Observation'. + * @see org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation + * @generated + */ EClass getObligationPolicySecurityObservation(); /** - * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.SecurityObservation Security Observation}'. - * + * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.SecurityObservation Security Observation}'. + * * - * @return the meta object for class 'Security Observation'. - * @see org.hl7.security.ds4p.contentprofile.SecurityObservation - * @generated - */ + * @return the meta object for class 'Security Observation'. + * @see org.hl7.security.ds4p.contentprofile.SecurityObservation + * @generated + */ EClass getSecurityObservation(); /** - * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.MandatoryDocumentProvenance Mandatory Document Provenance}'. - * + * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.MandatoryDocumentProvenance Mandatory Document Provenance}'. + * * - * @return the meta object for class 'Mandatory Document Provenance'. - * @see org.hl7.security.ds4p.contentprofile.MandatoryDocumentProvenance - * @generated - */ + * @return the meta object for class 'Mandatory Document Provenance'. + * @see org.hl7.security.ds4p.contentprofile.MandatoryDocumentProvenance + * @generated + */ EClass getMandatoryDocumentProvenance(); /** - * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.MandatoryDocumentAssignedAuthor Mandatory Document Assigned Author}'. - * + * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.MandatoryDocumentAssignedAuthor Mandatory Document Assigned Author}'. + * * - * @return the meta object for class 'Mandatory Document Assigned Author'. - * @see org.hl7.security.ds4p.contentprofile.MandatoryDocumentAssignedAuthor - * @generated - */ + * @return the meta object for class 'Mandatory Document Assigned Author'. + * @see org.hl7.security.ds4p.contentprofile.MandatoryDocumentAssignedAuthor + * @generated + */ EClass getMandatoryDocumentAssignedAuthor(); /** - * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.PrivacyAnnotation Privacy Annotation}'. - * + * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.PrivacyAnnotation Privacy Annotation}'. + * * - * @return the meta object for class 'Privacy Annotation'. - * @see org.hl7.security.ds4p.contentprofile.PrivacyAnnotation - * @generated - */ + * @return the meta object for class 'Privacy Annotation'. + * @see org.hl7.security.ds4p.contentprofile.PrivacyAnnotation + * @generated + */ EClass getPrivacyAnnotation(); /** - * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation Refrain Policy Security Observation}'. - * + * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation Refrain Policy Security Observation}'. + * * - * @return the meta object for class 'Refrain Policy Security Observation'. - * @see org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation - * @generated - */ + * @return the meta object for class 'Refrain Policy Security Observation'. + * @see org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation + * @generated + */ EClass getRefrainPolicySecurityObservation(); /** - * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation Purpose Of Use Security Observation}'. - * + * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation Purpose Of Use Security Observation}'. + * * - * @return the meta object for class 'Purpose Of Use Security Observation'. - * @see org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation - * @generated - */ + * @return the meta object for class 'Purpose Of Use Security Observation'. + * @see org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation + * @generated + */ EClass getPurposeOfUseSecurityObservation(); /** - * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation Confidentiality Security Observation}'. - * + * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation Confidentiality Security Observation}'. + * * - * @return the meta object for class 'Confidentiality Security Observation'. - * @see org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation - * @generated - */ + * @return the meta object for class 'Confidentiality Security Observation'. + * @see org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation + * @generated + */ EClass getConfidentialitySecurityObservation(); /** - * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.ProtectedProblem Protected Problem}'. - * + * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.ProtectedProblem Protected Problem}'. + * * - * @return the meta object for class 'Protected Problem'. - * @see org.hl7.security.ds4p.contentprofile.ProtectedProblem - * @generated - */ + * @return the meta object for class 'Protected Problem'. + * @see org.hl7.security.ds4p.contentprofile.ProtectedProblem + * @generated + */ EClass getProtectedProblem(); /** - * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.MandatoryEntryProvenance Mandatory Entry Provenance}'. - * + * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.MandatoryEntryProvenance Mandatory Entry Provenance}'. + * * - * @return the meta object for class 'Mandatory Entry Provenance'. - * @see org.hl7.security.ds4p.contentprofile.MandatoryEntryProvenance - * @generated - */ + * @return the meta object for class 'Mandatory Entry Provenance'. + * @see org.hl7.security.ds4p.contentprofile.MandatoryEntryProvenance + * @generated + */ EClass getMandatoryEntryProvenance(); /** - * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.MandatoryEntryAssignedAuthor Mandatory Entry Assigned Author}'. - * + * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.MandatoryEntryAssignedAuthor Mandatory Entry Assigned Author}'. + * * - * @return the meta object for class 'Mandatory Entry Assigned Author'. - * @see org.hl7.security.ds4p.contentprofile.MandatoryEntryAssignedAuthor - * @generated - */ + * @return the meta object for class 'Mandatory Entry Assigned Author'. + * @see org.hl7.security.ds4p.contentprofile.MandatoryEntryAssignedAuthor + * @generated + */ EClass getMandatoryEntryAssignedAuthor(); /** - * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.PrivacyAnnotationEntryRelationship Privacy Annotation Entry Relationship}'. - * + * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.PrivacyAnnotationEntryRelationship Privacy Annotation Entry Relationship}'. + * * - * @return the meta object for class 'Privacy Annotation Entry Relationship'. - * @see org.hl7.security.ds4p.contentprofile.PrivacyAnnotationEntryRelationship - * @generated - */ + * @return the meta object for class 'Privacy Annotation Entry Relationship'. + * @see org.hl7.security.ds4p.contentprofile.PrivacyAnnotationEntryRelationship + * @generated + */ EClass getPrivacyAnnotationEntryRelationship(); /** - * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.PrivacyMarkingsEntry Privacy Markings Entry}'. - * + * Returns the meta object for class '{@link org.hl7.security.ds4p.contentprofile.PrivacyMarkingsEntry Privacy Markings Entry}'. + * * - * @return the meta object for class 'Privacy Markings Entry'. - * @see org.hl7.security.ds4p.contentprofile.PrivacyMarkingsEntry - * @generated - */ + * @return the meta object for class 'Privacy Markings Entry'. + * @see org.hl7.security.ds4p.contentprofile.PrivacyMarkingsEntry + * @generated + */ EClass getPrivacyMarkingsEntry(); /** - * Returns the factory that creates the instances of the model. - * + * Returns the factory that creates the instances of the model. + * * - * @return the factory that creates the instances of the model. - * @generated - */ + * @return the factory that creates the instances of the model. + * @generated + */ CONTENTPROFILEFactory getCONTENTPROFILEFactory(); /** @@ -3675,7 +3675,7 @@ public interface CONTENTPROFILEPackage extends EPackage { void reload(); /** - * + * * Defines literals for the meta objects that represent *
    *
  • each class,
  • @@ -3684,167 +3684,167 @@ public interface CONTENTPROFILEPackage extends EPackage { *
  • and each data type
  • *
* - * @generated - */ + * @generated + */ interface Literals { /** - * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacySegmentedDocumentImpl Privacy Segmented Document}' class. - * + * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacySegmentedDocumentImpl Privacy Segmented Document}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.PrivacySegmentedDocumentImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacySegmentedDocument() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.PrivacySegmentedDocumentImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacySegmentedDocument() + * @generated + */ EClass PRIVACY_SEGMENTED_DOCUMENT = eINSTANCE.getPrivacySegmentedDocument(); /** - * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacySegmentedSectionImpl Privacy Segmented Section}' class. - * + * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacySegmentedSectionImpl Privacy Segmented Section}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.PrivacySegmentedSectionImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacySegmentedSection() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.PrivacySegmentedSectionImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacySegmentedSection() + * @generated + */ EClass PRIVACY_SEGMENTED_SECTION = eINSTANCE.getPrivacySegmentedSection(); /** - * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacyMarkingsSectionImpl Privacy Markings Section}' class. - * + * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacyMarkingsSectionImpl Privacy Markings Section}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.PrivacyMarkingsSectionImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacyMarkingsSection() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.PrivacyMarkingsSectionImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacyMarkingsSection() + * @generated + */ EClass PRIVACY_MARKINGS_SECTION = eINSTANCE.getPrivacyMarkingsSection(); /** - * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.ObligationPolicySecurityObservationImpl Obligation Policy Security Observation}' class. - * + * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.ObligationPolicySecurityObservationImpl Obligation Policy Security Observation}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.ObligationPolicySecurityObservationImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getObligationPolicySecurityObservation() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.ObligationPolicySecurityObservationImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getObligationPolicySecurityObservation() + * @generated + */ EClass OBLIGATION_POLICY_SECURITY_OBSERVATION = eINSTANCE.getObligationPolicySecurityObservation(); /** - * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.SecurityObservationImpl Security Observation}' class. - * + * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.SecurityObservationImpl Security Observation}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.SecurityObservationImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getSecurityObservation() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.SecurityObservationImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getSecurityObservation() + * @generated + */ EClass SECURITY_OBSERVATION = eINSTANCE.getSecurityObservation(); /** - * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.MandatoryDocumentProvenanceImpl Mandatory Document Provenance}' class. - * + * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.MandatoryDocumentProvenanceImpl Mandatory Document Provenance}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.MandatoryDocumentProvenanceImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getMandatoryDocumentProvenance() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.MandatoryDocumentProvenanceImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getMandatoryDocumentProvenance() + * @generated + */ EClass MANDATORY_DOCUMENT_PROVENANCE = eINSTANCE.getMandatoryDocumentProvenance(); /** - * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.MandatoryDocumentAssignedAuthorImpl Mandatory Document Assigned Author}' class. - * + * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.MandatoryDocumentAssignedAuthorImpl Mandatory Document Assigned Author}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.MandatoryDocumentAssignedAuthorImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getMandatoryDocumentAssignedAuthor() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.MandatoryDocumentAssignedAuthorImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getMandatoryDocumentAssignedAuthor() + * @generated + */ EClass MANDATORY_DOCUMENT_ASSIGNED_AUTHOR = eINSTANCE.getMandatoryDocumentAssignedAuthor(); /** - * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacyAnnotationImpl Privacy Annotation}' class. - * + * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacyAnnotationImpl Privacy Annotation}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.PrivacyAnnotationImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacyAnnotation() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.PrivacyAnnotationImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacyAnnotation() + * @generated + */ EClass PRIVACY_ANNOTATION = eINSTANCE.getPrivacyAnnotation(); /** - * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.RefrainPolicySecurityObservationImpl Refrain Policy Security Observation}' class. - * + * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.RefrainPolicySecurityObservationImpl Refrain Policy Security Observation}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.RefrainPolicySecurityObservationImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getRefrainPolicySecurityObservation() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.RefrainPolicySecurityObservationImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getRefrainPolicySecurityObservation() + * @generated + */ EClass REFRAIN_POLICY_SECURITY_OBSERVATION = eINSTANCE.getRefrainPolicySecurityObservation(); /** - * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.PurposeOfUseSecurityObservationImpl Purpose Of Use Security Observation}' class. - * + * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.PurposeOfUseSecurityObservationImpl Purpose Of Use Security Observation}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.PurposeOfUseSecurityObservationImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPurposeOfUseSecurityObservation() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.PurposeOfUseSecurityObservationImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPurposeOfUseSecurityObservation() + * @generated + */ EClass PURPOSE_OF_USE_SECURITY_OBSERVATION = eINSTANCE.getPurposeOfUseSecurityObservation(); /** - * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.ConfidentialitySecurityObservationImpl Confidentiality Security Observation}' class. - * + * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.ConfidentialitySecurityObservationImpl Confidentiality Security Observation}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.ConfidentialitySecurityObservationImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getConfidentialitySecurityObservation() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.ConfidentialitySecurityObservationImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getConfidentialitySecurityObservation() + * @generated + */ EClass CONFIDENTIALITY_SECURITY_OBSERVATION = eINSTANCE.getConfidentialitySecurityObservation(); /** - * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.ProtectedProblemImpl Protected Problem}' class. - * + * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.ProtectedProblemImpl Protected Problem}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.ProtectedProblemImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getProtectedProblem() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.ProtectedProblemImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getProtectedProblem() + * @generated + */ EClass PROTECTED_PROBLEM = eINSTANCE.getProtectedProblem(); /** - * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.MandatoryEntryProvenanceImpl Mandatory Entry Provenance}' class. - * + * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.MandatoryEntryProvenanceImpl Mandatory Entry Provenance}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.MandatoryEntryProvenanceImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getMandatoryEntryProvenance() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.MandatoryEntryProvenanceImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getMandatoryEntryProvenance() + * @generated + */ EClass MANDATORY_ENTRY_PROVENANCE = eINSTANCE.getMandatoryEntryProvenance(); /** - * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.MandatoryEntryAssignedAuthorImpl Mandatory Entry Assigned Author}' class. - * + * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.MandatoryEntryAssignedAuthorImpl Mandatory Entry Assigned Author}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.MandatoryEntryAssignedAuthorImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getMandatoryEntryAssignedAuthor() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.MandatoryEntryAssignedAuthorImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getMandatoryEntryAssignedAuthor() + * @generated + */ EClass MANDATORY_ENTRY_ASSIGNED_AUTHOR = eINSTANCE.getMandatoryEntryAssignedAuthor(); /** - * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacyAnnotationEntryRelationshipImpl Privacy Annotation Entry Relationship}' class. - * + * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacyAnnotationEntryRelationshipImpl Privacy Annotation Entry Relationship}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.PrivacyAnnotationEntryRelationshipImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacyAnnotationEntryRelationship() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.PrivacyAnnotationEntryRelationshipImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacyAnnotationEntryRelationship() + * @generated + */ EClass PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP = eINSTANCE.getPrivacyAnnotationEntryRelationship(); /** - * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacyMarkingsEntryImpl Privacy Markings Entry}' class. - * + * The meta object literal for the '{@link org.hl7.security.ds4p.contentprofile.impl.PrivacyMarkingsEntryImpl Privacy Markings Entry}' class. + * * - * @see org.hl7.security.ds4p.contentprofile.impl.PrivacyMarkingsEntryImpl - * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacyMarkingsEntry() - * @generated - */ + * @see org.hl7.security.ds4p.contentprofile.impl.PrivacyMarkingsEntryImpl + * @see org.hl7.security.ds4p.contentprofile.impl.CONTENTPROFILEPackageImpl#getPrivacyMarkingsEntry() + * @generated + */ EClass PRIVACY_MARKINGS_ENTRY = eINSTANCE.getPrivacyMarkingsEntry(); } diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/CONTENTPROFILEPlugin.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/CONTENTPROFILEPlugin.java index beda8f9ab5..a1c9c32f62 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/CONTENTPROFILEPlugin.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/CONTENTPROFILEPlugin.java @@ -3,7 +3,6 @@ package org.hl7.security.ds4p.contentprofile; import org.eclipse.emf.common.EMFPlugin; - import org.eclipse.emf.common.util.ResourceLocator; /** @@ -36,7 +35,7 @@ public final class CONTENTPROFILEPlugin extends EMFPlugin { * @generated */ public CONTENTPROFILEPlugin() { - super(new ResourceLocator[] {}); + super(new ResourceLocator [] {}); } /** diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/ConfidentialitySecurityObservation.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/ConfidentialitySecurityObservation.java index ff47e2fec4..a65c8e6f53 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/ConfidentialitySecurityObservation.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/ConfidentialitySecurityObservation.java @@ -3,9 +3,7 @@ package org.hl7.security.ds4p.contentprofile; import java.lang.Iterable; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -27,9 +25,9 @@ public interface ConfidentialitySecurityObservation extends SecurityObservation public ConfidentialitySecurityObservation init(); /** - * + * * - * @generated - */ + * @generated + */ public ConfidentialitySecurityObservation init(Iterable> initializers); } // ConfidentialitySecurityObservation diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/MandatoryDocumentAssignedAuthor.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/MandatoryDocumentAssignedAuthor.java index 815108103b..2568333493 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/MandatoryDocumentAssignedAuthor.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/MandatoryDocumentAssignedAuthor.java @@ -3,13 +3,10 @@ package org.hl7.security.ds4p.contentprofile; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; import org.eclipse.mdht.uml.cda.AssignedAuthor; @@ -31,7 +28,7 @@ public interface MandatoryDocumentAssignedAuthor extends AssignedAuthor { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.3\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.3\')'" * @generated */ boolean validateMandatoryDocumentAssignedAuthorTemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +40,7 @@ public interface MandatoryDocumentAssignedAuthor extends AssignedAuthor { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.telecom->isEmpty() or self.telecom->exists(element | element.isNullFlavorUndefined())) implies (( not self.telecom->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.telecom->isEmpty() or self.telecom->exists(element | element.isNullFlavorUndefined())) implies (( not self.telecom->isEmpty()) )'" * @generated */ boolean validateMandatoryDocumentAssignedAuthorTelecomEmail(DiagnosticChain diagnostics, @@ -56,7 +53,7 @@ boolean validateMandatoryDocumentAssignedAuthorTelecomEmail(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthoringDevice->one(assignedAuthoringDevice : cda::AuthoringDevice | not assignedAuthoringDevice.oclIsUndefined() and assignedAuthoringDevice.oclIsKindOf(cda::AuthoringDevice))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthoringDevice->one(assignedAuthoringDevice : cda::AuthoringDevice | not assignedAuthoringDevice.oclIsUndefined() and assignedAuthoringDevice.oclIsKindOf(cda::AuthoringDevice))'" * @generated */ boolean validateMandatoryDocumentAssignedAuthorAssignedAuthoringDevice(DiagnosticChain diagnostics, @@ -69,7 +66,7 @@ boolean validateMandatoryDocumentAssignedAuthorAssignedAuthoringDevice(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person))'" * @generated */ boolean validateMandatoryDocumentAssignedAuthorAssignedPerson(DiagnosticChain diagnostics, @@ -82,7 +79,7 @@ boolean validateMandatoryDocumentAssignedAuthorAssignedPerson(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(rim::Entity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(rim::Entity))'" * @generated */ boolean validateMandatoryDocumentAssignedAuthorRepresentedOrganization(DiagnosticChain diagnostics, @@ -96,9 +93,9 @@ boolean validateMandatoryDocumentAssignedAuthorRepresentedOrganization(Diagnosti public MandatoryDocumentAssignedAuthor init(); /** - * + * * - * @generated - */ + * @generated + */ public MandatoryDocumentAssignedAuthor init(Iterable> initializers); } // MandatoryDocumentAssignedAuthor diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/MandatoryDocumentProvenance.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/MandatoryDocumentProvenance.java index 53473593e7..1cbd2bb552 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/MandatoryDocumentProvenance.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/MandatoryDocumentProvenance.java @@ -3,13 +3,10 @@ package org.hl7.security.ds4p.contentprofile; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; import org.eclipse.mdht.uml.cda.Author; @@ -31,7 +28,7 @@ public interface MandatoryDocumentProvenance extends Author { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.2\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.2\')'" * @generated */ boolean validateMandatoryDocumentProvenanceTemplateId(DiagnosticChain diagnostics, Map context); @@ -55,7 +52,7 @@ public interface MandatoryDocumentProvenance extends Author { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(contentprofile::MandatoryDocumentAssignedAuthor))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(contentprofile::MandatoryDocumentAssignedAuthor))'" * @generated */ boolean validateMandatoryDocumentProvenanceAssignedAuthor(DiagnosticChain diagnostics, Map context); @@ -68,9 +65,9 @@ public interface MandatoryDocumentProvenance extends Author { public MandatoryDocumentProvenance init(); /** - * + * * - * @generated - */ + * @generated + */ public MandatoryDocumentProvenance init(Iterable> initializers); } // MandatoryDocumentProvenance diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/MandatoryEntryAssignedAuthor.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/MandatoryEntryAssignedAuthor.java index a9b6f10c82..aa45187790 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/MandatoryEntryAssignedAuthor.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/MandatoryEntryAssignedAuthor.java @@ -3,13 +3,10 @@ package org.hl7.security.ds4p.contentprofile; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; import org.eclipse.mdht.uml.cda.AssignedAuthor; @@ -31,7 +28,7 @@ public interface MandatoryEntryAssignedAuthor extends AssignedAuthor { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.7\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.7\')'" * @generated */ boolean validateMandatoryEntryAssignedAuthorTemplateId(DiagnosticChain diagnostics, Map context); @@ -83,9 +80,9 @@ boolean validateMandatoryEntryAssignedAuthorRepresentedOrganization(DiagnosticCh public MandatoryEntryAssignedAuthor init(); /** - * + * * - * @generated - */ + * @generated + */ public MandatoryEntryAssignedAuthor init(Iterable> initializers); } // MandatoryEntryAssignedAuthor diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/MandatoryEntryProvenance.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/MandatoryEntryProvenance.java index 9dea2e1d3c..a073e77dd8 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/MandatoryEntryProvenance.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/MandatoryEntryProvenance.java @@ -3,13 +3,10 @@ package org.hl7.security.ds4p.contentprofile; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; import org.eclipse.mdht.uml.cda.Author; @@ -31,7 +28,7 @@ public interface MandatoryEntryProvenance extends Author { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.6\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.6\')'" * @generated */ boolean validateMandatoryEntryProvenanceTemplateId(DiagnosticChain diagnostics, Map context); @@ -55,7 +52,7 @@ public interface MandatoryEntryProvenance extends Author { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(contentprofile::MandatoryEntryAssignedAuthor))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(contentprofile::MandatoryEntryAssignedAuthor))'" * @generated */ boolean validateMandatoryEntryProvenanceAssignedAuthor(DiagnosticChain diagnostics, Map context); @@ -68,9 +65,9 @@ public interface MandatoryEntryProvenance extends Author { public MandatoryEntryProvenance init(); /** - * + * * - * @generated - */ + * @generated + */ public MandatoryEntryProvenance init(Iterable> initializers); } // MandatoryEntryProvenance diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/ObligationPolicySecurityObservation.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/ObligationPolicySecurityObservation.java index 216a8f7025..5adb66d503 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/ObligationPolicySecurityObservation.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/ObligationPolicySecurityObservation.java @@ -3,9 +3,7 @@ package org.hl7.security.ds4p.contentprofile; import java.lang.Iterable; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -15,7 +13,7 @@ * * * @see org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage#getObligationPolicySecurityObservation() - * @model annotation="http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValueP' templateId.root='2.16.840.1.113883.3.445.14' code.code='SECCONOBS' code.codeSystem='2.16.840.1.113883.1.11.20457' code.codeSystemName='SecurityObservationTypeCodeSystem' code.displayName='Security Control' constraints.validation.dependOn.SecurityObservationCode='SecurityObservationCodeP' value.codeSystem='2.16.840.1.113883.1.11.20471' value.codeSystemName='SecurityControlObservationValue' constraints.validation.warning='SecurityObservationValue' constraints.validation.dependOn.SecurityObservationValue='SecurityObservationValueP'" + * @model annotation="http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValueP' templateId.root='2.16.840.1.113883.3.445.14' code.code='SECCONOBS' code.codeSystem='2.16.840.1.113883.1.11.20457' code.codeSystemName='SecurityObservationTypeCodeSystem' code.displayName='Security Control' constraints.validation.dependOn.SecurityObservationCode='SecurityObservationCodeP' value.codeSystem='2.16.840.1.113883.5.1063' value.codeSystemName='SecurityObservationValueCodeSystem' constraints.validation.warning='SecurityObservationValue' constraints.validation.dependOn.SecurityObservationValue='SecurityObservationValueP'" * @generated */ public interface ObligationPolicySecurityObservation extends SecurityObservation { @@ -27,9 +25,9 @@ public interface ObligationPolicySecurityObservation extends SecurityObservation public ObligationPolicySecurityObservation init(); /** - * + * * - * @generated - */ + * @generated + */ public ObligationPolicySecurityObservation init(Iterable> initializers); } // ObligationPolicySecurityObservation diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacyAnnotation.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacyAnnotation.java index a053478c85..de76e2d8af 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacyAnnotation.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacyAnnotation.java @@ -3,14 +3,11 @@ package org.hl7.security.ds4p.contentprofile; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; import org.eclipse.mdht.uml.cda.Organizer; @@ -32,7 +29,7 @@ public interface PrivacyAnnotation extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.4\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.4\')'" * @generated */ boolean validatePrivacyAnnotationTemplateId(DiagnosticChain diagnostics, Map context); @@ -80,7 +77,7 @@ public interface PrivacyAnnotation extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.statusCode.oclIsUndefined() and self.statusCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = self.statusCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'active\''" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.statusCode.oclIsUndefined() and self.statusCode.oclIsKindOf(datatypes::CS) and \nlet value : datatypes::CS = self.statusCode.oclAsType(datatypes::CS) in \nvalue.code = \'active\''" * @generated */ boolean validatePrivacyAnnotationStatusCode(DiagnosticChain diagnostics, Map context); @@ -92,7 +89,7 @@ public interface PrivacyAnnotation extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::ObligationPolicySecurityObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::ObligationPolicySecurityObservation))'" * @generated */ boolean validatePrivacyAnnotationObligationPolicySecurityObservation(DiagnosticChain diagnostics, @@ -105,7 +102,7 @@ boolean validatePrivacyAnnotationObligationPolicySecurityObservation(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::RefrainPolicySecurityObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::RefrainPolicySecurityObservation))'" * @generated */ boolean validatePrivacyAnnotationRefrainPolicySecurityObservation(DiagnosticChain diagnostics, @@ -118,7 +115,7 @@ boolean validatePrivacyAnnotationRefrainPolicySecurityObservation(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::PurposeOfUseSecurityObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::PurposeOfUseSecurityObservation))'" * @generated */ boolean validatePrivacyAnnotationPurposeOfUseSecurityObservation(DiagnosticChain diagnostics, @@ -131,7 +128,7 @@ boolean validatePrivacyAnnotationPurposeOfUseSecurityObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->one(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::ConfidentialitySecurityObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->one(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::ConfidentialitySecurityObservation))'" * @generated */ boolean validatePrivacyAnnotationConfidentialityCodeSecurityObservation(DiagnosticChain diagnostics, @@ -141,7 +138,7 @@ boolean validatePrivacyAnnotationConfidentialityCodeSecurityObservation(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(contentprofile::ObligationPolicySecurityObservation)).oclAsType(contentprofile::ObligationPolicySecurityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(contentprofile::ObligationPolicySecurityObservation)).oclAsType(contentprofile::ObligationPolicySecurityObservation)'" * @generated */ EList getObligationPolicySecurityObservations(); @@ -150,7 +147,7 @@ boolean validatePrivacyAnnotationConfidentialityCodeSecurityObservation(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(contentprofile::RefrainPolicySecurityObservation)).oclAsType(contentprofile::RefrainPolicySecurityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(contentprofile::RefrainPolicySecurityObservation)).oclAsType(contentprofile::RefrainPolicySecurityObservation)'" * @generated */ EList getRefrainPolicySecurityObservations(); @@ -159,7 +156,7 @@ boolean validatePrivacyAnnotationConfidentialityCodeSecurityObservation(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(contentprofile::PurposeOfUseSecurityObservation)).oclAsType(contentprofile::PurposeOfUseSecurityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(contentprofile::PurposeOfUseSecurityObservation)).oclAsType(contentprofile::PurposeOfUseSecurityObservation)'" * @generated */ EList getPurposeOfUseSecurityObservations(); @@ -168,7 +165,7 @@ boolean validatePrivacyAnnotationConfidentialityCodeSecurityObservation(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(contentprofile::ConfidentialitySecurityObservation))->asSequence()->any(true).oclAsType(contentprofile::ConfidentialitySecurityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(contentprofile::ConfidentialitySecurityObservation))->asSequence()->any(true).oclAsType(contentprofile::ConfidentialitySecurityObservation)'" * @generated */ ConfidentialitySecurityObservation getConfidentialityCodeSecurityObservation(); @@ -181,9 +178,9 @@ boolean validatePrivacyAnnotationConfidentialityCodeSecurityObservation(Diagnost public PrivacyAnnotation init(); /** - * + * * - * @generated - */ + * @generated + */ public PrivacyAnnotation init(Iterable> initializers); } // PrivacyAnnotation diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacyAnnotationEntryRelationship.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacyAnnotationEntryRelationship.java index f3f3b6a745..205dbad08e 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacyAnnotationEntryRelationship.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacyAnnotationEntryRelationship.java @@ -3,13 +3,10 @@ package org.hl7.security.ds4p.contentprofile; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; import org.eclipse.mdht.uml.cda.EntryRelationship; @@ -31,7 +28,7 @@ public interface PrivacyAnnotationEntryRelationship extends EntryRelationship { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.11\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.11\')'" * @generated */ boolean validatePrivacyAnnotationEntryRelationshipTemplateId(DiagnosticChain diagnostics, @@ -44,7 +41,7 @@ boolean validatePrivacyAnnotationEntryRelationshipTemplateId(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.organizer->one(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(contentprofile::PrivacyAnnotation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.organizer->one(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(contentprofile::PrivacyAnnotation))'" * @generated */ boolean validatePrivacyAnnotationEntryRelationshipOrganizer(DiagnosticChain diagnostics, @@ -58,9 +55,9 @@ boolean validatePrivacyAnnotationEntryRelationshipOrganizer(DiagnosticChain diag public PrivacyAnnotationEntryRelationship init(); /** - * + * * - * @generated - */ + * @generated + */ public PrivacyAnnotationEntryRelationship init(Iterable> initializers); } // PrivacyAnnotationEntryRelationship diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacyMarkingsEntry.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacyMarkingsEntry.java index 9e70f03742..eb3d9622cb 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacyMarkingsEntry.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacyMarkingsEntry.java @@ -3,13 +3,10 @@ package org.hl7.security.ds4p.contentprofile; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; import org.eclipse.mdht.uml.cda.Entry; @@ -31,7 +28,7 @@ public interface PrivacyMarkingsEntry extends Entry { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.9\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.9\')'" * @generated */ boolean validatePrivacyMarkingsEntryTemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +40,7 @@ public interface PrivacyMarkingsEntry extends Entry { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.organizer->one(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(contentprofile::PrivacyAnnotation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.organizer->one(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(contentprofile::PrivacyAnnotation))'" * @generated */ boolean validatePrivacyMarkingsEntryOrganizer(DiagnosticChain diagnostics, Map context); @@ -56,9 +53,9 @@ public interface PrivacyMarkingsEntry extends Entry { public PrivacyMarkingsEntry init(); /** - * + * * - * @generated - */ + * @generated + */ public PrivacyMarkingsEntry init(Iterable> initializers); } // PrivacyMarkingsEntry diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacyMarkingsSection.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacyMarkingsSection.java index 1df000a839..7324cf0b62 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacyMarkingsSection.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacyMarkingsSection.java @@ -3,13 +3,10 @@ package org.hl7.security.ds4p.contentprofile; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; import org.eclipse.mdht.uml.cda.Section; @@ -31,7 +28,7 @@ public interface PrivacyMarkingsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.5\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.5\')'" * @generated */ boolean validatePrivacyMarkingsSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +40,7 @@ public interface PrivacyMarkingsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.code.oclIsUndefined() or self.code.isNullFlavorUndefined()) implies (not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = self.code.oclAsType(datatypes::CE) in \r\nvalue.code = \'57017-6\' and value.codeSystem = \'2.16.840.1.113883.6.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.code.oclIsUndefined() or self.code.isNullFlavorUndefined()) implies (not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CE) and \nlet value : datatypes::CE = self.code.oclAsType(datatypes::CE) in \nvalue.code = \'57017-6\' and value.codeSystem = \'2.16.840.1.113883.6.1\')'" * @generated */ boolean validatePrivacyMarkingsSectionCode(DiagnosticChain diagnostics, Map context); @@ -79,7 +76,7 @@ public interface PrivacyMarkingsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.oclIsUndefined() and entry.oclIsKindOf(contentprofile::PrivacyMarkingsEntry) and entry.typeCode = vocab::x_ActRelationshipEntry::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.oclIsUndefined() and entry.oclIsKindOf(contentprofile::PrivacyMarkingsEntry) and entry.typeCode = vocab::x_ActRelationshipEntry::COMP)'" * @generated */ boolean validatePrivacyMarkingsSectionEntry1(DiagnosticChain diagnostics, Map context); @@ -92,9 +89,9 @@ public interface PrivacyMarkingsSection extends Section { public PrivacyMarkingsSection init(); /** - * + * * - * @generated - */ + * @generated + */ public PrivacyMarkingsSection init(Iterable> initializers); } // PrivacyMarkingsSection diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacySegmentedDocument.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacySegmentedDocument.java index 3af8db97f4..2c8f7211d2 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacySegmentedDocument.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacySegmentedDocument.java @@ -3,14 +3,11 @@ package org.hl7.security.ds4p.contentprofile; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; import org.openhealthtools.mdht.uml.cda.consol.GeneralHeaderConstraints; @@ -32,7 +29,7 @@ public interface PrivacySegmentedDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.1\')'" * @generated */ boolean validatePrivacySegmentedDocumentTemplateId(DiagnosticChain diagnostics, Map context); @@ -44,7 +41,7 @@ public interface PrivacySegmentedDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryDocumentProvenance))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryDocumentProvenance))'" * @generated */ boolean validatePrivacySegmentedDocumentAuthor1(DiagnosticChain diagnostics, Map context); @@ -56,7 +53,7 @@ public interface PrivacySegmentedDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacySegmentedSection))->size() >= 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacySegmentedSection))->size() >= 1'" * @generated */ boolean validatePrivacySegmentedDocumentSegmentedSection(DiagnosticChain diagnostics, Map context); @@ -68,7 +65,7 @@ public interface PrivacySegmentedDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacyMarkingsSection))->size() >= 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacyMarkingsSection))->size() >= 1'" * @generated */ boolean validatePrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection(DiagnosticChain diagnostics, @@ -78,7 +75,7 @@ boolean validatePrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacySegmentedSection)).oclAsType(contentprofile::PrivacySegmentedSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacySegmentedSection)).oclAsType(contentprofile::PrivacySegmentedSection)'" * @generated */ EList getSegmentedSections(); @@ -87,7 +84,7 @@ boolean validatePrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacyMarkingsSection)).oclAsType(contentprofile::PrivacyMarkingsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacyMarkingsSection)).oclAsType(contentprofile::PrivacyMarkingsSection)'" * @generated */ EList getPrivacyAndSecurityMarkingsSections(); @@ -100,9 +97,9 @@ boolean validatePrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection(Diagno public PrivacySegmentedDocument init(); /** - * + * * - * @generated - */ + * @generated + */ public PrivacySegmentedDocument init(Iterable> initializers); } // PrivacySegmentedDocument diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacySegmentedSection.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacySegmentedSection.java index 1be05d7d60..4b5596a8ff 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacySegmentedSection.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PrivacySegmentedSection.java @@ -3,13 +3,10 @@ package org.hl7.security.ds4p.contentprofile; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; import org.eclipse.mdht.uml.cda.Section; @@ -31,7 +28,7 @@ public interface PrivacySegmentedSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.10\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.3251.1.10\')'" * @generated */ boolean validatePrivacySegmentedSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +40,7 @@ public interface PrivacySegmentedSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.confidentialityCode.oclIsUndefined() and self.confidentialityCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = self.confidentialityCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.25\' and (value.code = \'N\' or value.code = \'R\' or value.code = \'V\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.confidentialityCode.oclIsUndefined() and self.confidentialityCode.oclIsKindOf(datatypes::CE) and \nlet value : datatypes::CE = self.confidentialityCode.oclAsType(datatypes::CE) in \nvalue.codeSystem = \'2.16.840.1.113883.5.25\' and (value.code = \'N\' or value.code = \'R\' or value.code = \'V\')'" * @generated */ boolean validatePrivacySegmentedSectionConfidentialityCode(DiagnosticChain diagnostics, @@ -69,7 +66,7 @@ boolean validatePrivacySegmentedSectionConfidentialityCodeP(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryEntryProvenance))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryEntryProvenance))'" * @generated */ boolean validatePrivacySegmentedSectionAuthor(DiagnosticChain diagnostics, Map context); @@ -82,9 +79,9 @@ boolean validatePrivacySegmentedSectionConfidentialityCodeP(DiagnosticChain diag public PrivacySegmentedSection init(); /** - * + * * - * @generated - */ + * @generated + */ public PrivacySegmentedSection init(Iterable> initializers); } // PrivacySegmentedSection diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/ProtectedProblem.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/ProtectedProblem.java index de1901ba6c..2971169019 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/ProtectedProblem.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/ProtectedProblem.java @@ -3,13 +3,10 @@ package org.hl7.security.ds4p.contentprofile; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; import org.openhealthtools.mdht.uml.cda.consol.ProblemObservation; @@ -31,7 +28,7 @@ public interface ProtectedProblem extends ProblemObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryEntryProvenance))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryEntryProvenance))'" * @generated */ boolean validateProtectedProblemProblemProvenance(DiagnosticChain diagnostics, Map context); @@ -43,7 +40,7 @@ public interface ProtectedProblem extends ProblemObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(contentprofile::PrivacyAnnotationEntryRelationship))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(contentprofile::PrivacyAnnotationEntryRelationship))'" * @generated */ boolean validateProtectedProblemPrivacyAnnotations(DiagnosticChain diagnostics, Map context); @@ -56,9 +53,9 @@ public interface ProtectedProblem extends ProblemObservation { public ProtectedProblem init(); /** - * + * * - * @generated - */ + * @generated + */ public ProtectedProblem init(Iterable> initializers); } // ProtectedProblem diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PurposeOfUseSecurityObservation.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PurposeOfUseSecurityObservation.java index 587abf144a..018b48f81e 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PurposeOfUseSecurityObservation.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/PurposeOfUseSecurityObservation.java @@ -3,9 +3,7 @@ package org.hl7.security.ds4p.contentprofile; import java.lang.Iterable; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -15,7 +13,7 @@ * * * @see org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage#getPurposeOfUseSecurityObservation() - * @model annotation="http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP' templateId.root='2.16.840.1.113883.3.445.22' code.code='SECCONOBS' code.codeSystem='2.16.840.1.113883.1.11.20457' code.codeSystemName='SecurityObservationTypeCodeSystem' code.displayName='Security Control' constraints.validation.dependOn.SecurityObservationCode='SecurityObservationCodeP' value.codeSystem='2.16.840.1.113883.5.8' value.codeSystemName='ActReason' constraints.validation.dependOn.SecurityObservationValue='SecurityObservationValueP'" + * @model annotation="http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP' templateId.root='2.16.840.1.113883.3.445.22' code.code='SECCONOBS' code.codeSystem='2.16.840.1.113883.1.11.20457' code.codeSystemName='SecurityObservationTypeCodeSystem' code.displayName='Security Control' constraints.validation.dependOn.SecurityObservationCode='SecurityObservationCodeP' value.codeSystem='2.16.840.1.113883.5.1063' value.codeSystemName='SecurityObservationValueCodeSystem' constraints.validation.dependOn.SecurityObservationValue='SecurityObservationValueP'" * @generated */ public interface PurposeOfUseSecurityObservation extends SecurityObservation { @@ -27,9 +25,9 @@ public interface PurposeOfUseSecurityObservation extends SecurityObservation { public PurposeOfUseSecurityObservation init(); /** - * + * * - * @generated - */ + * @generated + */ public PurposeOfUseSecurityObservation init(Iterable> initializers); } // PurposeOfUseSecurityObservation diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/RefrainPolicySecurityObservation.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/RefrainPolicySecurityObservation.java index a6b4b262d5..d236a678cb 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/RefrainPolicySecurityObservation.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/RefrainPolicySecurityObservation.java @@ -3,9 +3,7 @@ package org.hl7.security.ds4p.contentprofile; import java.lang.Iterable; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -15,7 +13,7 @@ * * * @see org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage#getRefrainPolicySecurityObservation() - * @model annotation="http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP' templateId.root='2.16.840.1.113883.3.445.23' code.code='SECCONOBS' code.codeSystem='2.16.840.1.113883.1.11.20457' code.codeSystemName='SecurityObservationTypeCodeSystem' code.displayName='Security Control Observation Type' constraints.validation.dependOn.SecurityObservationCode='SecurityObservationCodeP' value.codeSystem='2.16.840.1.113883.1.11.20471' value.codeSystemName='SecurityControlObservationValue' constraints.validation.dependOn.SecurityObservationValue='SecurityObservationValueP'" + * @model annotation="http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP' templateId.root='2.16.840.1.113883.3.445.23' code.code='SECCONOBS' code.codeSystem='2.16.840.1.113883.1.11.20457' code.codeSystemName='SecurityObservationTypeCodeSystem' code.displayName='Security Control Observation Type' constraints.validation.dependOn.SecurityObservationCode='SecurityObservationCodeP' value.codeSystem='2.16.840.1.113883.5.1063' value.codeSystemName='SecurityObservationValueCodeSystem' constraints.validation.dependOn.SecurityObservationValue='SecurityObservationValueP'" * @generated */ public interface RefrainPolicySecurityObservation extends SecurityObservation { @@ -27,9 +25,9 @@ public interface RefrainPolicySecurityObservation extends SecurityObservation { public RefrainPolicySecurityObservation init(); /** - * + * * - * @generated - */ + * @generated + */ public RefrainPolicySecurityObservation init(Iterable> initializers); } // RefrainPolicySecurityObservation diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/SecurityObservation.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/SecurityObservation.java index fe0d1a9f2c..8a31d84f27 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/SecurityObservation.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/SecurityObservation.java @@ -3,13 +3,10 @@ package org.hl7.security.ds4p.contentprofile; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; import org.eclipse.mdht.uml.cda.Observation; @@ -32,7 +29,7 @@ public interface SecurityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.445.21\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.3.445.21\')'" * @generated */ boolean validateSecurityObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -56,7 +53,7 @@ public interface SecurityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = self.code.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.1.11.20457\''" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and \nlet value : datatypes::CD = self.code.oclAsType(datatypes::CD) in \nvalue.codeSystem = \'2.16.840.1.113883.1.11.20457\''" * @generated */ boolean validateSecurityObservationCode(DiagnosticChain diagnostics, Map context); @@ -68,7 +65,7 @@ public interface SecurityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = element.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1063\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and \nlet value : datatypes::CE = element.oclAsType(datatypes::CE) in \nvalue.codeSystem = \'2.16.840.1.113883.5.1063\')'" * @generated */ boolean validateSecurityObservationValue(DiagnosticChain diagnostics, Map context); @@ -80,7 +77,7 @@ public interface SecurityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CE))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CE))'" * @generated */ boolean validateSecurityObservationValueP(DiagnosticChain diagnostics, Map context); @@ -105,9 +102,9 @@ public interface SecurityObservation extends Observation { public SecurityObservation init(); /** - * + * * - * @generated - */ + * @generated + */ public SecurityObservation init(Iterable> initializers); } // SecurityObservation diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/CONTENTPROFILEFactoryImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/CONTENTPROFILEFactoryImpl.java index f24e44149c..500e2cc56d 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/CONTENTPROFILEFactoryImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/CONTENTPROFILEFactoryImpl.java @@ -5,12 +5,26 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; - import org.eclipse.emf.ecore.impl.EFactoryImpl; - import org.eclipse.emf.ecore.plugin.EcorePlugin; - import org.hl7.security.ds4p.contentprofile.*; +import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEFactory; +import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; +import org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation; +import org.hl7.security.ds4p.contentprofile.MandatoryDocumentAssignedAuthor; +import org.hl7.security.ds4p.contentprofile.MandatoryDocumentProvenance; +import org.hl7.security.ds4p.contentprofile.MandatoryEntryAssignedAuthor; +import org.hl7.security.ds4p.contentprofile.MandatoryEntryProvenance; +import org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation; +import org.hl7.security.ds4p.contentprofile.PrivacyAnnotation; +import org.hl7.security.ds4p.contentprofile.PrivacyAnnotationEntryRelationship; +import org.hl7.security.ds4p.contentprofile.PrivacyMarkingsEntry; +import org.hl7.security.ds4p.contentprofile.PrivacyMarkingsSection; +import org.hl7.security.ds4p.contentprofile.PrivacySegmentedDocument; +import org.hl7.security.ds4p.contentprofile.PrivacySegmentedSection; +import org.hl7.security.ds4p.contentprofile.ProtectedProblem; +import org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation; +import org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation; /** * @@ -27,12 +41,12 @@ public class CONTENTPROFILEFactoryImpl extends EFactoryImpl implements CONTENTPR */ public static CONTENTPROFILEFactory init() { try { - CONTENTPROFILEFactory theCONTENTPROFILEFactory = (CONTENTPROFILEFactory) EPackage.Registry.INSTANCE.getEFactory( - CONTENTPROFILEPackage.eNS_URI); + CONTENTPROFILEFactory theCONTENTPROFILEFactory = (CONTENTPROFILEFactory)EPackage.Registry.INSTANCE.getEFactory(CONTENTPROFILEPackage.eNS_URI); if (theCONTENTPROFILEFactory != null) { return theCONTENTPROFILEFactory; } - } catch (Exception exception) { + } + catch (Exception exception) { EcorePlugin.INSTANCE.log(exception); } return new CONTENTPROFILEFactoryImpl(); @@ -56,36 +70,21 @@ public CONTENTPROFILEFactoryImpl() { @Override public EObject create(EClass eClass) { switch (eClass.getClassifierID()) { - case CONTENTPROFILEPackage.PRIVACY_SEGMENTED_DOCUMENT: - return createPrivacySegmentedDocument(); - case CONTENTPROFILEPackage.PRIVACY_SEGMENTED_SECTION: - return createPrivacySegmentedSection(); - case CONTENTPROFILEPackage.PRIVACY_MARKINGS_SECTION: - return createPrivacyMarkingsSection(); - case CONTENTPROFILEPackage.OBLIGATION_POLICY_SECURITY_OBSERVATION: - return createObligationPolicySecurityObservation(); - case CONTENTPROFILEPackage.MANDATORY_DOCUMENT_PROVENANCE: - return createMandatoryDocumentProvenance(); - case CONTENTPROFILEPackage.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR: - return createMandatoryDocumentAssignedAuthor(); - case CONTENTPROFILEPackage.PRIVACY_ANNOTATION: - return createPrivacyAnnotation(); - case CONTENTPROFILEPackage.REFRAIN_POLICY_SECURITY_OBSERVATION: - return createRefrainPolicySecurityObservation(); - case CONTENTPROFILEPackage.PURPOSE_OF_USE_SECURITY_OBSERVATION: - return createPurposeOfUseSecurityObservation(); - case CONTENTPROFILEPackage.CONFIDENTIALITY_SECURITY_OBSERVATION: - return createConfidentialitySecurityObservation(); - case CONTENTPROFILEPackage.PROTECTED_PROBLEM: - return createProtectedProblem(); - case CONTENTPROFILEPackage.MANDATORY_ENTRY_PROVENANCE: - return createMandatoryEntryProvenance(); - case CONTENTPROFILEPackage.MANDATORY_ENTRY_ASSIGNED_AUTHOR: - return createMandatoryEntryAssignedAuthor(); - case CONTENTPROFILEPackage.PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP: - return createPrivacyAnnotationEntryRelationship(); - case CONTENTPROFILEPackage.PRIVACY_MARKINGS_ENTRY: - return createPrivacyMarkingsEntry(); + case CONTENTPROFILEPackage.PRIVACY_SEGMENTED_DOCUMENT: return createPrivacySegmentedDocument(); + case CONTENTPROFILEPackage.PRIVACY_SEGMENTED_SECTION: return createPrivacySegmentedSection(); + case CONTENTPROFILEPackage.PRIVACY_MARKINGS_SECTION: return createPrivacyMarkingsSection(); + case CONTENTPROFILEPackage.OBLIGATION_POLICY_SECURITY_OBSERVATION: return createObligationPolicySecurityObservation(); + case CONTENTPROFILEPackage.MANDATORY_DOCUMENT_PROVENANCE: return createMandatoryDocumentProvenance(); + case CONTENTPROFILEPackage.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR: return createMandatoryDocumentAssignedAuthor(); + case CONTENTPROFILEPackage.PRIVACY_ANNOTATION: return createPrivacyAnnotation(); + case CONTENTPROFILEPackage.REFRAIN_POLICY_SECURITY_OBSERVATION: return createRefrainPolicySecurityObservation(); + case CONTENTPROFILEPackage.PURPOSE_OF_USE_SECURITY_OBSERVATION: return createPurposeOfUseSecurityObservation(); + case CONTENTPROFILEPackage.CONFIDENTIALITY_SECURITY_OBSERVATION: return createConfidentialitySecurityObservation(); + case CONTENTPROFILEPackage.PROTECTED_PROBLEM: return createProtectedProblem(); + case CONTENTPROFILEPackage.MANDATORY_ENTRY_PROVENANCE: return createMandatoryEntryProvenance(); + case CONTENTPROFILEPackage.MANDATORY_ENTRY_ASSIGNED_AUTHOR: return createMandatoryEntryAssignedAuthor(); + case CONTENTPROFILEPackage.PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP: return createPrivacyAnnotationEntryRelationship(); + case CONTENTPROFILEPackage.PRIVACY_MARKINGS_ENTRY: return createPrivacyMarkingsEntry(); default: throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); } @@ -263,7 +262,7 @@ public PrivacyMarkingsEntry createPrivacyMarkingsEntry() { */ @Override public CONTENTPROFILEPackage getCONTENTPROFILEPackage() { - return (CONTENTPROFILEPackage) getEPackage(); + return (CONTENTPROFILEPackage)getEPackage(); } /** diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/CONTENTPROFILEPackageImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/CONTENTPROFILEPackageImpl.java index eccc6c177d..ee9d79e235 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/CONTENTPROFILEPackageImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/CONTENTPROFILEPackageImpl.java @@ -13,10 +13,15 @@ import org.eclipse.emf.ecore.EOperation; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EValidator; +import org.eclipse.emf.ecore.EcorePackage; import org.eclipse.emf.ecore.impl.EPackageImpl; import org.eclipse.mdht.emf.runtime.util.Initializer; import org.eclipse.mdht.uml.cda.CDAPackage; import org.eclipse.mdht.uml.cda.util.AnnotationBasedInitializer; +import org.eclipse.mdht.uml.hl7.datatypes.DatatypesPackage; +import org.eclipse.mdht.uml.hl7.rim.RIMPackage; +import org.eclipse.mdht.uml.hl7.vocab.VocabPackage; +import org.eclipse.uml2.types.TypesPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEFactory; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation; @@ -46,366 +51,369 @@ */ public class CONTENTPROFILEPackageImpl extends EPackageImpl implements CONTENTPROFILEPackage { /** - * + * * - * @generated - */ + * @generated + */ private EClass privacySegmentedDocumentEClass = null; /** - * + * * - * @generated - */ + * @generated + */ private EClass privacySegmentedSectionEClass = null; /** - * + * * - * @generated - */ + * @generated + */ private EClass privacyMarkingsSectionEClass = null; /** - * + * * - * @generated - */ + * @generated + */ private EClass obligationPolicySecurityObservationEClass = null; /** - * + * * - * @generated - */ + * @generated + */ private EClass securityObservationEClass = null; /** - * + * * - * @generated - */ + * @generated + */ private EClass mandatoryDocumentProvenanceEClass = null; /** - * + * * - * @generated - */ + * @generated + */ private EClass mandatoryDocumentAssignedAuthorEClass = null; /** - * + * * - * @generated - */ + * @generated + */ private EClass privacyAnnotationEClass = null; /** - * + * * - * @generated - */ + * @generated + */ private EClass refrainPolicySecurityObservationEClass = null; /** - * + * * - * @generated - */ + * @generated + */ private EClass purposeOfUseSecurityObservationEClass = null; /** - * + * * - * @generated - */ + * @generated + */ private EClass confidentialitySecurityObservationEClass = null; /** - * + * * - * @generated - */ + * @generated + */ private EClass protectedProblemEClass = null; /** - * + * * - * @generated - */ + * @generated + */ private EClass mandatoryEntryProvenanceEClass = null; /** - * + * * - * @generated - */ + * @generated + */ private EClass mandatoryEntryAssignedAuthorEClass = null; /** - * + * * - * @generated - */ + * @generated + */ private EClass privacyAnnotationEntryRelationshipEClass = null; /** - * + * * - * @generated - */ + * @generated + */ private EClass privacyMarkingsEntryEClass = null; /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage#eNS_URI - * @see #init() - * @generated - */ + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage#eNS_URI + * @see #init() + * @generated + */ private CONTENTPROFILEPackageImpl() { - super(eNS_URI, CONTENTPROFILEFactory.eINSTANCE); - } + super(eNS_URI, CONTENTPROFILEFactory.eINSTANCE); + } /** - * + * * - * @generated - */ + * @generated + */ private static boolean isInited = false; /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

This method is used to initialize {@link CONTENTPROFILEPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

This method is used to initialize {@link CONTENTPROFILEPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ public static CONTENTPROFILEPackage init() { - if (isInited) { - return (CONTENTPROFILEPackage) EPackage.Registry.INSTANCE.getEPackage(CONTENTPROFILEPackage.eNS_URI); - } - - // Obtain or create and register package - CONTENTPROFILEPackageImpl theCONTENTPROFILEPackage = (CONTENTPROFILEPackageImpl) (EPackage.Registry.INSTANCE.get( - eNS_URI) instanceof CONTENTPROFILEPackageImpl - ? EPackage.Registry.INSTANCE.get(eNS_URI) - : new CONTENTPROFILEPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - ConsolPackage.eINSTANCE.eClass(); - - // Create package meta-data objects - theCONTENTPROFILEPackage.createPackageContents(); - - // Initialize created meta-data - theCONTENTPROFILEPackage.initializePackageContents(); - - // Register package validator - EValidator.Registry.INSTANCE.put(theCONTENTPROFILEPackage, new EValidator.Descriptor() { - public EValidator getEValidator() { - return CONTENTPROFILEValidator.INSTANCE; - } - }); - - // Mark meta-data to indicate it can't be changed - theCONTENTPROFILEPackage.freeze(); - - // publish my initializers in the registry - Initializer.Registry.INSTANCE.registerFactory( - "org.hl7.security.ds4p.contentprofile", AnnotationBasedInitializer.FACTORY); - Initializer.Registry.INSTANCE.initializeEPackage(theCONTENTPROFILEPackage); - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(CONTENTPROFILEPackage.eNS_URI, theCONTENTPROFILEPackage); - return theCONTENTPROFILEPackage; - } + if (isInited) return (CONTENTPROFILEPackage)EPackage.Registry.INSTANCE.getEPackage(CONTENTPROFILEPackage.eNS_URI); + + // Obtain or create and register package + CONTENTPROFILEPackageImpl theCONTENTPROFILEPackage = (CONTENTPROFILEPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof CONTENTPROFILEPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new CONTENTPROFILEPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + CDAPackage.eINSTANCE.eClass(); + ConsolPackage.eINSTANCE.eClass(); + DatatypesPackage.eINSTANCE.eClass(); + EcorePackage.eINSTANCE.eClass(); + RIMPackage.eINSTANCE.eClass(); + TypesPackage.eINSTANCE.eClass(); + VocabPackage.eINSTANCE.eClass(); + + // Create package meta-data objects + theCONTENTPROFILEPackage.createPackageContents(); + + // Initialize created meta-data + theCONTENTPROFILEPackage.initializePackageContents(); + + // Register package validator + EValidator.Registry.INSTANCE.put + (theCONTENTPROFILEPackage, + new EValidator.Descriptor() { + public EValidator getEValidator() { + return CONTENTPROFILEValidator.INSTANCE; + } + }); + + // Mark meta-data to indicate it can't be changed + theCONTENTPROFILEPackage.freeze(); + + + // publish my initializers in the registry + Initializer.Registry.INSTANCE.registerFactory("org.hl7.security.ds4p.contentprofile", AnnotationBasedInitializer.FACTORY); + Initializer.Registry.INSTANCE.initializeEPackage(theCONTENTPROFILEPackage); + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(CONTENTPROFILEPackage.eNS_URI, theCONTENTPROFILEPackage); + return theCONTENTPROFILEPackage; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public EClass getPrivacySegmentedDocument() { - return privacySegmentedDocumentEClass; - } + return privacySegmentedDocumentEClass; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public EClass getPrivacySegmentedSection() { - return privacySegmentedSectionEClass; - } + return privacySegmentedSectionEClass; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public EClass getPrivacyMarkingsSection() { - return privacyMarkingsSectionEClass; - } + return privacyMarkingsSectionEClass; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public EClass getObligationPolicySecurityObservation() { - return obligationPolicySecurityObservationEClass; - } + return obligationPolicySecurityObservationEClass; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public EClass getSecurityObservation() { - return securityObservationEClass; - } + return securityObservationEClass; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public EClass getMandatoryDocumentProvenance() { - return mandatoryDocumentProvenanceEClass; - } + return mandatoryDocumentProvenanceEClass; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public EClass getMandatoryDocumentAssignedAuthor() { - return mandatoryDocumentAssignedAuthorEClass; - } + return mandatoryDocumentAssignedAuthorEClass; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public EClass getPrivacyAnnotation() { - return privacyAnnotationEClass; - } + return privacyAnnotationEClass; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public EClass getRefrainPolicySecurityObservation() { - return refrainPolicySecurityObservationEClass; - } + return refrainPolicySecurityObservationEClass; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public EClass getPurposeOfUseSecurityObservation() { - return purposeOfUseSecurityObservationEClass; - } + return purposeOfUseSecurityObservationEClass; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public EClass getConfidentialitySecurityObservation() { - return confidentialitySecurityObservationEClass; - } + return confidentialitySecurityObservationEClass; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public EClass getProtectedProblem() { - return protectedProblemEClass; - } + return protectedProblemEClass; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public EClass getMandatoryEntryProvenance() { - return mandatoryEntryProvenanceEClass; - } + return mandatoryEntryProvenanceEClass; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public EClass getMandatoryEntryAssignedAuthor() { - return mandatoryEntryAssignedAuthorEClass; - } + return mandatoryEntryAssignedAuthorEClass; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public EClass getPrivacyAnnotationEntryRelationship() { - return privacyAnnotationEntryRelationshipEClass; - } + return privacyAnnotationEntryRelationshipEClass; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public EClass getPrivacyMarkingsEntry() { - return privacyMarkingsEntryEClass; - } + return privacyMarkingsEntryEClass; + } /** - * + * * - * @generated - */ + * @generated + */ @Override public CONTENTPROFILEFactory getCONTENTPROFILEFactory() { - return (CONTENTPROFILEFactory) getEFactoryInstance(); - } + return (CONTENTPROFILEFactory)getEFactoryInstance(); + } /** * @generated NOT @@ -446,899 +454,828 @@ public void reload() { } /** - * + * * - * @generated - */ + * @generated + */ private boolean isCreated = false; /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * * - * @generated - */ + * @generated + */ public void createPackageContents() { - if (isCreated) { - return; - } - isCreated = true; + if (isCreated) return; + isCreated = true; - // Create classes and their features - privacySegmentedDocumentEClass = createEClass(PRIVACY_SEGMENTED_DOCUMENT); + // Create classes and their features + privacySegmentedDocumentEClass = createEClass(PRIVACY_SEGMENTED_DOCUMENT); - privacySegmentedSectionEClass = createEClass(PRIVACY_SEGMENTED_SECTION); + privacySegmentedSectionEClass = createEClass(PRIVACY_SEGMENTED_SECTION); - privacyMarkingsSectionEClass = createEClass(PRIVACY_MARKINGS_SECTION); + privacyMarkingsSectionEClass = createEClass(PRIVACY_MARKINGS_SECTION); - obligationPolicySecurityObservationEClass = createEClass(OBLIGATION_POLICY_SECURITY_OBSERVATION); + obligationPolicySecurityObservationEClass = createEClass(OBLIGATION_POLICY_SECURITY_OBSERVATION); - securityObservationEClass = createEClass(SECURITY_OBSERVATION); + securityObservationEClass = createEClass(SECURITY_OBSERVATION); - mandatoryDocumentProvenanceEClass = createEClass(MANDATORY_DOCUMENT_PROVENANCE); + mandatoryDocumentProvenanceEClass = createEClass(MANDATORY_DOCUMENT_PROVENANCE); - mandatoryDocumentAssignedAuthorEClass = createEClass(MANDATORY_DOCUMENT_ASSIGNED_AUTHOR); + mandatoryDocumentAssignedAuthorEClass = createEClass(MANDATORY_DOCUMENT_ASSIGNED_AUTHOR); - privacyAnnotationEClass = createEClass(PRIVACY_ANNOTATION); + privacyAnnotationEClass = createEClass(PRIVACY_ANNOTATION); - refrainPolicySecurityObservationEClass = createEClass(REFRAIN_POLICY_SECURITY_OBSERVATION); + refrainPolicySecurityObservationEClass = createEClass(REFRAIN_POLICY_SECURITY_OBSERVATION); - purposeOfUseSecurityObservationEClass = createEClass(PURPOSE_OF_USE_SECURITY_OBSERVATION); + purposeOfUseSecurityObservationEClass = createEClass(PURPOSE_OF_USE_SECURITY_OBSERVATION); - confidentialitySecurityObservationEClass = createEClass(CONFIDENTIALITY_SECURITY_OBSERVATION); + confidentialitySecurityObservationEClass = createEClass(CONFIDENTIALITY_SECURITY_OBSERVATION); - protectedProblemEClass = createEClass(PROTECTED_PROBLEM); + protectedProblemEClass = createEClass(PROTECTED_PROBLEM); - mandatoryEntryProvenanceEClass = createEClass(MANDATORY_ENTRY_PROVENANCE); + mandatoryEntryProvenanceEClass = createEClass(MANDATORY_ENTRY_PROVENANCE); - mandatoryEntryAssignedAuthorEClass = createEClass(MANDATORY_ENTRY_ASSIGNED_AUTHOR); + mandatoryEntryAssignedAuthorEClass = createEClass(MANDATORY_ENTRY_ASSIGNED_AUTHOR); - privacyAnnotationEntryRelationshipEClass = createEClass(PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP); + privacyAnnotationEntryRelationshipEClass = createEClass(PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP); - privacyMarkingsEntryEClass = createEClass(PRIVACY_MARKINGS_ENTRY); - } + privacyMarkingsEntryEClass = createEClass(PRIVACY_MARKINGS_ENTRY); + } /** - * + * * - * @generated - */ + * @generated + */ private boolean isInitialized = false; /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * * - * @generated - */ + * @generated + */ public void initializePackageContents() { - if (isInitialized) { - return; - } - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - ConsolPackage theConsolPackage = (ConsolPackage) EPackage.Registry.INSTANCE.getEPackage(ConsolPackage.eNS_URI); - CDAPackage theCDAPackage = (CDAPackage) EPackage.Registry.INSTANCE.getEPackage(CDAPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - privacySegmentedDocumentEClass.getESuperTypes().add(theConsolPackage.getGeneralHeaderConstraints()); - privacySegmentedSectionEClass.getESuperTypes().add(theCDAPackage.getSection()); - privacyMarkingsSectionEClass.getESuperTypes().add(theCDAPackage.getSection()); - obligationPolicySecurityObservationEClass.getESuperTypes().add(this.getSecurityObservation()); - securityObservationEClass.getESuperTypes().add(theCDAPackage.getObservation()); - mandatoryDocumentProvenanceEClass.getESuperTypes().add(theCDAPackage.getAuthor()); - mandatoryDocumentAssignedAuthorEClass.getESuperTypes().add(theCDAPackage.getAssignedAuthor()); - privacyAnnotationEClass.getESuperTypes().add(theCDAPackage.getOrganizer()); - refrainPolicySecurityObservationEClass.getESuperTypes().add(this.getSecurityObservation()); - purposeOfUseSecurityObservationEClass.getESuperTypes().add(this.getSecurityObservation()); - confidentialitySecurityObservationEClass.getESuperTypes().add(this.getSecurityObservation()); - protectedProblemEClass.getESuperTypes().add(theConsolPackage.getProblemObservation()); - mandatoryEntryProvenanceEClass.getESuperTypes().add(theCDAPackage.getAuthor()); - mandatoryEntryAssignedAuthorEClass.getESuperTypes().add(theCDAPackage.getAssignedAuthor()); - privacyAnnotationEntryRelationshipEClass.getESuperTypes().add(theCDAPackage.getEntryRelationship()); - privacyMarkingsEntryEClass.getESuperTypes().add(theCDAPackage.getEntry()); - - // Initialize classes and features; add operations and parameters - initEClass( - privacySegmentedDocumentEClass, PrivacySegmentedDocument.class, "PrivacySegmentedDocument", !IS_ABSTRACT, - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - EOperation op = addEOperation( - privacySegmentedDocumentEClass, ecorePackage.getEBoolean(), "validatePrivacySegmentedDocumentTemplateId", 0, - 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - EGenericType g1 = createEGenericType(ecorePackage.getEMap()); - EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacySegmentedDocumentEClass, ecorePackage.getEBoolean(), "validatePrivacySegmentedDocumentAuthor1", 0, 1, - IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacySegmentedDocumentEClass, ecorePackage.getEBoolean(), - "validatePrivacySegmentedDocumentSegmentedSection", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacySegmentedDocumentEClass, ecorePackage.getEBoolean(), - "validatePrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - addEOperation(privacySegmentedDocumentEClass, this.getPrivacySegmentedSection(), "getSegmentedSections", 1, -1, - IS_UNIQUE, !IS_ORDERED); - - addEOperation( - privacySegmentedDocumentEClass, this.getPrivacyMarkingsSection(), "getPrivacyAndSecurityMarkingsSections", - 1, -1, IS_UNIQUE, !IS_ORDERED); - - initEClass( - privacySegmentedSectionEClass, PrivacySegmentedSection.class, "PrivacySegmentedSection", !IS_ABSTRACT, - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - op = addEOperation( - privacySegmentedSectionEClass, ecorePackage.getEBoolean(), "validatePrivacySegmentedSectionTemplateId", 0, - 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacySegmentedSectionEClass, ecorePackage.getEBoolean(), - "validatePrivacySegmentedSectionConfidentialityCode", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacySegmentedSectionEClass, ecorePackage.getEBoolean(), - "validatePrivacySegmentedSectionConfidentialityCodeP", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacySegmentedSectionEClass, ecorePackage.getEBoolean(), "validatePrivacySegmentedSectionAuthor", 0, 1, - IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - initEClass(privacyMarkingsSectionEClass, PrivacyMarkingsSection.class, "PrivacyMarkingsSection", !IS_ABSTRACT, - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - op = addEOperation( - privacyMarkingsSectionEClass, ecorePackage.getEBoolean(), "validatePrivacyMarkingsSectionTemplateId", 0, 1, - IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacyMarkingsSectionEClass, ecorePackage.getEBoolean(), "validatePrivacyMarkingsSectionCode", 0, 1, - IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacyMarkingsSectionEClass, ecorePackage.getEBoolean(), "validatePrivacyMarkingsSectionCodeP", 0, 1, - IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacyMarkingsSectionEClass, ecorePackage.getEBoolean(), "validatePrivacyMarkingsSectionText", 0, 1, - IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacyMarkingsSectionEClass, ecorePackage.getEBoolean(), "validatePrivacyMarkingsSectionEntry1", 0, 1, - IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - initEClass(obligationPolicySecurityObservationEClass, ObligationPolicySecurityObservation.class, - "ObligationPolicySecurityObservation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(securityObservationEClass, SecurityObservation.class, "SecurityObservation", IS_ABSTRACT, - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - op = addEOperation( - securityObservationEClass, ecorePackage.getEBoolean(), "validateSecurityObservationTemplateId", 0, 1, - IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - securityObservationEClass, ecorePackage.getEBoolean(), "validateSecurityObservationMoodCode", 0, 1, - IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - securityObservationEClass, ecorePackage.getEBoolean(), "validateSecurityObservationCodeP", 0, 1, IS_UNIQUE, - IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - securityObservationEClass, ecorePackage.getEBoolean(), "validateSecurityObservationCode", 0, 1, IS_UNIQUE, - IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - securityObservationEClass, ecorePackage.getEBoolean(), "validateSecurityObservationValue", 0, 1, IS_UNIQUE, - IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - securityObservationEClass, ecorePackage.getEBoolean(), "validateSecurityObservationValueP", 0, 1, IS_UNIQUE, - IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - initEClass(mandatoryDocumentProvenanceEClass, MandatoryDocumentProvenance.class, "MandatoryDocumentProvenance", - !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - op = addEOperation( - mandatoryDocumentProvenanceEClass, ecorePackage.getEBoolean(), - "validateMandatoryDocumentProvenanceTemplateId", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - mandatoryDocumentProvenanceEClass, ecorePackage.getEBoolean(), "validateMandatoryDocumentProvenanceTime", 0, - 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - mandatoryDocumentProvenanceEClass, ecorePackage.getEBoolean(), - "validateMandatoryDocumentProvenanceAssignedAuthor", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - initEClass(mandatoryDocumentAssignedAuthorEClass, MandatoryDocumentAssignedAuthor.class, - "MandatoryDocumentAssignedAuthor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - op = addEOperation( - mandatoryDocumentAssignedAuthorEClass, ecorePackage.getEBoolean(), - "validateMandatoryDocumentAssignedAuthorTemplateId", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - mandatoryDocumentAssignedAuthorEClass, ecorePackage.getEBoolean(), - "validateMandatoryDocumentAssignedAuthorTelecomEmail", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - mandatoryDocumentAssignedAuthorEClass, ecorePackage.getEBoolean(), - "validateMandatoryDocumentAssignedAuthorAssignedAuthoringDevice", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - mandatoryDocumentAssignedAuthorEClass, ecorePackage.getEBoolean(), - "validateMandatoryDocumentAssignedAuthorAssignedPerson", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - mandatoryDocumentAssignedAuthorEClass, ecorePackage.getEBoolean(), - "validateMandatoryDocumentAssignedAuthorRepresentedOrganization", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - initEClass(privacyAnnotationEClass, PrivacyAnnotation.class, "PrivacyAnnotation", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - - op = addEOperation( - privacyAnnotationEClass, ecorePackage.getEBoolean(), "validatePrivacyAnnotationTemplateId", 0, 1, IS_UNIQUE, - IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacyAnnotationEClass, ecorePackage.getEBoolean(), "validatePrivacyAnnotationClassCode", 0, 1, IS_UNIQUE, - IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacyAnnotationEClass, ecorePackage.getEBoolean(), "validatePrivacyAnnotationMoodCode", 0, 1, IS_UNIQUE, - IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacyAnnotationEClass, ecorePackage.getEBoolean(), "validatePrivacyAnnotationStatusCodeP", 0, 1, - IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacyAnnotationEClass, ecorePackage.getEBoolean(), "validatePrivacyAnnotationStatusCode", 0, 1, IS_UNIQUE, - IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacyAnnotationEClass, ecorePackage.getEBoolean(), - "validatePrivacyAnnotationObligationPolicySecurityObservation", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacyAnnotationEClass, ecorePackage.getEBoolean(), - "validatePrivacyAnnotationRefrainPolicySecurityObservation", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacyAnnotationEClass, ecorePackage.getEBoolean(), - "validatePrivacyAnnotationPurposeOfUseSecurityObservation", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacyAnnotationEClass, ecorePackage.getEBoolean(), - "validatePrivacyAnnotationConfidentialityCodeSecurityObservation", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - addEOperation(privacyAnnotationEClass, this.getObligationPolicySecurityObservation(), - "getObligationPolicySecurityObservations", 1, -1, IS_UNIQUE, !IS_ORDERED); - - addEOperation( - privacyAnnotationEClass, this.getRefrainPolicySecurityObservation(), "getRefrainPolicySecurityObservations", - 1, -1, IS_UNIQUE, !IS_ORDERED); - - addEOperation( - privacyAnnotationEClass, this.getPurposeOfUseSecurityObservation(), "getPurposeOfUseSecurityObservations", - 1, -1, IS_UNIQUE, !IS_ORDERED); - - addEOperation( - privacyAnnotationEClass, this.getConfidentialitySecurityObservation(), - "getConfidentialityCodeSecurityObservation", 1, 1, IS_UNIQUE, !IS_ORDERED); - - initEClass( - refrainPolicySecurityObservationEClass, RefrainPolicySecurityObservation.class, - "RefrainPolicySecurityObservation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(purposeOfUseSecurityObservationEClass, PurposeOfUseSecurityObservation.class, - "PurposeOfUseSecurityObservation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(confidentialitySecurityObservationEClass, ConfidentialitySecurityObservation.class, - "ConfidentialitySecurityObservation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(protectedProblemEClass, ProtectedProblem.class, "ProtectedProblem", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - - op = addEOperation( - protectedProblemEClass, ecorePackage.getEBoolean(), "validateProtectedProblemProblemProvenance", 0, 1, - IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - protectedProblemEClass, ecorePackage.getEBoolean(), "validateProtectedProblemPrivacyAnnotations", 0, 1, - IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - initEClass(mandatoryEntryProvenanceEClass, MandatoryEntryProvenance.class, "MandatoryEntryProvenance", - !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - op = addEOperation( - mandatoryEntryProvenanceEClass, ecorePackage.getEBoolean(), "validateMandatoryEntryProvenanceTemplateId", 0, - 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - mandatoryEntryProvenanceEClass, ecorePackage.getEBoolean(), "validateMandatoryEntryProvenanceTime", 0, 1, - IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - mandatoryEntryProvenanceEClass, ecorePackage.getEBoolean(), - "validateMandatoryEntryProvenanceAssignedAuthor", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - initEClass(mandatoryEntryAssignedAuthorEClass, MandatoryEntryAssignedAuthor.class, - "MandatoryEntryAssignedAuthor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - op = addEOperation( - mandatoryEntryAssignedAuthorEClass, ecorePackage.getEBoolean(), - "validateMandatoryEntryAssignedAuthorTemplateId", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - mandatoryEntryAssignedAuthorEClass, ecorePackage.getEBoolean(), - "validateMandatoryEntryAssignedAuthorAssignedAuthoringDevice", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - mandatoryEntryAssignedAuthorEClass, ecorePackage.getEBoolean(), - "validateMandatoryEntryAssignedAuthorAssignedPerson", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - mandatoryEntryAssignedAuthorEClass, ecorePackage.getEBoolean(), - "validateMandatoryEntryAssignedAuthorRepresentedOrganization", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - initEClass(privacyAnnotationEntryRelationshipEClass, PrivacyAnnotationEntryRelationship.class, - "PrivacyAnnotationEntryRelationship", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - op = addEOperation( - privacyAnnotationEntryRelationshipEClass, ecorePackage.getEBoolean(), - "validatePrivacyAnnotationEntryRelationshipTemplateId", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacyAnnotationEntryRelationshipEClass, ecorePackage.getEBoolean(), - "validatePrivacyAnnotationEntryRelationshipOrganizer", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - initEClass(privacyMarkingsEntryEClass, PrivacyMarkingsEntry.class, "PrivacyMarkingsEntry", !IS_ABSTRACT, - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - op = addEOperation( - privacyMarkingsEntryEClass, ecorePackage.getEBoolean(), "validatePrivacyMarkingsEntryTemplateId", 0, 1, - IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation( - privacyMarkingsEntryEClass, ecorePackage.getEBoolean(), "validatePrivacyMarkingsEntryOrganizer", 0, 1, - IS_UNIQUE, IS_ORDERED); - addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); - g1 = createEGenericType(ecorePackage.getEMap()); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - g2 = createEGenericType(ecorePackage.getEJavaObject()); - g1.getETypeArguments().add(g2); - addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); - - // Create resource - createResource(eNS_URI); - - // Create annotations - // http://www.eclipse.org/mdht/uml - createUmlAnnotations(); - // http://www.openhealthtools.org/mdht/uml/cda/annotation - createAnnotationAnnotations(); - // duplicates - createDuplicatesAnnotations(); - } + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + ConsolPackage theConsolPackage = (ConsolPackage)EPackage.Registry.INSTANCE.getEPackage(ConsolPackage.eNS_URI); + CDAPackage theCDAPackage = (CDAPackage)EPackage.Registry.INSTANCE.getEPackage(CDAPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + privacySegmentedDocumentEClass.getESuperTypes().add(theConsolPackage.getGeneralHeaderConstraints()); + privacySegmentedSectionEClass.getESuperTypes().add(theCDAPackage.getSection()); + privacyMarkingsSectionEClass.getESuperTypes().add(theCDAPackage.getSection()); + obligationPolicySecurityObservationEClass.getESuperTypes().add(this.getSecurityObservation()); + securityObservationEClass.getESuperTypes().add(theCDAPackage.getObservation()); + mandatoryDocumentProvenanceEClass.getESuperTypes().add(theCDAPackage.getAuthor()); + mandatoryDocumentAssignedAuthorEClass.getESuperTypes().add(theCDAPackage.getAssignedAuthor()); + privacyAnnotationEClass.getESuperTypes().add(theCDAPackage.getOrganizer()); + refrainPolicySecurityObservationEClass.getESuperTypes().add(this.getSecurityObservation()); + purposeOfUseSecurityObservationEClass.getESuperTypes().add(this.getSecurityObservation()); + confidentialitySecurityObservationEClass.getESuperTypes().add(this.getSecurityObservation()); + protectedProblemEClass.getESuperTypes().add(theConsolPackage.getProblemObservation()); + mandatoryEntryProvenanceEClass.getESuperTypes().add(theCDAPackage.getAuthor()); + mandatoryEntryAssignedAuthorEClass.getESuperTypes().add(theCDAPackage.getAssignedAuthor()); + privacyAnnotationEntryRelationshipEClass.getESuperTypes().add(theCDAPackage.getEntryRelationship()); + privacyMarkingsEntryEClass.getESuperTypes().add(theCDAPackage.getEntry()); + + // Initialize classes and features; add operations and parameters + initEClass(privacySegmentedDocumentEClass, PrivacySegmentedDocument.class, "PrivacySegmentedDocument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + EOperation op = addEOperation(privacySegmentedDocumentEClass, ecorePackage.getEBoolean(), "validatePrivacySegmentedDocumentTemplateId", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + EGenericType g1 = createEGenericType(ecorePackage.getEMap()); + EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacySegmentedDocumentEClass, ecorePackage.getEBoolean(), "validatePrivacySegmentedDocumentAuthor1", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacySegmentedDocumentEClass, ecorePackage.getEBoolean(), "validatePrivacySegmentedDocumentSegmentedSection", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacySegmentedDocumentEClass, ecorePackage.getEBoolean(), "validatePrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + addEOperation(privacySegmentedDocumentEClass, this.getPrivacySegmentedSection(), "getSegmentedSections", 1, -1, IS_UNIQUE, !IS_ORDERED); + + addEOperation(privacySegmentedDocumentEClass, this.getPrivacyMarkingsSection(), "getPrivacyAndSecurityMarkingsSections", 1, -1, IS_UNIQUE, !IS_ORDERED); + + initEClass(privacySegmentedSectionEClass, PrivacySegmentedSection.class, "PrivacySegmentedSection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + op = addEOperation(privacySegmentedSectionEClass, ecorePackage.getEBoolean(), "validatePrivacySegmentedSectionTemplateId", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacySegmentedSectionEClass, ecorePackage.getEBoolean(), "validatePrivacySegmentedSectionConfidentialityCode", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacySegmentedSectionEClass, ecorePackage.getEBoolean(), "validatePrivacySegmentedSectionConfidentialityCodeP", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacySegmentedSectionEClass, ecorePackage.getEBoolean(), "validatePrivacySegmentedSectionAuthor", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(privacyMarkingsSectionEClass, PrivacyMarkingsSection.class, "PrivacyMarkingsSection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + op = addEOperation(privacyMarkingsSectionEClass, ecorePackage.getEBoolean(), "validatePrivacyMarkingsSectionTemplateId", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacyMarkingsSectionEClass, ecorePackage.getEBoolean(), "validatePrivacyMarkingsSectionCode", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacyMarkingsSectionEClass, ecorePackage.getEBoolean(), "validatePrivacyMarkingsSectionCodeP", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacyMarkingsSectionEClass, ecorePackage.getEBoolean(), "validatePrivacyMarkingsSectionText", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacyMarkingsSectionEClass, ecorePackage.getEBoolean(), "validatePrivacyMarkingsSectionEntry1", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(obligationPolicySecurityObservationEClass, ObligationPolicySecurityObservation.class, "ObligationPolicySecurityObservation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(securityObservationEClass, SecurityObservation.class, "SecurityObservation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + op = addEOperation(securityObservationEClass, ecorePackage.getEBoolean(), "validateSecurityObservationTemplateId", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(securityObservationEClass, ecorePackage.getEBoolean(), "validateSecurityObservationMoodCode", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(securityObservationEClass, ecorePackage.getEBoolean(), "validateSecurityObservationCodeP", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(securityObservationEClass, ecorePackage.getEBoolean(), "validateSecurityObservationCode", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(securityObservationEClass, ecorePackage.getEBoolean(), "validateSecurityObservationValue", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(securityObservationEClass, ecorePackage.getEBoolean(), "validateSecurityObservationValueP", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(mandatoryDocumentProvenanceEClass, MandatoryDocumentProvenance.class, "MandatoryDocumentProvenance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + op = addEOperation(mandatoryDocumentProvenanceEClass, ecorePackage.getEBoolean(), "validateMandatoryDocumentProvenanceTemplateId", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(mandatoryDocumentProvenanceEClass, ecorePackage.getEBoolean(), "validateMandatoryDocumentProvenanceTime", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(mandatoryDocumentProvenanceEClass, ecorePackage.getEBoolean(), "validateMandatoryDocumentProvenanceAssignedAuthor", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(mandatoryDocumentAssignedAuthorEClass, MandatoryDocumentAssignedAuthor.class, "MandatoryDocumentAssignedAuthor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + op = addEOperation(mandatoryDocumentAssignedAuthorEClass, ecorePackage.getEBoolean(), "validateMandatoryDocumentAssignedAuthorTemplateId", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(mandatoryDocumentAssignedAuthorEClass, ecorePackage.getEBoolean(), "validateMandatoryDocumentAssignedAuthorTelecomEmail", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(mandatoryDocumentAssignedAuthorEClass, ecorePackage.getEBoolean(), "validateMandatoryDocumentAssignedAuthorAssignedAuthoringDevice", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(mandatoryDocumentAssignedAuthorEClass, ecorePackage.getEBoolean(), "validateMandatoryDocumentAssignedAuthorAssignedPerson", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(mandatoryDocumentAssignedAuthorEClass, ecorePackage.getEBoolean(), "validateMandatoryDocumentAssignedAuthorRepresentedOrganization", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(privacyAnnotationEClass, PrivacyAnnotation.class, "PrivacyAnnotation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + op = addEOperation(privacyAnnotationEClass, ecorePackage.getEBoolean(), "validatePrivacyAnnotationTemplateId", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacyAnnotationEClass, ecorePackage.getEBoolean(), "validatePrivacyAnnotationClassCode", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacyAnnotationEClass, ecorePackage.getEBoolean(), "validatePrivacyAnnotationMoodCode", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacyAnnotationEClass, ecorePackage.getEBoolean(), "validatePrivacyAnnotationStatusCodeP", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacyAnnotationEClass, ecorePackage.getEBoolean(), "validatePrivacyAnnotationStatusCode", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacyAnnotationEClass, ecorePackage.getEBoolean(), "validatePrivacyAnnotationObligationPolicySecurityObservation", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacyAnnotationEClass, ecorePackage.getEBoolean(), "validatePrivacyAnnotationRefrainPolicySecurityObservation", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacyAnnotationEClass, ecorePackage.getEBoolean(), "validatePrivacyAnnotationPurposeOfUseSecurityObservation", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacyAnnotationEClass, ecorePackage.getEBoolean(), "validatePrivacyAnnotationConfidentialityCodeSecurityObservation", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + addEOperation(privacyAnnotationEClass, this.getObligationPolicySecurityObservation(), "getObligationPolicySecurityObservations", 1, -1, IS_UNIQUE, !IS_ORDERED); + + addEOperation(privacyAnnotationEClass, this.getRefrainPolicySecurityObservation(), "getRefrainPolicySecurityObservations", 1, -1, IS_UNIQUE, !IS_ORDERED); + + addEOperation(privacyAnnotationEClass, this.getPurposeOfUseSecurityObservation(), "getPurposeOfUseSecurityObservations", 1, -1, IS_UNIQUE, !IS_ORDERED); + + addEOperation(privacyAnnotationEClass, this.getConfidentialitySecurityObservation(), "getConfidentialityCodeSecurityObservation", 1, 1, IS_UNIQUE, !IS_ORDERED); + + initEClass(refrainPolicySecurityObservationEClass, RefrainPolicySecurityObservation.class, "RefrainPolicySecurityObservation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(purposeOfUseSecurityObservationEClass, PurposeOfUseSecurityObservation.class, "PurposeOfUseSecurityObservation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(confidentialitySecurityObservationEClass, ConfidentialitySecurityObservation.class, "ConfidentialitySecurityObservation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(protectedProblemEClass, ProtectedProblem.class, "ProtectedProblem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + op = addEOperation(protectedProblemEClass, ecorePackage.getEBoolean(), "validateProtectedProblemProblemProvenance", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(protectedProblemEClass, ecorePackage.getEBoolean(), "validateProtectedProblemPrivacyAnnotations", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(mandatoryEntryProvenanceEClass, MandatoryEntryProvenance.class, "MandatoryEntryProvenance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + op = addEOperation(mandatoryEntryProvenanceEClass, ecorePackage.getEBoolean(), "validateMandatoryEntryProvenanceTemplateId", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(mandatoryEntryProvenanceEClass, ecorePackage.getEBoolean(), "validateMandatoryEntryProvenanceTime", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(mandatoryEntryProvenanceEClass, ecorePackage.getEBoolean(), "validateMandatoryEntryProvenanceAssignedAuthor", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(mandatoryEntryAssignedAuthorEClass, MandatoryEntryAssignedAuthor.class, "MandatoryEntryAssignedAuthor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + op = addEOperation(mandatoryEntryAssignedAuthorEClass, ecorePackage.getEBoolean(), "validateMandatoryEntryAssignedAuthorTemplateId", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(mandatoryEntryAssignedAuthorEClass, ecorePackage.getEBoolean(), "validateMandatoryEntryAssignedAuthorAssignedAuthoringDevice", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(mandatoryEntryAssignedAuthorEClass, ecorePackage.getEBoolean(), "validateMandatoryEntryAssignedAuthorAssignedPerson", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(mandatoryEntryAssignedAuthorEClass, ecorePackage.getEBoolean(), "validateMandatoryEntryAssignedAuthorRepresentedOrganization", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(privacyAnnotationEntryRelationshipEClass, PrivacyAnnotationEntryRelationship.class, "PrivacyAnnotationEntryRelationship", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + op = addEOperation(privacyAnnotationEntryRelationshipEClass, ecorePackage.getEBoolean(), "validatePrivacyAnnotationEntryRelationshipTemplateId", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacyAnnotationEntryRelationshipEClass, ecorePackage.getEBoolean(), "validatePrivacyAnnotationEntryRelationshipOrganizer", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(privacyMarkingsEntryEClass, PrivacyMarkingsEntry.class, "PrivacyMarkingsEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + op = addEOperation(privacyMarkingsEntryEClass, ecorePackage.getEBoolean(), "validatePrivacyMarkingsEntryTemplateId", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + op = addEOperation(privacyMarkingsEntryEClass, ecorePackage.getEBoolean(), "validatePrivacyMarkingsEntryOrganizer", 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); + + // Create resource + createResource(eNS_URI); + + // Create annotations + // http://www.eclipse.org/mdht/uml + createUmlAnnotations(); + // http://www.openhealthtools.org/mdht/uml/cda/annotation + createAnnotationAnnotations(); + // duplicates + createDuplicatesAnnotations(); + } /** - * Initializes the annotations for http://www.eclipse.org/mdht/uml. - * + * Initializes the annotations for http://www.eclipse.org/mdht/uml. + * * - * @generated - */ + * @generated + */ protected void createUmlAnnotations() { - String source = "http://www.eclipse.org/mdht/uml"; - addAnnotation(this, source, new String[] { "initializers", "org.hl7.security.ds4p.contentprofile" }); - } + String source = "http://www.eclipse.org/mdht/uml"; + addAnnotation + (this, + source, + new String[] { + "initializers", "org.hl7.security.ds4p.contentprofile" + }); + } /** - * Initializes the annotations for http://www.openhealthtools.org/mdht/uml/cda/annotation. - * + * Initializes the annotations for http://www.openhealthtools.org/mdht/uml/cda/annotation. + * * - * @generated - */ + * @generated + */ protected void createAnnotationAnnotations() { - String source = "http://www.openhealthtools.org/mdht/uml/cda/annotation"; - addAnnotation( - privacySegmentedDocumentEClass, source, - new String[] { - "constraints.validation.error", - "PrivacySegmentedDocumentTemplateId PrivacySegmentedDocumentAuthor1", "templateId.root", - "2.16.840.1.113883.3.3251.1.1", "constraints.validation.info", - "PrivacySegmentedDocumentSegmentedSection", "constraints.validation.warning", - "PrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection" }); - addAnnotation( - privacySegmentedSectionEClass, source, - new String[] { - "constraints.validation.error", - "PrivacySegmentedSectionTemplateId PrivacySegmentedSectionConfidentialityCode", "templateId.root", - "2.16.840.1.113883.3.3251.1.10", "confidentialityCode.codeSystem", "2.16.840.1.113883.5.25", - "confidentialityCode.codeSystemName", "ConfidentialityCode", "constraints.validation.warning", - "PrivacySegmentedSectionConfidentialityCodeP PrivacySegmentedSectionAuthor" }); - addAnnotation( - privacyMarkingsSectionEClass, source, - new String[] { - "constraints.validation.error", - "PrivacyMarkingsSectionTemplateId PrivacyMarkingsSectionCodeP PrivacyMarkingsSectionText", - "templateId.root", "2.16.840.1.113883.3.3251.1.5", "code.code", "57017-6", "code.codeSystem", - "2.16.840.1.113883.6.1", "code.codeSystemName", "LOINC", "code.displayName", "Privacy Policy", - "constraints.validation.warning", "PrivacyMarkingsSectionCode", "constraints.validation.info", - "PrivacyMarkingsSectionEntry1" }); - addAnnotation( - obligationPolicySecurityObservationEClass, source, - new String[] { - "constraints.validation.error", - "SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValueP", - "templateId.root", "2.16.840.1.113883.3.445.14", "code.code", "SECCONOBS", "code.codeSystem", - "2.16.840.1.113883.1.11.20457", "code.codeSystemName", "SecurityObservationTypeCodeSystem", - "code.displayName", "Security Control", "constraints.validation.dependOn.SecurityObservationCode", - "SecurityObservationCodeP", "value.codeSystem", "2.16.840.1.113883.1.11.20471", - "value.codeSystemName", "SecurityControlObservationValue", "constraints.validation.warning", - "SecurityObservationValue", "constraints.validation.dependOn.SecurityObservationValue", - "SecurityObservationValueP" }); - addAnnotation( - securityObservationEClass, source, - new String[] { - "constraints.validation.error", - "SecurityObservationTemplateId SecurityObservationMoodCode SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP", - "templateId.root", "2.16.840.1.113883.3.445.21", "moodCode", "EVN", "code.codeSystem", - "2.16.840.1.113883.1.11.20457", "code.codeSystemName", "SecurityObservationTypeCodeSystem", - "constraints.validation.dependOn.SecurityObservationCode", "SecurityObservationCodeP", - "value.codeSystem", "2.16.840.1.113883.5.1063", "value.codeSystemName", - "SecurityObservationValueCodeSystem" }); - addAnnotation( - mandatoryDocumentProvenanceEClass, source, - new String[] { - "constraints.validation.error", - "MandatoryDocumentProvenanceTemplateId MandatoryDocumentProvenanceTime MandatoryDocumentProvenanceAssignedAuthor", - "templateId.root", "2.16.840.1.113883.3.3251.1.2" }); - addAnnotation( - mandatoryDocumentAssignedAuthorEClass, source, - new String[] { - "constraints.validation.error", - "MandatoryDocumentAssignedAuthorTemplateId MandatoryDocumentAssignedAuthorTelecomEmail", - "templateId.root", "2.16.840.1.113883.3.3251.1.3", "constraints.validation.warning", - "MandatoryDocumentAssignedAuthorAssignedAuthoringDevice MandatoryDocumentAssignedAuthorAssignedPerson MandatoryDocumentAssignedAuthorRepresentedOrganization" }); - addAnnotation( - privacyAnnotationEClass, source, - new String[] { - "constraints.validation.error", - "PrivacyAnnotationTemplateId PrivacyAnnotationClassCode PrivacyAnnotationMoodCode PrivacyAnnotationStatusCode PrivacyAnnotationStatusCodeP PrivacyAnnotationConfidentialityCodeSecurityObservation", - "templateId.root", "2.16.840.1.113883.3.3251.1.4", "classCode", "CLUSTER", "moodCode", "EVN", - "statusCode.code", "active", "constraints.validation.dependOn.PrivacyAnnotationStatusCode", - "PrivacyAnnotationStatusCodeP", "constraints.validation.info", - "PrivacyAnnotationObligationPolicySecurityObservation PrivacyAnnotationRefrainPolicySecurityObservation PrivacyAnnotationPurposeOfUseSecurityObservation" }); - addAnnotation( - refrainPolicySecurityObservationEClass, source, - new String[] { - "constraints.validation.error", - "SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP", - "templateId.root", "2.16.840.1.113883.3.445.23", "code.code", "SECCONOBS", "code.codeSystem", - "2.16.840.1.113883.1.11.20457", "code.codeSystemName", "SecurityObservationTypeCodeSystem", - "code.displayName", "Security Control Observation Type", - "constraints.validation.dependOn.SecurityObservationCode", "SecurityObservationCodeP", - "value.codeSystem", "2.16.840.1.113883.1.11.20471", "value.codeSystemName", - "SecurityControlObservationValue", "constraints.validation.dependOn.SecurityObservationValue", - "SecurityObservationValueP" }); - addAnnotation( - purposeOfUseSecurityObservationEClass, source, - new String[] { - "constraints.validation.error", - "SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP", - "templateId.root", "2.16.840.1.113883.3.445.22", "code.code", "SECCONOBS", "code.codeSystem", - "2.16.840.1.113883.1.11.20457", "code.codeSystemName", "SecurityObservationTypeCodeSystem", - "code.displayName", "Security Control", "constraints.validation.dependOn.SecurityObservationCode", - "SecurityObservationCodeP", "value.codeSystem", "2.16.840.1.113883.5.8", "value.codeSystemName", - "ActReason", "constraints.validation.dependOn.SecurityObservationValue", - "SecurityObservationValueP" }); - addAnnotation( - confidentialitySecurityObservationEClass, source, - new String[] { - "constraints.validation.error", - "SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue", - "templateId.root", "2.16.840.1.113883.3.445.12", "code.code", "SECCLASSOBS", "code.codeSystem", - "2.16.840.1.113883.1.11.20471", "code.codeSystemName", "SecurityControlObservationValue", - "code.displayName", "Security Category", "constraints.validation.dependOn.SecurityObservationCode", - "SecurityObservationCodeP" }); - addAnnotation( - protectedProblemEClass, source, - new String[] { - "constraints.validation.error", - "ProblemObservationTemplateId ProtectedProblemProblemProvenance ProtectedProblemPrivacyAnnotations", - "templateId.root", "2.16.840.1.113883.3.3251.1.8" }); - addAnnotation( - mandatoryEntryProvenanceEClass, source, - new String[] { - "constraints.validation.error", - "MandatoryEntryProvenanceTemplateId MandatoryEntryProvenanceTime MandatoryEntryProvenanceAssignedAuthor", - "templateId.root", "2.16.840.1.113883.3.3251.1.6" }); - addAnnotation( - mandatoryEntryAssignedAuthorEClass, source, - new String[] { - "constraints.validation.error", - "MandatoryEntryAssignedAuthorTemplateId MandatoryEntryAssignedAuthorAssignedAuthoringDevice MandatoryEntryAssignedAuthorAssignedPerson MandatoryEntryAssignedAuthorRepresentedOrganization", - "templateId.root", "2.16.840.1.113883.3.3251.1.7" }); - addAnnotation( - privacyAnnotationEntryRelationshipEClass, source, - new String[] { - "constraints.validation.error", - "PrivacyAnnotationEntryRelationshipTemplateId PrivacyAnnotationEntryRelationshipOrganizer", - "templateId.root", "2.16.840.1.113883.3.3251.1.11" }); - addAnnotation( - privacyMarkingsEntryEClass, source, - new String[] { - "constraints.validation.error", "PrivacyMarkingsEntryTemplateId PrivacyMarkingsEntryOrganizer", - "templateId.root", "2.16.840.1.113883.3.3251.1.9" }); - } + String source = "http://www.openhealthtools.org/mdht/uml/cda/annotation"; + addAnnotation + (privacySegmentedDocumentEClass, + source, + new String[] { + "constraints.validation.error", "PrivacySegmentedDocumentTemplateId PrivacySegmentedDocumentAuthor1", + "templateId.root", "2.16.840.1.113883.3.3251.1.1", + "constraints.validation.info", "PrivacySegmentedDocumentSegmentedSection", + "constraints.validation.warning", "PrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection" + }); + addAnnotation + (privacySegmentedSectionEClass, + source, + new String[] { + "constraints.validation.error", "PrivacySegmentedSectionTemplateId PrivacySegmentedSectionConfidentialityCode", + "templateId.root", "2.16.840.1.113883.3.3251.1.10", + "confidentialityCode.codeSystem", "2.16.840.1.113883.5.25", + "confidentialityCode.codeSystemName", "ConfidentialityCode", + "constraints.validation.warning", "PrivacySegmentedSectionConfidentialityCodeP PrivacySegmentedSectionAuthor" + }); + addAnnotation + (privacyMarkingsSectionEClass, + source, + new String[] { + "constraints.validation.error", "PrivacyMarkingsSectionTemplateId PrivacyMarkingsSectionCodeP PrivacyMarkingsSectionText", + "templateId.root", "2.16.840.1.113883.3.3251.1.5", + "code.code", "57017-6", + "code.codeSystem", "2.16.840.1.113883.6.1", + "code.codeSystemName", "LOINC", + "code.displayName", "Privacy Policy", + "constraints.validation.warning", "PrivacyMarkingsSectionCode", + "constraints.validation.info", "PrivacyMarkingsSectionEntry1" + }); + addAnnotation + (obligationPolicySecurityObservationEClass, + source, + new String[] { + "constraints.validation.error", "SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValueP", + "templateId.root", "2.16.840.1.113883.3.445.14", + "code.code", "SECCONOBS", + "code.codeSystem", "2.16.840.1.113883.1.11.20457", + "code.codeSystemName", "SecurityObservationTypeCodeSystem", + "code.displayName", "Security Control", + "constraints.validation.dependOn.SecurityObservationCode", "SecurityObservationCodeP", + "value.codeSystem", "2.16.840.1.113883.5.1063", + "value.codeSystemName", "SecurityObservationValueCodeSystem", + "constraints.validation.warning", "SecurityObservationValue", + "constraints.validation.dependOn.SecurityObservationValue", "SecurityObservationValueP" + }); + addAnnotation + (securityObservationEClass, + source, + new String[] { + "constraints.validation.error", "SecurityObservationTemplateId SecurityObservationMoodCode SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP", + "templateId.root", "2.16.840.1.113883.3.445.21", + "moodCode", "EVN", + "code.codeSystem", "2.16.840.1.113883.1.11.20457", + "code.codeSystemName", "SecurityObservationTypeCodeSystem", + "constraints.validation.dependOn.SecurityObservationCode", "SecurityObservationCodeP", + "value.codeSystem", "2.16.840.1.113883.5.1063", + "value.codeSystemName", "SecurityObservationValueCodeSystem" + }); + addAnnotation + (mandatoryDocumentProvenanceEClass, + source, + new String[] { + "constraints.validation.error", "MandatoryDocumentProvenanceTemplateId MandatoryDocumentProvenanceTime MandatoryDocumentProvenanceAssignedAuthor", + "templateId.root", "2.16.840.1.113883.3.3251.1.2" + }); + addAnnotation + (mandatoryDocumentAssignedAuthorEClass, + source, + new String[] { + "constraints.validation.error", "MandatoryDocumentAssignedAuthorTemplateId MandatoryDocumentAssignedAuthorTelecomEmail", + "templateId.root", "2.16.840.1.113883.3.3251.1.3", + "constraints.validation.warning", "MandatoryDocumentAssignedAuthorAssignedAuthoringDevice MandatoryDocumentAssignedAuthorAssignedPerson MandatoryDocumentAssignedAuthorRepresentedOrganization" + }); + addAnnotation + (privacyAnnotationEClass, + source, + new String[] { + "constraints.validation.error", "PrivacyAnnotationTemplateId PrivacyAnnotationClassCode PrivacyAnnotationMoodCode PrivacyAnnotationStatusCode PrivacyAnnotationStatusCodeP PrivacyAnnotationConfidentialityCodeSecurityObservation", + "templateId.root", "2.16.840.1.113883.3.3251.1.4", + "classCode", "CLUSTER", + "moodCode", "EVN", + "statusCode.code", "active", + "constraints.validation.dependOn.PrivacyAnnotationStatusCode", "PrivacyAnnotationStatusCodeP", + "constraints.validation.info", "PrivacyAnnotationObligationPolicySecurityObservation PrivacyAnnotationRefrainPolicySecurityObservation PrivacyAnnotationPurposeOfUseSecurityObservation" + }); + addAnnotation + (refrainPolicySecurityObservationEClass, + source, + new String[] { + "constraints.validation.error", "SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP", + "templateId.root", "2.16.840.1.113883.3.445.23", + "code.code", "SECCONOBS", + "code.codeSystem", "2.16.840.1.113883.1.11.20457", + "code.codeSystemName", "SecurityObservationTypeCodeSystem", + "code.displayName", "Security Control Observation Type", + "constraints.validation.dependOn.SecurityObservationCode", "SecurityObservationCodeP", + "value.codeSystem", "2.16.840.1.113883.5.1063", + "value.codeSystemName", "SecurityObservationValueCodeSystem", + "constraints.validation.dependOn.SecurityObservationValue", "SecurityObservationValueP" + }); + addAnnotation + (purposeOfUseSecurityObservationEClass, + source, + new String[] { + "constraints.validation.error", "SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP", + "templateId.root", "2.16.840.1.113883.3.445.22", + "code.code", "SECCONOBS", + "code.codeSystem", "2.16.840.1.113883.1.11.20457", + "code.codeSystemName", "SecurityObservationTypeCodeSystem", + "code.displayName", "Security Control", + "constraints.validation.dependOn.SecurityObservationCode", "SecurityObservationCodeP", + "value.codeSystem", "2.16.840.1.113883.5.1063", + "value.codeSystemName", "SecurityObservationValueCodeSystem", + "constraints.validation.dependOn.SecurityObservationValue", "SecurityObservationValueP" + }); + addAnnotation + (confidentialitySecurityObservationEClass, + source, + new String[] { + "constraints.validation.error", "SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue", + "templateId.root", "2.16.840.1.113883.3.445.12", + "code.code", "SECCLASSOBS", + "code.codeSystem", "2.16.840.1.113883.1.11.20471", + "code.codeSystemName", "SecurityControlObservationValue", + "code.displayName", "Security Category", + "constraints.validation.dependOn.SecurityObservationCode", "SecurityObservationCodeP" + }); + addAnnotation + (protectedProblemEClass, + source, + new String[] { + "constraints.validation.error", "ProblemObservationTemplateId ProtectedProblemProblemProvenance ProtectedProblemPrivacyAnnotations", + "templateId.root", "2.16.840.1.113883.3.3251.1.8" + }); + addAnnotation + (mandatoryEntryProvenanceEClass, + source, + new String[] { + "constraints.validation.error", "MandatoryEntryProvenanceTemplateId MandatoryEntryProvenanceTime MandatoryEntryProvenanceAssignedAuthor", + "templateId.root", "2.16.840.1.113883.3.3251.1.6" + }); + addAnnotation + (mandatoryEntryAssignedAuthorEClass, + source, + new String[] { + "constraints.validation.error", "MandatoryEntryAssignedAuthorTemplateId MandatoryEntryAssignedAuthorAssignedAuthoringDevice MandatoryEntryAssignedAuthorAssignedPerson MandatoryEntryAssignedAuthorRepresentedOrganization", + "templateId.root", "2.16.840.1.113883.3.3251.1.7" + }); + addAnnotation + (privacyAnnotationEntryRelationshipEClass, + source, + new String[] { + "constraints.validation.error", "PrivacyAnnotationEntryRelationshipTemplateId PrivacyAnnotationEntryRelationshipOrganizer", + "templateId.root", "2.16.840.1.113883.3.3251.1.11" + }); + addAnnotation + (privacyMarkingsEntryEClass, + source, + new String[] { + "constraints.validation.error", "PrivacyMarkingsEntryTemplateId PrivacyMarkingsEntryOrganizer", + "templateId.root", "2.16.840.1.113883.3.3251.1.9" + }); + } /** - * Initializes the annotations for duplicates. - * + * Initializes the annotations for duplicates. + * * - * @generated - */ + * @generated + */ protected void createDuplicatesAnnotations() { - String source = "duplicates"; - addAnnotation(obligationPolicySecurityObservationEClass, source, new String[] {}); - addAnnotation(refrainPolicySecurityObservationEClass, source, new String[] {}); - addAnnotation(purposeOfUseSecurityObservationEClass, source, new String[] {}); - addAnnotation(confidentialitySecurityObservationEClass, source, new String[] {}); - addAnnotation(protectedProblemEClass, source, new String[] {}); - } + String source = "duplicates"; + addAnnotation + (obligationPolicySecurityObservationEClass, + source, + new String[] { + }); + addAnnotation + (refrainPolicySecurityObservationEClass, + source, + new String[] { + }); + addAnnotation + (purposeOfUseSecurityObservationEClass, + source, + new String[] { + }); + addAnnotation + (confidentialitySecurityObservationEClass, + source, + new String[] { + }); + addAnnotation + (protectedProblemEClass, + source, + new String[] { + }); + } } // CONTENTPROFILEPackageImpl diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/ConfidentialitySecurityObservationImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/ConfidentialitySecurityObservationImpl.java index ce86e55b31..26ffd7744c 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/ConfidentialitySecurityObservationImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/ConfidentialitySecurityObservationImpl.java @@ -3,19 +3,14 @@ package org.hl7.security.ds4p.contentprofile.impl; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation; - import org.hl7.security.ds4p.contentprofile.operations.ConfidentialitySecurityObservationOperations; /** @@ -53,8 +48,7 @@ protected EClass eStaticClass() { */ @Override public boolean validateSecurityObservationTemplateId(DiagnosticChain diagnostics, Map context) { - return ConfidentialitySecurityObservationOperations.validateSecurityObservationTemplateId( - this, diagnostics, context); + return ConfidentialitySecurityObservationOperations.validateSecurityObservationTemplateId(this, diagnostics, context); } /** @@ -64,8 +58,7 @@ public boolean validateSecurityObservationTemplateId(DiagnosticChain diagnostics */ @Override public boolean validateSecurityObservationCodeP(DiagnosticChain diagnostics, Map context) { - return ConfidentialitySecurityObservationOperations.validateSecurityObservationCodeP( - this, diagnostics, context); + return ConfidentialitySecurityObservationOperations.validateSecurityObservationCodeP(this, diagnostics, context); } /** @@ -85,8 +78,7 @@ public boolean validateSecurityObservationCode(DiagnosticChain diagnostics, Map< */ @Override public boolean validateSecurityObservationValue(DiagnosticChain diagnostics, Map context) { - return ConfidentialitySecurityObservationOperations.validateSecurityObservationValue( - this, diagnostics, context); + return ConfidentialitySecurityObservationOperations.validateSecurityObservationValue(this, diagnostics, context); } /** @@ -96,17 +88,17 @@ public boolean validateSecurityObservationValue(DiagnosticChain diagnostics, Map */ @Override public ConfidentialitySecurityObservation init() { - return Initializer.Util.init(this); + return Initializer.Util.init(this); } /** - * + * * - * @generated - */ + * @generated + */ @Override public ConfidentialitySecurityObservation init(Iterable> initializers) { - Initializer.Util.init(this, initializers); - return this; - } + Initializer.Util.init(this, initializers); + return this; + } } // ConfidentialitySecurityObservationImpl diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/MandatoryDocumentAssignedAuthorImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/MandatoryDocumentAssignedAuthorImpl.java index e9b127a707..0229406bbf 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/MandatoryDocumentAssignedAuthorImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/MandatoryDocumentAssignedAuthorImpl.java @@ -3,20 +3,15 @@ package org.hl7.security.ds4p.contentprofile.impl; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.impl.AssignedAuthorImpl; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.MandatoryDocumentAssignedAuthor; - import org.hl7.security.ds4p.contentprofile.operations.MandatoryDocumentAssignedAuthorOperations; /** @@ -54,8 +49,7 @@ protected EClass eStaticClass() { @Override public boolean validateMandatoryDocumentAssignedAuthorTemplateId(DiagnosticChain diagnostics, Map context) { - return MandatoryDocumentAssignedAuthorOperations.validateMandatoryDocumentAssignedAuthorTemplateId( - this, diagnostics, context); + return MandatoryDocumentAssignedAuthorOperations.validateMandatoryDocumentAssignedAuthorTemplateId(this, diagnostics, context); } /** @@ -66,8 +60,7 @@ public boolean validateMandatoryDocumentAssignedAuthorTemplateId(DiagnosticChain @Override public boolean validateMandatoryDocumentAssignedAuthorTelecomEmail(DiagnosticChain diagnostics, Map context) { - return MandatoryDocumentAssignedAuthorOperations.validateMandatoryDocumentAssignedAuthorTelecomEmail( - this, diagnostics, context); + return MandatoryDocumentAssignedAuthorOperations.validateMandatoryDocumentAssignedAuthorTelecomEmail(this, diagnostics, context); } /** @@ -78,8 +71,7 @@ public boolean validateMandatoryDocumentAssignedAuthorTelecomEmail(DiagnosticCha @Override public boolean validateMandatoryDocumentAssignedAuthorAssignedAuthoringDevice(DiagnosticChain diagnostics, Map context) { - return MandatoryDocumentAssignedAuthorOperations.validateMandatoryDocumentAssignedAuthorAssignedAuthoringDevice( - this, diagnostics, context); + return MandatoryDocumentAssignedAuthorOperations.validateMandatoryDocumentAssignedAuthorAssignedAuthoringDevice(this, diagnostics, context); } /** @@ -90,8 +82,7 @@ public boolean validateMandatoryDocumentAssignedAuthorAssignedAuthoringDevice(Di @Override public boolean validateMandatoryDocumentAssignedAuthorAssignedPerson(DiagnosticChain diagnostics, Map context) { - return MandatoryDocumentAssignedAuthorOperations.validateMandatoryDocumentAssignedAuthorAssignedPerson( - this, diagnostics, context); + return MandatoryDocumentAssignedAuthorOperations.validateMandatoryDocumentAssignedAuthorAssignedPerson(this, diagnostics, context); } /** @@ -102,8 +93,7 @@ public boolean validateMandatoryDocumentAssignedAuthorAssignedPerson(DiagnosticC @Override public boolean validateMandatoryDocumentAssignedAuthorRepresentedOrganization(DiagnosticChain diagnostics, Map context) { - return MandatoryDocumentAssignedAuthorOperations.validateMandatoryDocumentAssignedAuthorRepresentedOrganization( - this, diagnostics, context); + return MandatoryDocumentAssignedAuthorOperations.validateMandatoryDocumentAssignedAuthorRepresentedOrganization(this, diagnostics, context); } /** @@ -112,16 +102,16 @@ public boolean validateMandatoryDocumentAssignedAuthorRepresentedOrganization(Di * @generated */ public MandatoryDocumentAssignedAuthor init() { - return Initializer.Util.init(this); + return Initializer.Util.init(this); } /** - * + * * - * @generated - */ + * @generated + */ public MandatoryDocumentAssignedAuthor init(Iterable> initializers) { - Initializer.Util.init(this, initializers); - return this; - } + Initializer.Util.init(this, initializers); + return this; + } } // MandatoryDocumentAssignedAuthorImpl diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/MandatoryDocumentProvenanceImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/MandatoryDocumentProvenanceImpl.java index 94f4c8f2db..4d82d53c4b 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/MandatoryDocumentProvenanceImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/MandatoryDocumentProvenanceImpl.java @@ -3,20 +3,15 @@ package org.hl7.security.ds4p.contentprofile.impl; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.impl.AuthorImpl; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.MandatoryDocumentProvenance; - import org.hl7.security.ds4p.contentprofile.operations.MandatoryDocumentProvenanceOperations; /** @@ -54,8 +49,7 @@ protected EClass eStaticClass() { @Override public boolean validateMandatoryDocumentProvenanceTemplateId(DiagnosticChain diagnostics, Map context) { - return MandatoryDocumentProvenanceOperations.validateMandatoryDocumentProvenanceTemplateId( - this, diagnostics, context); + return MandatoryDocumentProvenanceOperations.validateMandatoryDocumentProvenanceTemplateId(this, diagnostics, context); } /** @@ -65,8 +59,7 @@ public boolean validateMandatoryDocumentProvenanceTemplateId(DiagnosticChain dia */ @Override public boolean validateMandatoryDocumentProvenanceTime(DiagnosticChain diagnostics, Map context) { - return MandatoryDocumentProvenanceOperations.validateMandatoryDocumentProvenanceTime( - this, diagnostics, context); + return MandatoryDocumentProvenanceOperations.validateMandatoryDocumentProvenanceTime(this, diagnostics, context); } /** @@ -77,8 +70,7 @@ public boolean validateMandatoryDocumentProvenanceTime(DiagnosticChain diagnosti @Override public boolean validateMandatoryDocumentProvenanceAssignedAuthor(DiagnosticChain diagnostics, Map context) { - return MandatoryDocumentProvenanceOperations.validateMandatoryDocumentProvenanceAssignedAuthor( - this, diagnostics, context); + return MandatoryDocumentProvenanceOperations.validateMandatoryDocumentProvenanceAssignedAuthor(this, diagnostics, context); } /** @@ -87,16 +79,16 @@ public boolean validateMandatoryDocumentProvenanceAssignedAuthor(DiagnosticChain * @generated */ public MandatoryDocumentProvenance init() { - return Initializer.Util.init(this); + return Initializer.Util.init(this); } /** - * + * * - * @generated - */ + * @generated + */ public MandatoryDocumentProvenance init(Iterable> initializers) { - Initializer.Util.init(this, initializers); - return this; - } + Initializer.Util.init(this, initializers); + return this; + } } // MandatoryDocumentProvenanceImpl diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/MandatoryEntryAssignedAuthorImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/MandatoryEntryAssignedAuthorImpl.java index 6acc35ee42..4981d85b54 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/MandatoryEntryAssignedAuthorImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/MandatoryEntryAssignedAuthorImpl.java @@ -3,20 +3,15 @@ package org.hl7.security.ds4p.contentprofile.impl; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.impl.AssignedAuthorImpl; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.MandatoryEntryAssignedAuthor; - import org.hl7.security.ds4p.contentprofile.operations.MandatoryEntryAssignedAuthorOperations; /** @@ -54,8 +49,7 @@ protected EClass eStaticClass() { @Override public boolean validateMandatoryEntryAssignedAuthorTemplateId(DiagnosticChain diagnostics, Map context) { - return MandatoryEntryAssignedAuthorOperations.validateMandatoryEntryAssignedAuthorTemplateId( - this, diagnostics, context); + return MandatoryEntryAssignedAuthorOperations.validateMandatoryEntryAssignedAuthorTemplateId(this, diagnostics, context); } /** @@ -66,8 +60,7 @@ public boolean validateMandatoryEntryAssignedAuthorTemplateId(DiagnosticChain di @Override public boolean validateMandatoryEntryAssignedAuthorAssignedAuthoringDevice(DiagnosticChain diagnostics, Map context) { - return MandatoryEntryAssignedAuthorOperations.validateMandatoryEntryAssignedAuthorAssignedAuthoringDevice( - this, diagnostics, context); + return MandatoryEntryAssignedAuthorOperations.validateMandatoryEntryAssignedAuthorAssignedAuthoringDevice(this, diagnostics, context); } /** @@ -78,8 +71,7 @@ public boolean validateMandatoryEntryAssignedAuthorAssignedAuthoringDevice(Diagn @Override public boolean validateMandatoryEntryAssignedAuthorAssignedPerson(DiagnosticChain diagnostics, Map context) { - return MandatoryEntryAssignedAuthorOperations.validateMandatoryEntryAssignedAuthorAssignedPerson( - this, diagnostics, context); + return MandatoryEntryAssignedAuthorOperations.validateMandatoryEntryAssignedAuthorAssignedPerson(this, diagnostics, context); } /** @@ -90,8 +82,7 @@ public boolean validateMandatoryEntryAssignedAuthorAssignedPerson(DiagnosticChai @Override public boolean validateMandatoryEntryAssignedAuthorRepresentedOrganization(DiagnosticChain diagnostics, Map context) { - return MandatoryEntryAssignedAuthorOperations.validateMandatoryEntryAssignedAuthorRepresentedOrganization( - this, diagnostics, context); + return MandatoryEntryAssignedAuthorOperations.validateMandatoryEntryAssignedAuthorRepresentedOrganization(this, diagnostics, context); } /** @@ -100,16 +91,16 @@ public boolean validateMandatoryEntryAssignedAuthorRepresentedOrganization(Diagn * @generated */ public MandatoryEntryAssignedAuthor init() { - return Initializer.Util.init(this); + return Initializer.Util.init(this); } /** - * + * * - * @generated - */ + * @generated + */ public MandatoryEntryAssignedAuthor init(Iterable> initializers) { - Initializer.Util.init(this, initializers); - return this; - } + Initializer.Util.init(this, initializers); + return this; + } } // MandatoryEntryAssignedAuthorImpl diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/MandatoryEntryProvenanceImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/MandatoryEntryProvenanceImpl.java index 8f0a27cdc9..aa7dbf7037 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/MandatoryEntryProvenanceImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/MandatoryEntryProvenanceImpl.java @@ -3,20 +3,15 @@ package org.hl7.security.ds4p.contentprofile.impl; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.impl.AuthorImpl; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.MandatoryEntryProvenance; - import org.hl7.security.ds4p.contentprofile.operations.MandatoryEntryProvenanceOperations; /** @@ -54,8 +49,7 @@ protected EClass eStaticClass() { @Override public boolean validateMandatoryEntryProvenanceTemplateId(DiagnosticChain diagnostics, Map context) { - return MandatoryEntryProvenanceOperations.validateMandatoryEntryProvenanceTemplateId( - this, diagnostics, context); + return MandatoryEntryProvenanceOperations.validateMandatoryEntryProvenanceTemplateId(this, diagnostics, context); } /** @@ -76,8 +70,7 @@ public boolean validateMandatoryEntryProvenanceTime(DiagnosticChain diagnostics, @Override public boolean validateMandatoryEntryProvenanceAssignedAuthor(DiagnosticChain diagnostics, Map context) { - return MandatoryEntryProvenanceOperations.validateMandatoryEntryProvenanceAssignedAuthor( - this, diagnostics, context); + return MandatoryEntryProvenanceOperations.validateMandatoryEntryProvenanceAssignedAuthor(this, diagnostics, context); } /** @@ -86,16 +79,16 @@ public boolean validateMandatoryEntryProvenanceAssignedAuthor(DiagnosticChain di * @generated */ public MandatoryEntryProvenance init() { - return Initializer.Util.init(this); + return Initializer.Util.init(this); } /** - * + * * - * @generated - */ + * @generated + */ public MandatoryEntryProvenance init(Iterable> initializers) { - Initializer.Util.init(this, initializers); - return this; - } + Initializer.Util.init(this, initializers); + return this; + } } // MandatoryEntryProvenanceImpl diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/ObligationPolicySecurityObservationImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/ObligationPolicySecurityObservationImpl.java index a8d9c69202..5d249232e4 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/ObligationPolicySecurityObservationImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/ObligationPolicySecurityObservationImpl.java @@ -3,19 +3,14 @@ package org.hl7.security.ds4p.contentprofile.impl; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation; - import org.hl7.security.ds4p.contentprofile.operations.ObligationPolicySecurityObservationOperations; /** @@ -53,8 +48,7 @@ protected EClass eStaticClass() { */ @Override public boolean validateSecurityObservationTemplateId(DiagnosticChain diagnostics, Map context) { - return ObligationPolicySecurityObservationOperations.validateSecurityObservationTemplateId( - this, diagnostics, context); + return ObligationPolicySecurityObservationOperations.validateSecurityObservationTemplateId(this, diagnostics, context); } /** @@ -64,8 +58,7 @@ public boolean validateSecurityObservationTemplateId(DiagnosticChain diagnostics */ @Override public boolean validateSecurityObservationCodeP(DiagnosticChain diagnostics, Map context) { - return ObligationPolicySecurityObservationOperations.validateSecurityObservationCodeP( - this, diagnostics, context); + return ObligationPolicySecurityObservationOperations.validateSecurityObservationCodeP(this, diagnostics, context); } /** @@ -75,8 +68,7 @@ public boolean validateSecurityObservationCodeP(DiagnosticChain diagnostics, Map */ @Override public boolean validateSecurityObservationCode(DiagnosticChain diagnostics, Map context) { - return ObligationPolicySecurityObservationOperations.validateSecurityObservationCode( - this, diagnostics, context); + return ObligationPolicySecurityObservationOperations.validateSecurityObservationCode(this, diagnostics, context); } /** @@ -86,8 +78,7 @@ public boolean validateSecurityObservationCode(DiagnosticChain diagnostics, Map< */ @Override public boolean validateSecurityObservationValueP(DiagnosticChain diagnostics, Map context) { - return ObligationPolicySecurityObservationOperations.validateSecurityObservationValueP( - this, diagnostics, context); + return ObligationPolicySecurityObservationOperations.validateSecurityObservationValueP(this, diagnostics, context); } /** @@ -97,8 +88,7 @@ public boolean validateSecurityObservationValueP(DiagnosticChain diagnostics, Ma */ @Override public boolean validateSecurityObservationValue(DiagnosticChain diagnostics, Map context) { - return ObligationPolicySecurityObservationOperations.validateSecurityObservationValue( - this, diagnostics, context); + return ObligationPolicySecurityObservationOperations.validateSecurityObservationValue(this, diagnostics, context); } /** @@ -108,17 +98,17 @@ public boolean validateSecurityObservationValue(DiagnosticChain diagnostics, Map */ @Override public ObligationPolicySecurityObservation init() { - return Initializer.Util.init(this); + return Initializer.Util.init(this); } /** - * + * * - * @generated - */ + * @generated + */ @Override public ObligationPolicySecurityObservation init(Iterable> initializers) { - Initializer.Util.init(this, initializers); - return this; - } + Initializer.Util.init(this, initializers); + return this; + } } // ObligationPolicySecurityObservationImpl diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacyAnnotationEntryRelationshipImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacyAnnotationEntryRelationshipImpl.java index 776bc83095..743962ca28 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacyAnnotationEntryRelationshipImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacyAnnotationEntryRelationshipImpl.java @@ -3,20 +3,15 @@ package org.hl7.security.ds4p.contentprofile.impl; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.impl.EntryRelationshipImpl; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.PrivacyAnnotationEntryRelationship; - import org.hl7.security.ds4p.contentprofile.operations.PrivacyAnnotationEntryRelationshipOperations; /** @@ -55,8 +50,7 @@ protected EClass eStaticClass() { @Override public boolean validatePrivacyAnnotationEntryRelationshipTemplateId(DiagnosticChain diagnostics, Map context) { - return PrivacyAnnotationEntryRelationshipOperations.validatePrivacyAnnotationEntryRelationshipTemplateId( - this, diagnostics, context); + return PrivacyAnnotationEntryRelationshipOperations.validatePrivacyAnnotationEntryRelationshipTemplateId(this, diagnostics, context); } /** @@ -67,8 +61,7 @@ public boolean validatePrivacyAnnotationEntryRelationshipTemplateId(DiagnosticCh @Override public boolean validatePrivacyAnnotationEntryRelationshipOrganizer(DiagnosticChain diagnostics, Map context) { - return PrivacyAnnotationEntryRelationshipOperations.validatePrivacyAnnotationEntryRelationshipOrganizer( - this, diagnostics, context); + return PrivacyAnnotationEntryRelationshipOperations.validatePrivacyAnnotationEntryRelationshipOrganizer(this, diagnostics, context); } /** @@ -77,16 +70,16 @@ public boolean validatePrivacyAnnotationEntryRelationshipOrganizer(DiagnosticCha * @generated */ public PrivacyAnnotationEntryRelationship init() { - return Initializer.Util.init(this); + return Initializer.Util.init(this); } /** - * + * * - * @generated - */ + * @generated + */ public PrivacyAnnotationEntryRelationship init(Iterable> initializers) { - Initializer.Util.init(this, initializers); - return this; - } + Initializer.Util.init(this, initializers); + return this; + } } // PrivacyAnnotationEntryRelationshipImpl diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacyAnnotationImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacyAnnotationImpl.java index d60e8e7cb6..9249fe6686 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacyAnnotationImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacyAnnotationImpl.java @@ -3,17 +3,13 @@ package org.hl7.security.ds4p.contentprofile.impl; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.impl.OrganizerImpl; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation; @@ -21,7 +17,6 @@ import org.hl7.security.ds4p.contentprofile.PrivacyAnnotation; import org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation; import org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation; - import org.hl7.security.ds4p.contentprofile.operations.PrivacyAnnotationOperations; /** @@ -109,8 +104,7 @@ public boolean validatePrivacyAnnotationStatusCode(DiagnosticChain diagnostics, @Override public boolean validatePrivacyAnnotationObligationPolicySecurityObservation(DiagnosticChain diagnostics, Map context) { - return PrivacyAnnotationOperations.validatePrivacyAnnotationObligationPolicySecurityObservation( - this, diagnostics, context); + return PrivacyAnnotationOperations.validatePrivacyAnnotationObligationPolicySecurityObservation(this, diagnostics, context); } /** @@ -121,8 +115,7 @@ public boolean validatePrivacyAnnotationObligationPolicySecurityObservation(Diag @Override public boolean validatePrivacyAnnotationRefrainPolicySecurityObservation(DiagnosticChain diagnostics, Map context) { - return PrivacyAnnotationOperations.validatePrivacyAnnotationRefrainPolicySecurityObservation( - this, diagnostics, context); + return PrivacyAnnotationOperations.validatePrivacyAnnotationRefrainPolicySecurityObservation(this, diagnostics, context); } /** @@ -133,8 +126,7 @@ public boolean validatePrivacyAnnotationRefrainPolicySecurityObservation(Diagnos @Override public boolean validatePrivacyAnnotationPurposeOfUseSecurityObservation(DiagnosticChain diagnostics, Map context) { - return PrivacyAnnotationOperations.validatePrivacyAnnotationPurposeOfUseSecurityObservation( - this, diagnostics, context); + return PrivacyAnnotationOperations.validatePrivacyAnnotationPurposeOfUseSecurityObservation(this, diagnostics, context); } /** @@ -145,8 +137,7 @@ public boolean validatePrivacyAnnotationPurposeOfUseSecurityObservation(Diagnost @Override public boolean validatePrivacyAnnotationConfidentialityCodeSecurityObservation(DiagnosticChain diagnostics, Map context) { - return PrivacyAnnotationOperations.validatePrivacyAnnotationConfidentialityCodeSecurityObservation( - this, diagnostics, context); + return PrivacyAnnotationOperations.validatePrivacyAnnotationConfidentialityCodeSecurityObservation(this, diagnostics, context); } /** @@ -195,16 +186,16 @@ public ConfidentialitySecurityObservation getConfidentialityCodeSecurityObservat * @generated */ public PrivacyAnnotation init() { - return Initializer.Util.init(this); + return Initializer.Util.init(this); } /** - * + * * - * @generated - */ + * @generated + */ public PrivacyAnnotation init(Iterable> initializers) { - Initializer.Util.init(this, initializers); - return this; - } + Initializer.Util.init(this, initializers); + return this; + } } // PrivacyAnnotationImpl diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacyMarkingsEntryImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacyMarkingsEntryImpl.java index 6c894fa1ba..89645491b9 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacyMarkingsEntryImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacyMarkingsEntryImpl.java @@ -3,20 +3,15 @@ package org.hl7.security.ds4p.contentprofile.impl; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.impl.EntryImpl; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.PrivacyMarkingsEntry; - import org.hl7.security.ds4p.contentprofile.operations.PrivacyMarkingsEntryOperations; /** @@ -72,16 +67,16 @@ public boolean validatePrivacyMarkingsEntryOrganizer(DiagnosticChain diagnostics * @generated */ public PrivacyMarkingsEntry init() { - return Initializer.Util.init(this); + return Initializer.Util.init(this); } /** - * + * * - * @generated - */ + * @generated + */ public PrivacyMarkingsEntry init(Iterable> initializers) { - Initializer.Util.init(this, initializers); - return this; - } + Initializer.Util.init(this, initializers); + return this; + } } // PrivacyMarkingsEntryImpl diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacyMarkingsSectionImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacyMarkingsSectionImpl.java index 1dcdd8060d..8472bb4a22 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacyMarkingsSectionImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacyMarkingsSectionImpl.java @@ -3,20 +3,15 @@ package org.hl7.security.ds4p.contentprofile.impl; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.impl.SectionImpl; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.PrivacyMarkingsSection; - import org.hl7.security.ds4p.contentprofile.operations.PrivacyMarkingsSectionOperations; /** @@ -102,16 +97,16 @@ public boolean validatePrivacyMarkingsSectionEntry1(DiagnosticChain diagnostics, * @generated */ public PrivacyMarkingsSection init() { - return Initializer.Util.init(this); + return Initializer.Util.init(this); } /** - * + * * - * @generated - */ + * @generated + */ public PrivacyMarkingsSection init(Iterable> initializers) { - Initializer.Util.init(this, initializers); - return this; - } + Initializer.Util.init(this, initializers); + return this; + } } // PrivacyMarkingsSectionImpl diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacySegmentedDocumentImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacySegmentedDocumentImpl.java index c7a9008e74..848effd40c 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacySegmentedDocumentImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacySegmentedDocumentImpl.java @@ -3,22 +3,17 @@ package org.hl7.security.ds4p.contentprofile.impl; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.PrivacyMarkingsSection; import org.hl7.security.ds4p.contentprofile.PrivacySegmentedDocument; import org.hl7.security.ds4p.contentprofile.PrivacySegmentedSection; - import org.hl7.security.ds4p.contentprofile.operations.PrivacySegmentedDocumentOperations; import org.openhealthtools.mdht.uml.cda.consol.impl.GeneralHeaderConstraintsImpl; @@ -57,8 +52,7 @@ protected EClass eStaticClass() { @Override public boolean validatePrivacySegmentedDocumentTemplateId(DiagnosticChain diagnostics, Map context) { - return PrivacySegmentedDocumentOperations.validatePrivacySegmentedDocumentTemplateId( - this, diagnostics, context); + return PrivacySegmentedDocumentOperations.validatePrivacySegmentedDocumentTemplateId(this, diagnostics, context); } /** @@ -79,8 +73,7 @@ public boolean validatePrivacySegmentedDocumentAuthor1(DiagnosticChain diagnosti @Override public boolean validatePrivacySegmentedDocumentSegmentedSection(DiagnosticChain diagnostics, Map context) { - return PrivacySegmentedDocumentOperations.validatePrivacySegmentedDocumentSegmentedSection( - this, diagnostics, context); + return PrivacySegmentedDocumentOperations.validatePrivacySegmentedDocumentSegmentedSection(this, diagnostics, context); } /** @@ -91,8 +84,7 @@ public boolean validatePrivacySegmentedDocumentSegmentedSection(DiagnosticChain @Override public boolean validatePrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection(DiagnosticChain diagnostics, Map context) { - return PrivacySegmentedDocumentOperations.validatePrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection( - this, diagnostics, context); + return PrivacySegmentedDocumentOperations.validatePrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection(this, diagnostics, context); } /** @@ -122,17 +114,17 @@ public EList getPrivacyAndSecurityMarkingsSections() { */ @Override public PrivacySegmentedDocument init() { - return Initializer.Util.init(this); + return Initializer.Util.init(this); } /** - * + * * - * @generated - */ + * @generated + */ @Override public PrivacySegmentedDocument init(Iterable> initializers) { - Initializer.Util.init(this, initializers); - return this; - } + Initializer.Util.init(this, initializers); + return this; + } } // PrivacySegmentedDocumentImpl diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacySegmentedSectionImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacySegmentedSectionImpl.java index f531ce2586..13f93ab6e2 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacySegmentedSectionImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PrivacySegmentedSectionImpl.java @@ -3,20 +3,15 @@ package org.hl7.security.ds4p.contentprofile.impl; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.impl.SectionImpl; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.PrivacySegmentedSection; - import org.hl7.security.ds4p.contentprofile.operations.PrivacySegmentedSectionOperations; /** @@ -64,8 +59,7 @@ public boolean validatePrivacySegmentedSectionTemplateId(DiagnosticChain diagnos @Override public boolean validatePrivacySegmentedSectionConfidentialityCode(DiagnosticChain diagnostics, Map context) { - return PrivacySegmentedSectionOperations.validatePrivacySegmentedSectionConfidentialityCode( - this, diagnostics, context); + return PrivacySegmentedSectionOperations.validatePrivacySegmentedSectionConfidentialityCode(this, diagnostics, context); } /** @@ -76,8 +70,7 @@ public boolean validatePrivacySegmentedSectionConfidentialityCode(DiagnosticChai @Override public boolean validatePrivacySegmentedSectionConfidentialityCodeP(DiagnosticChain diagnostics, Map context) { - return PrivacySegmentedSectionOperations.validatePrivacySegmentedSectionConfidentialityCodeP( - this, diagnostics, context); + return PrivacySegmentedSectionOperations.validatePrivacySegmentedSectionConfidentialityCodeP(this, diagnostics, context); } /** @@ -96,16 +89,16 @@ public boolean validatePrivacySegmentedSectionAuthor(DiagnosticChain diagnostics * @generated */ public PrivacySegmentedSection init() { - return Initializer.Util.init(this); + return Initializer.Util.init(this); } /** - * + * * - * @generated - */ + * @generated + */ public PrivacySegmentedSection init(Iterable> initializers) { - Initializer.Util.init(this, initializers); - return this; - } + Initializer.Util.init(this, initializers); + return this; + } } // PrivacySegmentedSectionImpl diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/ProtectedProblemImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/ProtectedProblemImpl.java index 63ca82b503..304f648b98 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/ProtectedProblemImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/ProtectedProblemImpl.java @@ -3,19 +3,14 @@ package org.hl7.security.ds4p.contentprofile.impl; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.ProtectedProblem; - import org.hl7.security.ds4p.contentprofile.operations.ProtectedProblemOperations; import org.openhealthtools.mdht.uml.cda.consol.impl.ProblemObservationImpl; @@ -63,19 +58,19 @@ public boolean validateProblemObservationTemplateId(DiagnosticChain diagnostics, */ @Override public ProtectedProblem init() { - return Initializer.Util.init(this); + return Initializer.Util.init(this); } /** - * + * * - * @generated - */ + * @generated + */ @Override public ProtectedProblem init(Iterable> initializers) { - Initializer.Util.init(this, initializers); - return this; - } + Initializer.Util.init(this, initializers); + return this; + } /** * diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PurposeOfUseSecurityObservationImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PurposeOfUseSecurityObservationImpl.java index a85c163d32..a2aaccd34c 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PurposeOfUseSecurityObservationImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/PurposeOfUseSecurityObservationImpl.java @@ -3,19 +3,14 @@ package org.hl7.security.ds4p.contentprofile.impl; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation; - import org.hl7.security.ds4p.contentprofile.operations.PurposeOfUseSecurityObservationOperations; /** @@ -53,8 +48,7 @@ protected EClass eStaticClass() { */ @Override public boolean validateSecurityObservationTemplateId(DiagnosticChain diagnostics, Map context) { - return PurposeOfUseSecurityObservationOperations.validateSecurityObservationTemplateId( - this, diagnostics, context); + return PurposeOfUseSecurityObservationOperations.validateSecurityObservationTemplateId(this, diagnostics, context); } /** @@ -104,17 +98,17 @@ public boolean validateSecurityObservationValue(DiagnosticChain diagnostics, Map */ @Override public PurposeOfUseSecurityObservation init() { - return Initializer.Util.init(this); + return Initializer.Util.init(this); } /** - * + * * - * @generated - */ + * @generated + */ @Override public PurposeOfUseSecurityObservation init(Iterable> initializers) { - Initializer.Util.init(this, initializers); - return this; - } + Initializer.Util.init(this, initializers); + return this; + } } // PurposeOfUseSecurityObservationImpl diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/RefrainPolicySecurityObservationImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/RefrainPolicySecurityObservationImpl.java index 2024cc84e1..a847b3da24 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/RefrainPolicySecurityObservationImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/RefrainPolicySecurityObservationImpl.java @@ -3,19 +3,14 @@ package org.hl7.security.ds4p.contentprofile.impl; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation; - import org.hl7.security.ds4p.contentprofile.operations.RefrainPolicySecurityObservationOperations; /** @@ -53,8 +48,7 @@ protected EClass eStaticClass() { */ @Override public boolean validateSecurityObservationTemplateId(DiagnosticChain diagnostics, Map context) { - return RefrainPolicySecurityObservationOperations.validateSecurityObservationTemplateId( - this, diagnostics, context); + return RefrainPolicySecurityObservationOperations.validateSecurityObservationTemplateId(this, diagnostics, context); } /** @@ -104,17 +98,17 @@ public boolean validateSecurityObservationValue(DiagnosticChain diagnostics, Map */ @Override public RefrainPolicySecurityObservation init() { - return Initializer.Util.init(this); + return Initializer.Util.init(this); } /** - * + * * - * @generated - */ + * @generated + */ @Override public RefrainPolicySecurityObservation init(Iterable> initializers) { - Initializer.Util.init(this, initializers); - return this; - } + Initializer.Util.init(this, initializers); + return this; + } } // RefrainPolicySecurityObservationImpl diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/SecurityObservationImpl.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/SecurityObservationImpl.java index 0d11a320b7..8e56a07a9d 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/SecurityObservationImpl.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/impl/SecurityObservationImpl.java @@ -3,20 +3,15 @@ package org.hl7.security.ds4p.contentprofile.impl; import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.impl.ObservationImpl; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.SecurityObservation; - import org.hl7.security.ds4p.contentprofile.operations.SecurityObservationOperations; /** @@ -112,16 +107,16 @@ public boolean validateSecurityObservationMoodCode(DiagnosticChain diagnostics, * @generated */ public SecurityObservation init() { - return Initializer.Util.init(this); + return Initializer.Util.init(this); } /** - * + * * - * @generated - */ + * @generated + */ public SecurityObservation init(Iterable> initializers) { - Initializer.Util.init(this, initializers); - return this; - } + Initializer.Util.init(this, initializers); + return this; + } } // SecurityObservationImpl diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/ConfidentialitySecurityObservationOperations.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/ConfidentialitySecurityObservationOperations.java index 05f646a289..a3ef46fcf8 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/ConfidentialitySecurityObservationOperations.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/ConfidentialitySecurityObservationOperations.java @@ -8,16 +8,13 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; import org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation; - import org.hl7.security.ds4p.contentprofile.util.CONTENTPROFILEValidator; /** @@ -74,7 +71,7 @@ protected ConfidentialitySecurityObservationOperations() { * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -90,32 +87,44 @@ protected ConfidentialitySecurityObservationOperations() { public static boolean validateSecurityObservationTemplateId( ConfidentialitySecurityObservation confidentialitySecurityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"ConfidentialitySecurityObservationSecurityObservationTemplateId","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.CONFIDENTIALITY_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - confidentialitySecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(confidentialitySecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.CONFIDENTIALITY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_TEMPLATE_ID, - CONTENTPROFILEPlugin.INSTANCE.getString( - "ConfidentialitySecurityObservationSecurityObservationTemplateId"), - new Object[] { confidentialitySecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.CONFIDENTIALITY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_TEMPLATE_ID, + CONTENTPROFILEPlugin.INSTANCE.getString("ConfidentialitySecurityObservationSecurityObservationTemplateId"), + new Object [] { confidentialitySecurityObservation })); } - + return false; } return true; @@ -140,7 +149,7 @@ public static boolean validateSecurityObservationTemplateId( * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -156,37 +165,48 @@ public static boolean validateSecurityObservationTemplateId( public static boolean validateSecurityObservationCodeP( ConfidentialitySecurityObservation confidentialitySecurityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"ConfidentialitySecurityObservationSecurityObservationCodeP","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.CONFIDENTIALITY_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - confidentialitySecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(confidentialitySecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.CONFIDENTIALITY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE_P, - CONTENTPROFILEPlugin.INSTANCE.getString( - "ConfidentialitySecurityObservationSecurityObservationCodeP"), - new Object[] { confidentialitySecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.CONFIDENTIALITY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE_P, + CONTENTPROFILEPlugin.INSTANCE.getString("ConfidentialitySecurityObservationSecurityObservationCodeP"), + new Object [] { confidentialitySecurityObservation })); } - + if (context != null) { // generate a pass token for my dependent constraints to short-circuit or filter results @SuppressWarnings("unchecked") - Collection passToken = (Collection) context.get( - "org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); + Collection passToken = (Collection) context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); if (passToken == null) { // anticipate a reasonably healthy model passToken = new java.util.ArrayList(3); @@ -194,7 +214,7 @@ public static boolean validateSecurityObservationCodeP( } passToken.add(confidentialitySecurityObservation); } - + return false; } return true; @@ -208,9 +228,9 @@ public static boolean validateSecurityObservationCodeP( * @generated * @ordered */ - protected static final String VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and " + - "let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in " + - "value.code = 'SECCLASSOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20471'"; + protected static final String VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and "+ +"let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in "+ +"value.code = 'SECCLASSOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20471'"; /** * The cached OCL invariant for the '{@link #validateSecurityObservationCode(ConfidentialitySecurityObservation, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code}' invariant operation. @@ -221,7 +241,7 @@ public static boolean validateSecurityObservationCodeP( * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -237,40 +257,50 @@ public static boolean validateSecurityObservationCodeP( public static boolean validateSecurityObservationCode( ConfidentialitySecurityObservation confidentialitySecurityObservation, DiagnosticChain diagnostics, Map context) { - - Object passToken = (context == null) - ? null - : context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); - if ((passToken instanceof Collection) && - ((Collection) passToken).contains(confidentialitySecurityObservation)) { + + + + + Object passToken = (context == null) ? null : context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); + if ((passToken instanceof Collection) && ((Collection) passToken).contains(confidentialitySecurityObservation)) { // I have a free pass to short-circuit return true; } - + + + + + + + + DatatypesUtil.increment(context,"ConfidentialitySecurityObservationSecurityObservationCode","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.CONFIDENTIALITY_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - confidentialitySecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(confidentialitySecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.CONFIDENTIALITY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE, - CONTENTPROFILEPlugin.INSTANCE.getString( - "ConfidentialitySecurityObservationSecurityObservationCode"), - new Object[] { confidentialitySecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.CONFIDENTIALITY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE, + CONTENTPROFILEPlugin.INSTANCE.getString("ConfidentialitySecurityObservationSecurityObservationCode"), + new Object [] { confidentialitySecurityObservation })); } - + return false; } return true; @@ -295,7 +325,7 @@ public static boolean validateSecurityObservationCode( * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -311,32 +341,44 @@ public static boolean validateSecurityObservationCode( public static boolean validateSecurityObservationValue( ConfidentialitySecurityObservation confidentialitySecurityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"ConfidentialitySecurityObservationSecurityObservationValue","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.CONFIDENTIALITY_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - confidentialitySecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(confidentialitySecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.CONFIDENTIALITY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE, - CONTENTPROFILEPlugin.INSTANCE.getString( - "ConfidentialitySecurityObservationSecurityObservationValue"), - new Object[] { confidentialitySecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.CONFIDENTIALITY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE, + CONTENTPROFILEPlugin.INSTANCE.getString("ConfidentialitySecurityObservationSecurityObservationValue"), + new Object [] { confidentialitySecurityObservation })); } - + return false; } return true; diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/MandatoryDocumentAssignedAuthorOperations.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/MandatoryDocumentAssignedAuthorOperations.java index 8a76b27ad4..866cdbab48 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/MandatoryDocumentAssignedAuthorOperations.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/MandatoryDocumentAssignedAuthorOperations.java @@ -7,18 +7,14 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.mdht.uml.cda.operations.AssignedAuthorOperations; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; import org.hl7.security.ds4p.contentprofile.MandatoryDocumentAssignedAuthor; - import org.hl7.security.ds4p.contentprofile.util.CONTENTPROFILEValidator; /** @@ -76,7 +72,7 @@ protected MandatoryDocumentAssignedAuthorOperations() { * @ordered */ - protected static ThreadLocal VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -92,33 +88,44 @@ protected MandatoryDocumentAssignedAuthorOperations() { public static boolean validateMandatoryDocumentAssignedAuthorTemplateId( MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorTemplateId","ERROR"); + + + if (VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR); try { - VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - mandatoryDocumentAssignedAuthor)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(mandatoryDocumentAssignedAuthor)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TEMPLATE_ID, - CONTENTPROFILEPlugin.INSTANCE.getString( - "MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorTemplateId"), - new Object[] { mandatoryDocumentAssignedAuthor })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TEMPLATE_ID, + CONTENTPROFILEPlugin.INSTANCE.getString("MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorTemplateId"), + new Object [] { mandatoryDocumentAssignedAuthor })); } - + return false; } return true; @@ -143,7 +150,7 @@ public static boolean validateMandatoryDocumentAssignedAuthorTemplateId( * @ordered */ - protected static ThreadLocal VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TELECOM_EMAIL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TELECOM_EMAIL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -159,33 +166,44 @@ public static boolean validateMandatoryDocumentAssignedAuthorTemplateId( public static boolean validateMandatoryDocumentAssignedAuthorTelecomEmail( MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorTelecomEmail","ERROR"); + + + if (VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TELECOM_EMAIL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR); try { - VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TELECOM_EMAIL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TELECOM_EMAIL__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TELECOM_EMAIL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TELECOM_EMAIL__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TELECOM_EMAIL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - mandatoryDocumentAssignedAuthor)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TELECOM_EMAIL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(mandatoryDocumentAssignedAuthor)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TELECOM_EMAIL, - CONTENTPROFILEPlugin.INSTANCE.getString( - "MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorTelecomEmail"), - new Object[] { mandatoryDocumentAssignedAuthor })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_TELECOM_EMAIL, + CONTENTPROFILEPlugin.INSTANCE.getString("MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorTelecomEmail"), + new Object [] { mandatoryDocumentAssignedAuthor })); } - + return false; } return true; @@ -210,7 +228,7 @@ public static boolean validateMandatoryDocumentAssignedAuthorTelecomEmail( * @ordered */ - protected static ThreadLocal VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -226,33 +244,44 @@ public static boolean validateMandatoryDocumentAssignedAuthorTelecomEmail( public static boolean validateMandatoryDocumentAssignedAuthorAssignedAuthoringDevice( MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorAssignedAuthoringDevice","WARNING"); + + + if (VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR); try { - VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - mandatoryDocumentAssignedAuthor)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(mandatoryDocumentAssignedAuthor)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.WARNING, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE, - CONTENTPROFILEPlugin.INSTANCE.getString( - "MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorAssignedAuthoringDevice"), - new Object[] { mandatoryDocumentAssignedAuthor })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.WARNING, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE, + CONTENTPROFILEPlugin.INSTANCE.getString("MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorAssignedAuthoringDevice"), + new Object [] { mandatoryDocumentAssignedAuthor })); } - + return false; } return true; @@ -277,7 +306,7 @@ public static boolean validateMandatoryDocumentAssignedAuthorAssignedAuthoringDe * @ordered */ - protected static ThreadLocal VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -293,33 +322,44 @@ public static boolean validateMandatoryDocumentAssignedAuthorAssignedAuthoringDe public static boolean validateMandatoryDocumentAssignedAuthorAssignedPerson( MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorAssignedPerson","WARNING"); + + + if (VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR); try { - VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - mandatoryDocumentAssignedAuthor)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(mandatoryDocumentAssignedAuthor)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.WARNING, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_PERSON, - CONTENTPROFILEPlugin.INSTANCE.getString( - "MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorAssignedPerson"), - new Object[] { mandatoryDocumentAssignedAuthor })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.WARNING, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_ASSIGNED_PERSON, + CONTENTPROFILEPlugin.INSTANCE.getString("MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorAssignedPerson"), + new Object [] { mandatoryDocumentAssignedAuthor })); } - + return false; } return true; @@ -344,7 +384,7 @@ public static boolean validateMandatoryDocumentAssignedAuthorAssignedPerson( * @ordered */ - protected static ThreadLocal VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -360,33 +400,44 @@ public static boolean validateMandatoryDocumentAssignedAuthorAssignedPerson( public static boolean validateMandatoryDocumentAssignedAuthorRepresentedOrganization( MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorRepresentedOrganization","WARNING"); + + + if (VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR); try { - VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - mandatoryDocumentAssignedAuthor)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(mandatoryDocumentAssignedAuthor)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.WARNING, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION, - CONTENTPROFILEPlugin.INSTANCE.getString( - "MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorRepresentedOrganization"), - new Object[] { mandatoryDocumentAssignedAuthor })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.WARNING, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR__MANDATORY_DOCUMENT_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION, + CONTENTPROFILEPlugin.INSTANCE.getString("MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorRepresentedOrganization"), + new Object [] { mandatoryDocumentAssignedAuthor })); } - + return false; } return true; diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/MandatoryDocumentProvenanceOperations.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/MandatoryDocumentProvenanceOperations.java index 41fede3b90..c7f20c175c 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/MandatoryDocumentProvenanceOperations.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/MandatoryDocumentProvenanceOperations.java @@ -7,18 +7,14 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.mdht.uml.cda.operations.AuthorOperations; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; import org.hl7.security.ds4p.contentprofile.MandatoryDocumentProvenance; - import org.hl7.security.ds4p.contentprofile.util.CONTENTPROFILEValidator; /** @@ -74,7 +70,7 @@ protected MandatoryDocumentProvenanceOperations() { * @ordered */ - protected static ThreadLocal VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -90,33 +86,44 @@ protected MandatoryDocumentProvenanceOperations() { public static boolean validateMandatoryDocumentProvenanceTemplateId( MandatoryDocumentProvenance mandatoryDocumentProvenance, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"MandatoryDocumentProvenanceMandatoryDocumentProvenanceTemplateId","ERROR"); + + + if (VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.MANDATORY_DOCUMENT_PROVENANCE); try { - VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - mandatoryDocumentProvenance)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(mandatoryDocumentProvenance)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.MANDATORY_DOCUMENT_PROVENANCE__MANDATORY_DOCUMENT_PROVENANCE_TEMPLATE_ID, - CONTENTPROFILEPlugin.INSTANCE.getString( - "MandatoryDocumentProvenanceMandatoryDocumentProvenanceTemplateId"), - new Object[] { mandatoryDocumentProvenance })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.MANDATORY_DOCUMENT_PROVENANCE__MANDATORY_DOCUMENT_PROVENANCE_TEMPLATE_ID, + CONTENTPROFILEPlugin.INSTANCE.getString("MandatoryDocumentProvenanceMandatoryDocumentProvenanceTemplateId"), + new Object [] { mandatoryDocumentProvenance })); } - + return false; } return true; @@ -141,7 +148,7 @@ public static boolean validateMandatoryDocumentProvenanceTemplateId( * @ordered */ - protected static ThreadLocal VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -157,33 +164,44 @@ public static boolean validateMandatoryDocumentProvenanceTemplateId( public static boolean validateMandatoryDocumentProvenanceTime( MandatoryDocumentProvenance mandatoryDocumentProvenance, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"MandatoryDocumentProvenanceMandatoryDocumentProvenanceTime","ERROR"); + + + if (VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.MANDATORY_DOCUMENT_PROVENANCE); try { - VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - mandatoryDocumentProvenance)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(mandatoryDocumentProvenance)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.MANDATORY_DOCUMENT_PROVENANCE__MANDATORY_DOCUMENT_PROVENANCE_TIME, - CONTENTPROFILEPlugin.INSTANCE.getString( - "MandatoryDocumentProvenanceMandatoryDocumentProvenanceTime"), - new Object[] { mandatoryDocumentProvenance })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.MANDATORY_DOCUMENT_PROVENANCE__MANDATORY_DOCUMENT_PROVENANCE_TIME, + CONTENTPROFILEPlugin.INSTANCE.getString("MandatoryDocumentProvenanceMandatoryDocumentProvenanceTime"), + new Object [] { mandatoryDocumentProvenance })); } - + return false; } return true; @@ -208,7 +226,7 @@ public static boolean validateMandatoryDocumentProvenanceTime( * @ordered */ - protected static ThreadLocal VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -224,33 +242,44 @@ public static boolean validateMandatoryDocumentProvenanceTime( public static boolean validateMandatoryDocumentProvenanceAssignedAuthor( MandatoryDocumentProvenance mandatoryDocumentProvenance, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"MandatoryDocumentProvenanceMandatoryDocumentProvenanceAssignedAuthor","ERROR"); + + + if (VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.MANDATORY_DOCUMENT_PROVENANCE); try { - VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - mandatoryDocumentProvenance)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_MANDATORY_DOCUMENT_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(mandatoryDocumentProvenance)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.MANDATORY_DOCUMENT_PROVENANCE__MANDATORY_DOCUMENT_PROVENANCE_ASSIGNED_AUTHOR, - CONTENTPROFILEPlugin.INSTANCE.getString( - "MandatoryDocumentProvenanceMandatoryDocumentProvenanceAssignedAuthor"), - new Object[] { mandatoryDocumentProvenance })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.MANDATORY_DOCUMENT_PROVENANCE__MANDATORY_DOCUMENT_PROVENANCE_ASSIGNED_AUTHOR, + CONTENTPROFILEPlugin.INSTANCE.getString("MandatoryDocumentProvenanceMandatoryDocumentProvenanceAssignedAuthor"), + new Object [] { mandatoryDocumentProvenance })); } - + return false; } return true; diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/MandatoryEntryAssignedAuthorOperations.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/MandatoryEntryAssignedAuthorOperations.java index 0ac9c92689..6356231cbf 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/MandatoryEntryAssignedAuthorOperations.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/MandatoryEntryAssignedAuthorOperations.java @@ -7,18 +7,14 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.mdht.uml.cda.operations.AssignedAuthorOperations; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; import org.hl7.security.ds4p.contentprofile.MandatoryEntryAssignedAuthor; - import org.hl7.security.ds4p.contentprofile.util.CONTENTPROFILEValidator; /** @@ -75,7 +71,7 @@ protected MandatoryEntryAssignedAuthorOperations() { * @ordered */ - protected static ThreadLocal VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -91,33 +87,44 @@ protected MandatoryEntryAssignedAuthorOperations() { public static boolean validateMandatoryEntryAssignedAuthorTemplateId( MandatoryEntryAssignedAuthor mandatoryEntryAssignedAuthor, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"MandatoryEntryAssignedAuthorMandatoryEntryAssignedAuthorTemplateId","ERROR"); + + + if (VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.MANDATORY_ENTRY_ASSIGNED_AUTHOR); try { - VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - mandatoryEntryAssignedAuthor)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(mandatoryEntryAssignedAuthor)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.MANDATORY_ENTRY_ASSIGNED_AUTHOR__MANDATORY_ENTRY_ASSIGNED_AUTHOR_TEMPLATE_ID, - CONTENTPROFILEPlugin.INSTANCE.getString( - "MandatoryEntryAssignedAuthorMandatoryEntryAssignedAuthorTemplateId"), - new Object[] { mandatoryEntryAssignedAuthor })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.MANDATORY_ENTRY_ASSIGNED_AUTHOR__MANDATORY_ENTRY_ASSIGNED_AUTHOR_TEMPLATE_ID, + CONTENTPROFILEPlugin.INSTANCE.getString("MandatoryEntryAssignedAuthorMandatoryEntryAssignedAuthorTemplateId"), + new Object [] { mandatoryEntryAssignedAuthor })); } - + return false; } return true; @@ -142,7 +149,7 @@ public static boolean validateMandatoryEntryAssignedAuthorTemplateId( * @ordered */ - protected static ThreadLocal VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -158,33 +165,44 @@ public static boolean validateMandatoryEntryAssignedAuthorTemplateId( public static boolean validateMandatoryEntryAssignedAuthorAssignedAuthoringDevice( MandatoryEntryAssignedAuthor mandatoryEntryAssignedAuthor, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"MandatoryEntryAssignedAuthorMandatoryEntryAssignedAuthorAssignedAuthoringDevice","ERROR"); + + + if (VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.MANDATORY_ENTRY_ASSIGNED_AUTHOR); try { - VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - mandatoryEntryAssignedAuthor)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(mandatoryEntryAssignedAuthor)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.MANDATORY_ENTRY_ASSIGNED_AUTHOR__MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE, - CONTENTPROFILEPlugin.INSTANCE.getString( - "MandatoryEntryAssignedAuthorMandatoryEntryAssignedAuthorAssignedAuthoringDevice"), - new Object[] { mandatoryEntryAssignedAuthor })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.MANDATORY_ENTRY_ASSIGNED_AUTHOR__MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE, + CONTENTPROFILEPlugin.INSTANCE.getString("MandatoryEntryAssignedAuthorMandatoryEntryAssignedAuthorAssignedAuthoringDevice"), + new Object [] { mandatoryEntryAssignedAuthor })); } - + return false; } return true; @@ -209,7 +227,7 @@ public static boolean validateMandatoryEntryAssignedAuthorAssignedAuthoringDevic * @ordered */ - protected static ThreadLocal VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -225,33 +243,44 @@ public static boolean validateMandatoryEntryAssignedAuthorAssignedAuthoringDevic public static boolean validateMandatoryEntryAssignedAuthorAssignedPerson( MandatoryEntryAssignedAuthor mandatoryEntryAssignedAuthor, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"MandatoryEntryAssignedAuthorMandatoryEntryAssignedAuthorAssignedPerson","ERROR"); + + + if (VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.MANDATORY_ENTRY_ASSIGNED_AUTHOR); try { - VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - mandatoryEntryAssignedAuthor)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(mandatoryEntryAssignedAuthor)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.MANDATORY_ENTRY_ASSIGNED_AUTHOR__MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_PERSON, - CONTENTPROFILEPlugin.INSTANCE.getString( - "MandatoryEntryAssignedAuthorMandatoryEntryAssignedAuthorAssignedPerson"), - new Object[] { mandatoryEntryAssignedAuthor })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.MANDATORY_ENTRY_ASSIGNED_AUTHOR__MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_PERSON, + CONTENTPROFILEPlugin.INSTANCE.getString("MandatoryEntryAssignedAuthorMandatoryEntryAssignedAuthorAssignedPerson"), + new Object [] { mandatoryEntryAssignedAuthor })); } - + return false; } return true; @@ -276,7 +305,7 @@ public static boolean validateMandatoryEntryAssignedAuthorAssignedPerson( * @ordered */ - protected static ThreadLocal VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -292,33 +321,44 @@ public static boolean validateMandatoryEntryAssignedAuthorAssignedPerson( public static boolean validateMandatoryEntryAssignedAuthorRepresentedOrganization( MandatoryEntryAssignedAuthor mandatoryEntryAssignedAuthor, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"MandatoryEntryAssignedAuthorMandatoryEntryAssignedAuthorRepresentedOrganization","ERROR"); + + + if (VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.MANDATORY_ENTRY_ASSIGNED_AUTHOR); try { - VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - mandatoryEntryAssignedAuthor)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(mandatoryEntryAssignedAuthor)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.MANDATORY_ENTRY_ASSIGNED_AUTHOR__MANDATORY_ENTRY_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION, - CONTENTPROFILEPlugin.INSTANCE.getString( - "MandatoryEntryAssignedAuthorMandatoryEntryAssignedAuthorRepresentedOrganization"), - new Object[] { mandatoryEntryAssignedAuthor })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.MANDATORY_ENTRY_ASSIGNED_AUTHOR__MANDATORY_ENTRY_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION, + CONTENTPROFILEPlugin.INSTANCE.getString("MandatoryEntryAssignedAuthorMandatoryEntryAssignedAuthorRepresentedOrganization"), + new Object [] { mandatoryEntryAssignedAuthor })); } - + return false; } return true; diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/MandatoryEntryProvenanceOperations.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/MandatoryEntryProvenanceOperations.java index f60ce4081a..9fedb32d5a 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/MandatoryEntryProvenanceOperations.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/MandatoryEntryProvenanceOperations.java @@ -7,18 +7,14 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.mdht.uml.cda.operations.AuthorOperations; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; import org.hl7.security.ds4p.contentprofile.MandatoryEntryProvenance; - import org.hl7.security.ds4p.contentprofile.util.CONTENTPROFILEValidator; /** @@ -74,7 +70,7 @@ protected MandatoryEntryProvenanceOperations() { * @ordered */ - protected static ThreadLocal VALIDATE_MANDATORY_ENTRY_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_MANDATORY_ENTRY_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -89,33 +85,44 @@ protected MandatoryEntryProvenanceOperations() { public static boolean validateMandatoryEntryProvenanceTemplateId(MandatoryEntryProvenance mandatoryEntryProvenance, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"MandatoryEntryProvenanceMandatoryEntryProvenanceTemplateId","ERROR"); + + + if (VALIDATE_MANDATORY_ENTRY_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.MANDATORY_ENTRY_PROVENANCE); try { - VALIDATE_MANDATORY_ENTRY_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_MANDATORY_ENTRY_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_MANDATORY_ENTRY_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_MANDATORY_ENTRY_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_MANDATORY_ENTRY_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - mandatoryEntryProvenance)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_MANDATORY_ENTRY_PROVENANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(mandatoryEntryProvenance)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.MANDATORY_ENTRY_PROVENANCE__MANDATORY_ENTRY_PROVENANCE_TEMPLATE_ID, - CONTENTPROFILEPlugin.INSTANCE.getString( - "MandatoryEntryProvenanceMandatoryEntryProvenanceTemplateId"), - new Object[] { mandatoryEntryProvenance })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.MANDATORY_ENTRY_PROVENANCE__MANDATORY_ENTRY_PROVENANCE_TEMPLATE_ID, + CONTENTPROFILEPlugin.INSTANCE.getString("MandatoryEntryProvenanceMandatoryEntryProvenanceTemplateId"), + new Object [] { mandatoryEntryProvenance })); } - + return false; } return true; @@ -140,7 +147,7 @@ public static boolean validateMandatoryEntryProvenanceTemplateId(MandatoryEntryP * @ordered */ - protected static ThreadLocal VALIDATE_MANDATORY_ENTRY_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_MANDATORY_ENTRY_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -155,31 +162,44 @@ public static boolean validateMandatoryEntryProvenanceTemplateId(MandatoryEntryP public static boolean validateMandatoryEntryProvenanceTime(MandatoryEntryProvenance mandatoryEntryProvenance, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"MandatoryEntryProvenanceMandatoryEntryProvenanceTime","ERROR"); + + + if (VALIDATE_MANDATORY_ENTRY_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.MANDATORY_ENTRY_PROVENANCE); try { - VALIDATE_MANDATORY_ENTRY_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_MANDATORY_ENTRY_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_MANDATORY_ENTRY_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_MANDATORY_ENTRY_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_MANDATORY_ENTRY_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - mandatoryEntryProvenance)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_MANDATORY_ENTRY_PROVENANCE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(mandatoryEntryProvenance)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.MANDATORY_ENTRY_PROVENANCE__MANDATORY_ENTRY_PROVENANCE_TIME, - CONTENTPROFILEPlugin.INSTANCE.getString("MandatoryEntryProvenanceMandatoryEntryProvenanceTime"), - new Object[] { mandatoryEntryProvenance })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.MANDATORY_ENTRY_PROVENANCE__MANDATORY_ENTRY_PROVENANCE_TIME, + CONTENTPROFILEPlugin.INSTANCE.getString("MandatoryEntryProvenanceMandatoryEntryProvenanceTime"), + new Object [] { mandatoryEntryProvenance })); } - + return false; } return true; @@ -204,7 +224,7 @@ public static boolean validateMandatoryEntryProvenanceTime(MandatoryEntryProvena * @ordered */ - protected static ThreadLocal VALIDATE_MANDATORY_ENTRY_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_MANDATORY_ENTRY_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -220,33 +240,44 @@ public static boolean validateMandatoryEntryProvenanceTime(MandatoryEntryProvena public static boolean validateMandatoryEntryProvenanceAssignedAuthor( MandatoryEntryProvenance mandatoryEntryProvenance, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"MandatoryEntryProvenanceMandatoryEntryProvenanceAssignedAuthor","ERROR"); + + + if (VALIDATE_MANDATORY_ENTRY_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.MANDATORY_ENTRY_PROVENANCE); try { - VALIDATE_MANDATORY_ENTRY_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_MANDATORY_ENTRY_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_MANDATORY_ENTRY_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_MANDATORY_ENTRY_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_MANDATORY_ENTRY_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - mandatoryEntryProvenance)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_MANDATORY_ENTRY_PROVENANCE_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(mandatoryEntryProvenance)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.MANDATORY_ENTRY_PROVENANCE__MANDATORY_ENTRY_PROVENANCE_ASSIGNED_AUTHOR, - CONTENTPROFILEPlugin.INSTANCE.getString( - "MandatoryEntryProvenanceMandatoryEntryProvenanceAssignedAuthor"), - new Object[] { mandatoryEntryProvenance })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.MANDATORY_ENTRY_PROVENANCE__MANDATORY_ENTRY_PROVENANCE_ASSIGNED_AUTHOR, + CONTENTPROFILEPlugin.INSTANCE.getString("MandatoryEntryProvenanceMandatoryEntryProvenanceAssignedAuthor"), + new Object [] { mandatoryEntryProvenance })); } - + return false; } return true; diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/ObligationPolicySecurityObservationOperations.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/ObligationPolicySecurityObservationOperations.java index ba009cc3a9..29f8b3469c 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/ObligationPolicySecurityObservationOperations.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/ObligationPolicySecurityObservationOperations.java @@ -8,16 +8,13 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; import org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation; - import org.hl7.security.ds4p.contentprofile.util.CONTENTPROFILEValidator; /** @@ -75,7 +72,7 @@ protected ObligationPolicySecurityObservationOperations() { * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -91,32 +88,44 @@ protected ObligationPolicySecurityObservationOperations() { public static boolean validateSecurityObservationTemplateId( ObligationPolicySecurityObservation obligationPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"ObligationPolicySecurityObservationSecurityObservationTemplateId","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.OBLIGATION_POLICY_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - obligationPolicySecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(obligationPolicySecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.OBLIGATION_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_TEMPLATE_ID, - CONTENTPROFILEPlugin.INSTANCE.getString( - "ObligationPolicySecurityObservationSecurityObservationTemplateId"), - new Object[] { obligationPolicySecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.OBLIGATION_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_TEMPLATE_ID, + CONTENTPROFILEPlugin.INSTANCE.getString("ObligationPolicySecurityObservationSecurityObservationTemplateId"), + new Object [] { obligationPolicySecurityObservation })); } - + return false; } return true; @@ -141,7 +150,7 @@ public static boolean validateSecurityObservationTemplateId( * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -157,37 +166,48 @@ public static boolean validateSecurityObservationTemplateId( public static boolean validateSecurityObservationCodeP( ObligationPolicySecurityObservation obligationPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"ObligationPolicySecurityObservationSecurityObservationCodeP","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.OBLIGATION_POLICY_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - obligationPolicySecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(obligationPolicySecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.OBLIGATION_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE_P, - CONTENTPROFILEPlugin.INSTANCE.getString( - "ObligationPolicySecurityObservationSecurityObservationCodeP"), - new Object[] { obligationPolicySecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.OBLIGATION_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE_P, + CONTENTPROFILEPlugin.INSTANCE.getString("ObligationPolicySecurityObservationSecurityObservationCodeP"), + new Object [] { obligationPolicySecurityObservation })); } - + if (context != null) { // generate a pass token for my dependent constraints to short-circuit or filter results @SuppressWarnings("unchecked") - Collection passToken = (Collection) context.get( - "org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); + Collection passToken = (Collection) context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); if (passToken == null) { // anticipate a reasonably healthy model passToken = new java.util.ArrayList(3); @@ -195,7 +215,7 @@ public static boolean validateSecurityObservationCodeP( } passToken.add(obligationPolicySecurityObservation); } - + return false; } return true; @@ -209,9 +229,9 @@ public static boolean validateSecurityObservationCodeP( * @generated * @ordered */ - protected static final String VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and " + - "let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in " + - "value.code = 'SECCONOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20457'"; + protected static final String VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and "+ +"let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in "+ +"value.code = 'SECCONOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20457'"; /** * The cached OCL invariant for the '{@link #validateSecurityObservationCode(ObligationPolicySecurityObservation, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code}' invariant operation. @@ -222,7 +242,7 @@ public static boolean validateSecurityObservationCodeP( * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -238,40 +258,50 @@ public static boolean validateSecurityObservationCodeP( public static boolean validateSecurityObservationCode( ObligationPolicySecurityObservation obligationPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - - Object passToken = (context == null) - ? null - : context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); - if ((passToken instanceof Collection) && - ((Collection) passToken).contains(obligationPolicySecurityObservation)) { + + + + + Object passToken = (context == null) ? null : context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); + if ((passToken instanceof Collection) && ((Collection) passToken).contains(obligationPolicySecurityObservation)) { // I have a free pass to short-circuit return true; } - + + + + + + + + DatatypesUtil.increment(context,"ObligationPolicySecurityObservationSecurityObservationCode","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.OBLIGATION_POLICY_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - obligationPolicySecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(obligationPolicySecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.OBLIGATION_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE, - CONTENTPROFILEPlugin.INSTANCE.getString( - "ObligationPolicySecurityObservationSecurityObservationCode"), - new Object[] { obligationPolicySecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.OBLIGATION_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE, + CONTENTPROFILEPlugin.INSTANCE.getString("ObligationPolicySecurityObservationSecurityObservationCode"), + new Object [] { obligationPolicySecurityObservation })); } - + return false; } return true; @@ -296,7 +326,7 @@ public static boolean validateSecurityObservationCode( * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -312,37 +342,48 @@ public static boolean validateSecurityObservationCode( public static boolean validateSecurityObservationValueP( ObligationPolicySecurityObservation obligationPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"ObligationPolicySecurityObservationSecurityObservationValueP","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.OBLIGATION_POLICY_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - obligationPolicySecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(obligationPolicySecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.OBLIGATION_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE_P, - CONTENTPROFILEPlugin.INSTANCE.getString( - "ObligationPolicySecurityObservationSecurityObservationValueP"), - new Object[] { obligationPolicySecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.OBLIGATION_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE_P, + CONTENTPROFILEPlugin.INSTANCE.getString("ObligationPolicySecurityObservationSecurityObservationValueP"), + new Object [] { obligationPolicySecurityObservation })); } - + if (context != null) { // generate a pass token for my dependent constraints to short-circuit or filter results @SuppressWarnings("unchecked") - Collection passToken = (Collection) context.get( - "org.hl7.security.ds4p.contentprofile.SecurityObservationValueP"); + Collection passToken = (Collection) context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationValueP"); if (passToken == null) { // anticipate a reasonably healthy model passToken = new java.util.ArrayList(3); @@ -350,7 +391,7 @@ public static boolean validateSecurityObservationValueP( } passToken.add(obligationPolicySecurityObservation); } - + return false; } return true; @@ -364,9 +405,9 @@ public static boolean validateSecurityObservationValueP( * @generated * @ordered */ - protected static final String VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and " + - "let value : datatypes::CE = element.oclAsType(datatypes::CE) in " + - "value.codeSystem = '2.16.840.1.113883.1.11.20471' and (value.code = 'CPLYCD' or value.code = 'ENCRYPT'))"; + protected static final String VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and "+ +"let value : datatypes::CE = element.oclAsType(datatypes::CE) in "+ +"value.codeSystem = '2.16.840.1.113883.5.1063' and (value.code = 'CPLYCD' or value.code = 'ENCRYPT'))"; /** * The cached OCL invariant for the '{@link #validateSecurityObservationValue(ObligationPolicySecurityObservation, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Value}' invariant operation. @@ -377,7 +418,7 @@ public static boolean validateSecurityObservationValueP( * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -393,41 +434,50 @@ public static boolean validateSecurityObservationValueP( public static boolean validateSecurityObservationValue( ObligationPolicySecurityObservation obligationPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - - Object passToken = (context == null) - ? null - : context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationValueP"); - if ((passToken instanceof Collection) && - ((Collection) passToken).contains(obligationPolicySecurityObservation)) { + + + + + Object passToken = (context == null) ? null : context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationValueP"); + if ((passToken instanceof Collection) && ((Collection) passToken).contains(obligationPolicySecurityObservation)) { // I have a free pass to short-circuit return true; } - + + + + + + + + DatatypesUtil.increment(context,"ObligationPolicySecurityObservationSecurityObservationValue","WARNING"); + + + if (VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.OBLIGATION_POLICY_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - obligationPolicySecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(obligationPolicySecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.WARNING, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.OBLIGATION_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE, - CONTENTPROFILEPlugin.INSTANCE.getString( - "ObligationPolicySecurityObservationSecurityObservationValue"), - new Object[] { obligationPolicySecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.WARNING, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.OBLIGATION_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE, + CONTENTPROFILEPlugin.INSTANCE.getString("ObligationPolicySecurityObservationSecurityObservationValue"), + new Object [] { obligationPolicySecurityObservation })); } - + return false; } return true; diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacyAnnotationEntryRelationshipOperations.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacyAnnotationEntryRelationshipOperations.java index 88b0e87cc7..fd0fc3f8bf 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacyAnnotationEntryRelationshipOperations.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacyAnnotationEntryRelationshipOperations.java @@ -7,18 +7,14 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.mdht.uml.cda.operations.EntryRelationshipOperations; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; import org.hl7.security.ds4p.contentprofile.PrivacyAnnotationEntryRelationship; - import org.hl7.security.ds4p.contentprofile.util.CONTENTPROFILEValidator; /** @@ -73,7 +69,7 @@ protected PrivacyAnnotationEntryRelationshipOperations() { * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -89,33 +85,44 @@ protected PrivacyAnnotationEntryRelationshipOperations() { public static boolean validatePrivacyAnnotationEntryRelationshipTemplateId( PrivacyAnnotationEntryRelationship privacyAnnotationEntryRelationship, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyAnnotationEntryRelationshipPrivacyAnnotationEntryRelationshipTemplateId","ERROR"); + + + if (VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP); try { - VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacyAnnotationEntryRelationship)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyAnnotationEntryRelationship)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_TEMPLATE_ID, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PrivacyAnnotationEntryRelationshipPrivacyAnnotationEntryRelationshipTemplateId"), - new Object[] { privacyAnnotationEntryRelationship })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_TEMPLATE_ID, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyAnnotationEntryRelationshipPrivacyAnnotationEntryRelationshipTemplateId"), + new Object [] { privacyAnnotationEntryRelationship })); } - + return false; } return true; @@ -140,7 +147,7 @@ public static boolean validatePrivacyAnnotationEntryRelationshipTemplateId( * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -156,33 +163,44 @@ public static boolean validatePrivacyAnnotationEntryRelationshipTemplateId( public static boolean validatePrivacyAnnotationEntryRelationshipOrganizer( PrivacyAnnotationEntryRelationship privacyAnnotationEntryRelationship, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyAnnotationEntryRelationshipPrivacyAnnotationEntryRelationshipOrganizer","ERROR"); + + + if (VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP); try { - VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacyAnnotationEntryRelationship)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyAnnotationEntryRelationship)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_ORGANIZER, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PrivacyAnnotationEntryRelationshipPrivacyAnnotationEntryRelationshipOrganizer"), - new Object[] { privacyAnnotationEntryRelationship })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP__PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP_ORGANIZER, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyAnnotationEntryRelationshipPrivacyAnnotationEntryRelationshipOrganizer"), + new Object [] { privacyAnnotationEntryRelationship })); } - + return false; } return true; diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacyAnnotationOperations.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacyAnnotationOperations.java index 520c74a799..114f054c3a 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacyAnnotationOperations.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacyAnnotationOperations.java @@ -10,18 +10,13 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EClassifier; - import org.eclipse.mdht.uml.cda.operations.OrganizerOperations; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.eclipse.ocl.expressions.OCLExpression; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; import org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation; @@ -29,7 +24,6 @@ import org.hl7.security.ds4p.contentprofile.PrivacyAnnotation; import org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation; import org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation; - import org.hl7.security.ds4p.contentprofile.util.CONTENTPROFILEValidator; /** @@ -95,7 +89,7 @@ protected PrivacyAnnotationOperations() { * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_ANNOTATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_ANNOTATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -110,30 +104,44 @@ protected PrivacyAnnotationOperations() { public static boolean validatePrivacyAnnotationTemplateId(PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyAnnotationPrivacyAnnotationTemplateId","ERROR"); + + + if (VALIDATE_PRIVACY_ANNOTATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION); try { - VALIDATE_PRIVACY_ANNOTATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_PRIVACY_ANNOTATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_ANNOTATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_ANNOTATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_ANNOTATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyAnnotation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_ANNOTATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyAnnotation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_TEMPLATE_ID, - CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyAnnotationPrivacyAnnotationTemplateId"), - new Object[] { privacyAnnotation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_TEMPLATE_ID, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyAnnotationPrivacyAnnotationTemplateId"), + new Object [] { privacyAnnotation })); } - + return false; } return true; @@ -158,7 +166,7 @@ public static boolean validatePrivacyAnnotationTemplateId(PrivacyAnnotation priv * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_ANNOTATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_ANNOTATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -173,30 +181,44 @@ public static boolean validatePrivacyAnnotationTemplateId(PrivacyAnnotation priv public static boolean validatePrivacyAnnotationClassCode(PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyAnnotationPrivacyAnnotationClassCode","ERROR"); + + + if (VALIDATE_PRIVACY_ANNOTATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION); try { - VALIDATE_PRIVACY_ANNOTATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_PRIVACY_ANNOTATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_ANNOTATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_ANNOTATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_ANNOTATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyAnnotation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_ANNOTATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyAnnotation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_CLASS_CODE, - CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyAnnotationPrivacyAnnotationClassCode"), - new Object[] { privacyAnnotation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_CLASS_CODE, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyAnnotationPrivacyAnnotationClassCode"), + new Object [] { privacyAnnotation })); } - + return false; } return true; @@ -221,7 +243,7 @@ public static boolean validatePrivacyAnnotationClassCode(PrivacyAnnotation priva * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_ANNOTATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_ANNOTATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -236,30 +258,44 @@ public static boolean validatePrivacyAnnotationClassCode(PrivacyAnnotation priva public static boolean validatePrivacyAnnotationMoodCode(PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyAnnotationPrivacyAnnotationMoodCode","ERROR"); + + + if (VALIDATE_PRIVACY_ANNOTATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION); try { - VALIDATE_PRIVACY_ANNOTATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_PRIVACY_ANNOTATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_ANNOTATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_ANNOTATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_ANNOTATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyAnnotation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_ANNOTATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyAnnotation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_MOOD_CODE, - CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyAnnotationPrivacyAnnotationMoodCode"), - new Object[] { privacyAnnotation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_MOOD_CODE, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyAnnotationPrivacyAnnotationMoodCode"), + new Object [] { privacyAnnotation })); } - + return false; } return true; @@ -284,7 +320,7 @@ public static boolean validatePrivacyAnnotationMoodCode(PrivacyAnnotation privac * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -299,35 +335,48 @@ public static boolean validatePrivacyAnnotationMoodCode(PrivacyAnnotation privac public static boolean validatePrivacyAnnotationStatusCodeP(PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyAnnotationPrivacyAnnotationStatusCodeP","ERROR"); + + + if (VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION); try { - VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyAnnotation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyAnnotation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_STATUS_CODE_P, - CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyAnnotationPrivacyAnnotationStatusCodeP"), - new Object[] { privacyAnnotation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_STATUS_CODE_P, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyAnnotationPrivacyAnnotationStatusCodeP"), + new Object [] { privacyAnnotation })); } - + if (context != null) { // generate a pass token for my dependent constraints to short-circuit or filter results @SuppressWarnings("unchecked") - Collection passToken = (Collection) context.get( - "org.hl7.security.ds4p.contentprofile.PrivacyAnnotationStatusCodeP"); + Collection passToken = (Collection) context.get("org.hl7.security.ds4p.contentprofile.PrivacyAnnotationStatusCodeP"); if (passToken == null) { // anticipate a reasonably healthy model passToken = new java.util.ArrayList(3); @@ -335,7 +384,7 @@ public static boolean validatePrivacyAnnotationStatusCodeP(PrivacyAnnotation pri } passToken.add(privacyAnnotation); } - + return false; } return true; @@ -349,8 +398,9 @@ public static boolean validatePrivacyAnnotationStatusCodeP(PrivacyAnnotation pri * @generated * @ordered */ - protected static final String VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "not self.statusCode.oclIsUndefined() and self.statusCode.oclIsKindOf(datatypes::CS) and " + - "let value : datatypes::CS = self.statusCode.oclAsType(datatypes::CS) in " + "value.code = 'active'"; + protected static final String VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "not self.statusCode.oclIsUndefined() and self.statusCode.oclIsKindOf(datatypes::CS) and "+ +"let value : datatypes::CS = self.statusCode.oclAsType(datatypes::CS) in "+ +"value.code = 'active'"; /** * The cached OCL invariant for the '{@link #validatePrivacyAnnotationStatusCode(PrivacyAnnotation, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Privacy Annotation Status Code}' invariant operation. @@ -361,7 +411,7 @@ public static boolean validatePrivacyAnnotationStatusCodeP(PrivacyAnnotation pri * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -376,38 +426,50 @@ public static boolean validatePrivacyAnnotationStatusCodeP(PrivacyAnnotation pri public static boolean validatePrivacyAnnotationStatusCode(PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - - Object passToken = (context == null) - ? null - : context.get("org.hl7.security.ds4p.contentprofile.PrivacyAnnotationStatusCodeP"); + + + + + Object passToken = (context == null) ? null : context.get("org.hl7.security.ds4p.contentprofile.PrivacyAnnotationStatusCodeP"); if ((passToken instanceof Collection) && ((Collection) passToken).contains(privacyAnnotation)) { // I have a free pass to short-circuit return true; } - + + + + + + + + DatatypesUtil.increment(context,"PrivacyAnnotationPrivacyAnnotationStatusCode","ERROR"); + + + if (VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION); try { - VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyAnnotation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_ANNOTATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyAnnotation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_STATUS_CODE, - CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyAnnotationPrivacyAnnotationStatusCode"), - new Object[] { privacyAnnotation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_STATUS_CODE, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyAnnotationPrivacyAnnotationStatusCode"), + new Object [] { privacyAnnotation })); } - + return false; } return true; @@ -432,7 +494,7 @@ public static boolean validatePrivacyAnnotationStatusCode(PrivacyAnnotation priv * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_ANNOTATION_OBLIGATION_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_ANNOTATION_OBLIGATION_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -447,33 +509,44 @@ public static boolean validatePrivacyAnnotationStatusCode(PrivacyAnnotation priv public static boolean validatePrivacyAnnotationObligationPolicySecurityObservation( PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyAnnotationPrivacyAnnotationObligationPolicySecurityObservation","INFO"); + + + if (VALIDATE_PRIVACY_ANNOTATION_OBLIGATION_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION); try { - VALIDATE_PRIVACY_ANNOTATION_OBLIGATION_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PRIVACY_ANNOTATION_OBLIGATION_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_ANNOTATION_OBLIGATION_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_ANNOTATION_OBLIGATION_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_ANNOTATION_OBLIGATION_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacyAnnotation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_ANNOTATION_OBLIGATION_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyAnnotation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.INFO, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_OBLIGATION_POLICY_SECURITY_OBSERVATION, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PrivacyAnnotationPrivacyAnnotationObligationPolicySecurityObservation"), - new Object[] { privacyAnnotation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.INFO, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_OBLIGATION_POLICY_SECURITY_OBSERVATION, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyAnnotationPrivacyAnnotationObligationPolicySecurityObservation"), + new Object [] { privacyAnnotation })); } - + return false; } return true; @@ -498,7 +571,7 @@ public static boolean validatePrivacyAnnotationObligationPolicySecurityObservati * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_ANNOTATION_REFRAIN_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_ANNOTATION_REFRAIN_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -513,33 +586,44 @@ public static boolean validatePrivacyAnnotationObligationPolicySecurityObservati public static boolean validatePrivacyAnnotationRefrainPolicySecurityObservation(PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyAnnotationPrivacyAnnotationRefrainPolicySecurityObservation","INFO"); + + + if (VALIDATE_PRIVACY_ANNOTATION_REFRAIN_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION); try { - VALIDATE_PRIVACY_ANNOTATION_REFRAIN_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PRIVACY_ANNOTATION_REFRAIN_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_ANNOTATION_REFRAIN_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_ANNOTATION_REFRAIN_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_ANNOTATION_REFRAIN_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacyAnnotation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_ANNOTATION_REFRAIN_POLICY_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyAnnotation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.INFO, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_REFRAIN_POLICY_SECURITY_OBSERVATION, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PrivacyAnnotationPrivacyAnnotationRefrainPolicySecurityObservation"), - new Object[] { privacyAnnotation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.INFO, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_REFRAIN_POLICY_SECURITY_OBSERVATION, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyAnnotationPrivacyAnnotationRefrainPolicySecurityObservation"), + new Object [] { privacyAnnotation })); } - + return false; } return true; @@ -564,7 +648,7 @@ public static boolean validatePrivacyAnnotationRefrainPolicySecurityObservation( * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_ANNOTATION_PURPOSE_OF_USE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_ANNOTATION_PURPOSE_OF_USE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -579,33 +663,44 @@ public static boolean validatePrivacyAnnotationRefrainPolicySecurityObservation( public static boolean validatePrivacyAnnotationPurposeOfUseSecurityObservation(PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyAnnotationPrivacyAnnotationPurposeOfUseSecurityObservation","INFO"); + + + if (VALIDATE_PRIVACY_ANNOTATION_PURPOSE_OF_USE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION); try { - VALIDATE_PRIVACY_ANNOTATION_PURPOSE_OF_USE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PRIVACY_ANNOTATION_PURPOSE_OF_USE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_ANNOTATION_PURPOSE_OF_USE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_ANNOTATION_PURPOSE_OF_USE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_ANNOTATION_PURPOSE_OF_USE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacyAnnotation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_ANNOTATION_PURPOSE_OF_USE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyAnnotation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.INFO, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_PURPOSE_OF_USE_SECURITY_OBSERVATION, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PrivacyAnnotationPrivacyAnnotationPurposeOfUseSecurityObservation"), - new Object[] { privacyAnnotation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.INFO, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_PURPOSE_OF_USE_SECURITY_OBSERVATION, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyAnnotationPrivacyAnnotationPurposeOfUseSecurityObservation"), + new Object [] { privacyAnnotation })); } - + return false; } return true; @@ -630,7 +725,7 @@ public static boolean validatePrivacyAnnotationPurposeOfUseSecurityObservation(P * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_ANNOTATION_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_ANNOTATION_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -645,33 +740,44 @@ public static boolean validatePrivacyAnnotationPurposeOfUseSecurityObservation(P public static boolean validatePrivacyAnnotationConfidentialityCodeSecurityObservation( PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyAnnotationPrivacyAnnotationConfidentialityCodeSecurityObservation","ERROR"); + + + if (VALIDATE_PRIVACY_ANNOTATION_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION); try { - VALIDATE_PRIVACY_ANNOTATION_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PRIVACY_ANNOTATION_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_ANNOTATION_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_ANNOTATION_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_ANNOTATION_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacyAnnotation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_ANNOTATION_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyAnnotation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PrivacyAnnotationPrivacyAnnotationConfidentialityCodeSecurityObservation"), - new Object[] { privacyAnnotation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_ANNOTATION__PRIVACY_ANNOTATION_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyAnnotationPrivacyAnnotationConfidentialityCodeSecurityObservation"), + new Object [] { privacyAnnotation })); } - + return false; } return true; @@ -705,25 +811,25 @@ public static boolean validatePrivacyAnnotationConfidentialityCodeSecurityObserv public static EList getObligationPolicySecurityObservations( PrivacyAnnotation privacyAnnotation) { - + + + if (GET_OBLIGATION_POLICY_SECURITY_OBSERVATIONS__EOCL_QRY == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); - helper.setOperationContext( - CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION, - CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION.getEAllOperations().get(61)); + helper.setOperationContext(CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION, CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION.getEAllOperations().get(61)); try { - GET_OBLIGATION_POLICY_SECURITY_OBSERVATIONS__EOCL_QRY = helper.createQuery( - GET_OBLIGATION_POLICY_SECURITY_OBSERVATIONS__EOCL_EXP); - } catch (ParserException pe) { + GET_OBLIGATION_POLICY_SECURITY_OBSERVATIONS__EOCL_QRY = helper.createQuery(GET_OBLIGATION_POLICY_SECURITY_OBSERVATIONS__EOCL_EXP); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - + } + OCL.Query query = EOCL_ENV.get().createQuery(GET_OBLIGATION_POLICY_SECURITY_OBSERVATIONS__EOCL_QRY); @SuppressWarnings("unchecked") - Collection result = (Collection) query.evaluate( - privacyAnnotation); + Collection result = (Collection) query.evaluate(privacyAnnotation); return new BasicEList.UnmodifiableEList(result.size(), result.toArray()); } @@ -755,25 +861,25 @@ public static EList getObligationPolicySecu public static EList getRefrainPolicySecurityObservations( PrivacyAnnotation privacyAnnotation) { - + + + if (GET_REFRAIN_POLICY_SECURITY_OBSERVATIONS__EOCL_QRY == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); - helper.setOperationContext( - CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION, - CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION.getEAllOperations().get(62)); + helper.setOperationContext(CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION, CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION.getEAllOperations().get(62)); try { - GET_REFRAIN_POLICY_SECURITY_OBSERVATIONS__EOCL_QRY = helper.createQuery( - GET_REFRAIN_POLICY_SECURITY_OBSERVATIONS__EOCL_EXP); - } catch (ParserException pe) { + GET_REFRAIN_POLICY_SECURITY_OBSERVATIONS__EOCL_QRY = helper.createQuery(GET_REFRAIN_POLICY_SECURITY_OBSERVATIONS__EOCL_EXP); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - + } + OCL.Query query = EOCL_ENV.get().createQuery(GET_REFRAIN_POLICY_SECURITY_OBSERVATIONS__EOCL_QRY); @SuppressWarnings("unchecked") - Collection result = (Collection) query.evaluate( - privacyAnnotation); + Collection result = (Collection) query.evaluate(privacyAnnotation); return new BasicEList.UnmodifiableEList(result.size(), result.toArray()); } @@ -805,25 +911,25 @@ public static EList getRefrainPolicySecurityOb public static EList getPurposeOfUseSecurityObservations( PrivacyAnnotation privacyAnnotation) { - + + + if (GET_PURPOSE_OF_USE_SECURITY_OBSERVATIONS__EOCL_QRY == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); - helper.setOperationContext( - CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION, - CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION.getEAllOperations().get(63)); + helper.setOperationContext(CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION, CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION.getEAllOperations().get(63)); try { - GET_PURPOSE_OF_USE_SECURITY_OBSERVATIONS__EOCL_QRY = helper.createQuery( - GET_PURPOSE_OF_USE_SECURITY_OBSERVATIONS__EOCL_EXP); - } catch (ParserException pe) { + GET_PURPOSE_OF_USE_SECURITY_OBSERVATIONS__EOCL_QRY = helper.createQuery(GET_PURPOSE_OF_USE_SECURITY_OBSERVATIONS__EOCL_EXP); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - + } + OCL.Query query = EOCL_ENV.get().createQuery(GET_PURPOSE_OF_USE_SECURITY_OBSERVATIONS__EOCL_QRY); @SuppressWarnings("unchecked") - Collection result = (Collection) query.evaluate( - privacyAnnotation); + Collection result = (Collection) query.evaluate(privacyAnnotation); return new BasicEList.UnmodifiableEList(result.size(), result.toArray()); } @@ -855,21 +961,22 @@ public static EList getPurposeOfUseSecurityObse public static ConfidentialitySecurityObservation getConfidentialityCodeSecurityObservation( PrivacyAnnotation privacyAnnotation) { - + + + if (GET_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION__EOCL_QRY == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); - helper.setOperationContext( - CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION, - CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION.getEAllOperations().get(64)); + helper.setOperationContext(CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION, CONTENTPROFILEPackage.Literals.PRIVACY_ANNOTATION.getEAllOperations().get(64)); try { - GET_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION__EOCL_QRY = helper.createQuery( - GET_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION__EOCL_EXP); - } catch (ParserException pe) { + GET_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION__EOCL_QRY = helper.createQuery(GET_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION__EOCL_EXP); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - + } + OCL.Query query = EOCL_ENV.get().createQuery(GET_CONFIDENTIALITY_CODE_SECURITY_OBSERVATION__EOCL_QRY); return (ConfidentialitySecurityObservation) query.evaluate(privacyAnnotation); } diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacyMarkingsEntryOperations.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacyMarkingsEntryOperations.java index 0cf734127f..1f8c57e207 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacyMarkingsEntryOperations.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacyMarkingsEntryOperations.java @@ -7,18 +7,14 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.mdht.uml.cda.operations.EntryOperations; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; import org.hl7.security.ds4p.contentprofile.PrivacyMarkingsEntry; - import org.hl7.security.ds4p.contentprofile.util.CONTENTPROFILEValidator; /** @@ -73,7 +69,7 @@ protected PrivacyMarkingsEntryOperations() { * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_MARKINGS_ENTRY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_MARKINGS_ENTRY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -88,32 +84,44 @@ protected PrivacyMarkingsEntryOperations() { public static boolean validatePrivacyMarkingsEntryTemplateId(PrivacyMarkingsEntry privacyMarkingsEntry, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyMarkingsEntryPrivacyMarkingsEntryTemplateId","ERROR"); + + + if (VALIDATE_PRIVACY_MARKINGS_ENTRY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_MARKINGS_ENTRY); try { - VALIDATE_PRIVACY_MARKINGS_ENTRY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PRIVACY_MARKINGS_ENTRY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_MARKINGS_ENTRY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_MARKINGS_ENTRY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_MARKINGS_ENTRY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacyMarkingsEntry)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_MARKINGS_ENTRY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyMarkingsEntry)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_MARKINGS_ENTRY__PRIVACY_MARKINGS_ENTRY_TEMPLATE_ID, - CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyMarkingsEntryPrivacyMarkingsEntryTemplateId"), - new Object[] { privacyMarkingsEntry })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_MARKINGS_ENTRY__PRIVACY_MARKINGS_ENTRY_TEMPLATE_ID, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyMarkingsEntryPrivacyMarkingsEntryTemplateId"), + new Object [] { privacyMarkingsEntry })); } - + return false; } return true; @@ -138,7 +146,7 @@ public static boolean validatePrivacyMarkingsEntryTemplateId(PrivacyMarkingsEntr * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_MARKINGS_ENTRY_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_MARKINGS_ENTRY_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -153,31 +161,44 @@ public static boolean validatePrivacyMarkingsEntryTemplateId(PrivacyMarkingsEntr public static boolean validatePrivacyMarkingsEntryOrganizer(PrivacyMarkingsEntry privacyMarkingsEntry, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyMarkingsEntryPrivacyMarkingsEntryOrganizer","ERROR"); + + + if (VALIDATE_PRIVACY_MARKINGS_ENTRY_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_MARKINGS_ENTRY); try { - VALIDATE_PRIVACY_MARKINGS_ENTRY_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_PRIVACY_MARKINGS_ENTRY_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_MARKINGS_ENTRY_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_MARKINGS_ENTRY_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_MARKINGS_ENTRY_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacyMarkingsEntry)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_MARKINGS_ENTRY_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyMarkingsEntry)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_MARKINGS_ENTRY__PRIVACY_MARKINGS_ENTRY_ORGANIZER, - CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyMarkingsEntryPrivacyMarkingsEntryOrganizer"), - new Object[] { privacyMarkingsEntry })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_MARKINGS_ENTRY__PRIVACY_MARKINGS_ENTRY_ORGANIZER, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyMarkingsEntryPrivacyMarkingsEntryOrganizer"), + new Object [] { privacyMarkingsEntry })); } - + return false; } return true; diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacyMarkingsSectionOperations.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacyMarkingsSectionOperations.java index 85a9d638b4..04aa5ef87f 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacyMarkingsSectionOperations.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacyMarkingsSectionOperations.java @@ -7,18 +7,14 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.mdht.uml.cda.operations.SectionOperations; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; import org.hl7.security.ds4p.contentprofile.PrivacyMarkingsSection; - import org.hl7.security.ds4p.contentprofile.util.CONTENTPROFILEValidator; /** @@ -76,7 +72,7 @@ protected PrivacyMarkingsSectionOperations() { * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_MARKINGS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_MARKINGS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -91,33 +87,44 @@ protected PrivacyMarkingsSectionOperations() { public static boolean validatePrivacyMarkingsSectionTemplateId(PrivacyMarkingsSection privacyMarkingsSection, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyMarkingsSectionPrivacyMarkingsSectionTemplateId","ERROR"); + + + if (VALIDATE_PRIVACY_MARKINGS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_MARKINGS_SECTION); try { - VALIDATE_PRIVACY_MARKINGS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PRIVACY_MARKINGS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_MARKINGS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_MARKINGS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_MARKINGS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacyMarkingsSection)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_MARKINGS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyMarkingsSection)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_MARKINGS_SECTION__PRIVACY_MARKINGS_SECTION_TEMPLATE_ID, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PrivacyMarkingsSectionPrivacyMarkingsSectionTemplateId"), - new Object[] { privacyMarkingsSection })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_MARKINGS_SECTION__PRIVACY_MARKINGS_SECTION_TEMPLATE_ID, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyMarkingsSectionPrivacyMarkingsSectionTemplateId"), + new Object [] { privacyMarkingsSection })); } - + return false; } return true; @@ -131,9 +138,9 @@ public static boolean validatePrivacyMarkingsSectionTemplateId(PrivacyMarkingsSe * @generated * @ordered */ - protected static final String VALIDATE_PRIVACY_MARKINGS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "(self.code.oclIsUndefined() or self.code.isNullFlavorUndefined()) implies (not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CE) and " + - "let value : datatypes::CE = self.code.oclAsType(datatypes::CE) in " + - "value.code = '57017-6' and value.codeSystem = '2.16.840.1.113883.6.1')"; + protected static final String VALIDATE_PRIVACY_MARKINGS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "(self.code.oclIsUndefined() or self.code.isNullFlavorUndefined()) implies (not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CE) and "+ +"let value : datatypes::CE = self.code.oclAsType(datatypes::CE) in "+ +"value.code = '57017-6' and value.codeSystem = '2.16.840.1.113883.6.1')"; /** * The cached OCL invariant for the '{@link #validatePrivacyMarkingsSectionCode(PrivacyMarkingsSection, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Privacy Markings Section Code}' invariant operation. @@ -144,7 +151,7 @@ public static boolean validatePrivacyMarkingsSectionTemplateId(PrivacyMarkingsSe * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_MARKINGS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_MARKINGS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -159,31 +166,44 @@ public static boolean validatePrivacyMarkingsSectionTemplateId(PrivacyMarkingsSe public static boolean validatePrivacyMarkingsSectionCode(PrivacyMarkingsSection privacyMarkingsSection, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyMarkingsSectionPrivacyMarkingsSectionCode","WARNING"); + + + if (VALIDATE_PRIVACY_MARKINGS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_MARKINGS_SECTION); try { - VALIDATE_PRIVACY_MARKINGS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_PRIVACY_MARKINGS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_MARKINGS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_MARKINGS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_MARKINGS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacyMarkingsSection)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_MARKINGS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyMarkingsSection)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.WARNING, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_MARKINGS_SECTION__PRIVACY_MARKINGS_SECTION_CODE, - CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyMarkingsSectionPrivacyMarkingsSectionCode"), - new Object[] { privacyMarkingsSection })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.WARNING, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_MARKINGS_SECTION__PRIVACY_MARKINGS_SECTION_CODE, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyMarkingsSectionPrivacyMarkingsSectionCode"), + new Object [] { privacyMarkingsSection })); } - + return false; } return true; @@ -208,7 +228,7 @@ public static boolean validatePrivacyMarkingsSectionCode(PrivacyMarkingsSection * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_MARKINGS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_MARKINGS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -223,31 +243,44 @@ public static boolean validatePrivacyMarkingsSectionCode(PrivacyMarkingsSection public static boolean validatePrivacyMarkingsSectionCodeP(PrivacyMarkingsSection privacyMarkingsSection, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyMarkingsSectionPrivacyMarkingsSectionCodeP","ERROR"); + + + if (VALIDATE_PRIVACY_MARKINGS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_MARKINGS_SECTION); try { - VALIDATE_PRIVACY_MARKINGS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_PRIVACY_MARKINGS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_MARKINGS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_MARKINGS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_MARKINGS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacyMarkingsSection)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_MARKINGS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyMarkingsSection)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_MARKINGS_SECTION__PRIVACY_MARKINGS_SECTION_CODE_P, - CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyMarkingsSectionPrivacyMarkingsSectionCodeP"), - new Object[] { privacyMarkingsSection })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_MARKINGS_SECTION__PRIVACY_MARKINGS_SECTION_CODE_P, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyMarkingsSectionPrivacyMarkingsSectionCodeP"), + new Object [] { privacyMarkingsSection })); } - + return false; } return true; @@ -272,7 +305,7 @@ public static boolean validatePrivacyMarkingsSectionCodeP(PrivacyMarkingsSection * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_MARKINGS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_MARKINGS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -287,31 +320,44 @@ public static boolean validatePrivacyMarkingsSectionCodeP(PrivacyMarkingsSection public static boolean validatePrivacyMarkingsSectionText(PrivacyMarkingsSection privacyMarkingsSection, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyMarkingsSectionPrivacyMarkingsSectionText","ERROR"); + + + if (VALIDATE_PRIVACY_MARKINGS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_MARKINGS_SECTION); try { - VALIDATE_PRIVACY_MARKINGS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_PRIVACY_MARKINGS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_MARKINGS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_MARKINGS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_MARKINGS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacyMarkingsSection)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_MARKINGS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyMarkingsSection)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_MARKINGS_SECTION__PRIVACY_MARKINGS_SECTION_TEXT, - CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyMarkingsSectionPrivacyMarkingsSectionText"), - new Object[] { privacyMarkingsSection })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_MARKINGS_SECTION__PRIVACY_MARKINGS_SECTION_TEXT, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyMarkingsSectionPrivacyMarkingsSectionText"), + new Object [] { privacyMarkingsSection })); } - + return false; } return true; @@ -336,7 +382,7 @@ public static boolean validatePrivacyMarkingsSectionText(PrivacyMarkingsSection * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_MARKINGS_SECTION_ENTRY1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_MARKINGS_SECTION_ENTRY1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -351,31 +397,44 @@ public static boolean validatePrivacyMarkingsSectionText(PrivacyMarkingsSection public static boolean validatePrivacyMarkingsSectionEntry1(PrivacyMarkingsSection privacyMarkingsSection, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacyMarkingsSectionPrivacyMarkingsSectionEntry1","INFO"); + + + if (VALIDATE_PRIVACY_MARKINGS_SECTION_ENTRY1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_MARKINGS_SECTION); try { - VALIDATE_PRIVACY_MARKINGS_SECTION_ENTRY1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_PRIVACY_MARKINGS_SECTION_ENTRY1__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_MARKINGS_SECTION_ENTRY1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_MARKINGS_SECTION_ENTRY1__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_MARKINGS_SECTION_ENTRY1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacyMarkingsSection)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_MARKINGS_SECTION_ENTRY1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacyMarkingsSection)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.INFO, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_MARKINGS_SECTION__PRIVACY_MARKINGS_SECTION_ENTRY1, - CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyMarkingsSectionPrivacyMarkingsSectionEntry1"), - new Object[] { privacyMarkingsSection })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.INFO, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_MARKINGS_SECTION__PRIVACY_MARKINGS_SECTION_ENTRY1, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacyMarkingsSectionPrivacyMarkingsSectionEntry1"), + new Object [] { privacyMarkingsSection })); } - + return false; } return true; diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacySegmentedDocumentOperations.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacySegmentedDocumentOperations.java index aea3e32d8e..1c3e5efe1a 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacySegmentedDocumentOperations.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacySegmentedDocumentOperations.java @@ -10,22 +10,17 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EClassifier; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.eclipse.ocl.expressions.OCLExpression; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; import org.hl7.security.ds4p.contentprofile.PrivacyMarkingsSection; import org.hl7.security.ds4p.contentprofile.PrivacySegmentedDocument; import org.hl7.security.ds4p.contentprofile.PrivacySegmentedSection; - import org.hl7.security.ds4p.contentprofile.util.CONTENTPROFILEValidator; import org.openhealthtools.mdht.uml.cda.consol.operations.GeneralHeaderConstraintsOperations; @@ -85,7 +80,7 @@ protected PrivacySegmentedDocumentOperations() { * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -100,33 +95,44 @@ protected PrivacySegmentedDocumentOperations() { public static boolean validatePrivacySegmentedDocumentTemplateId(PrivacySegmentedDocument privacySegmentedDocument, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacySegmentedDocumentPrivacySegmentedDocumentTemplateId","ERROR"); + + + if (VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_SEGMENTED_DOCUMENT); try { - VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacySegmentedDocument)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacySegmentedDocument)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_SEGMENTED_DOCUMENT__PRIVACY_SEGMENTED_DOCUMENT_TEMPLATE_ID, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PrivacySegmentedDocumentPrivacySegmentedDocumentTemplateId"), - new Object[] { privacySegmentedDocument })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_SEGMENTED_DOCUMENT__PRIVACY_SEGMENTED_DOCUMENT_TEMPLATE_ID, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacySegmentedDocumentPrivacySegmentedDocumentTemplateId"), + new Object [] { privacySegmentedDocument })); } - + return false; } return true; @@ -151,7 +157,7 @@ public static boolean validatePrivacySegmentedDocumentTemplateId(PrivacySegmente * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_AUTHOR1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_AUTHOR1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -166,33 +172,44 @@ public static boolean validatePrivacySegmentedDocumentTemplateId(PrivacySegmente public static boolean validatePrivacySegmentedDocumentAuthor1(PrivacySegmentedDocument privacySegmentedDocument, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacySegmentedDocumentPrivacySegmentedDocumentAuthor1","ERROR"); + + + if (VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_AUTHOR1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_SEGMENTED_DOCUMENT); try { - VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_AUTHOR1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_AUTHOR1__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_AUTHOR1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_AUTHOR1__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_AUTHOR1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacySegmentedDocument)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_AUTHOR1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacySegmentedDocument)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_SEGMENTED_DOCUMENT__PRIVACY_SEGMENTED_DOCUMENT_AUTHOR1, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PrivacySegmentedDocumentPrivacySegmentedDocumentAuthor1"), - new Object[] { privacySegmentedDocument })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_SEGMENTED_DOCUMENT__PRIVACY_SEGMENTED_DOCUMENT_AUTHOR1, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacySegmentedDocumentPrivacySegmentedDocumentAuthor1"), + new Object [] { privacySegmentedDocument })); } - + return false; } return true; @@ -217,7 +234,7 @@ public static boolean validatePrivacySegmentedDocumentAuthor1(PrivacySegmentedDo * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_SEGMENTED_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_SEGMENTED_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -233,33 +250,44 @@ public static boolean validatePrivacySegmentedDocumentAuthor1(PrivacySegmentedDo public static boolean validatePrivacySegmentedDocumentSegmentedSection( PrivacySegmentedDocument privacySegmentedDocument, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacySegmentedDocumentPrivacySegmentedDocumentSegmentedSection","INFO"); + + + if (VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_SEGMENTED_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_SEGMENTED_DOCUMENT); try { - VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_SEGMENTED_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_SEGMENTED_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_SEGMENTED_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_SEGMENTED_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_SEGMENTED_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacySegmentedDocument)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_SEGMENTED_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacySegmentedDocument)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.INFO, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_SEGMENTED_DOCUMENT__PRIVACY_SEGMENTED_DOCUMENT_SEGMENTED_SECTION, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PrivacySegmentedDocumentPrivacySegmentedDocumentSegmentedSection"), - new Object[] { privacySegmentedDocument })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.INFO, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_SEGMENTED_DOCUMENT__PRIVACY_SEGMENTED_DOCUMENT_SEGMENTED_SECTION, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacySegmentedDocumentPrivacySegmentedDocumentSegmentedSection"), + new Object [] { privacySegmentedDocument })); } - + return false; } return true; @@ -284,7 +312,7 @@ public static boolean validatePrivacySegmentedDocumentSegmentedSection( * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_PRIVACY_AND_SECURITY_MARKINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_PRIVACY_AND_SECURITY_MARKINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -300,33 +328,44 @@ public static boolean validatePrivacySegmentedDocumentSegmentedSection( public static boolean validatePrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection( PrivacySegmentedDocument privacySegmentedDocument, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacySegmentedDocumentPrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection","WARNING"); + + + if (VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_PRIVACY_AND_SECURITY_MARKINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_SEGMENTED_DOCUMENT); try { - VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_PRIVACY_AND_SECURITY_MARKINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_PRIVACY_AND_SECURITY_MARKINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_PRIVACY_AND_SECURITY_MARKINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_PRIVACY_AND_SECURITY_MARKINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_PRIVACY_AND_SECURITY_MARKINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacySegmentedDocument)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_SEGMENTED_DOCUMENT_PRIVACY_AND_SECURITY_MARKINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacySegmentedDocument)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.WARNING, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_SEGMENTED_DOCUMENT__PRIVACY_SEGMENTED_DOCUMENT_PRIVACY_AND_SECURITY_MARKINGS_SECTION, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PrivacySegmentedDocumentPrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection"), - new Object[] { privacySegmentedDocument })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.WARNING, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_SEGMENTED_DOCUMENT__PRIVACY_SEGMENTED_DOCUMENT_PRIVACY_AND_SECURITY_MARKINGS_SECTION, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacySegmentedDocumentPrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection"), + new Object [] { privacySegmentedDocument })); } - + return false; } return true; @@ -360,24 +399,25 @@ public static boolean validatePrivacySegmentedDocumentPrivacyAndSecurityMarkings public static EList getSegmentedSections( PrivacySegmentedDocument privacySegmentedDocument) { - + + + if (GET_SEGMENTED_SECTIONS__EOCL_QRY == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); - helper.setOperationContext( - CONTENTPROFILEPackage.Literals.PRIVACY_SEGMENTED_DOCUMENT, - CONTENTPROFILEPackage.Literals.PRIVACY_SEGMENTED_DOCUMENT.getEAllOperations().get(304)); + helper.setOperationContext(CONTENTPROFILEPackage.Literals.PRIVACY_SEGMENTED_DOCUMENT, CONTENTPROFILEPackage.Literals.PRIVACY_SEGMENTED_DOCUMENT.getEAllOperations().get(324)); try { GET_SEGMENTED_SECTIONS__EOCL_QRY = helper.createQuery(GET_SEGMENTED_SECTIONS__EOCL_EXP); - } catch (ParserException pe) { + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - + } + OCL.Query query = EOCL_ENV.get().createQuery(GET_SEGMENTED_SECTIONS__EOCL_QRY); @SuppressWarnings("unchecked") - Collection result = (Collection) query.evaluate( - privacySegmentedDocument); + Collection result = (Collection) query.evaluate(privacySegmentedDocument); return new BasicEList.UnmodifiableEList(result.size(), result.toArray()); } @@ -409,25 +449,25 @@ public static EList getSegmentedSections( public static EList getPrivacyAndSecurityMarkingsSections( PrivacySegmentedDocument privacySegmentedDocument) { - + + + if (GET_PRIVACY_AND_SECURITY_MARKINGS_SECTIONS__EOCL_QRY == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); - helper.setOperationContext( - CONTENTPROFILEPackage.Literals.PRIVACY_SEGMENTED_DOCUMENT, - CONTENTPROFILEPackage.Literals.PRIVACY_SEGMENTED_DOCUMENT.getEAllOperations().get(305)); + helper.setOperationContext(CONTENTPROFILEPackage.Literals.PRIVACY_SEGMENTED_DOCUMENT, CONTENTPROFILEPackage.Literals.PRIVACY_SEGMENTED_DOCUMENT.getEAllOperations().get(325)); try { - GET_PRIVACY_AND_SECURITY_MARKINGS_SECTIONS__EOCL_QRY = helper.createQuery( - GET_PRIVACY_AND_SECURITY_MARKINGS_SECTIONS__EOCL_EXP); - } catch (ParserException pe) { + GET_PRIVACY_AND_SECURITY_MARKINGS_SECTIONS__EOCL_QRY = helper.createQuery(GET_PRIVACY_AND_SECURITY_MARKINGS_SECTIONS__EOCL_EXP); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - + } + OCL.Query query = EOCL_ENV.get().createQuery(GET_PRIVACY_AND_SECURITY_MARKINGS_SECTIONS__EOCL_QRY); @SuppressWarnings("unchecked") - Collection result = (Collection) query.evaluate( - privacySegmentedDocument); + Collection result = (Collection) query.evaluate(privacySegmentedDocument); return new BasicEList.UnmodifiableEList(result.size(), result.toArray()); } diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacySegmentedSectionOperations.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacySegmentedSectionOperations.java index ddac7c9d90..71705805cf 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacySegmentedSectionOperations.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PrivacySegmentedSectionOperations.java @@ -7,18 +7,14 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.mdht.uml.cda.operations.SectionOperations; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; import org.hl7.security.ds4p.contentprofile.PrivacySegmentedSection; - import org.hl7.security.ds4p.contentprofile.util.CONTENTPROFILEValidator; /** @@ -75,7 +71,7 @@ protected PrivacySegmentedSectionOperations() { * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_SEGMENTED_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_SEGMENTED_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -90,33 +86,44 @@ protected PrivacySegmentedSectionOperations() { public static boolean validatePrivacySegmentedSectionTemplateId(PrivacySegmentedSection privacySegmentedSection, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacySegmentedSectionPrivacySegmentedSectionTemplateId","ERROR"); + + + if (VALIDATE_PRIVACY_SEGMENTED_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_SEGMENTED_SECTION); try { - VALIDATE_PRIVACY_SEGMENTED_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PRIVACY_SEGMENTED_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_SEGMENTED_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_SEGMENTED_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_SEGMENTED_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacySegmentedSection)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_SEGMENTED_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacySegmentedSection)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_SEGMENTED_SECTION__PRIVACY_SEGMENTED_SECTION_TEMPLATE_ID, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PrivacySegmentedSectionPrivacySegmentedSectionTemplateId"), - new Object[] { privacySegmentedSection })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_SEGMENTED_SECTION__PRIVACY_SEGMENTED_SECTION_TEMPLATE_ID, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacySegmentedSectionPrivacySegmentedSectionTemplateId"), + new Object [] { privacySegmentedSection })); } - + return false; } return true; @@ -130,9 +137,9 @@ public static boolean validatePrivacySegmentedSectionTemplateId(PrivacySegmented * @generated * @ordered */ - protected static final String VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "not self.confidentialityCode.oclIsUndefined() and self.confidentialityCode.oclIsKindOf(datatypes::CE) and " + - "let value : datatypes::CE = self.confidentialityCode.oclAsType(datatypes::CE) in " + - "value.codeSystem = '2.16.840.1.113883.5.25' and (value.code = 'N' or value.code = 'R' or value.code = 'V')"; + protected static final String VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "not self.confidentialityCode.oclIsUndefined() and self.confidentialityCode.oclIsKindOf(datatypes::CE) and "+ +"let value : datatypes::CE = self.confidentialityCode.oclAsType(datatypes::CE) in "+ +"value.codeSystem = '2.16.840.1.113883.5.25' and (value.code = 'N' or value.code = 'R' or value.code = 'V')"; /** * The cached OCL invariant for the '{@link #validatePrivacySegmentedSectionConfidentialityCode(PrivacySegmentedSection, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Privacy Segmented Section Confidentiality Code}' invariant operation. @@ -143,7 +150,7 @@ public static boolean validatePrivacySegmentedSectionTemplateId(PrivacySegmented * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -158,33 +165,44 @@ public static boolean validatePrivacySegmentedSectionTemplateId(PrivacySegmented public static boolean validatePrivacySegmentedSectionConfidentialityCode( PrivacySegmentedSection privacySegmentedSection, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacySegmentedSectionPrivacySegmentedSectionConfidentialityCode","ERROR"); + + + if (VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_SEGMENTED_SECTION); try { - VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacySegmentedSection)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacySegmentedSection)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_SEGMENTED_SECTION__PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PrivacySegmentedSectionPrivacySegmentedSectionConfidentialityCode"), - new Object[] { privacySegmentedSection })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_SEGMENTED_SECTION__PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacySegmentedSectionPrivacySegmentedSectionConfidentialityCode"), + new Object [] { privacySegmentedSection })); } - + return false; } return true; @@ -209,7 +227,7 @@ public static boolean validatePrivacySegmentedSectionConfidentialityCode( * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -224,33 +242,44 @@ public static boolean validatePrivacySegmentedSectionConfidentialityCode( public static boolean validatePrivacySegmentedSectionConfidentialityCodeP( PrivacySegmentedSection privacySegmentedSection, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacySegmentedSectionPrivacySegmentedSectionConfidentialityCodeP","WARNING"); + + + if (VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_SEGMENTED_SECTION); try { - VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacySegmentedSection)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacySegmentedSection)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.WARNING, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_SEGMENTED_SECTION__PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE_P, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PrivacySegmentedSectionPrivacySegmentedSectionConfidentialityCodeP"), - new Object[] { privacySegmentedSection })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.WARNING, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_SEGMENTED_SECTION__PRIVACY_SEGMENTED_SECTION_CONFIDENTIALITY_CODE_P, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacySegmentedSectionPrivacySegmentedSectionConfidentialityCodeP"), + new Object [] { privacySegmentedSection })); } - + return false; } return true; @@ -275,7 +304,7 @@ public static boolean validatePrivacySegmentedSectionConfidentialityCodeP( * @ordered */ - protected static ThreadLocal VALIDATE_PRIVACY_SEGMENTED_SECTION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PRIVACY_SEGMENTED_SECTION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -290,31 +319,44 @@ public static boolean validatePrivacySegmentedSectionConfidentialityCodeP( public static boolean validatePrivacySegmentedSectionAuthor(PrivacySegmentedSection privacySegmentedSection, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PrivacySegmentedSectionPrivacySegmentedSectionAuthor","WARNING"); + + + if (VALIDATE_PRIVACY_SEGMENTED_SECTION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PRIVACY_SEGMENTED_SECTION); try { - VALIDATE_PRIVACY_SEGMENTED_SECTION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_PRIVACY_SEGMENTED_SECTION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PRIVACY_SEGMENTED_SECTION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PRIVACY_SEGMENTED_SECTION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PRIVACY_SEGMENTED_SECTION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - privacySegmentedSection)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PRIVACY_SEGMENTED_SECTION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(privacySegmentedSection)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.WARNING, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PRIVACY_SEGMENTED_SECTION__PRIVACY_SEGMENTED_SECTION_AUTHOR, - CONTENTPROFILEPlugin.INSTANCE.getString("PrivacySegmentedSectionPrivacySegmentedSectionAuthor"), - new Object[] { privacySegmentedSection })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.WARNING, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PRIVACY_SEGMENTED_SECTION__PRIVACY_SEGMENTED_SECTION_AUTHOR, + CONTENTPROFILEPlugin.INSTANCE.getString("PrivacySegmentedSectionPrivacySegmentedSectionAuthor"), + new Object [] { privacySegmentedSection })); } - + return false; } return true; diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/ProtectedProblemOperations.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/ProtectedProblemOperations.java index 42a8129c42..d6af31673f 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/ProtectedProblemOperations.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/ProtectedProblemOperations.java @@ -7,16 +7,13 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; import org.hl7.security.ds4p.contentprofile.ProtectedProblem; - import org.hl7.security.ds4p.contentprofile.util.CONTENTPROFILEValidator; import org.openhealthtools.mdht.uml.cda.consol.operations.ProblemObservationOperations; @@ -67,30 +64,44 @@ protected ProtectedProblemOperations() { public static boolean validateProblemObservationTemplateId(ProtectedProblem protectedProblem, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"ProtectedProblemProblemObservationTemplateId","ERROR"); + + + if (VALIDATE_PROBLEM_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PROTECTED_PROBLEM); try { - VALIDATE_PROBLEM_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_PROBLEM_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PROBLEM_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PROBLEM_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PROBLEM_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(protectedProblem)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PROBLEM_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(protectedProblem)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PROTECTED_PROBLEM__PROBLEM_OBSERVATION_TEMPLATE_ID, - CONTENTPROFILEPlugin.INSTANCE.getString("ProtectedProblemProblemObservationTemplateId"), - new Object[] { protectedProblem })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PROTECTED_PROBLEM__PROBLEM_OBSERVATION_TEMPLATE_ID, + CONTENTPROFILEPlugin.INSTANCE.getString("ProtectedProblemProblemObservationTemplateId"), + new Object [] { protectedProblem })); } - + return false; } return true; @@ -115,7 +126,7 @@ public static boolean validateProblemObservationTemplateId(ProtectedProblem prot * @ordered */ - protected static ThreadLocal VALIDATE_PROTECTED_PROBLEM_PROBLEM_PROVENANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PROTECTED_PROBLEM_PROBLEM_PROVENANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -130,32 +141,44 @@ public static boolean validateProblemObservationTemplateId(ProtectedProblem prot public static boolean validateProtectedProblemProblemProvenance(ProtectedProblem protectedProblem, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"ProtectedProblemProtectedProblemProblemProvenance","ERROR"); + + + if (VALIDATE_PROTECTED_PROBLEM_PROBLEM_PROVENANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PROTECTED_PROBLEM); try { - VALIDATE_PROTECTED_PROBLEM_PROBLEM_PROVENANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PROTECTED_PROBLEM_PROBLEM_PROVENANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PROTECTED_PROBLEM_PROBLEM_PROVENANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PROTECTED_PROBLEM_PROBLEM_PROVENANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PROTECTED_PROBLEM_PROBLEM_PROVENANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - protectedProblem)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PROTECTED_PROBLEM_PROBLEM_PROVENANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(protectedProblem)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PROTECTED_PROBLEM__PROTECTED_PROBLEM_PROBLEM_PROVENANCE, - CONTENTPROFILEPlugin.INSTANCE.getString("ProtectedProblemProtectedProblemProblemProvenance"), - new Object[] { protectedProblem })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PROTECTED_PROBLEM__PROTECTED_PROBLEM_PROBLEM_PROVENANCE, + CONTENTPROFILEPlugin.INSTANCE.getString("ProtectedProblemProtectedProblemProblemProvenance"), + new Object [] { protectedProblem })); } - + return false; } return true; @@ -180,7 +203,7 @@ public static boolean validateProtectedProblemProblemProvenance(ProtectedProblem * @ordered */ - protected static ThreadLocal VALIDATE_PROTECTED_PROBLEM_PRIVACY_ANNOTATIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PROTECTED_PROBLEM_PRIVACY_ANNOTATIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * The cached OCL expression body for the '{@link #validateProblemObservationTemplateId(ProtectedProblem, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Problem Observation Template Id}' operation. @@ -201,7 +224,7 @@ public static boolean validateProtectedProblemProblemProvenance(ProtectedProblem * @ordered */ - protected static ThreadLocal VALIDATE_PROBLEM_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_PROBLEM_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -216,32 +239,44 @@ public static boolean validateProtectedProblemProblemProvenance(ProtectedProblem public static boolean validateProtectedProblemPrivacyAnnotations(ProtectedProblem protectedProblem, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"ProtectedProblemProtectedProblemPrivacyAnnotations","ERROR"); + + + if (VALIDATE_PROTECTED_PROBLEM_PRIVACY_ANNOTATIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PROTECTED_PROBLEM); try { - VALIDATE_PROTECTED_PROBLEM_PRIVACY_ANNOTATIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant( - VALIDATE_PROTECTED_PROBLEM_PRIVACY_ANNOTATIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_PROTECTED_PROBLEM_PRIVACY_ANNOTATIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_PROTECTED_PROBLEM_PRIVACY_ANNOTATIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_PROTECTED_PROBLEM_PRIVACY_ANNOTATIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - protectedProblem)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_PROTECTED_PROBLEM_PRIVACY_ANNOTATIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(protectedProblem)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PROTECTED_PROBLEM__PROTECTED_PROBLEM_PRIVACY_ANNOTATIONS, - CONTENTPROFILEPlugin.INSTANCE.getString("ProtectedProblemProtectedProblemPrivacyAnnotations"), - new Object[] { protectedProblem })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PROTECTED_PROBLEM__PROTECTED_PROBLEM_PRIVACY_ANNOTATIONS, + CONTENTPROFILEPlugin.INSTANCE.getString("ProtectedProblemProtectedProblemPrivacyAnnotations"), + new Object [] { protectedProblem })); } - + return false; } return true; diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PurposeOfUseSecurityObservationOperations.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PurposeOfUseSecurityObservationOperations.java index 08a931244f..688219e7df 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PurposeOfUseSecurityObservationOperations.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/PurposeOfUseSecurityObservationOperations.java @@ -8,16 +8,13 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; import org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation; - import org.hl7.security.ds4p.contentprofile.util.CONTENTPROFILEValidator; /** @@ -75,7 +72,7 @@ protected PurposeOfUseSecurityObservationOperations() { * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -91,32 +88,44 @@ protected PurposeOfUseSecurityObservationOperations() { public static boolean validateSecurityObservationTemplateId( PurposeOfUseSecurityObservation purposeOfUseSecurityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PurposeOfUseSecurityObservationSecurityObservationTemplateId","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PURPOSE_OF_USE_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - purposeOfUseSecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(purposeOfUseSecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PURPOSE_OF_USE_SECURITY_OBSERVATION__SECURITY_OBSERVATION_TEMPLATE_ID, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PurposeOfUseSecurityObservationSecurityObservationTemplateId"), - new Object[] { purposeOfUseSecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PURPOSE_OF_USE_SECURITY_OBSERVATION__SECURITY_OBSERVATION_TEMPLATE_ID, + CONTENTPROFILEPlugin.INSTANCE.getString("PurposeOfUseSecurityObservationSecurityObservationTemplateId"), + new Object [] { purposeOfUseSecurityObservation })); } - + return false; } return true; @@ -141,7 +150,7 @@ public static boolean validateSecurityObservationTemplateId( * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -157,37 +166,48 @@ public static boolean validateSecurityObservationTemplateId( public static boolean validateSecurityObservationCodeP( PurposeOfUseSecurityObservation purposeOfUseSecurityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PurposeOfUseSecurityObservationSecurityObservationCodeP","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PURPOSE_OF_USE_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - purposeOfUseSecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(purposeOfUseSecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PURPOSE_OF_USE_SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE_P, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PurposeOfUseSecurityObservationSecurityObservationCodeP"), - new Object[] { purposeOfUseSecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PURPOSE_OF_USE_SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE_P, + CONTENTPROFILEPlugin.INSTANCE.getString("PurposeOfUseSecurityObservationSecurityObservationCodeP"), + new Object [] { purposeOfUseSecurityObservation })); } - + if (context != null) { // generate a pass token for my dependent constraints to short-circuit or filter results @SuppressWarnings("unchecked") - Collection passToken = (Collection) context.get( - "org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); + Collection passToken = (Collection) context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); if (passToken == null) { // anticipate a reasonably healthy model passToken = new java.util.ArrayList(3); @@ -195,7 +215,7 @@ public static boolean validateSecurityObservationCodeP( } passToken.add(purposeOfUseSecurityObservation); } - + return false; } return true; @@ -209,9 +229,9 @@ public static boolean validateSecurityObservationCodeP( * @generated * @ordered */ - protected static final String VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and " + - "let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in " + - "value.code = 'SECCONOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20457'"; + protected static final String VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and "+ +"let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in "+ +"value.code = 'SECCONOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20457'"; /** * The cached OCL invariant for the '{@link #validateSecurityObservationCode(PurposeOfUseSecurityObservation, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code}' invariant operation. @@ -222,7 +242,7 @@ public static boolean validateSecurityObservationCodeP( * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -238,40 +258,50 @@ public static boolean validateSecurityObservationCodeP( public static boolean validateSecurityObservationCode( PurposeOfUseSecurityObservation purposeOfUseSecurityObservation, DiagnosticChain diagnostics, Map context) { - - Object passToken = (context == null) - ? null - : context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); - if ((passToken instanceof Collection) && - ((Collection) passToken).contains(purposeOfUseSecurityObservation)) { + + + + + Object passToken = (context == null) ? null : context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); + if ((passToken instanceof Collection) && ((Collection) passToken).contains(purposeOfUseSecurityObservation)) { // I have a free pass to short-circuit return true; } - + + + + + + + + DatatypesUtil.increment(context,"PurposeOfUseSecurityObservationSecurityObservationCode","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PURPOSE_OF_USE_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - purposeOfUseSecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(purposeOfUseSecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PURPOSE_OF_USE_SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PurposeOfUseSecurityObservationSecurityObservationCode"), - new Object[] { purposeOfUseSecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PURPOSE_OF_USE_SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE, + CONTENTPROFILEPlugin.INSTANCE.getString("PurposeOfUseSecurityObservationSecurityObservationCode"), + new Object [] { purposeOfUseSecurityObservation })); } - + return false; } return true; @@ -296,7 +326,7 @@ public static boolean validateSecurityObservationCode( * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -312,37 +342,48 @@ public static boolean validateSecurityObservationCode( public static boolean validateSecurityObservationValueP( PurposeOfUseSecurityObservation purposeOfUseSecurityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"PurposeOfUseSecurityObservationSecurityObservationValueP","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PURPOSE_OF_USE_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - purposeOfUseSecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(purposeOfUseSecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PURPOSE_OF_USE_SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE_P, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PurposeOfUseSecurityObservationSecurityObservationValueP"), - new Object[] { purposeOfUseSecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PURPOSE_OF_USE_SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE_P, + CONTENTPROFILEPlugin.INSTANCE.getString("PurposeOfUseSecurityObservationSecurityObservationValueP"), + new Object [] { purposeOfUseSecurityObservation })); } - + if (context != null) { // generate a pass token for my dependent constraints to short-circuit or filter results @SuppressWarnings("unchecked") - Collection passToken = (Collection) context.get( - "org.hl7.security.ds4p.contentprofile.SecurityObservationValueP"); + Collection passToken = (Collection) context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationValueP"); if (passToken == null) { // anticipate a reasonably healthy model passToken = new java.util.ArrayList(3); @@ -350,7 +391,7 @@ public static boolean validateSecurityObservationValueP( } passToken.add(purposeOfUseSecurityObservation); } - + return false; } return true; @@ -364,9 +405,9 @@ public static boolean validateSecurityObservationValueP( * @generated * @ordered */ - protected static final String VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and " + - "let value : datatypes::CE = element.oclAsType(datatypes::CE) in " + - "value.codeSystem = '2.16.840.1.113883.5.8' and not value.code.oclIsUndefined())"; + protected static final String VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and "+ +"let value : datatypes::CE = element.oclAsType(datatypes::CE) in "+ +"value.codeSystem = '2.16.840.1.113883.5.1063' and (value.code = 'TREAT' or value.code = 'ETREAT' or value.code = 'HPAYMT' or value.code = 'HRESCH' or value.code = 'CLINTRCH' or value.code = ' CLINTRL'))"; /** * The cached OCL invariant for the '{@link #validateSecurityObservationValue(PurposeOfUseSecurityObservation, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Value}' invariant operation. @@ -377,7 +418,7 @@ public static boolean validateSecurityObservationValueP( * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -393,41 +434,50 @@ public static boolean validateSecurityObservationValueP( public static boolean validateSecurityObservationValue( PurposeOfUseSecurityObservation purposeOfUseSecurityObservation, DiagnosticChain diagnostics, Map context) { - - Object passToken = (context == null) - ? null - : context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationValueP"); - if ((passToken instanceof Collection) && - ((Collection) passToken).contains(purposeOfUseSecurityObservation)) { + + + + + Object passToken = (context == null) ? null : context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationValueP"); + if ((passToken instanceof Collection) && ((Collection) passToken).contains(purposeOfUseSecurityObservation)) { // I have a free pass to short-circuit return true; } - + + + + + + + + DatatypesUtil.increment(context,"PurposeOfUseSecurityObservationSecurityObservationValue","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.PURPOSE_OF_USE_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - purposeOfUseSecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(purposeOfUseSecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.PURPOSE_OF_USE_SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE, - CONTENTPROFILEPlugin.INSTANCE.getString( - "PurposeOfUseSecurityObservationSecurityObservationValue"), - new Object[] { purposeOfUseSecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.PURPOSE_OF_USE_SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE, + CONTENTPROFILEPlugin.INSTANCE.getString("PurposeOfUseSecurityObservationSecurityObservationValue"), + new Object [] { purposeOfUseSecurityObservation })); } - + return false; } return true; diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/RefrainPolicySecurityObservationOperations.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/RefrainPolicySecurityObservationOperations.java index 7ee2d9589c..ad2b1ec643 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/RefrainPolicySecurityObservationOperations.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/RefrainPolicySecurityObservationOperations.java @@ -8,16 +8,13 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; import org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation; - import org.hl7.security.ds4p.contentprofile.util.CONTENTPROFILEValidator; /** @@ -75,7 +72,7 @@ protected RefrainPolicySecurityObservationOperations() { * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -91,32 +88,44 @@ protected RefrainPolicySecurityObservationOperations() { public static boolean validateSecurityObservationTemplateId( RefrainPolicySecurityObservation refrainPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"RefrainPolicySecurityObservationSecurityObservationTemplateId","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.REFRAIN_POLICY_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - refrainPolicySecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(refrainPolicySecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.REFRAIN_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_TEMPLATE_ID, - CONTENTPROFILEPlugin.INSTANCE.getString( - "RefrainPolicySecurityObservationSecurityObservationTemplateId"), - new Object[] { refrainPolicySecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.REFRAIN_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_TEMPLATE_ID, + CONTENTPROFILEPlugin.INSTANCE.getString("RefrainPolicySecurityObservationSecurityObservationTemplateId"), + new Object [] { refrainPolicySecurityObservation })); } - + return false; } return true; @@ -141,7 +150,7 @@ public static boolean validateSecurityObservationTemplateId( * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -157,37 +166,48 @@ public static boolean validateSecurityObservationTemplateId( public static boolean validateSecurityObservationCodeP( RefrainPolicySecurityObservation refrainPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"RefrainPolicySecurityObservationSecurityObservationCodeP","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.REFRAIN_POLICY_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - refrainPolicySecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(refrainPolicySecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.REFRAIN_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE_P, - CONTENTPROFILEPlugin.INSTANCE.getString( - "RefrainPolicySecurityObservationSecurityObservationCodeP"), - new Object[] { refrainPolicySecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.REFRAIN_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE_P, + CONTENTPROFILEPlugin.INSTANCE.getString("RefrainPolicySecurityObservationSecurityObservationCodeP"), + new Object [] { refrainPolicySecurityObservation })); } - + if (context != null) { // generate a pass token for my dependent constraints to short-circuit or filter results @SuppressWarnings("unchecked") - Collection passToken = (Collection) context.get( - "org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); + Collection passToken = (Collection) context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); if (passToken == null) { // anticipate a reasonably healthy model passToken = new java.util.ArrayList(3); @@ -195,7 +215,7 @@ public static boolean validateSecurityObservationCodeP( } passToken.add(refrainPolicySecurityObservation); } - + return false; } return true; @@ -209,9 +229,9 @@ public static boolean validateSecurityObservationCodeP( * @generated * @ordered */ - protected static final String VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and " + - "let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in " + - "value.code = 'SECCONOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20457'"; + protected static final String VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and "+ +"let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in "+ +"value.code = 'SECCONOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20457'"; /** * The cached OCL invariant for the '{@link #validateSecurityObservationCode(RefrainPolicySecurityObservation, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code}' invariant operation. @@ -222,7 +242,7 @@ public static boolean validateSecurityObservationCodeP( * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -238,40 +258,50 @@ public static boolean validateSecurityObservationCodeP( public static boolean validateSecurityObservationCode( RefrainPolicySecurityObservation refrainPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - - Object passToken = (context == null) - ? null - : context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); - if ((passToken instanceof Collection) && - ((Collection) passToken).contains(refrainPolicySecurityObservation)) { + + + + + Object passToken = (context == null) ? null : context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); + if ((passToken instanceof Collection) && ((Collection) passToken).contains(refrainPolicySecurityObservation)) { // I have a free pass to short-circuit return true; } - + + + + + + + + DatatypesUtil.increment(context,"RefrainPolicySecurityObservationSecurityObservationCode","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.REFRAIN_POLICY_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - refrainPolicySecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(refrainPolicySecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.REFRAIN_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE, - CONTENTPROFILEPlugin.INSTANCE.getString( - "RefrainPolicySecurityObservationSecurityObservationCode"), - new Object[] { refrainPolicySecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.REFRAIN_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE, + CONTENTPROFILEPlugin.INSTANCE.getString("RefrainPolicySecurityObservationSecurityObservationCode"), + new Object [] { refrainPolicySecurityObservation })); } - + return false; } return true; @@ -296,7 +326,7 @@ public static boolean validateSecurityObservationCode( * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -312,37 +342,48 @@ public static boolean validateSecurityObservationCode( public static boolean validateSecurityObservationValueP( RefrainPolicySecurityObservation refrainPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"RefrainPolicySecurityObservationSecurityObservationValueP","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.REFRAIN_POLICY_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - refrainPolicySecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(refrainPolicySecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.REFRAIN_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE_P, - CONTENTPROFILEPlugin.INSTANCE.getString( - "RefrainPolicySecurityObservationSecurityObservationValueP"), - new Object[] { refrainPolicySecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.REFRAIN_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE_P, + CONTENTPROFILEPlugin.INSTANCE.getString("RefrainPolicySecurityObservationSecurityObservationValueP"), + new Object [] { refrainPolicySecurityObservation })); } - + if (context != null) { // generate a pass token for my dependent constraints to short-circuit or filter results @SuppressWarnings("unchecked") - Collection passToken = (Collection) context.get( - "org.hl7.security.ds4p.contentprofile.SecurityObservationValueP"); + Collection passToken = (Collection) context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationValueP"); if (passToken == null) { // anticipate a reasonably healthy model passToken = new java.util.ArrayList(3); @@ -350,7 +391,7 @@ public static boolean validateSecurityObservationValueP( } passToken.add(refrainPolicySecurityObservation); } - + return false; } return true; @@ -364,9 +405,9 @@ public static boolean validateSecurityObservationValueP( * @generated * @ordered */ - protected static final String VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and " + - "let value : datatypes::CE = element.oclAsType(datatypes::CE) in " + - "value.codeSystem = '2.16.840.1.113883.1.11.20471' and (value.code = 'NORDSCLCD' or value.code = 'NOMOU'))"; + protected static final String VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and "+ +"let value : datatypes::CE = element.oclAsType(datatypes::CE) in "+ +"value.codeSystem = '2.16.840.1.113883.5.1063' and (value.code = 'NORDSLCD' or value.code = 'NOMOU'))"; /** * The cached OCL invariant for the '{@link #validateSecurityObservationValue(RefrainPolicySecurityObservation, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Value}' invariant operation. @@ -377,7 +418,7 @@ public static boolean validateSecurityObservationValueP( * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -393,41 +434,50 @@ public static boolean validateSecurityObservationValueP( public static boolean validateSecurityObservationValue( RefrainPolicySecurityObservation refrainPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - - Object passToken = (context == null) - ? null - : context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationValueP"); - if ((passToken instanceof Collection) && - ((Collection) passToken).contains(refrainPolicySecurityObservation)) { + + + + + Object passToken = (context == null) ? null : context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationValueP"); + if ((passToken instanceof Collection) && ((Collection) passToken).contains(refrainPolicySecurityObservation)) { // I have a free pass to short-circuit return true; } - + + + + + + + + DatatypesUtil.increment(context,"RefrainPolicySecurityObservationSecurityObservationValue","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.REFRAIN_POLICY_SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - refrainPolicySecurityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(refrainPolicySecurityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.REFRAIN_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE, - CONTENTPROFILEPlugin.INSTANCE.getString( - "RefrainPolicySecurityObservationSecurityObservationValue"), - new Object[] { refrainPolicySecurityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.REFRAIN_POLICY_SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE, + CONTENTPROFILEPlugin.INSTANCE.getString("RefrainPolicySecurityObservationSecurityObservationValue"), + new Object [] { refrainPolicySecurityObservation })); } - + return false; } return true; diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/SecurityObservationOperations.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/SecurityObservationOperations.java index e99806a40a..a8ffc82dcf 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/SecurityObservationOperations.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/operations/SecurityObservationOperations.java @@ -8,18 +8,14 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; import org.hl7.security.ds4p.contentprofile.SecurityObservation; - import org.hl7.security.ds4p.contentprofile.util.CONTENTPROFILEValidator; /** @@ -78,7 +74,7 @@ protected SecurityObservationOperations() { * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -93,31 +89,44 @@ protected SecurityObservationOperations() { public static boolean validateSecurityObservationTemplateId(SecurityObservation securityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"SecurityObservationSecurityObservationTemplateId","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - securityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(securityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.SECURITY_OBSERVATION__SECURITY_OBSERVATION_TEMPLATE_ID, - CONTENTPROFILEPlugin.INSTANCE.getString("SecurityObservationSecurityObservationTemplateId"), - new Object[] { securityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.SECURITY_OBSERVATION__SECURITY_OBSERVATION_TEMPLATE_ID, + CONTENTPROFILEPlugin.INSTANCE.getString("SecurityObservationSecurityObservationTemplateId"), + new Object [] { securityObservation })); } - + return false; } return true; @@ -136,35 +145,48 @@ public static boolean validateSecurityObservationTemplateId(SecurityObservation public static boolean validateSecurityObservationCodeP(SecurityObservation securityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"SecurityObservationSecurityObservationCodeP","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(securityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(securityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE_P, - CONTENTPROFILEPlugin.INSTANCE.getString("SecurityObservationSecurityObservationCodeP"), - new Object[] { securityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE_P, + CONTENTPROFILEPlugin.INSTANCE.getString("SecurityObservationSecurityObservationCodeP"), + new Object [] { securityObservation })); } - + if (context != null) { // generate a pass token for my dependent constraints to short-circuit or filter results @SuppressWarnings("unchecked") - Collection passToken = (Collection) context.get( - "org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); + Collection passToken = (Collection) context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); if (passToken == null) { // anticipate a reasonably healthy model passToken = new java.util.ArrayList(3); @@ -172,7 +194,7 @@ public static boolean validateSecurityObservationCodeP(SecurityObservation secur } passToken.add(securityObservation); } - + return false; } return true; @@ -191,38 +213,50 @@ public static boolean validateSecurityObservationCodeP(SecurityObservation secur public static boolean validateSecurityObservationCode(SecurityObservation securityObservation, DiagnosticChain diagnostics, Map context) { - - Object passToken = (context == null) - ? null - : context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); + + + + + Object passToken = (context == null) ? null : context.get("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP"); if ((passToken instanceof Collection) && ((Collection) passToken).contains(securityObservation)) { // I have a free pass to short-circuit return true; } - + + + + + + + + DatatypesUtil.increment(context,"SecurityObservationSecurityObservationCode","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check( - securityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(securityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE, - CONTENTPROFILEPlugin.INSTANCE.getString("SecurityObservationSecurityObservationCode"), - new Object[] { securityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.SECURITY_OBSERVATION__SECURITY_OBSERVATION_CODE, + CONTENTPROFILEPlugin.INSTANCE.getString("SecurityObservationSecurityObservationCode"), + new Object [] { securityObservation })); } - + return false; } return true; @@ -241,30 +275,44 @@ public static boolean validateSecurityObservationCode(SecurityObservation securi public static boolean validateSecurityObservationValue(SecurityObservation securityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"SecurityObservationSecurityObservationValue","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(securityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(securityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE, - CONTENTPROFILEPlugin.INSTANCE.getString("SecurityObservationSecurityObservationValue"), - new Object[] { securityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE, + CONTENTPROFILEPlugin.INSTANCE.getString("SecurityObservationSecurityObservationValue"), + new Object [] { securityObservation })); } - + return false; } return true; @@ -283,30 +331,44 @@ public static boolean validateSecurityObservationValue(SecurityObservation secur public static boolean validateSecurityObservationValueP(SecurityObservation securityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"SecurityObservationSecurityObservationValueP","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(securityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(securityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE_P, - CONTENTPROFILEPlugin.INSTANCE.getString("SecurityObservationSecurityObservationValueP"), - new Object[] { securityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.SECURITY_OBSERVATION__SECURITY_OBSERVATION_VALUE_P, + CONTENTPROFILEPlugin.INSTANCE.getString("SecurityObservationSecurityObservationValueP"), + new Object [] { securityObservation })); } - + return false; } return true; @@ -331,7 +393,7 @@ public static boolean validateSecurityObservationValueP(SecurityObservation secu * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * The cached OCL expression body for the '{@link #validateSecurityObservationCodeP(SecurityObservation, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code P}' operation. @@ -352,7 +414,7 @@ public static boolean validateSecurityObservationValueP(SecurityObservation secu * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * The cached OCL expression body for the '{@link #validateSecurityObservationCode(SecurityObservation, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code}' operation. @@ -362,9 +424,9 @@ public static boolean validateSecurityObservationValueP(SecurityObservation secu * @generated * @ordered */ - protected static final String VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and " + - "let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in " + - "value.codeSystem = '2.16.840.1.113883.1.11.20457'"; + protected static final String VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and "+ +"let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in "+ +"value.codeSystem = '2.16.840.1.113883.1.11.20457'"; /** * The cached OCL invariant for the '{@link #validateSecurityObservationCode(SecurityObservation, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code}' invariant operation. @@ -375,7 +437,7 @@ public static boolean validateSecurityObservationValueP(SecurityObservation secu * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * The cached OCL expression body for the '{@link #validateSecurityObservationValue(SecurityObservation, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Value}' operation. @@ -385,9 +447,9 @@ public static boolean validateSecurityObservationValueP(SecurityObservation secu * @generated * @ordered */ - protected static final String VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and " + - "let value : datatypes::CE = element.oclAsType(datatypes::CE) in " + - "value.codeSystem = '2.16.840.1.113883.5.1063')"; + protected static final String VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and "+ +"let value : datatypes::CE = element.oclAsType(datatypes::CE) in "+ +"value.codeSystem = '2.16.840.1.113883.5.1063')"; /** * The cached OCL invariant for the '{@link #validateSecurityObservationValue(SecurityObservation, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Value}' invariant operation. @@ -398,7 +460,7 @@ public static boolean validateSecurityObservationValueP(SecurityObservation secu * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * The cached OCL expression body for the '{@link #validateSecurityObservationValueP(SecurityObservation, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Value P}' operation. @@ -419,7 +481,7 @@ public static boolean validateSecurityObservationValueP(SecurityObservation secu * @ordered */ - protected static ThreadLocal VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal(); + protected static ThreadLocal< Constraint> VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = new ThreadLocal< Constraint>(); /** * @@ -434,30 +496,44 @@ public static boolean validateSecurityObservationValueP(SecurityObservation secu public static boolean validateSecurityObservationMoodCode(SecurityObservation securityObservation, DiagnosticChain diagnostics, Map context) { - + + + + + + + + + + + DatatypesUtil.increment(context,"SecurityObservationSecurityObservationMoodCode","ERROR"); + + + if (VALIDATE_SECURITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { - + + OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); helper.setContext(CONTENTPROFILEPackage.Literals.SECURITY_OBSERVATION); try { - VALIDATE_SECURITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set( - helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); - } catch (ParserException pe) { + VALIDATE_SECURITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.set(helper.createInvariant(VALIDATE_SECURITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP)); + } + catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } - } - - if (!EOCL_ENV.get().createQuery( - VALIDATE_SECURITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(securityObservation)) { + } + + if (!EOCL_ENV.get().createQuery(VALIDATE_SECURITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get()).check(securityObservation)) { if (diagnostics != null) { - diagnostics.add( - new BasicDiagnostic( - Diagnostic.ERROR, CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, - CONTENTPROFILEValidator.SECURITY_OBSERVATION__SECURITY_OBSERVATION_MOOD_CODE, - CONTENTPROFILEPlugin.INSTANCE.getString("SecurityObservationSecurityObservationMoodCode"), - new Object[] { securityObservation })); + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + CONTENTPROFILEValidator.DIAGNOSTIC_SOURCE, + CONTENTPROFILEValidator.SECURITY_OBSERVATION__SECURITY_OBSERVATION_MOOD_CODE, + CONTENTPROFILEPlugin.INSTANCE.getString("SecurityObservationSecurityObservationMoodCode"), + new Object [] { securityObservation })); } - + return false; } return true; diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/util/CONTENTPROFILEAdapterFactory.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/util/CONTENTPROFILEAdapterFactory.java index 4e70d87d4d..7150c894bb 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/util/CONTENTPROFILEAdapterFactory.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/util/CONTENTPROFILEAdapterFactory.java @@ -4,11 +4,8 @@ import org.eclipse.emf.common.notify.Adapter; import org.eclipse.emf.common.notify.Notifier; - import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.uml.cda.AssignedAuthor; import org.eclipse.mdht.uml.cda.Author; import org.eclipse.mdht.uml.cda.ClinicalDocument; @@ -24,6 +21,23 @@ import org.eclipse.mdht.uml.hl7.rim.Participation; import org.eclipse.mdht.uml.hl7.rim.Role; import org.hl7.security.ds4p.contentprofile.*; +import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; +import org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation; +import org.hl7.security.ds4p.contentprofile.MandatoryDocumentAssignedAuthor; +import org.hl7.security.ds4p.contentprofile.MandatoryDocumentProvenance; +import org.hl7.security.ds4p.contentprofile.MandatoryEntryAssignedAuthor; +import org.hl7.security.ds4p.contentprofile.MandatoryEntryProvenance; +import org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation; +import org.hl7.security.ds4p.contentprofile.PrivacyAnnotation; +import org.hl7.security.ds4p.contentprofile.PrivacyAnnotationEntryRelationship; +import org.hl7.security.ds4p.contentprofile.PrivacyMarkingsEntry; +import org.hl7.security.ds4p.contentprofile.PrivacyMarkingsSection; +import org.hl7.security.ds4p.contentprofile.PrivacySegmentedDocument; +import org.hl7.security.ds4p.contentprofile.PrivacySegmentedSection; +import org.hl7.security.ds4p.contentprofile.ProtectedProblem; +import org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation; +import org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation; +import org.hl7.security.ds4p.contentprofile.SecurityObservation; import org.openhealthtools.mdht.uml.cda.consol.GeneralHeaderConstraints; import org.openhealthtools.mdht.uml.cda.consol.ProblemObservation; @@ -70,7 +84,7 @@ public boolean isFactoryForType(Object object) { return true; } if (object instanceof EObject) { - return ((EObject) object).eClass().getEPackage() == modelPackage; + return ((EObject)object).eClass().getEPackage() == modelPackage; } return false; } @@ -82,171 +96,139 @@ public boolean isFactoryForType(Object object) { * @generated */ protected CONTENTPROFILESwitch modelSwitch = new CONTENTPROFILESwitch() { - @Override - public Adapter casePrivacySegmentedDocument(PrivacySegmentedDocument object) { - return createPrivacySegmentedDocumentAdapter(); - } - - @Override - public Adapter casePrivacySegmentedSection(PrivacySegmentedSection object) { - return createPrivacySegmentedSectionAdapter(); - } - - @Override - public Adapter casePrivacyMarkingsSection(PrivacyMarkingsSection object) { - return createPrivacyMarkingsSectionAdapter(); - } - - @Override - public Adapter caseObligationPolicySecurityObservation(ObligationPolicySecurityObservation object) { - return createObligationPolicySecurityObservationAdapter(); - } - - @Override - public Adapter caseSecurityObservation(SecurityObservation object) { - return createSecurityObservationAdapter(); - } - - @Override - public Adapter caseMandatoryDocumentProvenance(MandatoryDocumentProvenance object) { - return createMandatoryDocumentProvenanceAdapter(); - } - - @Override - public Adapter caseMandatoryDocumentAssignedAuthor(MandatoryDocumentAssignedAuthor object) { - return createMandatoryDocumentAssignedAuthorAdapter(); - } - - @Override - public Adapter casePrivacyAnnotation(PrivacyAnnotation object) { - return createPrivacyAnnotationAdapter(); - } - - @Override - public Adapter caseRefrainPolicySecurityObservation(RefrainPolicySecurityObservation object) { - return createRefrainPolicySecurityObservationAdapter(); - } - - @Override - public Adapter casePurposeOfUseSecurityObservation(PurposeOfUseSecurityObservation object) { - return createPurposeOfUseSecurityObservationAdapter(); - } - - @Override - public Adapter caseConfidentialitySecurityObservation(ConfidentialitySecurityObservation object) { - return createConfidentialitySecurityObservationAdapter(); - } - - @Override - public Adapter caseProtectedProblem(ProtectedProblem object) { - return createProtectedProblemAdapter(); - } - - @Override - public Adapter caseMandatoryEntryProvenance(MandatoryEntryProvenance object) { - return createMandatoryEntryProvenanceAdapter(); - } - - @Override - public Adapter caseMandatoryEntryAssignedAuthor(MandatoryEntryAssignedAuthor object) { - return createMandatoryEntryAssignedAuthorAdapter(); - } - - @Override - public Adapter casePrivacyAnnotationEntryRelationship(PrivacyAnnotationEntryRelationship object) { - return createPrivacyAnnotationEntryRelationshipAdapter(); - } - - @Override - public Adapter casePrivacyMarkingsEntry(PrivacyMarkingsEntry object) { - return createPrivacyMarkingsEntryAdapter(); - } - - @Override - public Adapter caseInfrastructureRoot(InfrastructureRoot object) { - return createInfrastructureRootAdapter(); - } - - @Override - public Adapter caseAct(Act object) { - return createActAdapter(); - } - - @Override - public Adapter caseClinicalDocument(ClinicalDocument object) { - return createClinicalDocumentAdapter(); - } - - @Override - public Adapter caseGeneralHeaderConstraints(GeneralHeaderConstraints object) { - return createGeneralHeaderConstraintsAdapter(); - } - - @Override - public Adapter caseSection(Section object) { - return createSectionAdapter(); - } - - @Override - public Adapter caseClinicalStatement(ClinicalStatement object) { - return createClinicalStatementAdapter(); - } - - @Override - public Adapter caseObservation(Observation object) { - return createObservationAdapter(); - } - - @Override - public Adapter caseParticipation(Participation object) { - return createParticipationAdapter(); - } - - @Override - public Adapter caseAuthor(Author object) { - return createAuthorAdapter(); - } - - @Override - public Adapter caseRole(Role object) { - return createRoleAdapter(); - } - - @Override - public Adapter caseAssignedAuthor(AssignedAuthor object) { - return createAssignedAuthorAdapter(); - } - - @Override - public Adapter caseOrganizer(Organizer object) { - return createOrganizerAdapter(); - } - - @Override - public Adapter caseProblemObservation(ProblemObservation object) { - return createProblemObservationAdapter(); - } - - @Override - public Adapter caseActRelationship(ActRelationship object) { - return createActRelationshipAdapter(); - } - - @Override - public Adapter caseEntryRelationship(EntryRelationship object) { - return createEntryRelationshipAdapter(); - } - - @Override - public Adapter caseEntry(Entry object) { - return createEntryAdapter(); - } - - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; + @Override + public Adapter casePrivacySegmentedDocument(PrivacySegmentedDocument object) { + return createPrivacySegmentedDocumentAdapter(); + } + @Override + public Adapter casePrivacySegmentedSection(PrivacySegmentedSection object) { + return createPrivacySegmentedSectionAdapter(); + } + @Override + public Adapter casePrivacyMarkingsSection(PrivacyMarkingsSection object) { + return createPrivacyMarkingsSectionAdapter(); + } + @Override + public Adapter caseObligationPolicySecurityObservation(ObligationPolicySecurityObservation object) { + return createObligationPolicySecurityObservationAdapter(); + } + @Override + public Adapter caseSecurityObservation(SecurityObservation object) { + return createSecurityObservationAdapter(); + } + @Override + public Adapter caseMandatoryDocumentProvenance(MandatoryDocumentProvenance object) { + return createMandatoryDocumentProvenanceAdapter(); + } + @Override + public Adapter caseMandatoryDocumentAssignedAuthor(MandatoryDocumentAssignedAuthor object) { + return createMandatoryDocumentAssignedAuthorAdapter(); + } + @Override + public Adapter casePrivacyAnnotation(PrivacyAnnotation object) { + return createPrivacyAnnotationAdapter(); + } + @Override + public Adapter caseRefrainPolicySecurityObservation(RefrainPolicySecurityObservation object) { + return createRefrainPolicySecurityObservationAdapter(); + } + @Override + public Adapter casePurposeOfUseSecurityObservation(PurposeOfUseSecurityObservation object) { + return createPurposeOfUseSecurityObservationAdapter(); + } + @Override + public Adapter caseConfidentialitySecurityObservation(ConfidentialitySecurityObservation object) { + return createConfidentialitySecurityObservationAdapter(); + } + @Override + public Adapter caseProtectedProblem(ProtectedProblem object) { + return createProtectedProblemAdapter(); + } + @Override + public Adapter caseMandatoryEntryProvenance(MandatoryEntryProvenance object) { + return createMandatoryEntryProvenanceAdapter(); + } + @Override + public Adapter caseMandatoryEntryAssignedAuthor(MandatoryEntryAssignedAuthor object) { + return createMandatoryEntryAssignedAuthorAdapter(); + } + @Override + public Adapter casePrivacyAnnotationEntryRelationship(PrivacyAnnotationEntryRelationship object) { + return createPrivacyAnnotationEntryRelationshipAdapter(); + } + @Override + public Adapter casePrivacyMarkingsEntry(PrivacyMarkingsEntry object) { + return createPrivacyMarkingsEntryAdapter(); + } + @Override + public Adapter caseInfrastructureRoot(InfrastructureRoot object) { + return createInfrastructureRootAdapter(); + } + @Override + public Adapter caseAct(Act object) { + return createActAdapter(); + } + @Override + public Adapter caseClinicalDocument(ClinicalDocument object) { + return createClinicalDocumentAdapter(); + } + @Override + public Adapter caseGeneralHeaderConstraints(GeneralHeaderConstraints object) { + return createGeneralHeaderConstraintsAdapter(); + } + @Override + public Adapter caseSection(Section object) { + return createSectionAdapter(); + } + @Override + public Adapter caseClinicalStatement(ClinicalStatement object) { + return createClinicalStatementAdapter(); + } + @Override + public Adapter caseObservation(Observation object) { + return createObservationAdapter(); + } + @Override + public Adapter caseParticipation(Participation object) { + return createParticipationAdapter(); + } + @Override + public Adapter caseAuthor(Author object) { + return createAuthorAdapter(); + } + @Override + public Adapter caseRole(Role object) { + return createRoleAdapter(); + } + @Override + public Adapter caseAssignedAuthor(AssignedAuthor object) { + return createAssignedAuthorAdapter(); + } + @Override + public Adapter caseOrganizer(Organizer object) { + return createOrganizerAdapter(); + } + @Override + public Adapter caseProblemObservation(ProblemObservation object) { + return createProblemObservationAdapter(); + } + @Override + public Adapter caseActRelationship(ActRelationship object) { + return createActRelationshipAdapter(); + } + @Override + public Adapter caseEntryRelationship(EntryRelationship object) { + return createEntryRelationshipAdapter(); + } + @Override + public Adapter caseEntry(Entry object) { + return createEntryAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; /** * Creates an adapter for the target. @@ -258,7 +240,7 @@ public Adapter defaultCase(EObject object) { */ @Override public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject) target); + return modelSwitch.doSwitch((EObject)target); } /** diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/util/CONTENTPROFILESwitch.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/util/CONTENTPROFILESwitch.java index 4ee20b11e1..e9cba2d48a 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/util/CONTENTPROFILESwitch.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/util/CONTENTPROFILESwitch.java @@ -4,9 +4,7 @@ import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; - import org.eclipse.emf.ecore.util.Switch; - import org.eclipse.mdht.uml.cda.AssignedAuthor; import org.eclipse.mdht.uml.cda.Author; import org.eclipse.mdht.uml.cda.ClinicalDocument; @@ -22,6 +20,23 @@ import org.eclipse.mdht.uml.hl7.rim.Participation; import org.eclipse.mdht.uml.hl7.rim.Role; import org.hl7.security.ds4p.contentprofile.*; +import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; +import org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation; +import org.hl7.security.ds4p.contentprofile.MandatoryDocumentAssignedAuthor; +import org.hl7.security.ds4p.contentprofile.MandatoryDocumentProvenance; +import org.hl7.security.ds4p.contentprofile.MandatoryEntryAssignedAuthor; +import org.hl7.security.ds4p.contentprofile.MandatoryEntryProvenance; +import org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation; +import org.hl7.security.ds4p.contentprofile.PrivacyAnnotation; +import org.hl7.security.ds4p.contentprofile.PrivacyAnnotationEntryRelationship; +import org.hl7.security.ds4p.contentprofile.PrivacyMarkingsEntry; +import org.hl7.security.ds4p.contentprofile.PrivacyMarkingsSection; +import org.hl7.security.ds4p.contentprofile.PrivacySegmentedDocument; +import org.hl7.security.ds4p.contentprofile.PrivacySegmentedSection; +import org.hl7.security.ds4p.contentprofile.ProtectedProblem; +import org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation; +import org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation; +import org.hl7.security.ds4p.contentprofile.SecurityObservation; import org.openhealthtools.mdht.uml.cda.consol.GeneralHeaderConstraints; import org.openhealthtools.mdht.uml.cda.consol.ProblemObservation; @@ -83,318 +98,163 @@ protected boolean isSwitchFor(EPackage ePackage) { protected T doSwitch(int classifierID, EObject theEObject) { switch (classifierID) { case CONTENTPROFILEPackage.PRIVACY_SEGMENTED_DOCUMENT: { - PrivacySegmentedDocument privacySegmentedDocument = (PrivacySegmentedDocument) theEObject; + PrivacySegmentedDocument privacySegmentedDocument = (PrivacySegmentedDocument)theEObject; T result = casePrivacySegmentedDocument(privacySegmentedDocument); - if (result == null) { - result = caseGeneralHeaderConstraints(privacySegmentedDocument); - } - if (result == null) { - result = caseClinicalDocument(privacySegmentedDocument); - } - if (result == null) { - result = caseAct(privacySegmentedDocument); - } - if (result == null) { - result = caseInfrastructureRoot(privacySegmentedDocument); - } - if (result == null) { - result = defaultCase(theEObject); - } + if (result == null) result = caseGeneralHeaderConstraints(privacySegmentedDocument); + if (result == null) result = caseClinicalDocument(privacySegmentedDocument); + if (result == null) result = caseAct(privacySegmentedDocument); + if (result == null) result = caseInfrastructureRoot(privacySegmentedDocument); + if (result == null) result = defaultCase(theEObject); return result; } case CONTENTPROFILEPackage.PRIVACY_SEGMENTED_SECTION: { - PrivacySegmentedSection privacySegmentedSection = (PrivacySegmentedSection) theEObject; + PrivacySegmentedSection privacySegmentedSection = (PrivacySegmentedSection)theEObject; T result = casePrivacySegmentedSection(privacySegmentedSection); - if (result == null) { - result = caseSection(privacySegmentedSection); - } - if (result == null) { - result = caseAct(privacySegmentedSection); - } - if (result == null) { - result = caseInfrastructureRoot(privacySegmentedSection); - } - if (result == null) { - result = defaultCase(theEObject); - } + if (result == null) result = caseSection(privacySegmentedSection); + if (result == null) result = caseAct(privacySegmentedSection); + if (result == null) result = caseInfrastructureRoot(privacySegmentedSection); + if (result == null) result = defaultCase(theEObject); return result; } case CONTENTPROFILEPackage.PRIVACY_MARKINGS_SECTION: { - PrivacyMarkingsSection privacyMarkingsSection = (PrivacyMarkingsSection) theEObject; + PrivacyMarkingsSection privacyMarkingsSection = (PrivacyMarkingsSection)theEObject; T result = casePrivacyMarkingsSection(privacyMarkingsSection); - if (result == null) { - result = caseSection(privacyMarkingsSection); - } - if (result == null) { - result = caseAct(privacyMarkingsSection); - } - if (result == null) { - result = caseInfrastructureRoot(privacyMarkingsSection); - } - if (result == null) { - result = defaultCase(theEObject); - } + if (result == null) result = caseSection(privacyMarkingsSection); + if (result == null) result = caseAct(privacyMarkingsSection); + if (result == null) result = caseInfrastructureRoot(privacyMarkingsSection); + if (result == null) result = defaultCase(theEObject); return result; } case CONTENTPROFILEPackage.OBLIGATION_POLICY_SECURITY_OBSERVATION: { - ObligationPolicySecurityObservation obligationPolicySecurityObservation = (ObligationPolicySecurityObservation) theEObject; + ObligationPolicySecurityObservation obligationPolicySecurityObservation = (ObligationPolicySecurityObservation)theEObject; T result = caseObligationPolicySecurityObservation(obligationPolicySecurityObservation); - if (result == null) { - result = caseSecurityObservation(obligationPolicySecurityObservation); - } - if (result == null) { - result = caseObservation(obligationPolicySecurityObservation); - } - if (result == null) { - result = caseClinicalStatement(obligationPolicySecurityObservation); - } - if (result == null) { - result = caseAct(obligationPolicySecurityObservation); - } - if (result == null) { - result = caseInfrastructureRoot(obligationPolicySecurityObservation); - } - if (result == null) { - result = defaultCase(theEObject); - } + if (result == null) result = caseSecurityObservation(obligationPolicySecurityObservation); + if (result == null) result = caseObservation(obligationPolicySecurityObservation); + if (result == null) result = caseClinicalStatement(obligationPolicySecurityObservation); + if (result == null) result = caseAct(obligationPolicySecurityObservation); + if (result == null) result = caseInfrastructureRoot(obligationPolicySecurityObservation); + if (result == null) result = defaultCase(theEObject); return result; } case CONTENTPROFILEPackage.SECURITY_OBSERVATION: { - SecurityObservation securityObservation = (SecurityObservation) theEObject; + SecurityObservation securityObservation = (SecurityObservation)theEObject; T result = caseSecurityObservation(securityObservation); - if (result == null) { - result = caseObservation(securityObservation); - } - if (result == null) { - result = caseClinicalStatement(securityObservation); - } - if (result == null) { - result = caseAct(securityObservation); - } - if (result == null) { - result = caseInfrastructureRoot(securityObservation); - } - if (result == null) { - result = defaultCase(theEObject); - } + if (result == null) result = caseObservation(securityObservation); + if (result == null) result = caseClinicalStatement(securityObservation); + if (result == null) result = caseAct(securityObservation); + if (result == null) result = caseInfrastructureRoot(securityObservation); + if (result == null) result = defaultCase(theEObject); return result; } case CONTENTPROFILEPackage.MANDATORY_DOCUMENT_PROVENANCE: { - MandatoryDocumentProvenance mandatoryDocumentProvenance = (MandatoryDocumentProvenance) theEObject; + MandatoryDocumentProvenance mandatoryDocumentProvenance = (MandatoryDocumentProvenance)theEObject; T result = caseMandatoryDocumentProvenance(mandatoryDocumentProvenance); - if (result == null) { - result = caseAuthor(mandatoryDocumentProvenance); - } - if (result == null) { - result = caseParticipation(mandatoryDocumentProvenance); - } - if (result == null) { - result = caseInfrastructureRoot(mandatoryDocumentProvenance); - } - if (result == null) { - result = defaultCase(theEObject); - } + if (result == null) result = caseAuthor(mandatoryDocumentProvenance); + if (result == null) result = caseParticipation(mandatoryDocumentProvenance); + if (result == null) result = caseInfrastructureRoot(mandatoryDocumentProvenance); + if (result == null) result = defaultCase(theEObject); return result; } case CONTENTPROFILEPackage.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR: { - MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor = (MandatoryDocumentAssignedAuthor) theEObject; + MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor = (MandatoryDocumentAssignedAuthor)theEObject; T result = caseMandatoryDocumentAssignedAuthor(mandatoryDocumentAssignedAuthor); - if (result == null) { - result = caseAssignedAuthor(mandatoryDocumentAssignedAuthor); - } - if (result == null) { - result = caseRole(mandatoryDocumentAssignedAuthor); - } - if (result == null) { - result = caseInfrastructureRoot(mandatoryDocumentAssignedAuthor); - } - if (result == null) { - result = defaultCase(theEObject); - } + if (result == null) result = caseAssignedAuthor(mandatoryDocumentAssignedAuthor); + if (result == null) result = caseRole(mandatoryDocumentAssignedAuthor); + if (result == null) result = caseInfrastructureRoot(mandatoryDocumentAssignedAuthor); + if (result == null) result = defaultCase(theEObject); return result; } case CONTENTPROFILEPackage.PRIVACY_ANNOTATION: { - PrivacyAnnotation privacyAnnotation = (PrivacyAnnotation) theEObject; + PrivacyAnnotation privacyAnnotation = (PrivacyAnnotation)theEObject; T result = casePrivacyAnnotation(privacyAnnotation); - if (result == null) { - result = caseOrganizer(privacyAnnotation); - } - if (result == null) { - result = caseClinicalStatement(privacyAnnotation); - } - if (result == null) { - result = caseAct(privacyAnnotation); - } - if (result == null) { - result = caseInfrastructureRoot(privacyAnnotation); - } - if (result == null) { - result = defaultCase(theEObject); - } + if (result == null) result = caseOrganizer(privacyAnnotation); + if (result == null) result = caseClinicalStatement(privacyAnnotation); + if (result == null) result = caseAct(privacyAnnotation); + if (result == null) result = caseInfrastructureRoot(privacyAnnotation); + if (result == null) result = defaultCase(theEObject); return result; } case CONTENTPROFILEPackage.REFRAIN_POLICY_SECURITY_OBSERVATION: { - RefrainPolicySecurityObservation refrainPolicySecurityObservation = (RefrainPolicySecurityObservation) theEObject; + RefrainPolicySecurityObservation refrainPolicySecurityObservation = (RefrainPolicySecurityObservation)theEObject; T result = caseRefrainPolicySecurityObservation(refrainPolicySecurityObservation); - if (result == null) { - result = caseSecurityObservation(refrainPolicySecurityObservation); - } - if (result == null) { - result = caseObservation(refrainPolicySecurityObservation); - } - if (result == null) { - result = caseClinicalStatement(refrainPolicySecurityObservation); - } - if (result == null) { - result = caseAct(refrainPolicySecurityObservation); - } - if (result == null) { - result = caseInfrastructureRoot(refrainPolicySecurityObservation); - } - if (result == null) { - result = defaultCase(theEObject); - } + if (result == null) result = caseSecurityObservation(refrainPolicySecurityObservation); + if (result == null) result = caseObservation(refrainPolicySecurityObservation); + if (result == null) result = caseClinicalStatement(refrainPolicySecurityObservation); + if (result == null) result = caseAct(refrainPolicySecurityObservation); + if (result == null) result = caseInfrastructureRoot(refrainPolicySecurityObservation); + if (result == null) result = defaultCase(theEObject); return result; } case CONTENTPROFILEPackage.PURPOSE_OF_USE_SECURITY_OBSERVATION: { - PurposeOfUseSecurityObservation purposeOfUseSecurityObservation = (PurposeOfUseSecurityObservation) theEObject; + PurposeOfUseSecurityObservation purposeOfUseSecurityObservation = (PurposeOfUseSecurityObservation)theEObject; T result = casePurposeOfUseSecurityObservation(purposeOfUseSecurityObservation); - if (result == null) { - result = caseSecurityObservation(purposeOfUseSecurityObservation); - } - if (result == null) { - result = caseObservation(purposeOfUseSecurityObservation); - } - if (result == null) { - result = caseClinicalStatement(purposeOfUseSecurityObservation); - } - if (result == null) { - result = caseAct(purposeOfUseSecurityObservation); - } - if (result == null) { - result = caseInfrastructureRoot(purposeOfUseSecurityObservation); - } - if (result == null) { - result = defaultCase(theEObject); - } + if (result == null) result = caseSecurityObservation(purposeOfUseSecurityObservation); + if (result == null) result = caseObservation(purposeOfUseSecurityObservation); + if (result == null) result = caseClinicalStatement(purposeOfUseSecurityObservation); + if (result == null) result = caseAct(purposeOfUseSecurityObservation); + if (result == null) result = caseInfrastructureRoot(purposeOfUseSecurityObservation); + if (result == null) result = defaultCase(theEObject); return result; } case CONTENTPROFILEPackage.CONFIDENTIALITY_SECURITY_OBSERVATION: { - ConfidentialitySecurityObservation confidentialitySecurityObservation = (ConfidentialitySecurityObservation) theEObject; + ConfidentialitySecurityObservation confidentialitySecurityObservation = (ConfidentialitySecurityObservation)theEObject; T result = caseConfidentialitySecurityObservation(confidentialitySecurityObservation); - if (result == null) { - result = caseSecurityObservation(confidentialitySecurityObservation); - } - if (result == null) { - result = caseObservation(confidentialitySecurityObservation); - } - if (result == null) { - result = caseClinicalStatement(confidentialitySecurityObservation); - } - if (result == null) { - result = caseAct(confidentialitySecurityObservation); - } - if (result == null) { - result = caseInfrastructureRoot(confidentialitySecurityObservation); - } - if (result == null) { - result = defaultCase(theEObject); - } + if (result == null) result = caseSecurityObservation(confidentialitySecurityObservation); + if (result == null) result = caseObservation(confidentialitySecurityObservation); + if (result == null) result = caseClinicalStatement(confidentialitySecurityObservation); + if (result == null) result = caseAct(confidentialitySecurityObservation); + if (result == null) result = caseInfrastructureRoot(confidentialitySecurityObservation); + if (result == null) result = defaultCase(theEObject); return result; } case CONTENTPROFILEPackage.PROTECTED_PROBLEM: { - ProtectedProblem protectedProblem = (ProtectedProblem) theEObject; + ProtectedProblem protectedProblem = (ProtectedProblem)theEObject; T result = caseProtectedProblem(protectedProblem); - if (result == null) { - result = caseProblemObservation(protectedProblem); - } - if (result == null) { - result = caseObservation(protectedProblem); - } - if (result == null) { - result = caseClinicalStatement(protectedProblem); - } - if (result == null) { - result = caseAct(protectedProblem); - } - if (result == null) { - result = caseInfrastructureRoot(protectedProblem); - } - if (result == null) { - result = defaultCase(theEObject); - } + if (result == null) result = caseProblemObservation(protectedProblem); + if (result == null) result = caseObservation(protectedProblem); + if (result == null) result = caseClinicalStatement(protectedProblem); + if (result == null) result = caseAct(protectedProblem); + if (result == null) result = caseInfrastructureRoot(protectedProblem); + if (result == null) result = defaultCase(theEObject); return result; } case CONTENTPROFILEPackage.MANDATORY_ENTRY_PROVENANCE: { - MandatoryEntryProvenance mandatoryEntryProvenance = (MandatoryEntryProvenance) theEObject; + MandatoryEntryProvenance mandatoryEntryProvenance = (MandatoryEntryProvenance)theEObject; T result = caseMandatoryEntryProvenance(mandatoryEntryProvenance); - if (result == null) { - result = caseAuthor(mandatoryEntryProvenance); - } - if (result == null) { - result = caseParticipation(mandatoryEntryProvenance); - } - if (result == null) { - result = caseInfrastructureRoot(mandatoryEntryProvenance); - } - if (result == null) { - result = defaultCase(theEObject); - } + if (result == null) result = caseAuthor(mandatoryEntryProvenance); + if (result == null) result = caseParticipation(mandatoryEntryProvenance); + if (result == null) result = caseInfrastructureRoot(mandatoryEntryProvenance); + if (result == null) result = defaultCase(theEObject); return result; } case CONTENTPROFILEPackage.MANDATORY_ENTRY_ASSIGNED_AUTHOR: { - MandatoryEntryAssignedAuthor mandatoryEntryAssignedAuthor = (MandatoryEntryAssignedAuthor) theEObject; + MandatoryEntryAssignedAuthor mandatoryEntryAssignedAuthor = (MandatoryEntryAssignedAuthor)theEObject; T result = caseMandatoryEntryAssignedAuthor(mandatoryEntryAssignedAuthor); - if (result == null) { - result = caseAssignedAuthor(mandatoryEntryAssignedAuthor); - } - if (result == null) { - result = caseRole(mandatoryEntryAssignedAuthor); - } - if (result == null) { - result = caseInfrastructureRoot(mandatoryEntryAssignedAuthor); - } - if (result == null) { - result = defaultCase(theEObject); - } + if (result == null) result = caseAssignedAuthor(mandatoryEntryAssignedAuthor); + if (result == null) result = caseRole(mandatoryEntryAssignedAuthor); + if (result == null) result = caseInfrastructureRoot(mandatoryEntryAssignedAuthor); + if (result == null) result = defaultCase(theEObject); return result; } case CONTENTPROFILEPackage.PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP: { - PrivacyAnnotationEntryRelationship privacyAnnotationEntryRelationship = (PrivacyAnnotationEntryRelationship) theEObject; + PrivacyAnnotationEntryRelationship privacyAnnotationEntryRelationship = (PrivacyAnnotationEntryRelationship)theEObject; T result = casePrivacyAnnotationEntryRelationship(privacyAnnotationEntryRelationship); - if (result == null) { - result = caseEntryRelationship(privacyAnnotationEntryRelationship); - } - if (result == null) { - result = caseActRelationship(privacyAnnotationEntryRelationship); - } - if (result == null) { - result = caseInfrastructureRoot(privacyAnnotationEntryRelationship); - } - if (result == null) { - result = defaultCase(theEObject); - } + if (result == null) result = caseEntryRelationship(privacyAnnotationEntryRelationship); + if (result == null) result = caseActRelationship(privacyAnnotationEntryRelationship); + if (result == null) result = caseInfrastructureRoot(privacyAnnotationEntryRelationship); + if (result == null) result = defaultCase(theEObject); return result; } case CONTENTPROFILEPackage.PRIVACY_MARKINGS_ENTRY: { - PrivacyMarkingsEntry privacyMarkingsEntry = (PrivacyMarkingsEntry) theEObject; + PrivacyMarkingsEntry privacyMarkingsEntry = (PrivacyMarkingsEntry)theEObject; T result = casePrivacyMarkingsEntry(privacyMarkingsEntry); - if (result == null) { - result = caseEntry(privacyMarkingsEntry); - } - if (result == null) { - result = caseActRelationship(privacyMarkingsEntry); - } - if (result == null) { - result = caseInfrastructureRoot(privacyMarkingsEntry); - } - if (result == null) { - result = defaultCase(theEObject); - } + if (result == null) result = caseEntry(privacyMarkingsEntry); + if (result == null) result = caseActRelationship(privacyMarkingsEntry); + if (result == null) result = caseInfrastructureRoot(privacyMarkingsEntry); + if (result == null) result = defaultCase(theEObject); return result; } - default: - return defaultCase(theEObject); + default: return defaultCase(theEObject); } } diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/util/CONTENTPROFILEValidator.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/util/CONTENTPROFILEValidator.java index 68ffc1899b..c737798239 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/util/CONTENTPROFILEValidator.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/util/CONTENTPROFILEValidator.java @@ -6,13 +6,28 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.ResourceLocator; - import org.eclipse.emf.ecore.EPackage; - import org.eclipse.emf.ecore.util.EObjectValidator; - import org.eclipse.mdht.uml.cda.util.CDAValidator; import org.hl7.security.ds4p.contentprofile.*; +import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; +import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPlugin; +import org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation; +import org.hl7.security.ds4p.contentprofile.MandatoryDocumentAssignedAuthor; +import org.hl7.security.ds4p.contentprofile.MandatoryDocumentProvenance; +import org.hl7.security.ds4p.contentprofile.MandatoryEntryAssignedAuthor; +import org.hl7.security.ds4p.contentprofile.MandatoryEntryProvenance; +import org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation; +import org.hl7.security.ds4p.contentprofile.PrivacyAnnotation; +import org.hl7.security.ds4p.contentprofile.PrivacyAnnotationEntryRelationship; +import org.hl7.security.ds4p.contentprofile.PrivacyMarkingsEntry; +import org.hl7.security.ds4p.contentprofile.PrivacyMarkingsSection; +import org.hl7.security.ds4p.contentprofile.PrivacySegmentedDocument; +import org.hl7.security.ds4p.contentprofile.PrivacySegmentedSection; +import org.hl7.security.ds4p.contentprofile.ProtectedProblem; +import org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation; +import org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation; +import org.hl7.security.ds4p.contentprofile.SecurityObservation; import org.openhealthtools.mdht.uml.cda.consol.util.ConsolValidator; /** @@ -645,7 +660,7 @@ public CONTENTPROFILEValidator() { */ @Override protected EPackage getEPackage() { - return CONTENTPROFILEPackage.eINSTANCE; + return CONTENTPROFILEPackage.eINSTANCE; } /** @@ -658,1189 +673,356 @@ protected EPackage getEPackage() { protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map context) { switch (classifierID) { - case CONTENTPROFILEPackage.PRIVACY_SEGMENTED_DOCUMENT: - return validatePrivacySegmentedDocument((PrivacySegmentedDocument) value, diagnostics, context); - case CONTENTPROFILEPackage.PRIVACY_SEGMENTED_SECTION: - return validatePrivacySegmentedSection((PrivacySegmentedSection) value, diagnostics, context); - case CONTENTPROFILEPackage.PRIVACY_MARKINGS_SECTION: - return validatePrivacyMarkingsSection((PrivacyMarkingsSection) value, diagnostics, context); - case CONTENTPROFILEPackage.OBLIGATION_POLICY_SECURITY_OBSERVATION: - return validateObligationPolicySecurityObservation((ObligationPolicySecurityObservation) value, - diagnostics, context); - case CONTENTPROFILEPackage.SECURITY_OBSERVATION: - return validateSecurityObservation((SecurityObservation) value, diagnostics, context); - case CONTENTPROFILEPackage.MANDATORY_DOCUMENT_PROVENANCE: - return validateMandatoryDocumentProvenance((MandatoryDocumentProvenance) value, diagnostics, context); - case CONTENTPROFILEPackage.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR: - return validateMandatoryDocumentAssignedAuthor((MandatoryDocumentAssignedAuthor) value, diagnostics, - context); - case CONTENTPROFILEPackage.PRIVACY_ANNOTATION: - return validatePrivacyAnnotation((PrivacyAnnotation) value, diagnostics, context); - case CONTENTPROFILEPackage.REFRAIN_POLICY_SECURITY_OBSERVATION: - return validateRefrainPolicySecurityObservation((RefrainPolicySecurityObservation) value, diagnostics, - context); - case CONTENTPROFILEPackage.PURPOSE_OF_USE_SECURITY_OBSERVATION: - return validatePurposeOfUseSecurityObservation((PurposeOfUseSecurityObservation) value, diagnostics, - context); - case CONTENTPROFILEPackage.CONFIDENTIALITY_SECURITY_OBSERVATION: - return validateConfidentialitySecurityObservation((ConfidentialitySecurityObservation) value, - diagnostics, context); - case CONTENTPROFILEPackage.PROTECTED_PROBLEM: - return validateProtectedProblem((ProtectedProblem) value, diagnostics, context); - case CONTENTPROFILEPackage.MANDATORY_ENTRY_PROVENANCE: - return validateMandatoryEntryProvenance((MandatoryEntryProvenance) value, diagnostics, context); - case CONTENTPROFILEPackage.MANDATORY_ENTRY_ASSIGNED_AUTHOR: - return validateMandatoryEntryAssignedAuthor((MandatoryEntryAssignedAuthor) value, diagnostics, context); - case CONTENTPROFILEPackage.PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP: - return validatePrivacyAnnotationEntryRelationship((PrivacyAnnotationEntryRelationship) value, - diagnostics, context); - case CONTENTPROFILEPackage.PRIVACY_MARKINGS_ENTRY: - return validatePrivacyMarkingsEntry((PrivacyMarkingsEntry) value, diagnostics, context); - default: - return true; - } - } - - /** - * - * - * @generated - */ - public boolean validatePrivacySegmentedDocument(PrivacySegmentedDocument privacySegmentedDocument, - DiagnosticChain diagnostics, Map context) { - if (!validate_NoCircularContainment(privacySegmentedDocument, diagnostics, context)) { - return false; - } - boolean result = validate_EveryMultiplicityConforms(privacySegmentedDocument, diagnostics, context); - if (result || diagnostics != null) { - result &= validate_EveryDataValueConforms(privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryReferenceIsContained(privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryBidirectionalReferenceIsPaired(privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryProxyResolves(privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_UniqueID(privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryKeyUnique(privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryMapEntryUnique(privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateClinicalDocument_validateClassCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateClinicalDocument_validateMoodCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsTypeIdRoot( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsTypeIdExtension( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsSetIdVersionNumber( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsVersionNumberSetId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsTemplateId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRealmCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsTypeId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsTitle( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsEffectiveTime( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsConfidentialityCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsConfidentialityCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLanguageCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLanguageCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsSetId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsVersionNumber( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthor( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEnterer( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodian( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformationRecipient( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticator( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticator( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTarget( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsComponentOf( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformant( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsSupportParticipant( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInFulfillmentOf( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOf( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorization( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheDayTS( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheMinuteTS( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheSecondTS( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMIfMorePreciseThanDayIncludeTimeZoneOffsetTS( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUseP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressCountry( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressState( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressCity( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressPostalCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleTELUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUSRealmPatientNameMixedContent( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUseP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameFamily( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameGiven( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNamePrefix( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameSuffix( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToYear( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToDay( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSValue( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUseP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressCountry( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressState( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressCity( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressPostalCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTELUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianPersonName( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCodeFromPersonalRelationshipOrResponsibleParty( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianAddr( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTelecom( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGuardianPerson( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlaceHasState( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlaceAddr( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlace( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationModeCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationModeCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationProficiencyLevelCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationProficiencyLevelCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationPreferenceInd( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientIfSdtcEnforceRaceCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientName( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientAdministrativeGenderCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthTime( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientMaritalStatusCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientMaritalStatusCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientReligiousAffiliationCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientReligiousAffiliationCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientSDTCRaceCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientSDTCRaceCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardian( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunication( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationTELUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUseP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressCountry( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressState( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressCity( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressPostalCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationHasNationalProviderIdentifier( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationName( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationTelecom( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationAddr( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleAddr( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleTelecom( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatient( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganization( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRole( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsComponentOfEncompassingEncounterId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsComponentOfEncompassingEncounterEffectiveTime( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsComponentOfEncompassingEncounter( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheDayTS( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheMinuteTS( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheSecondTS( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMIfMorePreciseThanDayIncludeTimeZoneOffsetTS( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUseP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressCountry( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressState( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressCity( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressPostalCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorTELUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorAuthoringDeviceManufacturerModelName( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorAuthoringDeviceSoftwareName( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorPersonName( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorHasOneAssignedPersonOrOneAssignedAuthoringDevice( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorHasNationalProviderIdentifier( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorAddr( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorTelecom( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorTime( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthor( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityTELUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityPersonName( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityHasNationalProviderIdentifier( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityAddr( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityTelecom( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityAssignedPerson( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntity( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationTELUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUseP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressCountry( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressState( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressCity( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressPostalCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationHasNationalProviderIdentifier( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationName( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationTelecom( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationAddr( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianRepresentedCustodianOrganization( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodian( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientPersonName( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientOrganizationName( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientInformationRecipient( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientRecievedOrganization( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformationRecipientIntendedRecipient( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityTELUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityPersonName( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityHasNationalProviderIdentifier( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityAddr( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityTelecom( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityAssignedPerson( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorTime( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorSignatureCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorSignatureCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntity( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityTELUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityPersonName( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityHasNationalProviderIdentifier( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityAddr( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityTelecom( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityAssignedPerson( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorTime( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorSignatureCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorSignatureCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntity( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityPersonName( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityHasNationalProviderIdentifier( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityAddr( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityAssignedPerson( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUse( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUseP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressCountry( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressState( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressCity( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityAddr( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityPerson( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantHasAssignedEntityOrRelatedEntity( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsParticipantSupportAssociatedEntityHasAssociatedPersonOrScopingOrganization( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsParticipantSupportTime( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInFulfillmentOfOrderId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInFulfillmentOfOrder( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityHasNationalProviderIdentifier( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1TypeCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntity( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventEffectiveTimeLow( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventEffectiveTime( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEvent( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorizationConsentId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorizationConsentCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorizationConsentStatusCodeP( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorizationConsentStatusCode( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorizationConsent( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacySegmentedDocument_validatePrivacySegmentedDocumentTemplateId( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacySegmentedDocument_validatePrivacySegmentedDocumentAuthor1( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacySegmentedDocument_validatePrivacySegmentedDocumentSegmentedSection( - privacySegmentedDocument, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacySegmentedDocument_validatePrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection( - privacySegmentedDocument, diagnostics, context); + case CONTENTPROFILEPackage.PRIVACY_SEGMENTED_DOCUMENT: + return validatePrivacySegmentedDocument((PrivacySegmentedDocument)value, diagnostics, context); + case CONTENTPROFILEPackage.PRIVACY_SEGMENTED_SECTION: + return validatePrivacySegmentedSection((PrivacySegmentedSection)value, diagnostics, context); + case CONTENTPROFILEPackage.PRIVACY_MARKINGS_SECTION: + return validatePrivacyMarkingsSection((PrivacyMarkingsSection)value, diagnostics, context); + case CONTENTPROFILEPackage.OBLIGATION_POLICY_SECURITY_OBSERVATION: + return validateObligationPolicySecurityObservation((ObligationPolicySecurityObservation)value, diagnostics, context); + case CONTENTPROFILEPackage.SECURITY_OBSERVATION: + return validateSecurityObservation((SecurityObservation)value, diagnostics, context); + case CONTENTPROFILEPackage.MANDATORY_DOCUMENT_PROVENANCE: + return validateMandatoryDocumentProvenance((MandatoryDocumentProvenance)value, diagnostics, context); + case CONTENTPROFILEPackage.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR: + return validateMandatoryDocumentAssignedAuthor((MandatoryDocumentAssignedAuthor)value, diagnostics, context); + case CONTENTPROFILEPackage.PRIVACY_ANNOTATION: + return validatePrivacyAnnotation((PrivacyAnnotation)value, diagnostics, context); + case CONTENTPROFILEPackage.REFRAIN_POLICY_SECURITY_OBSERVATION: + return validateRefrainPolicySecurityObservation((RefrainPolicySecurityObservation)value, diagnostics, context); + case CONTENTPROFILEPackage.PURPOSE_OF_USE_SECURITY_OBSERVATION: + return validatePurposeOfUseSecurityObservation((PurposeOfUseSecurityObservation)value, diagnostics, context); + case CONTENTPROFILEPackage.CONFIDENTIALITY_SECURITY_OBSERVATION: + return validateConfidentialitySecurityObservation((ConfidentialitySecurityObservation)value, diagnostics, context); + case CONTENTPROFILEPackage.PROTECTED_PROBLEM: + return validateProtectedProblem((ProtectedProblem)value, diagnostics, context); + case CONTENTPROFILEPackage.MANDATORY_ENTRY_PROVENANCE: + return validateMandatoryEntryProvenance((MandatoryEntryProvenance)value, diagnostics, context); + case CONTENTPROFILEPackage.MANDATORY_ENTRY_ASSIGNED_AUTHOR: + return validateMandatoryEntryAssignedAuthor((MandatoryEntryAssignedAuthor)value, diagnostics, context); + case CONTENTPROFILEPackage.PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP: + return validatePrivacyAnnotationEntryRelationship((PrivacyAnnotationEntryRelationship)value, diagnostics, context); + case CONTENTPROFILEPackage.PRIVACY_MARKINGS_ENTRY: + return validatePrivacyMarkingsEntry((PrivacyMarkingsEntry)value, diagnostics, context); + default: + return true; } + } + + /** + * + * + * @generated + */ + public boolean validatePrivacySegmentedDocument(PrivacySegmentedDocument privacySegmentedDocument, + DiagnosticChain diagnostics, Map context) { + if (!validate_NoCircularContainment(privacySegmentedDocument, diagnostics, context)) return false; + boolean result = validate_EveryMultiplicityConforms(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateClinicalDocument_validateClassCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateClinicalDocument_validateMoodCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsTypeIdRoot(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsTypeIdExtension(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsSetIdVersionNumber(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsVersionNumberSetId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsTemplateId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRealmCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsTypeId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsTitle(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsEffectiveTime(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsConfidentialityCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsConfidentialityCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLanguageCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLanguageCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsSetId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsVersionNumber(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthor(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEnterer(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodian(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformationRecipient(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticator(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticator(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTarget(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsComponentOf(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformant(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsSupportParticipant(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInFulfillmentOf(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOf(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorization(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheDayTS(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheMinuteTS(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheSecondTS(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMIfMorePreciseThanDayIncludeTimeZoneOffsetTS(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUseP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressCountry(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressState(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressCity(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressPostalCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleTELUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUSRealmPatientNameMixedContent(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUseP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameFamily(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameGiven(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNamePrefix(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameSuffix(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToYear(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToDay(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSValue(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUseP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressCountry(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressState(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressCity(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressPostalCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressStreetAddressLine(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTELUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianPersonName(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCodeFromPersonalRelationshipOrResponsibleParty(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianAddr(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTelecom(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGuardianPerson(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlaceHasState(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlaceAddr(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlace(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationModeCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationModeCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationProficiencyLevelCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationProficiencyLevelCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationPreferenceInd(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientIfSdtcEnforceRaceCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientName(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientAdministrativeGenderCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthTime(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientMaritalStatusCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientMaritalStatusCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientReligiousAffiliationCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientReligiousAffiliationCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientSDTCRaceCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientSDTCRaceCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardian(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunication(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationTELUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUseP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressCountry(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressState(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressCity(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressPostalCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressStreetAddressLine(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationHasNationalProviderIdentifier(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationName(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationTelecom(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationAddr(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleAddr(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleTelecom(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRolePatient(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganization(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsRecordTargetPatientRole(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsComponentOfEncompassingEncounterId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsComponentOfEncompassingEncounterEffectiveTime(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsComponentOfEncompassingEncounter(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheDayTS(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheMinuteTS(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheSecondTS(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMIfMorePreciseThanDayIncludeTimeZoneOffsetTS(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUseP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressCountry(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressState(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressCity(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressPostalCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressStreetAddressLine(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorTELUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorAuthoringDeviceManufacturerModelName(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorAuthoringDeviceSoftwareName(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorPersonName(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorHasOneAssignedPersonOrOneAssignedAuthoringDevice(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorHasNationalProviderIdentifier(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorAddr(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthorTelecom(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorTime(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorAssignedAuthor(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressState(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityTELUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityPersonName(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityHasNationalProviderIdentifier(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityAddr(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityTelecom(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntityAssignedPerson(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDataEntererAssignedEntity(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationTELUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUseP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressCountry(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressState(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressCity(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressPostalCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressStreetAddressLine(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationHasNationalProviderIdentifier(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationName(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationTelecom(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationAddr(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodianRepresentedCustodianOrganization(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsCustodianAssignedCustodian(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientPersonName(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientOrganizationName(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientInformationRecipient(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientRecievedOrganization(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformationRecipientIntendedRecipient(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityTELUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityPersonName(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityHasNationalProviderIdentifier(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityAddr(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityTelecom(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityAssignedPerson(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorTime(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorSignatureCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorSignatureCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntity(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityTELUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityPersonName(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityHasNationalProviderIdentifier(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityAddr(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityTelecom(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntityAssignedPerson(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorTime(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorSignatureCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorSignatureCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthenticatorAssignedEntity(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressState(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityPersonName(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityHasNationalProviderIdentifier(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityAddr(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantAssignedEntityAssignedPerson(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUse(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUseP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressCountry(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressState(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressCity(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityAddr(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantRelatedEntityPerson(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInformantHasAssignedEntityOrRelatedEntity(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsParticipantSupportAssociatedEntityHasAssociatedPersonOrScopingOrganization(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsParticipantSupportTime(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInFulfillmentOfOrderId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsInFulfillmentOfOrder(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityHasNationalProviderIdentifier(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1TypeCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntity(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventEffectiveTimeLow(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventEffectiveTime(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsDocumentationOfServiceEvent(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorizationConsentId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorizationConsentCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorizationConsentStatusCodeP(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorizationConsentStatusCode(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateGeneralHeaderConstraints_validateGeneralHeaderConstraintsAuthorizationConsent(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacySegmentedDocument_validatePrivacySegmentedDocumentTemplateId(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacySegmentedDocument_validatePrivacySegmentedDocumentAuthor1(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacySegmentedDocument_validatePrivacySegmentedDocumentSegmentedSection(privacySegmentedDocument, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacySegmentedDocument_validatePrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection(privacySegmentedDocument, diagnostics, context); return result; } @@ -1889,8 +1071,7 @@ public boolean validatePrivacySegmentedDocument_validatePrivacySegmentedDocument public boolean validatePrivacySegmentedDocument_validatePrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection( PrivacySegmentedDocument privacySegmentedDocument, DiagnosticChain diagnostics, Map context) { - return privacySegmentedDocument.validatePrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection( - diagnostics, context); + return privacySegmentedDocument.validatePrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection(diagnostics, context); } /** @@ -1900,53 +1081,21 @@ public boolean validatePrivacySegmentedDocument_validatePrivacySegmentedDocument */ public boolean validatePrivacySegmentedSection(PrivacySegmentedSection privacySegmentedSection, DiagnosticChain diagnostics, Map context) { - if (!validate_NoCircularContainment(privacySegmentedSection, diagnostics, context)) { - return false; - } + if (!validate_NoCircularContainment(privacySegmentedSection, diagnostics, context)) return false; boolean result = validate_EveryMultiplicityConforms(privacySegmentedSection, diagnostics, context); - if (result || diagnostics != null) { - result &= validate_EveryDataValueConforms(privacySegmentedSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryReferenceIsContained(privacySegmentedSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryBidirectionalReferenceIsPaired(privacySegmentedSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryProxyResolves(privacySegmentedSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_UniqueID(privacySegmentedSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryKeyUnique(privacySegmentedSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryMapEntryUnique(privacySegmentedSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateSection_validateClassCode(privacySegmentedSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateSection_validateMoodCode(privacySegmentedSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacySegmentedSection_validatePrivacySegmentedSectionTemplateId( - privacySegmentedSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacySegmentedSection_validatePrivacySegmentedSectionConfidentialityCode( - privacySegmentedSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacySegmentedSection_validatePrivacySegmentedSectionConfidentialityCodeP( - privacySegmentedSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacySegmentedSection_validatePrivacySegmentedSectionAuthor( - privacySegmentedSection, diagnostics, context); - } + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(privacySegmentedSection, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(privacySegmentedSection, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(privacySegmentedSection, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(privacySegmentedSection, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(privacySegmentedSection, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(privacySegmentedSection, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(privacySegmentedSection, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateSection_validateClassCode(privacySegmentedSection, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateSection_validateMoodCode(privacySegmentedSection, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacySegmentedSection_validatePrivacySegmentedSectionTemplateId(privacySegmentedSection, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacySegmentedSection_validatePrivacySegmentedSectionConfidentialityCode(privacySegmentedSection, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacySegmentedSection_validatePrivacySegmentedSectionConfidentialityCodeP(privacySegmentedSection, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacySegmentedSection_validatePrivacySegmentedSectionAuthor(privacySegmentedSection, diagnostics, context); return result; } @@ -2001,57 +1150,22 @@ public boolean validatePrivacySegmentedSection_validatePrivacySegmentedSectionAu */ public boolean validatePrivacyMarkingsSection(PrivacyMarkingsSection privacyMarkingsSection, DiagnosticChain diagnostics, Map context) { - if (!validate_NoCircularContainment(privacyMarkingsSection, diagnostics, context)) { - return false; - } + if (!validate_NoCircularContainment(privacyMarkingsSection, diagnostics, context)) return false; boolean result = validate_EveryMultiplicityConforms(privacyMarkingsSection, diagnostics, context); - if (result || diagnostics != null) { - result &= validate_EveryDataValueConforms(privacyMarkingsSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryReferenceIsContained(privacyMarkingsSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryBidirectionalReferenceIsPaired(privacyMarkingsSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryProxyResolves(privacyMarkingsSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_UniqueID(privacyMarkingsSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryKeyUnique(privacyMarkingsSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryMapEntryUnique(privacyMarkingsSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateSection_validateClassCode(privacyMarkingsSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateSection_validateMoodCode(privacyMarkingsSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyMarkingsSection_validatePrivacyMarkingsSectionTemplateId( - privacyMarkingsSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyMarkingsSection_validatePrivacyMarkingsSectionCode( - privacyMarkingsSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyMarkingsSection_validatePrivacyMarkingsSectionCodeP( - privacyMarkingsSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyMarkingsSection_validatePrivacyMarkingsSectionText( - privacyMarkingsSection, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyMarkingsSection_validatePrivacyMarkingsSectionEntry1( - privacyMarkingsSection, diagnostics, context); - } + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(privacyMarkingsSection, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(privacyMarkingsSection, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(privacyMarkingsSection, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(privacyMarkingsSection, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(privacyMarkingsSection, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(privacyMarkingsSection, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(privacyMarkingsSection, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateSection_validateClassCode(privacyMarkingsSection, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateSection_validateMoodCode(privacyMarkingsSection, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyMarkingsSection_validatePrivacyMarkingsSectionTemplateId(privacyMarkingsSection, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyMarkingsSection_validatePrivacyMarkingsSectionCode(privacyMarkingsSection, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyMarkingsSection_validatePrivacyMarkingsSectionCodeP(privacyMarkingsSection, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyMarkingsSection_validatePrivacyMarkingsSectionText(privacyMarkingsSection, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyMarkingsSection_validatePrivacyMarkingsSectionEntry1(privacyMarkingsSection, diagnostics, context); return result; } @@ -2118,56 +1232,21 @@ public boolean validatePrivacyMarkingsSection_validatePrivacyMarkingsSectionEntr public boolean validateObligationPolicySecurityObservation( ObligationPolicySecurityObservation obligationPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - if (!validate_NoCircularContainment(obligationPolicySecurityObservation, diagnostics, context)) { - return false; - } + if (!validate_NoCircularContainment(obligationPolicySecurityObservation, diagnostics, context)) return false; boolean result = validate_EveryMultiplicityConforms(obligationPolicySecurityObservation, diagnostics, context); - if (result || diagnostics != null) { - result &= validate_EveryDataValueConforms(obligationPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryReferenceIsContained(obligationPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryBidirectionalReferenceIsPaired( - obligationPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryProxyResolves(obligationPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_UniqueID(obligationPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryKeyUnique(obligationPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryMapEntryUnique(obligationPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateObligationPolicySecurityObservation_validateSecurityObservationTemplateId( - obligationPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateSecurityObservation_validateSecurityObservationMoodCode( - obligationPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateObligationPolicySecurityObservation_validateSecurityObservationCodeP( - obligationPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateObligationPolicySecurityObservation_validateSecurityObservationCode( - obligationPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateObligationPolicySecurityObservation_validateSecurityObservationValue( - obligationPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateObligationPolicySecurityObservation_validateSecurityObservationValueP( - obligationPolicySecurityObservation, diagnostics, context); - } + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(obligationPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(obligationPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(obligationPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(obligationPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(obligationPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(obligationPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(obligationPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateObligationPolicySecurityObservation_validateSecurityObservationTemplateId(obligationPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateSecurityObservation_validateSecurityObservationMoodCode(obligationPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateObligationPolicySecurityObservation_validateSecurityObservationCodeP(obligationPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateObligationPolicySecurityObservation_validateSecurityObservationCode(obligationPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateObligationPolicySecurityObservation_validateSecurityObservationValue(obligationPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateObligationPolicySecurityObservation_validateSecurityObservationValueP(obligationPolicySecurityObservation, diagnostics, context); return result; } @@ -2238,55 +1317,21 @@ public boolean validateObligationPolicySecurityObservation_validateSecurityObser */ public boolean validateSecurityObservation(SecurityObservation securityObservation, DiagnosticChain diagnostics, Map context) { - if (!validate_NoCircularContainment(securityObservation, diagnostics, context)) { - return false; - } + if (!validate_NoCircularContainment(securityObservation, diagnostics, context)) return false; boolean result = validate_EveryMultiplicityConforms(securityObservation, diagnostics, context); - if (result || diagnostics != null) { - result &= validate_EveryDataValueConforms(securityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryReferenceIsContained(securityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryBidirectionalReferenceIsPaired(securityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryProxyResolves(securityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_UniqueID(securityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryKeyUnique(securityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryMapEntryUnique(securityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateSecurityObservation_validateSecurityObservationTemplateId( - securityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateSecurityObservation_validateSecurityObservationMoodCode( - securityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateSecurityObservation_validateSecurityObservationCodeP( - securityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateSecurityObservation_validateSecurityObservationCode( - securityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateSecurityObservation_validateSecurityObservationValue( - securityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateSecurityObservation_validateSecurityObservationValueP( - securityObservation, diagnostics, context); - } + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(securityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(securityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(securityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(securityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(securityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(securityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(securityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateSecurityObservation_validateSecurityObservationTemplateId(securityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateSecurityObservation_validateSecurityObservationMoodCode(securityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateSecurityObservation_validateSecurityObservationCodeP(securityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateSecurityObservation_validateSecurityObservationCode(securityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateSecurityObservation_validateSecurityObservationValue(securityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateSecurityObservation_validateSecurityObservationValueP(securityObservation, diagnostics, context); return result; } @@ -2363,50 +1408,20 @@ public boolean validateSecurityObservation_validateSecurityObservationMoodCode( */ public boolean validateMandatoryDocumentProvenance(MandatoryDocumentProvenance mandatoryDocumentProvenance, DiagnosticChain diagnostics, Map context) { - if (!validate_NoCircularContainment(mandatoryDocumentProvenance, diagnostics, context)) { - return false; - } + if (!validate_NoCircularContainment(mandatoryDocumentProvenance, diagnostics, context)) return false; boolean result = validate_EveryMultiplicityConforms(mandatoryDocumentProvenance, diagnostics, context); - if (result || diagnostics != null) { - result &= validate_EveryDataValueConforms(mandatoryDocumentProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryReferenceIsContained(mandatoryDocumentProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryBidirectionalReferenceIsPaired(mandatoryDocumentProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryProxyResolves(mandatoryDocumentProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_UniqueID(mandatoryDocumentProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryKeyUnique(mandatoryDocumentProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryMapEntryUnique(mandatoryDocumentProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateAuthor_validateTypeCode(mandatoryDocumentProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateAuthor_validateContextControlCode( - mandatoryDocumentProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateMandatoryDocumentProvenance_validateMandatoryDocumentProvenanceTemplateId( - mandatoryDocumentProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateMandatoryDocumentProvenance_validateMandatoryDocumentProvenanceTime( - mandatoryDocumentProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateMandatoryDocumentProvenance_validateMandatoryDocumentProvenanceAssignedAuthor( - mandatoryDocumentProvenance, diagnostics, context); - } + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(mandatoryDocumentProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(mandatoryDocumentProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(mandatoryDocumentProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(mandatoryDocumentProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(mandatoryDocumentProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(mandatoryDocumentProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(mandatoryDocumentProvenance, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateAuthor_validateTypeCode(mandatoryDocumentProvenance, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateAuthor_validateContextControlCode(mandatoryDocumentProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validateMandatoryDocumentProvenance_validateMandatoryDocumentProvenanceTemplateId(mandatoryDocumentProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validateMandatoryDocumentProvenance_validateMandatoryDocumentProvenanceTime(mandatoryDocumentProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validateMandatoryDocumentProvenance_validateMandatoryDocumentProvenanceAssignedAuthor(mandatoryDocumentProvenance, diagnostics, context); return result; } @@ -2454,60 +1469,22 @@ public boolean validateMandatoryDocumentProvenance_validateMandatoryDocumentProv public boolean validateMandatoryDocumentAssignedAuthor( MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor, DiagnosticChain diagnostics, Map context) { - if (!validate_NoCircularContainment(mandatoryDocumentAssignedAuthor, diagnostics, context)) { - return false; - } + if (!validate_NoCircularContainment(mandatoryDocumentAssignedAuthor, diagnostics, context)) return false; boolean result = validate_EveryMultiplicityConforms(mandatoryDocumentAssignedAuthor, diagnostics, context); - if (result || diagnostics != null) { - result &= validate_EveryDataValueConforms(mandatoryDocumentAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryReferenceIsContained(mandatoryDocumentAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryBidirectionalReferenceIsPaired( - mandatoryDocumentAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryProxyResolves(mandatoryDocumentAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_UniqueID(mandatoryDocumentAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryKeyUnique(mandatoryDocumentAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryMapEntryUnique(mandatoryDocumentAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateAssignedAuthor_validateAssignedAuthorChoice( - mandatoryDocumentAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateAssignedAuthor_validateClassCode( - mandatoryDocumentAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateMandatoryDocumentAssignedAuthor_validateMandatoryDocumentAssignedAuthorTemplateId( - mandatoryDocumentAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateMandatoryDocumentAssignedAuthor_validateMandatoryDocumentAssignedAuthorTelecomEmail( - mandatoryDocumentAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateMandatoryDocumentAssignedAuthor_validateMandatoryDocumentAssignedAuthorAssignedAuthoringDevice( - mandatoryDocumentAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateMandatoryDocumentAssignedAuthor_validateMandatoryDocumentAssignedAuthorAssignedPerson( - mandatoryDocumentAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateMandatoryDocumentAssignedAuthor_validateMandatoryDocumentAssignedAuthorRepresentedOrganization( - mandatoryDocumentAssignedAuthor, diagnostics, context); - } + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(mandatoryDocumentAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(mandatoryDocumentAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(mandatoryDocumentAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(mandatoryDocumentAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(mandatoryDocumentAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(mandatoryDocumentAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(mandatoryDocumentAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateAssignedAuthor_validateAssignedAuthorChoice(mandatoryDocumentAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateAssignedAuthor_validateClassCode(mandatoryDocumentAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validateMandatoryDocumentAssignedAuthor_validateMandatoryDocumentAssignedAuthorTemplateId(mandatoryDocumentAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validateMandatoryDocumentAssignedAuthor_validateMandatoryDocumentAssignedAuthorTelecomEmail(mandatoryDocumentAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validateMandatoryDocumentAssignedAuthor_validateMandatoryDocumentAssignedAuthorAssignedAuthoringDevice(mandatoryDocumentAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validateMandatoryDocumentAssignedAuthor_validateMandatoryDocumentAssignedAuthorAssignedPerson(mandatoryDocumentAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validateMandatoryDocumentAssignedAuthor_validateMandatoryDocumentAssignedAuthorRepresentedOrganization(mandatoryDocumentAssignedAuthor, diagnostics, context); return result; } @@ -2532,8 +1509,7 @@ public boolean validateMandatoryDocumentAssignedAuthor_validateMandatoryDocument public boolean validateMandatoryDocumentAssignedAuthor_validateMandatoryDocumentAssignedAuthorTelecomEmail( MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor, DiagnosticChain diagnostics, Map context) { - return mandatoryDocumentAssignedAuthor.validateMandatoryDocumentAssignedAuthorTelecomEmail( - diagnostics, context); + return mandatoryDocumentAssignedAuthor.validateMandatoryDocumentAssignedAuthorTelecomEmail(diagnostics, context); } /** @@ -2545,8 +1521,7 @@ public boolean validateMandatoryDocumentAssignedAuthor_validateMandatoryDocument public boolean validateMandatoryDocumentAssignedAuthor_validateMandatoryDocumentAssignedAuthorAssignedAuthoringDevice( MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor, DiagnosticChain diagnostics, Map context) { - return mandatoryDocumentAssignedAuthor.validateMandatoryDocumentAssignedAuthorAssignedAuthoringDevice( - diagnostics, context); + return mandatoryDocumentAssignedAuthor.validateMandatoryDocumentAssignedAuthorAssignedAuthoringDevice(diagnostics, context); } /** @@ -2558,8 +1533,7 @@ public boolean validateMandatoryDocumentAssignedAuthor_validateMandatoryDocument public boolean validateMandatoryDocumentAssignedAuthor_validateMandatoryDocumentAssignedAuthorAssignedPerson( MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor, DiagnosticChain diagnostics, Map context) { - return mandatoryDocumentAssignedAuthor.validateMandatoryDocumentAssignedAuthorAssignedPerson( - diagnostics, context); + return mandatoryDocumentAssignedAuthor.validateMandatoryDocumentAssignedAuthorAssignedPerson(diagnostics, context); } /** @@ -2571,8 +1545,7 @@ public boolean validateMandatoryDocumentAssignedAuthor_validateMandatoryDocument public boolean validateMandatoryDocumentAssignedAuthor_validateMandatoryDocumentAssignedAuthorRepresentedOrganization( MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor, DiagnosticChain diagnostics, Map context) { - return mandatoryDocumentAssignedAuthor.validateMandatoryDocumentAssignedAuthorRepresentedOrganization( - diagnostics, context); + return mandatoryDocumentAssignedAuthor.validateMandatoryDocumentAssignedAuthorRepresentedOrganization(diagnostics, context); } /** @@ -2582,67 +1555,24 @@ public boolean validateMandatoryDocumentAssignedAuthor_validateMandatoryDocument */ public boolean validatePrivacyAnnotation(PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - if (!validate_NoCircularContainment(privacyAnnotation, diagnostics, context)) { - return false; - } + if (!validate_NoCircularContainment(privacyAnnotation, diagnostics, context)) return false; boolean result = validate_EveryMultiplicityConforms(privacyAnnotation, diagnostics, context); - if (result || diagnostics != null) { - result &= validate_EveryDataValueConforms(privacyAnnotation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryReferenceIsContained(privacyAnnotation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryBidirectionalReferenceIsPaired(privacyAnnotation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryProxyResolves(privacyAnnotation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_UniqueID(privacyAnnotation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryKeyUnique(privacyAnnotation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryMapEntryUnique(privacyAnnotation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyAnnotation_validatePrivacyAnnotationTemplateId( - privacyAnnotation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyAnnotation_validatePrivacyAnnotationClassCode( - privacyAnnotation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyAnnotation_validatePrivacyAnnotationMoodCode( - privacyAnnotation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyAnnotation_validatePrivacyAnnotationStatusCodeP( - privacyAnnotation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyAnnotation_validatePrivacyAnnotationStatusCode( - privacyAnnotation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyAnnotation_validatePrivacyAnnotationObligationPolicySecurityObservation( - privacyAnnotation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyAnnotation_validatePrivacyAnnotationRefrainPolicySecurityObservation( - privacyAnnotation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyAnnotation_validatePrivacyAnnotationPurposeOfUseSecurityObservation( - privacyAnnotation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyAnnotation_validatePrivacyAnnotationConfidentialityCodeSecurityObservation( - privacyAnnotation, diagnostics, context); - } + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(privacyAnnotation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(privacyAnnotation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(privacyAnnotation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(privacyAnnotation, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(privacyAnnotation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(privacyAnnotation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(privacyAnnotation, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyAnnotation_validatePrivacyAnnotationTemplateId(privacyAnnotation, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyAnnotation_validatePrivacyAnnotationClassCode(privacyAnnotation, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyAnnotation_validatePrivacyAnnotationMoodCode(privacyAnnotation, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyAnnotation_validatePrivacyAnnotationStatusCodeP(privacyAnnotation, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyAnnotation_validatePrivacyAnnotationStatusCode(privacyAnnotation, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyAnnotation_validatePrivacyAnnotationObligationPolicySecurityObservation(privacyAnnotation, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyAnnotation_validatePrivacyAnnotationRefrainPolicySecurityObservation(privacyAnnotation, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyAnnotation_validatePrivacyAnnotationPurposeOfUseSecurityObservation(privacyAnnotation, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyAnnotation_validatePrivacyAnnotationConfidentialityCodeSecurityObservation(privacyAnnotation, diagnostics, context); return result; } @@ -2753,56 +1683,21 @@ public boolean validatePrivacyAnnotation_validatePrivacyAnnotationConfidentialit public boolean validateRefrainPolicySecurityObservation( RefrainPolicySecurityObservation refrainPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - if (!validate_NoCircularContainment(refrainPolicySecurityObservation, diagnostics, context)) { - return false; - } + if (!validate_NoCircularContainment(refrainPolicySecurityObservation, diagnostics, context)) return false; boolean result = validate_EveryMultiplicityConforms(refrainPolicySecurityObservation, diagnostics, context); - if (result || diagnostics != null) { - result &= validate_EveryDataValueConforms(refrainPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryReferenceIsContained(refrainPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryBidirectionalReferenceIsPaired( - refrainPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryProxyResolves(refrainPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_UniqueID(refrainPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryKeyUnique(refrainPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryMapEntryUnique(refrainPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateRefrainPolicySecurityObservation_validateSecurityObservationTemplateId( - refrainPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateSecurityObservation_validateSecurityObservationMoodCode( - refrainPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateRefrainPolicySecurityObservation_validateSecurityObservationCodeP( - refrainPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateRefrainPolicySecurityObservation_validateSecurityObservationCode( - refrainPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateRefrainPolicySecurityObservation_validateSecurityObservationValue( - refrainPolicySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateRefrainPolicySecurityObservation_validateSecurityObservationValueP( - refrainPolicySecurityObservation, diagnostics, context); - } + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(refrainPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(refrainPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(refrainPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(refrainPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(refrainPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(refrainPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(refrainPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateRefrainPolicySecurityObservation_validateSecurityObservationTemplateId(refrainPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateSecurityObservation_validateSecurityObservationMoodCode(refrainPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateRefrainPolicySecurityObservation_validateSecurityObservationCodeP(refrainPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateRefrainPolicySecurityObservation_validateSecurityObservationCode(refrainPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateRefrainPolicySecurityObservation_validateSecurityObservationValue(refrainPolicySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateRefrainPolicySecurityObservation_validateSecurityObservationValueP(refrainPolicySecurityObservation, diagnostics, context); return result; } @@ -2874,56 +1769,21 @@ public boolean validateRefrainPolicySecurityObservation_validateSecurityObservat public boolean validatePurposeOfUseSecurityObservation( PurposeOfUseSecurityObservation purposeOfUseSecurityObservation, DiagnosticChain diagnostics, Map context) { - if (!validate_NoCircularContainment(purposeOfUseSecurityObservation, diagnostics, context)) { - return false; - } + if (!validate_NoCircularContainment(purposeOfUseSecurityObservation, diagnostics, context)) return false; boolean result = validate_EveryMultiplicityConforms(purposeOfUseSecurityObservation, diagnostics, context); - if (result || diagnostics != null) { - result &= validate_EveryDataValueConforms(purposeOfUseSecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryReferenceIsContained(purposeOfUseSecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryBidirectionalReferenceIsPaired( - purposeOfUseSecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryProxyResolves(purposeOfUseSecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_UniqueID(purposeOfUseSecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryKeyUnique(purposeOfUseSecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryMapEntryUnique(purposeOfUseSecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePurposeOfUseSecurityObservation_validateSecurityObservationTemplateId( - purposeOfUseSecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateSecurityObservation_validateSecurityObservationMoodCode( - purposeOfUseSecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePurposeOfUseSecurityObservation_validateSecurityObservationCodeP( - purposeOfUseSecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePurposeOfUseSecurityObservation_validateSecurityObservationCode( - purposeOfUseSecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePurposeOfUseSecurityObservation_validateSecurityObservationValue( - purposeOfUseSecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePurposeOfUseSecurityObservation_validateSecurityObservationValueP( - purposeOfUseSecurityObservation, diagnostics, context); - } + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(purposeOfUseSecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(purposeOfUseSecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(purposeOfUseSecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(purposeOfUseSecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(purposeOfUseSecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(purposeOfUseSecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(purposeOfUseSecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validatePurposeOfUseSecurityObservation_validateSecurityObservationTemplateId(purposeOfUseSecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateSecurityObservation_validateSecurityObservationMoodCode(purposeOfUseSecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validatePurposeOfUseSecurityObservation_validateSecurityObservationCodeP(purposeOfUseSecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validatePurposeOfUseSecurityObservation_validateSecurityObservationCode(purposeOfUseSecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validatePurposeOfUseSecurityObservation_validateSecurityObservationValue(purposeOfUseSecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validatePurposeOfUseSecurityObservation_validateSecurityObservationValueP(purposeOfUseSecurityObservation, diagnostics, context); return result; } @@ -2995,56 +1855,21 @@ public boolean validatePurposeOfUseSecurityObservation_validateSecurityObservati public boolean validateConfidentialitySecurityObservation( ConfidentialitySecurityObservation confidentialitySecurityObservation, DiagnosticChain diagnostics, Map context) { - if (!validate_NoCircularContainment(confidentialitySecurityObservation, diagnostics, context)) { - return false; - } + if (!validate_NoCircularContainment(confidentialitySecurityObservation, diagnostics, context)) return false; boolean result = validate_EveryMultiplicityConforms(confidentialitySecurityObservation, diagnostics, context); - if (result || diagnostics != null) { - result &= validate_EveryDataValueConforms(confidentialitySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryReferenceIsContained(confidentialitySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryBidirectionalReferenceIsPaired( - confidentialitySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryProxyResolves(confidentialitySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_UniqueID(confidentialitySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryKeyUnique(confidentialitySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryMapEntryUnique(confidentialitySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateConfidentialitySecurityObservation_validateSecurityObservationTemplateId( - confidentialitySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateSecurityObservation_validateSecurityObservationMoodCode( - confidentialitySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateConfidentialitySecurityObservation_validateSecurityObservationCodeP( - confidentialitySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateConfidentialitySecurityObservation_validateSecurityObservationCode( - confidentialitySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateConfidentialitySecurityObservation_validateSecurityObservationValue( - confidentialitySecurityObservation, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateSecurityObservation_validateSecurityObservationValueP( - confidentialitySecurityObservation, diagnostics, context); - } + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(confidentialitySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(confidentialitySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(confidentialitySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(confidentialitySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(confidentialitySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(confidentialitySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(confidentialitySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateConfidentialitySecurityObservation_validateSecurityObservationTemplateId(confidentialitySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateSecurityObservation_validateSecurityObservationMoodCode(confidentialitySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateConfidentialitySecurityObservation_validateSecurityObservationCodeP(confidentialitySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateConfidentialitySecurityObservation_validateSecurityObservationCode(confidentialitySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateConfidentialitySecurityObservation_validateSecurityObservationValue(confidentialitySecurityObservation, diagnostics, context); + if (result || diagnostics != null) result &= validateSecurityObservation_validateSecurityObservationValueP(confidentialitySecurityObservation, diagnostics, context); return result; } @@ -3103,135 +1928,41 @@ public boolean validateConfidentialitySecurityObservation_validateSecurityObserv */ public boolean validateProtectedProblem(ProtectedProblem protectedProblem, DiagnosticChain diagnostics, Map context) { - if (!validate_NoCircularContainment(protectedProblem, diagnostics, context)) { - return false; - } + if (!validate_NoCircularContainment(protectedProblem, diagnostics, context)) return false; boolean result = validate_EveryMultiplicityConforms(protectedProblem, diagnostics, context); - if (result || diagnostics != null) { - result &= validate_EveryDataValueConforms(protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryReferenceIsContained(protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryBidirectionalReferenceIsPaired(protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryProxyResolves(protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_UniqueID(protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryKeyUnique(protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryMapEntryUnique(protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationHasTextReference( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationTextReferenceValue( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationHasTextReferenceValue( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationHasOnsetDate( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationHasResolutionDate( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationValueNullFlavor( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationAgeObservationInversion( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationValueTranslation( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationValueTranslationCode( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateProtectedProblem_validateProblemObservationTemplateId( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationClassCode( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationMoodCode( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationNegationInd( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationId( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationCodeP( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationCode( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationText( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationStatusCode( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationEffectiveTime( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationValue( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationValueP( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationAgeObservation( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationHealthStatusObservation( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= consolValidator.validateProblemObservation_validateProblemObservationProblemStatus( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateProtectedProblem_validateProtectedProblemProblemProvenance( - protectedProblem, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateProtectedProblem_validateProtectedProblemPrivacyAnnotations( - protectedProblem, diagnostics, context); - } + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationHasTextReference(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationTextReferenceValue(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationHasTextReferenceValue(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationHasOnsetDate(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationHasResolutionDate(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationValueNullFlavor(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationAgeObservationInversion(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationValueTranslation(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationValueTranslationCode(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= validateProtectedProblem_validateProblemObservationTemplateId(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationClassCode(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationMoodCode(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationNegationInd(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationId(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationCodeP(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationCode(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationText(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationStatusCode(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationEffectiveTime(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationValue(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationValueP(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationAgeObservation(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationHealthStatusObservation(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= consolValidator.validateProblemObservation_validateProblemObservationProblemStatus(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= validateProtectedProblem_validateProtectedProblemProblemProvenance(protectedProblem, diagnostics, context); + if (result || diagnostics != null) result &= validateProtectedProblem_validateProtectedProblemPrivacyAnnotations(protectedProblem, diagnostics, context); return result; } @@ -3275,50 +2006,20 @@ public boolean validateProtectedProblem_validateProtectedProblemPrivacyAnnotatio */ public boolean validateMandatoryEntryProvenance(MandatoryEntryProvenance mandatoryEntryProvenance, DiagnosticChain diagnostics, Map context) { - if (!validate_NoCircularContainment(mandatoryEntryProvenance, diagnostics, context)) { - return false; - } + if (!validate_NoCircularContainment(mandatoryEntryProvenance, diagnostics, context)) return false; boolean result = validate_EveryMultiplicityConforms(mandatoryEntryProvenance, diagnostics, context); - if (result || diagnostics != null) { - result &= validate_EveryDataValueConforms(mandatoryEntryProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryReferenceIsContained(mandatoryEntryProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryBidirectionalReferenceIsPaired(mandatoryEntryProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryProxyResolves(mandatoryEntryProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_UniqueID(mandatoryEntryProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryKeyUnique(mandatoryEntryProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryMapEntryUnique(mandatoryEntryProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateAuthor_validateTypeCode(mandatoryEntryProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateAuthor_validateContextControlCode( - mandatoryEntryProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateMandatoryEntryProvenance_validateMandatoryEntryProvenanceTemplateId( - mandatoryEntryProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateMandatoryEntryProvenance_validateMandatoryEntryProvenanceTime( - mandatoryEntryProvenance, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateMandatoryEntryProvenance_validateMandatoryEntryProvenanceAssignedAuthor( - mandatoryEntryProvenance, diagnostics, context); - } + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(mandatoryEntryProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(mandatoryEntryProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(mandatoryEntryProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(mandatoryEntryProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(mandatoryEntryProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(mandatoryEntryProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(mandatoryEntryProvenance, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateAuthor_validateTypeCode(mandatoryEntryProvenance, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateAuthor_validateContextControlCode(mandatoryEntryProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validateMandatoryEntryProvenance_validateMandatoryEntryProvenanceTemplateId(mandatoryEntryProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validateMandatoryEntryProvenance_validateMandatoryEntryProvenanceTime(mandatoryEntryProvenance, diagnostics, context); + if (result || diagnostics != null) result &= validateMandatoryEntryProvenance_validateMandatoryEntryProvenanceAssignedAuthor(mandatoryEntryProvenance, diagnostics, context); return result; } @@ -3365,55 +2066,21 @@ public boolean validateMandatoryEntryProvenance_validateMandatoryEntryProvenance */ public boolean validateMandatoryEntryAssignedAuthor(MandatoryEntryAssignedAuthor mandatoryEntryAssignedAuthor, DiagnosticChain diagnostics, Map context) { - if (!validate_NoCircularContainment(mandatoryEntryAssignedAuthor, diagnostics, context)) { - return false; - } + if (!validate_NoCircularContainment(mandatoryEntryAssignedAuthor, diagnostics, context)) return false; boolean result = validate_EveryMultiplicityConforms(mandatoryEntryAssignedAuthor, diagnostics, context); - if (result || diagnostics != null) { - result &= validate_EveryDataValueConforms(mandatoryEntryAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryReferenceIsContained(mandatoryEntryAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryBidirectionalReferenceIsPaired(mandatoryEntryAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryProxyResolves(mandatoryEntryAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_UniqueID(mandatoryEntryAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryKeyUnique(mandatoryEntryAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryMapEntryUnique(mandatoryEntryAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateAssignedAuthor_validateAssignedAuthorChoice( - mandatoryEntryAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateAssignedAuthor_validateClassCode( - mandatoryEntryAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateMandatoryEntryAssignedAuthor_validateMandatoryEntryAssignedAuthorTemplateId( - mandatoryEntryAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateMandatoryEntryAssignedAuthor_validateMandatoryEntryAssignedAuthorAssignedAuthoringDevice( - mandatoryEntryAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateMandatoryEntryAssignedAuthor_validateMandatoryEntryAssignedAuthorAssignedPerson( - mandatoryEntryAssignedAuthor, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validateMandatoryEntryAssignedAuthor_validateMandatoryEntryAssignedAuthorRepresentedOrganization( - mandatoryEntryAssignedAuthor, diagnostics, context); - } + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(mandatoryEntryAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(mandatoryEntryAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(mandatoryEntryAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(mandatoryEntryAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(mandatoryEntryAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(mandatoryEntryAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(mandatoryEntryAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateAssignedAuthor_validateAssignedAuthorChoice(mandatoryEntryAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateAssignedAuthor_validateClassCode(mandatoryEntryAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validateMandatoryEntryAssignedAuthor_validateMandatoryEntryAssignedAuthorTemplateId(mandatoryEntryAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validateMandatoryEntryAssignedAuthor_validateMandatoryEntryAssignedAuthorAssignedAuthoringDevice(mandatoryEntryAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validateMandatoryEntryAssignedAuthor_validateMandatoryEntryAssignedAuthorAssignedPerson(mandatoryEntryAssignedAuthor, diagnostics, context); + if (result || diagnostics != null) result &= validateMandatoryEntryAssignedAuthor_validateMandatoryEntryAssignedAuthorRepresentedOrganization(mandatoryEntryAssignedAuthor, diagnostics, context); return result; } @@ -3438,8 +2105,7 @@ public boolean validateMandatoryEntryAssignedAuthor_validateMandatoryEntryAssign public boolean validateMandatoryEntryAssignedAuthor_validateMandatoryEntryAssignedAuthorAssignedAuthoringDevice( MandatoryEntryAssignedAuthor mandatoryEntryAssignedAuthor, DiagnosticChain diagnostics, Map context) { - return mandatoryEntryAssignedAuthor.validateMandatoryEntryAssignedAuthorAssignedAuthoringDevice( - diagnostics, context); + return mandatoryEntryAssignedAuthor.validateMandatoryEntryAssignedAuthorAssignedAuthoringDevice(diagnostics, context); } /** @@ -3463,8 +2129,7 @@ public boolean validateMandatoryEntryAssignedAuthor_validateMandatoryEntryAssign public boolean validateMandatoryEntryAssignedAuthor_validateMandatoryEntryAssignedAuthorRepresentedOrganization( MandatoryEntryAssignedAuthor mandatoryEntryAssignedAuthor, DiagnosticChain diagnostics, Map context) { - return mandatoryEntryAssignedAuthor.validateMandatoryEntryAssignedAuthorRepresentedOrganization( - diagnostics, context); + return mandatoryEntryAssignedAuthor.validateMandatoryEntryAssignedAuthorRepresentedOrganization(diagnostics, context); } /** @@ -3475,44 +2140,18 @@ public boolean validateMandatoryEntryAssignedAuthor_validateMandatoryEntryAssign public boolean validatePrivacyAnnotationEntryRelationship( PrivacyAnnotationEntryRelationship privacyAnnotationEntryRelationship, DiagnosticChain diagnostics, Map context) { - if (!validate_NoCircularContainment(privacyAnnotationEntryRelationship, diagnostics, context)) { - return false; - } + if (!validate_NoCircularContainment(privacyAnnotationEntryRelationship, diagnostics, context)) return false; boolean result = validate_EveryMultiplicityConforms(privacyAnnotationEntryRelationship, diagnostics, context); - if (result || diagnostics != null) { - result &= validate_EveryDataValueConforms(privacyAnnotationEntryRelationship, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryReferenceIsContained(privacyAnnotationEntryRelationship, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryBidirectionalReferenceIsPaired( - privacyAnnotationEntryRelationship, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryProxyResolves(privacyAnnotationEntryRelationship, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_UniqueID(privacyAnnotationEntryRelationship, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryKeyUnique(privacyAnnotationEntryRelationship, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryMapEntryUnique(privacyAnnotationEntryRelationship, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateEntryRelationship_validateClinicalStatement( - privacyAnnotationEntryRelationship, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyAnnotationEntryRelationship_validatePrivacyAnnotationEntryRelationshipTemplateId( - privacyAnnotationEntryRelationship, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyAnnotationEntryRelationship_validatePrivacyAnnotationEntryRelationshipOrganizer( - privacyAnnotationEntryRelationship, diagnostics, context); - } + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(privacyAnnotationEntryRelationship, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(privacyAnnotationEntryRelationship, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(privacyAnnotationEntryRelationship, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(privacyAnnotationEntryRelationship, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(privacyAnnotationEntryRelationship, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(privacyAnnotationEntryRelationship, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(privacyAnnotationEntryRelationship, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateEntryRelationship_validateClinicalStatement(privacyAnnotationEntryRelationship, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyAnnotationEntryRelationship_validatePrivacyAnnotationEntryRelationshipTemplateId(privacyAnnotationEntryRelationship, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyAnnotationEntryRelationship_validatePrivacyAnnotationEntryRelationshipOrganizer(privacyAnnotationEntryRelationship, diagnostics, context); return result; } @@ -3525,8 +2164,7 @@ public boolean validatePrivacyAnnotationEntryRelationship( public boolean validatePrivacyAnnotationEntryRelationship_validatePrivacyAnnotationEntryRelationshipTemplateId( PrivacyAnnotationEntryRelationship privacyAnnotationEntryRelationship, DiagnosticChain diagnostics, Map context) { - return privacyAnnotationEntryRelationship.validatePrivacyAnnotationEntryRelationshipTemplateId( - diagnostics, context); + return privacyAnnotationEntryRelationship.validatePrivacyAnnotationEntryRelationshipTemplateId(diagnostics, context); } /** @@ -3538,8 +2176,7 @@ public boolean validatePrivacyAnnotationEntryRelationship_validatePrivacyAnnotat public boolean validatePrivacyAnnotationEntryRelationship_validatePrivacyAnnotationEntryRelationshipOrganizer( PrivacyAnnotationEntryRelationship privacyAnnotationEntryRelationship, DiagnosticChain diagnostics, Map context) { - return privacyAnnotationEntryRelationship.validatePrivacyAnnotationEntryRelationshipOrganizer( - diagnostics, context); + return privacyAnnotationEntryRelationship.validatePrivacyAnnotationEntryRelationshipOrganizer(diagnostics, context); } /** @@ -3549,46 +2186,19 @@ public boolean validatePrivacyAnnotationEntryRelationship_validatePrivacyAnnotat */ public boolean validatePrivacyMarkingsEntry(PrivacyMarkingsEntry privacyMarkingsEntry, DiagnosticChain diagnostics, Map context) { - if (!validate_NoCircularContainment(privacyMarkingsEntry, diagnostics, context)) { - return false; - } + if (!validate_NoCircularContainment(privacyMarkingsEntry, diagnostics, context)) return false; boolean result = validate_EveryMultiplicityConforms(privacyMarkingsEntry, diagnostics, context); - if (result || diagnostics != null) { - result &= validate_EveryDataValueConforms(privacyMarkingsEntry, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryReferenceIsContained(privacyMarkingsEntry, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryBidirectionalReferenceIsPaired(privacyMarkingsEntry, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryProxyResolves(privacyMarkingsEntry, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_UniqueID(privacyMarkingsEntry, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryKeyUnique(privacyMarkingsEntry, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validate_EveryMapEntryUnique(privacyMarkingsEntry, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateEntry_validateClinicalStatement(privacyMarkingsEntry, diagnostics, context); - } - if (result || diagnostics != null) { - result &= cdaValidator.validateEntry_validateContextConductionInd( - privacyMarkingsEntry, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyMarkingsEntry_validatePrivacyMarkingsEntryTemplateId( - privacyMarkingsEntry, diagnostics, context); - } - if (result || diagnostics != null) { - result &= validatePrivacyMarkingsEntry_validatePrivacyMarkingsEntryOrganizer( - privacyMarkingsEntry, diagnostics, context); - } + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(privacyMarkingsEntry, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(privacyMarkingsEntry, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(privacyMarkingsEntry, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(privacyMarkingsEntry, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(privacyMarkingsEntry, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(privacyMarkingsEntry, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(privacyMarkingsEntry, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateEntry_validateClinicalStatement(privacyMarkingsEntry, diagnostics, context); + if (result || diagnostics != null) result &= cdaValidator.validateEntry_validateContextConductionInd(privacyMarkingsEntry, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyMarkingsEntry_validatePrivacyMarkingsEntryTemplateId(privacyMarkingsEntry, diagnostics, context); + if (result || diagnostics != null) result &= validatePrivacyMarkingsEntry_validatePrivacyMarkingsEntryOrganizer(privacyMarkingsEntry, diagnostics, context); return result; } diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/util/DS4PUtil.java b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/util/DS4PUtil.java index 1e64f8dccc..744c67abba 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/util/DS4PUtil.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/org/hl7/security/ds4p/contentprofile/util/DS4PUtil.java @@ -21,6 +21,7 @@ import org.eclipse.mdht.uml.cda.internal.resource.CDAResource; import org.eclipse.mdht.uml.cda.util.CDAUtil; import org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil.ValidationStatistics; /** * @author seanmuir @@ -56,6 +57,24 @@ public void handleInfo(Diagnostic diagnostic) { } } + @Override + public boolean isCaptureValidationStatistics() { + // TODO Auto-generated method stub + return false; + } + + @Override + public ValidationStatistics getValidationStatistics() { + // TODO Auto-generated method stub + return null; + } + + @Override + public void setValidationStatistics(ValidationStatistics validationStatistics) { + // TODO Auto-generated method stub + + } + }; DS4PUtil.load(is, filterHandler); diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/test/DS4PValidationExample.java b/generated/org.hl7.security.ds4p.contentprofile/src/test/DS4PValidationExample.java index 116c57f336..1418af7506 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/test/DS4PValidationExample.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/test/DS4PValidationExample.java @@ -11,7 +11,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.mdht.uml.cda.util.CDADiagnostic; import org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler; -import org.eclipse.mdht.uml.cda.util.ValidationResult; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil.ValidationStatistics; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.util.DS4PUtil; @@ -27,7 +27,7 @@ public static void main(String[] args) { System.out.println(); // use this version for an easier integration with the // referenceccdavalidator - runDS4PValidationUsingSpecificValidationResult(); + // runDS4PValidationUsingSpecificValidationResult(); } private static void setup() { @@ -52,6 +52,24 @@ public void handleWarning(Diagnostic diagnostic) { public void handleInfo(Diagnostic diagnostic) { System.out.println(diagnostic.getMessage()); } + + @Override + public boolean isCaptureValidationStatistics() { + // TODO Auto-generated method stub + return false; + } + + @Override + public ValidationStatistics getValidationStatistics() { + // TODO Auto-generated method stub + return null; + } + + @Override + public void setValidationStatistics(ValidationStatistics validationStatistics) { + // TODO Auto-generated method stub + + } }; try { @@ -61,22 +79,33 @@ public void handleInfo(Diagnostic diagnostic) { } } - private static void runDS4PValidationUsingSpecificValidationResult() { - System.out.println("runDS4PValidationUsingSpecificValidationResult:"); - ValidationResult result = new ValidationResult(); - try { - DS4PUtil.validateAsDS4P(new FileInputStream(SAMPLES_PATH + File.separator + DS4P_TEST_FILE_NAME), result); - } catch (Exception e) { - e.printStackTrace(); - } - - System.out.println("Errors:"); - parseAndPrintIssueResults(result.getErrorDiagnostics()); - System.out.println("Warnings:"); - parseAndPrintIssueResults(result.getWarningDiagnostics()); - System.out.println("Info:"); - parseAndPrintIssueResults(result.getInfoDiagnostics()); - } + // public static Set listFilesUsingJavaIO(String dir) { + // return Stream.of(new File(dir).listFiles()).filter(file -> !file.isDirectory()).map(File::getName).collect( + // Collectors.toSet()); + // } + // + // private static void runDS4PValidationUsingSpecificValidationResult() { + // System.out.println("runDS4PValidationUsingSpecificValidationResult:"); + // + // try { + // + // for (String ds4pFile : listFilesUsingJavaIO("samples/ds4p")) { + // ValidationResult result = new ValidationResult(); + // System.err.println(ds4pFile); + // DS4PUtil.validateAsDS4P(new FileInputStream("samples/ds4p/" + ds4pFile), result); + // System.out.println("Errors:"); + // parseAndPrintIssueResults(result.getErrorDiagnostics()); + // System.out.println("Warnings:"); + // parseAndPrintIssueResults(result.getWarningDiagnostics()); + // System.out.println("Info:"); + // parseAndPrintIssueResults(result.getInfoDiagnostics()); + // } + // + // } catch (Exception e) { + // e.printStackTrace(); + // } + // + // } private static void parseAndPrintIssueResults(List resultDiagnostics) { if (resultDiagnostics.size() > 0) { diff --git a/generated/org.hl7.security.ds4p.contentprofile/src/test/TestValidation.java b/generated/org.hl7.security.ds4p.contentprofile/src/test/TestValidation.java index 16d17cbd6f..43f395fd2c 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/test/TestValidation.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/test/TestValidation.java @@ -5,6 +5,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil.ValidationStatistics; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; import org.hl7.security.ds4p.contentprofile.util.DS4PUtil; @@ -32,6 +33,24 @@ public void handleInfo(Diagnostic diagnostic) { System.out.println(diagnostic.getMessage()); } + @Override + public boolean isCaptureValidationStatistics() { + // TODO Auto-generated method stub + return false; + } + + @Override + public ValidationStatistics getValidationStatistics() { + // TODO Auto-generated method stub + return null; + } + + @Override + public void setValidationStatistics(ValidationStatistics validationStatistics) { + // TODO Auto-generated method stub + + } + }; DS4PUtil.validateAsDS4P(new FileInputStream("samples/SegmentedDocumentContentProfileSample.xml"), handler); diff --git a/generated/org.openhealthtools.mdht.uml.cda.ccd/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.ccd/.DS_Store new file mode 100644 index 0000000000..375a8f74cf Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.ccd/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.ccd/.classpath b/generated/org.openhealthtools.mdht.uml.cda.ccd/.classpath index 3bc247511f..065ac06e19 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.ccd/.classpath +++ b/generated/org.openhealthtools.mdht.uml.cda.ccd/.classpath @@ -1,7 +1,7 @@ - + diff --git a/generated/org.openhealthtools.mdht.uml.cda.ccd/META-INF/MANIFEST.MF b/generated/org.openhealthtools.mdht.uml.cda.ccd/META-INF/MANIFEST.MF index 792eb7c215..7927e9061c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.ccd/META-INF/MANIFEST.MF +++ b/generated/org.openhealthtools.mdht.uml.cda.ccd/META-INF/MANIFEST.MF @@ -6,7 +6,6 @@ Bundle-Version: 3.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Require-Bundle: org.eclipse.core.runtime, org.eclipse.emf.ecore;visibility:=reexport, org.eclipse.emf.ecore.xmi;visibility:=reexport, diff --git a/generated/org.openhealthtools.mdht.uml.cda.ccd/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.ccd/src/.DS_Store new file mode 100644 index 0000000000..5f593633ad Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.ccd/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.cdt/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.cdt/.DS_Store new file mode 100644 index 0000000000..6aa08ba82b Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.cdt/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.cdt/META-INF/MANIFEST.MF b/generated/org.openhealthtools.mdht.uml.cda.cdt/META-INF/MANIFEST.MF index 7e69749208..6426e6709b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.cdt/META-INF/MANIFEST.MF +++ b/generated/org.openhealthtools.mdht.uml.cda.cdt/META-INF/MANIFEST.MF @@ -7,7 +7,6 @@ Bundle-ClassPath: . Bundle-Activator: org.openhealthtools.mdht.uml.cda.cdt.CDTPlugin$Implementation Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Require-Bundle: org.eclipse.core.runtime, org.eclipse.emf.ecore;visibility:=reexport, org.eclipse.emf.ecore.xmi;visibility:=reexport, diff --git a/generated/org.openhealthtools.mdht.uml.cda.cdt/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.cdt/src/.DS_Store new file mode 100644 index 0000000000..9f63c653a7 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.cdt/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.clondata/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.clondata/.DS_Store new file mode 100644 index 0000000000..9369361cd5 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.clondata/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.clondata/META-INF/MANIFEST.MF b/generated/org.openhealthtools.mdht.uml.cda.clondata/META-INF/MANIFEST.MF index 27314e5e21..473e201bd6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.clondata/META-INF/MANIFEST.MF +++ b/generated/org.openhealthtools.mdht.uml.cda.clondata/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 3.0.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.clondata;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/generated/org.openhealthtools.mdht.uml.cda.clondata/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.clondata/src/.DS_Store new file mode 100644 index 0000000000..ba257dc59c Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.clondata/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.consol2/.DS_Store new file mode 100644 index 0000000000..26cec12453 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.consol2/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/.classpath b/generated/org.openhealthtools.mdht.uml.cda.consol2/.classpath index 3bc247511f..065ac06e19 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/.classpath +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/.classpath @@ -1,7 +1,7 @@ - + diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/.project b/generated/org.openhealthtools.mdht.uml.cda.consol2/.project index e39e1c4e62..63e6ea76ed 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/.project +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/.project @@ -25,11 +25,6 @@ - - org.eclipse.m2e.core.maven2Builder - - - org.eclipse.wst.validation.validationbuilder @@ -39,7 +34,6 @@ org.eclipse.jem.workbench.JavaEMFNature org.eclipse.wst.common.modulecore.ModuleCoreNature - org.eclipse.m2e.core.maven2Nature org.eclipse.jdt.core.javanature org.eclipse.pde.PluginNature org.eclipse.wst.common.project.facet.core.nature diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/META-INF/MANIFEST.MF b/generated/org.openhealthtools.mdht.uml.cda.consol2/META-INF/MANIFEST.MF index 3dc47f1372..877050fad1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/META-INF/MANIFEST.MF +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/META-INF/MANIFEST.MF @@ -6,7 +6,6 @@ Bundle-Version: 3.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Require-Bundle: org.eclipse.core.runtime, org.eclipse.emf.ecore;visibility:=reexport, org.eclipse.emf.ecore.xmi;visibility:=reexport, @@ -15,7 +14,9 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.mdht.uml.hl7.datatypes;visibility:=reexport, org.eclipse.mdht.uml.hl7.rim;visibility:=reexport, org.eclipse.mdht.uml.hl7.vocab;visibility:=reexport, - org.eclipse.uml2.types;visibility:=reexport + org.eclipse.uml2.types;visibility:=reexport, + org.junit, + org.hamcrest.core Bundle-ActivationPolicy: lazy Bundle-Activator: org.openhealthtools.mdht.uml.cda.consol2.ConsolPlugin$Implementation Export-Package: org.openhealthtools.mdht.uml.cda.consol, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/regression.txt b/generated/org.openhealthtools.mdht.uml.cda.consol2/regression.txt new file mode 100644 index 0000000000..627d22d7e6 --- /dev/null +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/regression.txt @@ -0,0 +1,149 @@ +Consol US Realm Header MAY contain zero or one [0..1] setId (CONF:5261, R2.1=CONF:1198-5261) +Consol US Realm Header MAY contain zero or one [0..1] versionNumber (CONF:5264, R2.1=CONF:1198-5264) +Consol US Realm Header MAY contain zero or one [0..1] dataEnterer, where its type is Data Enterer (CONF:5441) +Consol US Realm Header MAY contain zero or more [0..*] informationRecipient, where its type is Information Recipient (CONF:5565) +Consol US Realm Header SHOULD contain zero or one [0..1] legalAuthenticator, where its type is Legal Authenticator (CONF:5579) +Consol US Realm Header MAY contain zero or more [0..*] authenticator, where its type is Authenticator (CONF:5607) +Consol US Realm Header MAY contain zero or more [0..*] informant (CONF:8001) such that it +Consol US Realm Header MAY contain zero or more [0..*] participant (CONF:10003) such that it +Consol US Realm Header MAY contain zero or more [0..*] inFulfillmentOf, where its type is In Fulfillment Of (CONF:9952) +Consol US Realm Header MAY contain zero or more [0..*] authorization, where its type is Authorization (CONF:16792) +Consol US Realm Header SHALL contain at least one [1..*] recordTarget, where its type is Record Target (CONF:5266) each SHALL contain exactly one [1..1] patientRole, where (CONF:5268) patient Role SHALL contain exactly one [1..1] patient, where (CONF:1198-5283) each SHALL contain at least one [1..*] name (CONF:5284, CONF:10411, R2.1=CONF:1198-5284, DSTU:808) name MAY contain zero or one [0..1] suffix (CONF:7161, R2.1=CONF:81-7161) +Consol US Realm Header SHALL contain at least one [1..*] recordTarget, where its type is Record Target (CONF:5266) each SHALL contain exactly one [1..1] patientRole, where (CONF:5268) patient Role SHALL contain exactly one [1..1] patient, where (CONF:1198-5283) each SHOULD contain zero or more [0..*] languageCommunication, where (CONF:5406) languageCommunication SHOULD contain zero or one [0..1] proficiencyLevelCode, which SHALL be selected from ValueSet LanguageAbilityProficiency 2.16.840.1.113883.1.11.12199 DYNAMIC (CONF:9965, R2.1=CONF:1198-9965) +Consol US Realm Header SHALL contain at least one [1..*] recordTarget, where its type is Record Target (CONF:5266) each SHALL contain exactly one [1..1] patientRole, where (CONF:5268) patient Role SHALL contain exactly one [1..1] patient, where (CONF:1198-5283) patient SHOULD contain zero or one [0..1] maritalStatusCode, which SHALL be selected from ValueSet HL7 Marital Status 2.16.840.1.113883.1.11.12212 DYNAMIC (CONF:5303, R2.1=CONF:1198-5303) +Consol US Realm Header SHALL contain at least one [1..*] recordTarget, where its type is Record Target (CONF:5266) each SHALL contain exactly one [1..1] patientRole, where (CONF:5268) patient Role SHALL contain exactly one [1..1] patient, where (CONF:1198-5283) patient MAY contain zero or one [0..1] religiousAffiliationCode, which SHALL be selected from ValueSet HL7 Religious Affiliation 2.16.840.1.113883.1.11.19185 DYNAMIC (CONF:5317, R2.1=CONF:1198-5317) +Consol US Realm Header SHALL contain at least one [1..*] recordTarget, where its type is Record Target (CONF:5266) each SHALL contain exactly one [1..1] patientRole, where (CONF:5268) patient Role SHALL contain exactly one [1..1] patient, where (CONF:1198-5283) patient MAY contain zero or more [0..*] sDTCRaceCode, which SHALL be selected from ValueSet Race 2.16.840.1.113883.1.11.14914 DYNAMIC (CONF:7263, R2.1=CONF:1198-7263) +Consol US Realm Header SHALL contain at least one [1..*] recordTarget, where its type is Record Target (CONF:5266) each SHALL contain exactly one [1..1] patientRole, where (CONF:5268) patient Role SHALL contain exactly one [1..1] patient, where (CONF:1198-5283) patient MAY contain zero or more [0..*] guardian, where its type is Guardian (CONF:5325) +Consol US Realm Header SHALL contain at least one [1..*] recordTarget, where its type is Record Target (CONF:5266) each SHALL contain exactly one [1..1] patientRole, where (CONF:5268) patient Role SHALL contain exactly one [1..1] patient, where (CONF:1198-5283) patient MAY contain zero or one [0..1] birthplace, where its type is Birthplace (CONF:5395) +Consol US Realm Header SHALL contain at least one [1..*] recordTarget, where its type is Record Target (CONF:5266) each SHALL contain exactly one [1..1] patientRole, where (CONF:5268) patientRole MAY contain zero or one [0..1] providerOrganization, where its type is Provider Organization (CONF:5416, R2.1=CONF:1198-5416) +Consol US Realm Header SHALL contain at least one [1..*] author, where its type is Author (CONF:5444) each SHALL contain exactly one [1..1] assignedAuthor, where (CONF:5448) assignedAuthor SHOULD contain zero or one [0..1] code (CONF:16787), which SHOULD be selected from ValueSet Healthcare Provider Taxonomy (HIPAA) 2.16.840.1.114222.4.11.1066 DYNAMIC (CONF:16788) +Consol US Realm Header MAY contain zero or more [0..*] documentationOf, where its type is Documentation Of (CONF:14835) each SHALL contain exactly one [1..1] serviceEvent, where (CONF:14836) each SHOULD contain zero or more [0..*] performer, where (CONF:14839) each SHALL contain exactly one [1..1] assignedEntity, where (CONF:14841) assignedEntity The id SHOULD contain zero or one [0..1] @root="2.16.840.1.113883.4.6" National Provider Identifier (CONF:14847, R2.1=CONF:1198-14847) +Consol US Realm Header MAY contain zero or more [0..*] documentationOf, where its type is Documentation Of (CONF:14835) each SHALL contain exactly one [1..1] serviceEvent, where (CONF:14836) each SHOULD contain zero or more [0..*] performer, where (CONF:14839) each SHALL contain exactly one [1..1] assignedEntity, where (CONF:14841) assignedEntity The id SHOULD contain zero or one [0..1] @root="2.16.840.1.113883.4.6" National Provider Identifier (CONF:14847, R2.1=CONF:1198-14847) +Consol US Realm Header MAY contain zero or more [0..*] documentationOf, where its type is Documentation Of (CONF:14835) each SHALL contain exactly one [1..1] serviceEvent, where (CONF:14836) each SHOULD contain zero or more [0..*] performer, where (CONF:14839) performer MAY contain zero or one [0..1] functionCode (CONF:16818), which SHOULD be selected from (CodeSystem: 2.16.840.1.113883.5.88 ParticipationFunction) (CONF:16819) +Consol US Realm Header MAY contain zero or more [0..*] documentationOf, where its type is Documentation Of (CONF:14835) each SHALL contain exactly one [1..1] serviceEvent, where (CONF:14836) each SHOULD contain zero or more [0..*] performer, where (CONF:14839) performer MAY contain zero or one [0..1] functionCode (CONF:16818), which SHOULD be selected from (CodeSystem: 2.16.840.1.113883.5.88 ParticipationFunction) (CONF:16819) +Consol US Realm Header MAY contain zero or more [0..*] documentationOf, where its type is Documentation Of (CONF:14835) each SHALL contain exactly one [1..1] serviceEvent, where (CONF:14836) serviceEvent effectiveTime SHALL contain exactly one [1..1] low (CONF:14838, R2.1=CONF:1198-14838) +Consol Discharge Summary MAY contain [0..1] component such that it (CONF:10111) Conforms to Hospital Admission Medications Section Entries Optional (templateId: 2.16.840.1.113883.10.20.22.2.44) +Consol Discharge Summary MAY contain [0..1] component such that it (CONF:9564) Conforms to History Of Past Illness Section (templateId: 2.16.840.1.113883.10.20.22.2.20) +Consol Discharge Summary MAY contain [0..1] component such that it (CONF:9556) Conforms to Chief Complaint And Reason For Visit Section (templateId: 2.16.840.1.113883.10.20.22.2.13) +Consol Discharge Summary MAY contain [0..1] component such that it (CONF:9924) Conforms to Hospital Consultations Section (templateId: 2.16.840.1.113883.10.20.22.2.42) +Consol Discharge Summary MAY contain [0..1] component such that it (CONF:9926) Conforms to Hospital Discharge Instructions Section (templateId: 2.16.840.1.113883.10.20.22.2.41) +Consol Discharge Summary MAY contain [0..1] component such that it (CONF:9576) Conforms to Procedures Section Entries Optional (templateId: 2.16.840.1.113883.10.20.22.2.7) +Consol Discharge Summary SHALL contain exactly one [1..1] componentOf, where its type is Component Of (CONF:9539) each SHALL contain exactly one [1..1] encompassingEncounter, where (CONF:8472) encompassingEncounter MAY contain zero or one [0..1] encounterParticipant, where its type is Encounter Participant (CONF:8478) +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@42a0501e{http:///resource0.xml#//@clinicalDocument/@recordTarget.0/@patientRole/@telecom.0}' with 0 element values must have exactly 1 element value +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@62b0bf85{http:///resource0.xml#//@clinicalDocument/@author.0/@assignedAuthor/@telecom.0}' with 0 element values must have exactly 1 element value +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@1fcaea93{http:///resource0.xml#//@clinicalDocument/@author.0/@assignedAuthor/@telecom.1}' with 0 element values must have exactly 1 element value +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@55071497{http:///resource0.xml#//@clinicalDocument/@custodian/@assignedCustodian/@representedCustodianOrganization/@telecom}' with 0 element values must have exactly 1 element value +Consol Physician Reading Study Performer MAY contain zero or one [0..1] time (CONF:8425, R2.0=CONF:1098-8425) +Consol Physician Reading Study Performer SHALL contain exactly one [1..1] assignedEntity, where its type is Assigned Entity (CONF:8426, R2.0=CONF:1098-8426) assignedEntity The id SHOULD include zero or one [0..1] id where id/@root ="2.16.840.1.113883.4.6" National Provider Identifier (CONF:10034, R2.0=CONF:1098-32135) +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@71817f66{http:///resource0.xml#//@clinicalDocument/@documentationOf.0/@serviceEvent/@performer.0/@assignedEntity/@telecom.0}' with 0 element values must have exactly 1 element value +Consol Physician Reading Study Performer MAY contain zero or one [0..1] time (CONF:8425, R2.0=CONF:1098-8425) +Consol Physician Reading Study Performer SHALL contain exactly one [1..1] assignedEntity, where its type is Assigned Entity (CONF:8426, R2.0=CONF:1098-8426) assignedEntity The id SHOULD include zero or one [0..1] id where id/@root ="2.16.840.1.113883.4.6" National Provider Identifier (CONF:10034, R2.0=CONF:1098-32135) +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@4d4bac56{http:///resource0.xml#//@clinicalDocument/@documentationOf.0/@serviceEvent/@performer.1/@assignedEntity/@telecom.0}' with 0 element values must have exactly 1 element value +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@7e741d6b{http:///resource0.xml#//@clinicalDocument/@componentOf/@encompassingEncounter/@responsibleParty/@assignedEntity/@telecom.0}' with 0 element values must have exactly 1 element value +Consol Problem Concern Act effectiveTime SHOULD contain zero or one [0..1] high (CONF:9033) +Consol Problem Observation effectiveTime, if present, MAY contain zero or one [0..1] high (CONF:15604) +Consol Problem Observation value MAY contain zero or one [0..1] @nullFlavor (CONF:10141) +Consol Problem Observation value MAY contain zero or more [0..*] translation (CONF:16749, R2.1=CONF:1198-16749) +Consol Problem Observation MAY contain zero or one [0..1] @negationInd (CONF:10139) +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@1e75bef1{http:///resource0.xml#//@clinicalDocument/@component/@structuredBody/@component.0/@section/@entry.0/@act/@entryRelationship.0/@observation/@text/@reference}' with 0 element values must have exactly 1 element value +Consol Problem Status SHOULD contain zero or one [0..1] text (CONF:7362, R2.1=CONF:1098-7362, DSTU:815/1357) +Consol Health Status Observation SHOULD contain zero or one [0..1] text (CONF:9270) +Consol Health Status Observation SHALL contain exactly one [1..1] value with @xsi:type="CD", which SHALL be selected from ValueSet HealthStatus 2.16.840.1.113883.1.11.20.12 DYNAMIC (CONF:9075, R2.0=CONF:1098-9075) +Consol Health Status Observation SHALL contain exactly one [1..1] value with @xsi:type="CD", which SHALL be selected from ValueSet HealthStatus 2.16.840.1.113883.1.11.20.12 DYNAMIC (CONF:9075, R2.0=CONF:1098-9075) +Consol Allergy Problem Act SHALL contain exactly one [1..1] statusCode, which SHALL be selected from ValueSet ProblemActStatusCode 2.16.840.1.113883.11.20.9.19 STATIC 2011-09-09 (CONF:7485, R2.1=CONF:1198-7485, R2.1=CONF:1198-19086) +Consol Substance Or Device Allergy Observation SHOULD contain [0..*] entryRelationship such that it (CONF:16337, CONF:16339, CONF:16340) Contains @typeCode="MFST" MFST, and Conforms to Reaction Observation (templateId: 2.16.840.1.113883.10.20.22.4.9) +Consol Substance Or Device Allergy Observation SHOULD contain zero or more [0..*] participant, where its type is Participant (CONF:16318) +Consol Allergy Observation SHOULD contain [0..*] entryRelationship such that it (CONF:7447, CONF:7907, CONF:15955) Contains @typeCode="MFST" MFST, and Conforms to Reaction Observation (templateId: 2.16.840.1.113883.10.20.22.4.9) +Consol Allergy Observation SHOULD contain zero or one [0..1] participant, where its type is Participant (CONF:7402) +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@64710a6{http:///resource0.xml#//@clinicalDocument/@component/@structuredBody/@component.1/@section/@entry.0/@act/@entryRelationship.0/@observation/@value.0/@originalText/@reference}' with 0 element values must have exactly 1 element value +Consol Severity Observation SHOULD contain zero or one [0..1] text (Severity Free Text) (CONF:7350) +Consol Procedure Activity Act reference/@value SHALL begin with a '#' and SHALL point to its corresponding narrative (using the approach defined in CDA Release 2, section 4.3.5.1) (CONF:15598, R2.0=CONF:1098-19189) +Consol Procedure Activity Act MAY contain zero or one [0..1] priorityCode, which SHALL be selected from ValueSet Act Priority 2.16.840.1.113883.1.11.16866 DYNAMIC (CONF:8300, R2.0=CONF:1098-8300) +Consol Procedure Activity Act MAY contain [0..*] participant such that it (CONF:8311, CONF:15599, R2.0=CONF:1098-8311, R2.0=CONF:1098-15599) Conforms to Service Delivery Location (templateId: 2.16.840.1.113883.10.20.22.4.32) +Consol Procedure Activity Act MAY contain [0..1] entryRelationship such that it (CONF:8322, CONF:8323, CONF:15600) Contains @typeCode="SUBJ" SUBJ, and Conforms to Instructions (templateId: 2.16.840.1.113883.10.20.22.4.20) +Consol Procedure Activity Act MAY contain [0..*] entryRelationship such that it (CONF:8326, CONF:8327, CONF:15601) Contains @typeCode="RSON" RSON, and Conforms to Indication (templateId: 2.16.840.1.113883.10.20.22.4.19) +Consol Procedure Activity Act MAY contain [0..*] entryRelationship such that it (CONF:8329, CONF:8330, CONF:15602) Contains @typeCode="COMP" COMP, and Conforms to Medication Activity (templateId: 2.16.840.1.113883.10.20.22.4.16) +Consol Procedure Activity Act MAY contain zero or more [0..*] entryRelationship, where its type is Entry Relationship (CONF:8314, R2.0=CONF:1098-8314) +Consol Procedure Activity Act SHOULD contain zero or more [0..*] performer, where its type is Procedure Act Performer (CONF:8301) each SHALL contain exactly one [1..1] assignedEntity, where (CONF:8302) each SHOULD contain zero or one [0..1] representedOrganization, where (CONF:8306) representedOrganization SHOULD contain zero or more [0..*] id (CONF:8307, R2.0=CONF:1098-8307) +Consol Procedure Activity Act SHOULD contain zero or more [0..*] performer, where its type is Procedure Act Performer (CONF:8301) each SHALL contain exactly one [1..1] assignedEntity, where (CONF:8302) each SHOULD contain zero or one [0..1] representedOrganization, where (CONF:8306) representedOrganization SHALL contain exactly one [1..1] telecom (CONF:8310) +Consol Procedure Activity Act SHOULD contain zero or more [0..*] performer, where its type is Procedure Act Performer (CONF:8301) each SHALL contain exactly one [1..1] assignedEntity, where (CONF:8302) each SHOULD contain zero or one [0..1] representedOrganization, where (CONF:8306) representedOrganization SHALL contain exactly one [1..1] addr (CONF:8309) +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@50b010d4{http:///resource0.xml#//@clinicalDocument/@component/@structuredBody/@component.2/@section/@entry.0/@act/@code/@originalText/@reference}' with 0 element values must have exactly 1 element value +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@61b11d35{http:///resource0.xml#//@clinicalDocument/@component/@structuredBody/@component.2/@section/@entry.0/@act/@performer.0/@assignedEntity/@telecom.0}' with 0 element values must have exactly 1 element value +Consol Procedure Activity Observation reference/@value SHALL begin with a '#' and SHALL point to its corresponding narrative (using the approach defined in CDA Release 2, section 4.3.5.1) (CONF:15903, R2.0=CONF:1098-19201) +Consol Procedure Activity Observation MAY contain zero or one [0..1] priorityCode, which SHALL be selected from ValueSet Act Priority 2.16.840.1.113883.1.11.16866 DYNAMIC (CONF:8247, R2.0=CONF:1098-8247) +Consol Procedure Activity Observation MAY contain zero or one [0..1] methodCode (CONF:8248, R2.0=CONF:1098-8248) +Consol Procedure Activity Observation MAY contain [0..*] participant such that it (CONF:8261, CONF:15904, R2.0=CONF:1098-8261, R2.0=CONF:1098-15904) Conforms to Service Delivery Location (templateId: 2.16.840.1.113883.10.20.22.4.32) +Consol Procedure Activity Observation MAY contain [0..1] entryRelationship such that it (CONF:8272, CONF:8273, CONF:15905) Contains @typeCode="SUBJ" SUBJ, and Conforms to Instructions (templateId: 2.16.840.1.113883.10.20.22.4.20) +Consol Procedure Activity Observation MAY contain [0..*] entryRelationship such that it (CONF:8276, CONF:8277, CONF:15906) Contains @typeCode="RSON" RSON, and Conforms to Indication (templateId: 2.16.840.1.113883.10.20.22.4.19) +Consol Procedure Activity Observation MAY contain [0..*] entryRelationship such that it (CONF:8279, CONF:8280, CONF:15907) Contains @typeCode="COMP" COMP, and Conforms to Medication Activity (templateId: 2.16.840.1.113883.10.20.22.4.16) +Consol Procedure Activity Observation MAY contain zero or more [0..*] entryRelationship, where its type is Entry Relationship (CONF:8264, R2.0=CONF:1098-8264) +Consol Procedure Activity Observation SHOULD contain zero or more [0..*] performer, where its type is Procedure Observation Performer (CONF:8251) each SHALL contain exactly one [1..1] assignedEntity, where (CONF:8252) each SHOULD contain zero or one [0..1] representedOrganization, where (CONF:8256, R2.0=CONF:1098-8256) representedOrganization SHOULD contain zero or more [0..*] id (CONF:8257, R2.0=CONF:1098-8257) +Consol Procedure Activity Observation SHOULD contain zero or more [0..*] performer, where its type is Procedure Observation Performer (CONF:8251) each SHALL contain exactly one [1..1] assignedEntity, where (CONF:8252) each SHOULD contain zero or one [0..1] representedOrganization, where (CONF:8256, R2.0=CONF:1098-8256) representedOrganization SHALL contain exactly one [1..1] telecom (CONF:8260, R2.0=CONF:1098-8260) +Consol Procedure Activity Observation SHOULD contain zero or more [0..*] performer, where its type is Procedure Observation Performer (CONF:8251) each SHALL contain exactly one [1..1] assignedEntity, where (CONF:8252) each SHOULD contain zero or one [0..1] representedOrganization, where (CONF:8256, R2.0=CONF:1098-8256) representedOrganization SHALL contain exactly one [1..1] addr (CONF:8259, R2.0=CONF:1098-8259) +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@427946b9{http:///resource0.xml#//@clinicalDocument/@component/@structuredBody/@component.2/@section/@entry.1/@observation/@code/@originalText/@reference}' with 0 element values must have exactly 1 element value +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@2f95ce11{http:///resource0.xml#//@clinicalDocument/@component/@structuredBody/@component.2/@section/@entry.1/@observation/@performer.0/@assignedEntity/@telecom.0}' with 0 element values must have exactly 1 element value +Consol Procedure Activity Procedure reference/@value SHALL begin with a '#' and SHALL point to its corresponding narrative (using the approach defined in CDA Release 2, section 4.3.5.1) (CONF:15910, R2.0=CONF:1098-19206) +Consol Procedure Activity Procedure MAY contain zero or one [0..1] priorityCode, which SHALL be selected from ValueSet Act Priority 2.16.840.1.113883.1.11.16866 DYNAMIC (CONF:7668, R2.0=CONF:1098-7668) +Consol Procedure Activity Procedure MAY contain zero or one [0..1] methodCode (CONF:7670, R2.0=CONF:1098-7670) +Consol Procedure Activity Procedure MAY contain [0..*] entryRelationship such that it (CONF:7779, CONF:7780, CONF:15914) Contains @typeCode="RSON" RSON, and Conforms to Indication (templateId: 2.16.840.1.113883.10.20.22.4.19) +Consol Procedure Activity Procedure MAY contain zero or more [0..*] specimen, where its type is Procedure Specimen (CONF:7697) +Consol Procedure Activity Procedure MAY contain [0..*] participant such that it (CONF:7765, CONF:15912, R2.0=CONF:1098-7765, R2.0=CONF:1098-15912) Conforms to Service Delivery Location (templateId: 2.16.840.1.113883.10.20.22.4.32) +Consol Procedure Activity Procedure MAY contain [0..*] entryRelationship such that it (CONF:7886, CONF:7887, CONF:15915) Contains @typeCode="COMP" COMP, and Conforms to Medication Activity (templateId: 2.16.840.1.113883.10.20.22.4.16) +Consol Procedure Activity Procedure MAY contain [0..1] entryRelationship such that it (CONF:7775, CONF:7776, CONF:15913) Contains @typeCode="SUBJ" SUBJ, and Conforms to Instructions (templateId: 2.16.840.1.113883.10.20.22.4.20) +Consol Procedure Activity Procedure MAY contain [0..*] participant such that it (CONF:7751, CONF:15911, R2.0=CONF:1098-7751, R2.0=CONF:1098-15911) Conforms to Product Instance (templateId: 2.16.840.1.113883.10.20.22.4.37) +Consol Procedure Activity Procedure MAY contain zero or more [0..*] entryRelationship, where its type is Entry Relationship (CONF:7768, R2.0=CONF:1098-7768) +Consol Procedure Activity Procedure SHOULD contain zero or more [0..*] performer, where its type is Procedure Activity Performer (CONF:7718) each SHALL contain exactly one [1..1] assignedEntity, where (CONF:7720) each SHOULD contain zero or one [0..1] representedOrganization, where (CONF:7733, R2.0=CONF:1098-7733) representedOrganization SHOULD contain zero or more [0..*] id (CONF:7734, R2.0=CONF:1098-7734) +Consol Procedure Activity Procedure SHOULD contain zero or more [0..*] performer, where its type is Procedure Activity Performer (CONF:7718) each SHALL contain exactly one [1..1] assignedEntity, where (CONF:7720) each SHOULD contain zero or one [0..1] representedOrganization, where (CONF:7733, R2.0=CONF:1098-7733) representedOrganization SHALL contain exactly one [1..1] telecom (CONF:7737, R2.0=CONF:1098-7737) +Consol Procedure Activity Procedure SHOULD contain zero or more [0..*] performer, where its type is Procedure Activity Performer (CONF:7718) each SHALL contain exactly one [1..1] assignedEntity, where (CONF:7720) each SHOULD contain zero or one [0..1] representedOrganization, where (CONF:7733, R2.0=CONF:1098-7733) representedOrganization SHALL contain exactly one [1..1] addr (CONF:7736, R2.0=CONF:1098-7736) +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@3d3e9163{http:///resource0.xml#//@clinicalDocument/@component/@structuredBody/@component.2/@section/@entry.2/@procedure/@code/@originalText/@reference}' with 0 element values must have exactly 1 element value +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@348c00d9{http:///resource0.xml#//@clinicalDocument/@component/@structuredBody/@component.2/@section/@entry.2/@procedure/@performer.0/@assignedEntity/@telecom.0}' with 0 element values must have exactly 1 element value +Consol Problem Observation reference/@value SHALL begin with a '#' and SHALL point to its corresponding narrative (using the approach defined in CDA Release 2, section 4.3.5.1) (CONF:15589) +Consol Problem Observation effectiveTime, if present, MAY contain zero or one [0..1] high (CONF:15604) +Consol Problem Observation value MAY contain zero or one [0..1] @nullFlavor (CONF:10141) +Consol Problem Observation value MAY contain zero or more [0..*] translation (CONF:16749, R2.1=CONF:1198-16749) +Consol Problem Observation MAY contain zero or one [0..1] @negationInd (CONF:10139) +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@613aeb51{http:///resource0.xml#//@clinicalDocument/@component/@structuredBody/@component.3/@section/@entry.0/@act/@entryRelationship.0/@observation/@text/@reference}' with 0 element values must have exactly 1 element value +Consol Problem Status text, if present, SHOULD contain zero or one [0..1] reference (CONF:15593, R2.1=CONF:1098-15593, DSTU:815/1357) +Consol Health Status Observation text, if present, SHOULD contain zero or one [0..1] reference (CONF:9271) +Consol Health Status Observation SHALL contain exactly one [1..1] value with @xsi:type="CD", which SHALL be selected from ValueSet HealthStatus 2.16.840.1.113883.1.11.20.12 DYNAMIC (CONF:9075, R2.0=CONF:1098-9075) +Consol Health Status Observation SHALL contain exactly one [1..1] value with @xsi:type="CD", which SHALL be selected from ValueSet HealthStatus 2.16.840.1.113883.1.11.20.12 DYNAMIC (CONF:9075, R2.0=CONF:1098-9075) +Consol Medication Activity Medication Activity SHOULD include doseQuantity OR rateQuantity (CONF:7529) +Consol Medication Activity SHOULD contain zero or one [0..1] effectiveTime such that it SHALL contain exactly one [1..1] @xsi:type = "PIVL_TS" or "EIVL_TS" (CONF:7513, CONF:9105) +Consol Medication Activity MAY contain zero or one [0..1] code (Delivery Method) (CONF:7506) +Consol Medication Activity MAY contain zero or one [0..1] routeCode (Route), which SHALL be selected from ValueSet Medication Route FDA Value Set 2.16.840.1.113883.3.88.12.3221.8.7 DYNAMIC (CONF:7514) +Consol Medication Activity MAY contain zero or one [0..1] approachSiteCode (Site), which SHALL be selected from ValueSet Body Site 2.16.840.1.113883.3.88.12.3221.8.9 DYNAMIC (CONF:7515, R2.0=CONF:1098-7515) +Consol Medication Activity SHOULD contain zero or one [0..1] doseQuantity (Dose) (CONF:7516) +Consol Medication Activity MAY contain zero or one [0..1] rateQuantity (CONF:7517, R2.0=CONF:1098-7517) +Consol Medication Activity MAY contain zero or one [0..1] maxDoseQuantity (Dose Restriction) (CONF:7518, R2.0=CONF:1098-7518) +Consol Medication Activity MAY contain zero or one [0..1] administrationUnitCode (Product Form), which SHALL be selected from ValueSet Medication Product Form Value Set 2.16.840.1.113883.3.88.12.3221.8.11 DYNAMIC (CONF:7519) +Consol Medication Activity SHOULD contain zero or one [0..1] text (Free Text Sig) (CONF:7501) +Consol Medication Activity MAY contain zero or one [0..1] repeatNumber (CONF:7555) +Consol Medication Activity MAY contain [0..1] entryRelationship (Order Information) such that it (CONF:7543, CONF:7547, CONF:16089) Contains @typeCode="REFR" REFR, and Conforms to Medication Supply Order (templateId: 2.16.840.1.113883.10.20.22.4.17) +Consol Medication Activity MAY contain [0..1] entryRelationship (Reaction) such that it (CONF:7552, CONF:7544, CONF:16091) Contains @typeCode="CAUS" CAUS, and Conforms to Reaction Observation (templateId: 2.16.840.1.113883.10.20.22.4.9) +Consol Medication Activity MAY contain [0..1] performer such that it (CONF:7522, R2.0=CONF:1098-7522) Conforms to Performer2 from CDA +Consol Medication Activity MAY contain [0..1] entryRelationship (Patient Instructions) such that it (CONF:7539, CONF:7540, CONF:16088) Contains @typeCode="SUBJ" SUBJ, and Conforms to Instructions (templateId: 2.16.840.1.113883.10.20.22.4.20) +Consol Medication Activity MAY contain [0..*] entryRelationship such that it (CONF:7536, CONF:7537, CONF:16087) Contains @typeCode="RSON" RSON, and Conforms to Indication (templateId: 2.16.840.1.113883.10.20.22.4.19) +Consol Medication Activity MAY contain [0..*] entryRelationship (Fulfillment Instructions) such that it (CONF:7549, CONF:7553, CONF:16090) Contains @typeCode="REFR" REFR, and Conforms to Medication Dispense (templateId: 2.16.840.1.113883.10.20.22.4.18) +Consol Medication Activity MAY contain [0..*] participant such that it (CONF:7523, CONF:16086, R2.0=CONF:1098-7523, R2.0=CONF:1098-16086) Conforms to Drug Vehicle (templateId: 2.16.840.1.113883.10.20.22.4.24) +Consol Medication Activity MAY contain zero or more [0..*] precondition, where its type is Precondition (CONF:7546) +Consol Medication Information MAY contain zero or more [0..*] id (CONF:7410, R2.0=CONF:1098-7410) +Consol Medication Information MAY contain [0..1] manufacturerOrganization (Drug Manufacturer) such that it (CONF:7416, R2.0=CONF:1098-7416) Conforms to Organization from CDA +Consol Medication Information SHALL contain exactly one [1..1] manufacturedMaterial, where its type is Medication Information Manufactured Material (CONF:7411) manufacturedMaterial code SHOULD contain zero or one [0..1] originalText +Consol Medication Information SHALL contain exactly one [1..1] manufacturedMaterial, where its type is Medication Information Manufactured Material (CONF:7411) manufacturedMaterial code MAY contain zero or more [0..*] translation +Consol Social History Section If section/@nullFlavor is not present, MAY contain [0..*] entry such that it (CONF:9132, R2.1=CONF:1198-9132, CONF:14822, R2.1=CONF:1198-14822) Conforms to Pregnancy Observation (templateId: 2.16.840.1.113883.10.20.15.3.8) +Consol Social History Section If section/@nullFlavor is not present, SHOULD contain [0..*] entry such that it (CONF:14823, CONF:14824) Conforms to Smoking Status Observation (templateId: 2.16.840.1.113883.10.20.22.4.78) +Consol Social History Section If section/@nullFlavor is not present, MAY contain [0..*] entry such that it (CONF:16816, CONF:16817) Conforms to Tobacco Use (templateId: 2.16.840.1.113883.10.20.22.4.85) +Consol Social History Observation code, if present, SHOULD contain zero or one [0..1] originalText (CONF:8893, R2.1=CONF:1198-19221) +Consol Vital Sign Observation reference/@value SHALL begin with a '#' and SHALL point to its corresponding narrative (using the approach defined in CDA Release 2, section 4.3.5.1) (CONF:15945) +Consol Vital Sign Observation MAY contain zero or one [0..1] methodCode (CONF:7308, R2.0=CONF:1098-7308) +Consol Vital Sign Observation MAY contain zero or one [0..1] targetSiteCode (CONF:7309, R2.0=CONF:1098-7309) +Consol Vital Sign Observation MAY contain [0..1] author such that it (CONF:7310) Conforms to Author from CDA +The feature 'mixed' of 'org.eclipse.mdht.uml.hl7.datatypes.impl.TELImpl@526ae1fc{http:///resource0.xml#//@clinicalDocument/@component/@structuredBody/@component.8/@section/@entry.0/@organizer/@component.0/@observation/@text/@reference}' with 0 element values must have exactly 1 element value +Consol Procedures Section Entries Optional If section/@nullFlavor is not present, MAY contain [0..*] entry such that it (CONF:6274, CONF:15509) Conforms to Procedure Activity Procedure (templateId: 2.16.840.1.113883.10.20.22.4.14) +Consol Procedures Section Entries Optional If section/@nullFlavor is not present, MAY contain [0..*] entry such that it (CONF:6278, CONF:15510) Conforms to Procedure Activity Observation (templateId: 2.16.840.1.113883.10.20.22.4.13) +Consol Procedures Section Entries Optional If section/@nullFlavor is not present, MAY contain [0..*] entry such that it (CONF:8533, CONF:15511) Conforms to Procedure Activity Act (templateId: 2.16.840.1.113883.10.20.22.4.12) +Consol Functional Status Section If section/@nullFlavor is not present, MAY contain [0..*] entry such that it (CONF:14414, CONF:14415) Conforms to Functional Status Result Organizer (templateId: 2.16.840.1.113883.10.20.22.4.66) +Consol Functional Status Section If section/@nullFlavor is not present, MAY contain [0..*] entry such that it (CONF:14416, CONF:14417) Conforms to Cognitive Status Result Organizer (templateId: 2.16.840.1.113883.10.20.22.4.75) +Consol Functional Status Section If section/@nullFlavor is not present, MAY contain [0..*] entry such that it (CONF:14418, CONF:14419) Conforms to Functional Status Result Observation (templateId: 2.16.840.1.113883.10.20.22.4.67) +Consol Functional Status Section If section/@nullFlavor is not present, MAY contain [0..*] entry such that it (CONF:14420, CONF:14421) Conforms to Cognitive Status Result Observation (templateId: 2.16.840.1.113883.10.20.22.4.74) +Consol Fu \ No newline at end of file diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/.DS_Store new file mode 100644 index 0000000000..7a2868cfef Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionDiagnosisSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionDiagnosisSection2.java index 10df056665..dae581dae5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionDiagnosisSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionDiagnosisSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface AdmissionDiagnosisSection2 extends HospitalAdmissionDiagnosisSe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.43\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.43\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateAdmissionDiagnosisSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface AdmissionDiagnosisSection2 extends HospitalAdmissionDiagnosisSe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'42347-5\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'42347-5\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateAdmissionDiagnosisSection2CETranslation(DiagnosticChain diagnostics, Map context); @@ -55,7 +51,7 @@ public interface AdmissionDiagnosisSection2 extends HospitalAdmissionDiagnosisSe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateAdmissionDiagnosisSection2CETranslationP(DiagnosticChain diagnostics, Map context); @@ -64,7 +60,7 @@ public interface AdmissionDiagnosisSection2 extends HospitalAdmissionDiagnosisSe * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2))->asSequence()->any(true).oclAsType(consol::HospitalAdmissionDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2))->asSequence()->any(true).oclAsType(consol::HospitalAdmissionDiagnosis2)'" * @generated */ HospitalAdmissionDiagnosis2 getConsolHospitalAdmissionDiagnosis2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedication.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedication.java index 159e70ca20..96948b1e6d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedication.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedication.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface AdmissionMedication extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.36\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.36\')'" * @generated */ boolean validateAdmissionMedicationTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface AdmissionMedication extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateAdmissionMedicationMedicationActivity(DiagnosticChain diagnostics, Map context); @@ -102,7 +97,7 @@ public interface AdmissionMedication extends Act { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedication2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedication2.java index 3a996c1229..a56c8bd60d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedication2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedication2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface AdmissionMedication2 extends AdmissionMedication { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.36\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.36\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateAdmissionMedication2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface AdmissionMedication2 extends AdmissionMedication { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedicationsSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedicationsSectionEntriesOptional2.java index b83fba5913..7ffff19c90 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedicationsSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdmissionMedicationsSectionEntriesOptional2.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -26,7 +22,7 @@ public interface AdmissionMedicationsSectionEntriesOptional2 * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AdmissionMedication2)).oclAsType(consol::AdmissionMedication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AdmissionMedication2)).oclAsType(consol::AdmissionMedication2)'" * @generated */ EList getConsolAdmissionMedication2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveObservation.java index 91f4e8a381..f517f52271 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -63,7 +58,7 @@ boolean validateAdvanceDirectiveObservationHasStartingTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.48\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.48\')'" * @generated */ boolean validateAdvanceDirectiveObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -99,7 +94,7 @@ boolean validateAdvanceDirectiveObservationHasStartingTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateAdvanceDirectiveObservationId(DiagnosticChain diagnostics, Map context); @@ -159,7 +154,7 @@ boolean validateAdvanceDirectiveObservationHasStartingTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))->select(typeCode=vocab::ParticipationType::VRF)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))->select(typeCode=vocab::ParticipationType::VRF)->notEmpty()'" * @generated */ boolean validateAdvanceDirectiveObservationVerifier(DiagnosticChain diagnostics, Map context); @@ -171,7 +166,7 @@ boolean validateAdvanceDirectiveObservationHasStartingTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))->select(typeCode=vocab::ParticipationType::CST)->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))->select(typeCode=vocab::ParticipationType::CST)->size() = 1'" * @generated */ boolean validateAdvanceDirectiveObservationCustodian(DiagnosticChain diagnostics, Map context); @@ -183,7 +178,7 @@ boolean validateAdvanceDirectiveObservationHasStartingTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" * @generated */ boolean validateAdvanceDirectiveObservationReference(DiagnosticChain diagnostics, Map context); @@ -195,7 +190,7 @@ boolean validateAdvanceDirectiveObservationHasStartingTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validateAdvanceDirectiveObservationVerifierTime(DiagnosticChain diagnostics, Map context); @@ -207,7 +202,7 @@ boolean validateAdvanceDirectiveObservationHasStartingTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(isDefined(\'typeCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(isDefined(\'typeCode\'))'" * @generated */ boolean validateAdvanceDirectiveObservationVerifierTypeCode(DiagnosticChain diagnostics, @@ -220,7 +215,7 @@ boolean validateAdvanceDirectiveObservationVerifierTypeCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateAdvanceDirectiveObservationVerifierParticipantRole(DiagnosticChain diagnostics, @@ -233,7 +228,7 @@ boolean validateAdvanceDirectiveObservationVerifierParticipantRole(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateAdvanceDirectiveObservationCustodianCustodianRoleCustodianEntityName(DiagnosticChain diagnostics, @@ -246,7 +241,7 @@ boolean validateAdvanceDirectiveObservationCustodianCustodianRoleCustodianEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateAdvanceDirectiveObservationCustodianCustodianRoleAddr(DiagnosticChain diagnostics, @@ -259,7 +254,7 @@ boolean validateAdvanceDirectiveObservationCustodianCustodianRoleAddr(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::RoleClassRoot::AGNT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::RoleClassRoot::AGNT)'" * @generated */ boolean validateAdvanceDirectiveObservationCustodianCustodianRoleClassCode(DiagnosticChain diagnostics, @@ -272,7 +267,7 @@ boolean validateAdvanceDirectiveObservationCustodianCustodianRoleClassCode(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateAdvanceDirectiveObservationCustodianCustodianRoleTelecom(DiagnosticChain diagnostics, @@ -285,7 +280,7 @@ boolean validateAdvanceDirectiveObservationCustodianCustodianRoleTelecom(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" * @generated */ boolean validateAdvanceDirectiveObservationCustodianCustodianRolePlayingEntity(DiagnosticChain diagnostics, @@ -298,7 +293,7 @@ boolean validateAdvanceDirectiveObservationCustodianCustodianRolePlayingEntity(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST)->select(typeCode=vocab::ParticipationType::CST)->reject(typeCode=vocab::ParticipationType::CST)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST)->select(typeCode=vocab::ParticipationType::CST)->reject(typeCode=vocab::ParticipationType::CST)'" * @generated */ boolean validateAdvanceDirectiveObservationCustodianTypeCode(DiagnosticChain diagnostics, @@ -311,7 +306,7 @@ boolean validateAdvanceDirectiveObservationCustodianTypeCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST)->select(typeCode=vocab::ParticipationType::CST)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST)->select(typeCode=vocab::ParticipationType::CST)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validateAdvanceDirectiveObservationCustodianAdvanceDirectiveObservationCustodianRole( @@ -324,7 +319,7 @@ boolean validateAdvanceDirectiveObservationCustodianAdvanceDirectiveObservationC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject(not text.mediaType.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject(not text.mediaType.oclIsUndefined())'" * @generated */ boolean validateAdvanceDirectiveObservationReferenceExternalDocumentTextMediaType(DiagnosticChain diagnostics, @@ -337,7 +332,7 @@ boolean validateAdvanceDirectiveObservationReferenceExternalDocumentTextMediaTyp * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject(not text.oclIsUndefined() implies not text.reference.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject(not text.oclIsUndefined() implies not text.reference.oclIsUndefined())'" * @generated */ boolean validateAdvanceDirectiveObservationReferenceExternalDocumentTextReference(DiagnosticChain diagnostics, @@ -350,7 +345,7 @@ boolean validateAdvanceDirectiveObservationReferenceExternalDocumentTextReferenc * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateAdvanceDirectiveObservationReferenceExternalDocumentId(DiagnosticChain diagnostics, @@ -363,7 +358,7 @@ boolean validateAdvanceDirectiveObservationReferenceExternalDocumentId(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject((text.oclIsUndefined() or text.isNullFlavorUndefined()) implies (not text.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject((text.oclIsUndefined() or text.isNullFlavorUndefined()) implies (not text.oclIsUndefined()))'" * @generated */ boolean validateAdvanceDirectiveObservationReferenceExternalDocumentText(DiagnosticChain diagnostics, @@ -376,7 +371,7 @@ boolean validateAdvanceDirectiveObservationReferenceExternalDocumentText(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(not typeCode.oclIsUndefined() and typeCode.oclIsKindOf(vocab::x_ActRelationshipExternalReference) and \r\nlet value : vocab::x_ActRelationshipExternalReference = typeCode.oclAsType(vocab::x_ActRelationshipExternalReference) in \r\nvalue = vocab::x_ActRelationshipExternalReference::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(not typeCode.oclIsUndefined() and typeCode.oclIsKindOf(vocab::x_ActRelationshipExternalReference) and \r\nlet value : vocab::x_ActRelationshipExternalReference = typeCode.oclAsType(vocab::x_ActRelationshipExternalReference) in \r\nvalue = vocab::x_ActRelationshipExternalReference::REFR)'" * @generated */ boolean validateAdvanceDirectiveObservationReferenceTypeCode(DiagnosticChain diagnostics, @@ -389,7 +384,7 @@ boolean validateAdvanceDirectiveObservationReferenceTypeCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(cda::ExternalDocument)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(cda::ExternalDocument)))'" * @generated */ boolean validateAdvanceDirectiveObservationReferenceExternalDocument(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveObservation2.java index 5f43717de7..a73734d73a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -38,7 +34,7 @@ public interface AdvanceDirectiveObservation2 extends AdvanceDirectiveObservatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.48\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.48\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateAdvanceDirectiveObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -50,7 +46,7 @@ public interface AdvanceDirectiveObservation2 extends AdvanceDirectiveObservatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validateAdvanceDirectiveObservation2Value(DiagnosticChain diagnostics, Map context); @@ -62,7 +58,7 @@ public interface AdvanceDirectiveObservation2 extends AdvanceDirectiveObservatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateAdvanceDirectiveObservation2AuthorParticipation(DiagnosticChain diagnostics, @@ -75,7 +71,7 @@ boolean validateAdvanceDirectiveObservation2AuthorParticipation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75320-2\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75320-2\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateAdvanceDirectiveObservation2CDTranslation(DiagnosticChain diagnostics, Map context); @@ -87,7 +83,7 @@ boolean validateAdvanceDirectiveObservation2AuthorParticipation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateAdvanceDirectiveObservation2CDTranslationP(DiagnosticChain diagnostics, @@ -100,7 +96,7 @@ boolean validateAdvanceDirectiveObservation2CDTranslationP(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateAdvanceDirectiveObservation2IVLTSLow(DiagnosticChain diagnostics, Map context); @@ -112,7 +108,7 @@ boolean validateAdvanceDirectiveObservation2CDTranslationP(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateAdvanceDirectiveObservation2IVLTSHigh(DiagnosticChain diagnostics, Map context); @@ -124,7 +120,7 @@ boolean validateAdvanceDirectiveObservation2CDTranslationP(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" * @generated */ boolean validateAdvanceDirectiveObservation2VerifierParticipantRolePlayingEntityName(DiagnosticChain diagnostics, @@ -137,7 +133,7 @@ boolean validateAdvanceDirectiveObservation2VerifierParticipantRolePlayingEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateAdvanceDirectiveObservation2VerifierParticipantRoleCodeP(DiagnosticChain diagnostics, @@ -150,7 +146,7 @@ boolean validateAdvanceDirectiveObservation2VerifierParticipantRoleCodeP(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateAdvanceDirectiveObservation2VerifierParticipantRoleCode(DiagnosticChain diagnostics, @@ -163,7 +159,7 @@ boolean validateAdvanceDirectiveObservation2VerifierParticipantRoleCode(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateAdvanceDirectiveObservation2VerifierParticipantRoleAddr(DiagnosticChain diagnostics, @@ -176,7 +172,7 @@ boolean validateAdvanceDirectiveObservation2VerifierParticipantRoleAddr(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" * @generated */ boolean validateAdvanceDirectiveObservation2VerifierParticipantRolePlayingEntity(DiagnosticChain diagnostics, @@ -189,7 +185,7 @@ boolean validateAdvanceDirectiveObservation2VerifierParticipantRolePlayingEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.1.58\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.1.58\'))'" * @generated */ boolean validateAdvanceDirectiveObservation2VerifierTemplateId(DiagnosticChain diagnostics, @@ -202,7 +198,7 @@ boolean validateAdvanceDirectiveObservation2VerifierTemplateId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null).playingEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null).playingEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateAdvanceDirectiveObservation2CustodianCustodianRoleCustodianEntityCodeP(DiagnosticChain diagnostics, @@ -215,7 +211,7 @@ boolean validateAdvanceDirectiveObservation2CustodianCustodianRoleCustodianEntit * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null).playingEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'63161005\' or value.code = \'2603003\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null).playingEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'63161005\' or value.code = \'2603003\')))'" * @generated */ boolean validateAdvanceDirectiveObservation2CustodianCustodianRoleCustodianEntityCode(DiagnosticChain diagnostics, @@ -228,7 +224,7 @@ boolean validateAdvanceDirectiveObservation2CustodianCustodianRoleCustodianEntit * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateAdvanceDirectiveObservation2CustodianCustodianRoleCodeP(DiagnosticChain diagnostics, @@ -241,7 +237,7 @@ boolean validateAdvanceDirectiveObservation2CustodianCustodianRoleCodeP(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CST).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateAdvanceDirectiveObservation2CustodianCustodianRoleCode(DiagnosticChain diagnostics, @@ -254,7 +250,7 @@ boolean validateAdvanceDirectiveObservation2CustodianCustodianRoleCode(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject(not text.mediaType.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject(not text.mediaType.oclIsUndefined())'" * @generated */ boolean validateAdvanceDirectiveObservation2ReferenceAdvanceDirectiveObservationReferenceExternalDocumentTextMediaType( @@ -267,7 +263,7 @@ boolean validateAdvanceDirectiveObservation2ReferenceAdvanceDirectiveObservation * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject(not text.oclIsUndefined() implies not text.reference.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null).externalDocument->excluding(null)->reject(not text.oclIsUndefined() implies not text.reference.oclIsUndefined())'" * @generated */ boolean validateAdvanceDirectiveObservation2ReferenceAdvanceDirectiveObservationReferenceExternalDocumentTextReference( @@ -280,7 +276,7 @@ boolean validateAdvanceDirectiveObservation2ReferenceAdvanceDirectiveObservation * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(cda::ExternalDocument)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(cda::ExternalDocument)))'" * @generated */ boolean validateAdvanceDirectiveObservation2AdvanceDirectiveObservationReferenceExternalDocument( diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveOrganizer.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveOrganizer.java index b38a9a0ed7..7a8687ced6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveOrganizer.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectiveOrganizer.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Organizer; /** @@ -33,7 +28,7 @@ public interface AdvanceDirectiveOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.108\' and id.extension = \'2015-08-01\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.108\' and id.extension = \'2015-08-01\')'" * @generated */ boolean validateAdvanceDirectiveOrganizerTemplateId(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface AdvanceDirectiveOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateAdvanceDirectiveOrganizerId(DiagnosticChain diagnostics, Map context); @@ -129,7 +124,7 @@ public interface AdvanceDirectiveOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::AdvanceDirectiveObservation2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::AdvanceDirectiveObservation2))'" * @generated */ boolean validateAdvanceDirectiveOrganizerAdvanceDirectiveObservation2(DiagnosticChain diagnostics, @@ -142,7 +137,7 @@ boolean validateAdvanceDirectiveOrganizerAdvanceDirectiveObservation2(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateAdvanceDirectiveOrganizerAuthorParticipation(DiagnosticChain diagnostics, @@ -152,7 +147,7 @@ boolean validateAdvanceDirectiveOrganizerAuthorParticipation(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)).oclAsType(consol::AdvanceDirectiveObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)).oclAsType(consol::AdvanceDirectiveObservation2)'" * @generated */ EList getAdvanceDirectiveObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSection.java index 7e8d19f65d..19eb8fe085 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSection.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -79,7 +75,7 @@ public interface AdvanceDirectivesSection extends AdvanceDirectivesSectionEntrie * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::AdvanceDirectiveObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::AdvanceDirectiveObservation))'" * @generated */ boolean validateAdvanceDirectivesSectionAdvanceDirectiveObservation(DiagnosticChain diagnostics, @@ -89,7 +85,7 @@ boolean validateAdvanceDirectivesSectionAdvanceDirectiveObservation(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation)).oclAsType(consol::AdvanceDirectiveObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation)).oclAsType(consol::AdvanceDirectiveObservation)'" * @generated */ EList getConsolAdvanceDirectiveObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSection2.java index d889c8a964..a6927d89c3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface AdvanceDirectivesSection2 extends AdvanceDirectivesSectionEntri * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies self.getObservations()->exists(obs : cda::Observation | obs.oclIsKindOf(consol::AdvanceDirectiveObservation2)) xor self.getOrganizers()->exists(org : cda::Organizer | org.oclIsKindOf(consol::AdvanceDirectiveOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies self.getObservations()->exists(obs : cda::Observation | obs.oclIsKindOf(consol::AdvanceDirectiveObservation2)) xor self.getOrganizers()->exists(org : cda::Organizer | org.oclIsKindOf(consol::AdvanceDirectiveOrganizer))'" * @generated */ boolean validateAdvanceDirectivesSection2HasAdvanceDirectiveObservation2XorAdvanceDirectiveOrganizer( @@ -81,7 +77,7 @@ boolean validateAdvanceDirectivesSection2HasAdvanceDirectiveObservation2XorAdvan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.oclIsUndefined() and entry.oclIsKindOf(cda::Entry))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.oclIsUndefined() and entry.oclIsKindOf(cda::Entry))'" * @generated */ boolean validateAdvanceDirectivesSection2Entry(DiagnosticChain diagnostics, Map context); @@ -93,7 +89,7 @@ boolean validateAdvanceDirectivesSection2HasAdvanceDirectiveObservation2XorAdvan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(organizer->one(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::AdvanceDirectiveOrganizer)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(organizer->one(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::AdvanceDirectiveOrganizer)))'" * @generated */ boolean validateAdvanceDirectivesSection2EntryAdvanceDirectiveOrganizer(DiagnosticChain diagnostics, @@ -106,7 +102,7 @@ boolean validateAdvanceDirectivesSection2EntryAdvanceDirectiveOrganizer(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)))'" * @generated */ boolean validateAdvanceDirectivesSection2EntryAdvanceDirectiveObservation2(DiagnosticChain diagnostics, @@ -116,7 +112,7 @@ boolean validateAdvanceDirectivesSection2EntryAdvanceDirectiveObservation2(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::AdvanceDirectiveOrganizer)).oclAsType(consol::AdvanceDirectiveOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::AdvanceDirectiveOrganizer)).oclAsType(consol::AdvanceDirectiveOrganizer)'" * @generated */ EList getConsolAdvanceDirectiveOrganizers(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSectionEntriesOptional.java index 1c4883ba2e..2497a98874 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -42,7 +37,7 @@ public interface AdvanceDirectivesSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.21\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.21\')'" * @generated */ boolean validateAdvanceDirectivesSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, @@ -107,7 +102,7 @@ boolean validateAdvanceDirectivesSectionEntriesOptionalText(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::AdvanceDirectiveObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::AdvanceDirectiveObservation))'" * @generated */ boolean validateAdvanceDirectivesSectionEntriesOptionalAdvanceDirectiveObservation(DiagnosticChain diagnostics, @@ -117,7 +112,7 @@ boolean validateAdvanceDirectivesSectionEntriesOptionalAdvanceDirectiveObservati * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation)).oclAsType(consol::AdvanceDirectiveObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation)).oclAsType(consol::AdvanceDirectiveObservation)'" * @generated */ EList getAdvanceDirectiveObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSectionEntriesOptional2.java index 2c92d0c49d..4f7945456a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AdvanceDirectivesSectionEntriesOptional2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface AdvanceDirectivesSectionEntriesOptional2 extends AdvanceDirecti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::AdvanceDirectiveOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::AdvanceDirectiveOrganizer))'" * @generated */ boolean validateAdvanceDirectivesSectionEntriesOptional2AdvanceDirectiveOrganizer(DiagnosticChain diagnostics, @@ -41,7 +37,7 @@ boolean validateAdvanceDirectivesSectionEntriesOptional2AdvanceDirectiveOrganize * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::AdvanceDirectiveOrganizer)).oclAsType(consol::AdvanceDirectiveOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::AdvanceDirectiveOrganizer)).oclAsType(consol::AdvanceDirectiveOrganizer)'" * @generated */ EList getAdvanceDirectiveOrganizers(); @@ -50,7 +46,7 @@ boolean validateAdvanceDirectivesSectionEntriesOptional2AdvanceDirectiveOrganize * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)).oclAsType(consol::AdvanceDirectiveObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)).oclAsType(consol::AdvanceDirectiveObservation2)'" * @generated */ EList getConsolAdvanceDirectiveObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AgeObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AgeObservation.java index 60eb560d13..c33ccd2a62 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AgeObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AgeObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -36,7 +31,7 @@ public interface AgeObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::PQ).unit->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::PQ).unit->size() = 1'" * @generated */ boolean validateAgeObservationValueUnits(DiagnosticChain diagnostics, Map context); @@ -48,7 +43,7 @@ public interface AgeObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.31\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.31\')'" * @generated */ boolean validateAgeObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -132,7 +127,7 @@ public interface AgeObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::PQ)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::PQ)))'" * @generated */ boolean validateAgeObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSection.java index deda26589c..696a4b36a7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSection.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -83,7 +79,7 @@ public interface AllergiesSection extends AllergiesSectionEntriesOptional { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::AllergyProblemAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::AllergyProblemAct))'" * @generated */ boolean validateAllergiesSectionAllergyProblemAct(DiagnosticChain diagnostics, Map context); @@ -92,7 +88,7 @@ public interface AllergiesSection extends AllergiesSectionEntriesOptional { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AllergyProblemAct)).oclAsType(consol::AllergyProblemAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AllergyProblemAct)).oclAsType(consol::AllergyProblemAct)'" * @generated */ EList getConsolAllergyProblemActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSection2.java index 4a487cd4be..879fdbe80d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSectionEntriesOptional.java index a7c3b45dec..48f6f7409d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -37,7 +32,7 @@ public interface AllergiesSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.6\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.6\')'" * @generated */ boolean validateAllergiesSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, Map context); @@ -97,7 +92,7 @@ public interface AllergiesSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::AllergyProblemAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::AllergyProblemAct))'" * @generated */ boolean validateAllergiesSectionEntriesOptionalAllergyProblemAct(DiagnosticChain diagnostics, @@ -107,7 +102,7 @@ boolean validateAllergiesSectionEntriesOptionalAllergyProblemAct(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AllergyProblemAct)).oclAsType(consol::AllergyProblemAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AllergyProblemAct)).oclAsType(consol::AllergyProblemAct)'" * @generated */ EList getAllergyProblemActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSectionEntriesOptional2.java index d8a0a8c711..01c636ca85 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergiesSectionEntriesOptional2.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -25,7 +21,7 @@ public interface AllergiesSectionEntriesOptional2 extends AllergiesSectionEntrie * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AllergyConcernAct2)).oclAsType(consol::AllergyConcernAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AllergyConcernAct2)).oclAsType(consol::AllergyConcernAct2)'" * @generated */ EList getConsolAllergyConcernAct2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyConcernAct2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyConcernAct2.java index d1dd3e6ed5..a2c44a0d3d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyConcernAct2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyConcernAct2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface AllergyConcernAct2 extends AllergyProblemAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.30\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.30\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateAllergyConcernAct2TemplateId(DiagnosticChain diagnostics, Map context); @@ -44,7 +40,7 @@ public interface AllergyConcernAct2 extends AllergyProblemAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateAllergyConcernAct2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -53,7 +49,7 @@ public interface AllergyConcernAct2 extends AllergyProblemAct { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyObservation2)).oclAsType(consol::AllergyObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyObservation2)).oclAsType(consol::AllergyObservation2)'" * @generated */ EList getConsolAllergyObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyObservation.java index ac85da966a..1a40837007 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyObservation.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -41,7 +37,7 @@ public interface AllergyObservation extends SubstanceOrDeviceAllergyObservation * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).originalText->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).originalText->size() = 1'" * @generated */ boolean validateAllergyObservationValueOriginalText(DiagnosticChain diagnostics, Map context); @@ -53,7 +49,7 @@ public interface AllergyObservation extends SubstanceOrDeviceAllergyObservation * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).originalText->size() = 1 implies self.value.oclAsType(datatypes::CD).originalText->one(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).originalText->size() = 1 implies self.value.oclAsType(datatypes::CD).originalText->one(reference->size() = 1)'" * @generated */ boolean validateAllergyObservationOriginalTextReference(DiagnosticChain diagnostics, Map context); @@ -65,7 +61,7 @@ public interface AllergyObservation extends SubstanceOrDeviceAllergyObservation * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).originalText.reference->size() = 1 implies self.value.oclAsType(datatypes::CD).originalText.reference.value->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).originalText.reference->size() = 1 implies self.value.oclAsType(datatypes::CD).originalText.reference.value->size() = 1'" * @generated */ boolean validateAllergyObservationOriginalTextReferenceValue(DiagnosticChain diagnostics, @@ -114,7 +110,7 @@ boolean validateAllergyObservationOriginalTextReferenceValue(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (not self.id->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (not self.id->isEmpty())'" * @generated */ boolean validateAllergyObservationId(DiagnosticChain diagnostics, Map context); @@ -174,7 +170,7 @@ boolean validateAllergyObservationOriginalTextReferenceValue(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'420134006\' or value.code = \'418038007\' or value.code = \'419511003\' or value.code = \'418471000\' or value.code = \'419199007\' or value.code = \'416098002\' or value.code = \'414285001\' or value.code = \'59037007\' or value.code = \'235719002\' or value.code = \'232347008\' or value.code = \'426232007\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'420134006\' or value.code = \'418038007\' or value.code = \'419511003\' or value.code = \'418471000\' or value.code = \'419199007\' or value.code = \'416098002\' or value.code = \'414285001\' or value.code = \'59037007\' or value.code = \'235719002\' or value.code = \'232347008\' or value.code = \'426232007\')))'" * @generated */ boolean validateAllergyObservationValue(DiagnosticChain diagnostics, Map context); @@ -186,7 +182,7 @@ boolean validateAllergyObservationOriginalTextReferenceValue(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::MFST)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::MFST)'" * @generated */ boolean validateAllergyObservationReactionObservation(DiagnosticChain diagnostics, Map context); @@ -198,7 +194,7 @@ boolean validateAllergyObservationOriginalTextReferenceValue(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SeverityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SeverityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateAllergyObservationSeverityObservation(DiagnosticChain diagnostics, Map context); @@ -210,7 +206,7 @@ boolean validateAllergyObservationOriginalTextReferenceValue(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateAllergyObservationAllergyStatusObservation(DiagnosticChain diagnostics, @@ -223,7 +219,7 @@ boolean validateAllergyObservationAllergyStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" * @generated */ boolean validateAllergyObservationParticipant(DiagnosticChain diagnostics, Map context); @@ -235,7 +231,7 @@ boolean validateAllergyObservationAllergyStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((originalText.oclIsUndefined() or originalText.isNullFlavorUndefined()) implies (not originalText.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((originalText.oclIsUndefined() or originalText.isNullFlavorUndefined()) implies (not originalText.oclIsUndefined()) )))'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCEOriginalText(DiagnosticChain diagnostics, @@ -248,7 +244,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCEOrigi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCETranslation(DiagnosticChain diagnostics, @@ -261,7 +257,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCETrans * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.reference.value.oclIsUndefined() implies not getSection().text.getText(code.originalText.reference.value.substring(2, code.originalText.reference.value.size())).oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.reference.value.oclIsUndefined() implies not getSection().text.getText(code.originalText.reference.value.substring(2, code.originalText.reference.value.size())).oclIsUndefined())'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReferenceValue( @@ -274,7 +270,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityOrigina * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.reference.oclIsUndefined() implies code.originalText.reference.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.reference.oclIsUndefined() implies code.originalText.reference.value->size() = 1)'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityReferenceValue(DiagnosticChain diagnostics, @@ -287,7 +283,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityReferen * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.oclIsUndefined() implies not code.originalText.reference.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.oclIsUndefined() implies not code.originalText.reference.oclIsUndefined())'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReference( @@ -300,7 +296,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityOrigina * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(( code.oclIsUndefined() or code.isNullFlavorUndefined() ) implies ( not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and ( ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.3.26.1.5\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.88\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.4.9\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined() ) ) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(( code.oclIsUndefined() or code.isNullFlavorUndefined() ) implies ( not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and ( ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.3.26.1.5\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.88\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.4.9\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined() ) ) ))'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCodeTerminologyValueSetGroupSRFI( @@ -313,7 +309,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCodeTer * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(isDefined(\'classCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(isDefined(\'classCode\'))'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityClassCode(DiagnosticChain diagnostics, @@ -326,7 +322,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityClassCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCode(DiagnosticChain diagnostics, @@ -339,7 +335,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCode(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(not classCode.oclIsUndefined() and classCode.oclIsKindOf(vocab::RoleClassRoot) and \r\nlet value : vocab::RoleClassRoot = classCode.oclAsType(vocab::RoleClassRoot) in \r\nvalue = vocab::RoleClassRoot::MANU)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(not classCode.oclIsUndefined() and classCode.oclIsKindOf(vocab::RoleClassRoot) and \r\nlet value : vocab::RoleClassRoot = classCode.oclAsType(vocab::RoleClassRoot) in \r\nvalue = vocab::RoleClassRoot::MANU)'" * @generated */ boolean validateAllergyObservationParticipantParticipantRoleClassCode(DiagnosticChain diagnostics, @@ -352,7 +348,7 @@ boolean validateAllergyObservationParticipantParticipantRoleClassCode(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntity(DiagnosticChain diagnostics, @@ -365,7 +361,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntity(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(not typeCode.oclIsUndefined() and typeCode.oclIsKindOf(vocab::ParticipationType) and \r\nlet value : vocab::ParticipationType = typeCode.oclAsType(vocab::ParticipationType) in \r\nvalue = vocab::ParticipationType::CSM)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(not typeCode.oclIsUndefined() and typeCode.oclIsKindOf(vocab::ParticipationType) and \r\nlet value : vocab::ParticipationType = typeCode.oclAsType(vocab::ParticipationType) in \r\nvalue = vocab::ParticipationType::CSM)'" * @generated */ boolean validateAllergyObservationParticipantTypeCode(DiagnosticChain diagnostics, Map context); @@ -377,7 +373,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntity(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validateAllergyObservationParticipantParticipantRole(DiagnosticChain diagnostics, @@ -387,7 +383,7 @@ boolean validateAllergyObservationParticipantParticipantRole(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation)).oclAsType(consol::ReactionObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation)).oclAsType(consol::ReactionObservation)'" * @generated */ EList getConsolReactionObservations(); @@ -396,7 +392,7 @@ boolean validateAllergyObservationParticipantParticipantRole(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation))->asSequence()->any(true).oclAsType(consol::SeverityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation))->asSequence()->any(true).oclAsType(consol::SeverityObservation)'" * @generated */ SeverityObservation getConsolSeverityObservation(); @@ -405,7 +401,7 @@ boolean validateAllergyObservationParticipantParticipantRole(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyStatusObservation))->asSequence()->any(true).oclAsType(consol::AllergyStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyStatusObservation))->asSequence()->any(true).oclAsType(consol::AllergyStatusObservation)'" * @generated */ AllergyStatusObservation getConsolAllergyStatusObservation(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyObservation2.java index ef8abc8334..afa7151714 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyObservation2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -36,7 +32,7 @@ public interface AllergyObservation2 extends AllergyObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::CriticalityObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::CriticalityObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateAllergyObservation2CriticalityInversionIndicator(DiagnosticChain diagnostics, @@ -49,7 +45,7 @@ boolean validateAllergyObservation2CriticalityInversionIndicator(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.7\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.7\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateAllergyObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -73,7 +69,7 @@ boolean validateAllergyObservation2CriticalityInversionIndicator(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (not self.value->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (not self.value->isEmpty())'" * @generated */ boolean validateAllergyObservationValueP(DiagnosticChain diagnostics, Map context); @@ -97,7 +93,7 @@ boolean validateAllergyObservation2CriticalityInversionIndicator(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateAllergyObservation2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -109,7 +105,7 @@ boolean validateAllergyObservation2CriticalityInversionIndicator(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CriticalityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CriticalityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateAllergyObservation2CriticalityObservation(DiagnosticChain diagnostics, Map context); @@ -121,7 +117,7 @@ boolean validateAllergyObservation2CriticalityInversionIndicator(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateAllergyObservation2IVLTSLow(DiagnosticChain diagnostics, Map context); @@ -133,7 +129,7 @@ boolean validateAllergyObservation2CriticalityInversionIndicator(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateAllergyObservation2IVLTSHigh(DiagnosticChain diagnostics, Map context); @@ -145,7 +141,7 @@ boolean validateAllergyObservation2CriticalityInversionIndicator(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergySpecificMedication( @@ -158,7 +154,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergy * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergyClassMedication( @@ -171,7 +167,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergy * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" * @generated */ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergyFoodOtherSubstance( @@ -181,7 +177,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergy * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyStatusObservation)).oclAsType(consol::AllergyStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyStatusObservation)).oclAsType(consol::AllergyStatusObservation)'" * @generated */ EList getConsolAllergyStatusObservations(); @@ -190,7 +186,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergy * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" * @generated */ EList getConsolReactionObservation2s(); @@ -199,7 +195,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergy * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation2))->asSequence()->any(true).oclAsType(consol::SeverityObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation2))->asSequence()->any(true).oclAsType(consol::SeverityObservation2)'" * @generated */ SeverityObservation2 getConsolSeverityObservation2(); @@ -208,7 +204,7 @@ boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergy * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CriticalityObservation))->asSequence()->any(true).oclAsType(consol::CriticalityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CriticalityObservation))->asSequence()->any(true).oclAsType(consol::CriticalityObservation)'" * @generated */ CriticalityObservation getCriticalityObservation(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyProblemAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyProblemAct.java index 5f8a4381c6..49b47b1758 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyProblemAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyProblemAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -63,7 +58,7 @@ public interface AllergyProblemAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.30\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.30\')'" * @generated */ boolean validateAllergyProblemActTemplateId(DiagnosticChain diagnostics, Map context); @@ -99,7 +94,7 @@ public interface AllergyProblemAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateAllergyProblemActId(DiagnosticChain diagnostics, Map context); @@ -147,7 +142,7 @@ public interface AllergyProblemAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateAllergyProblemActAllergyObservation(DiagnosticChain diagnostics, Map context); @@ -159,7 +154,7 @@ public interface AllergyProblemAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject((code = \'CONC\' and codeSystem = \'2.16.840.1.113883.5.6\') or (code = \'48765-2\' and codeSystem = \'2.16.840.1.113883.6.1\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject((code = \'CONC\' and codeSystem = \'2.16.840.1.113883.5.6\') or (code = \'48765-2\' and codeSystem = \'2.16.840.1.113883.6.1\'))'" * @generated */ boolean validateAllergyProblemActCDCodeAndCodeSystemValues(DiagnosticChain diagnostics, @@ -172,7 +167,7 @@ boolean validateAllergyProblemActCDCodeAndCodeSystemValues(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" * @generated */ boolean validateAllergyProblemActCDCode(DiagnosticChain diagnostics, Map context); @@ -184,7 +179,7 @@ boolean validateAllergyProblemActCDCodeAndCodeSystemValues(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not codeSystem.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not codeSystem.oclIsUndefined() )))'" * @generated */ boolean validateAllergyProblemActCDCodeSystem(DiagnosticChain diagnostics, Map context); @@ -193,7 +188,7 @@ boolean validateAllergyProblemActCDCodeAndCodeSystemValues(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyObservation)).oclAsType(consol::AllergyObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyObservation)).oclAsType(consol::AllergyObservation)'" * @generated */ EList getAllergyObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyStatusObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyStatusObservation.java index d9d2bc6583..8663f8a8b3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyStatusObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyStatusObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -38,7 +33,7 @@ public interface AllergyStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.28\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.28\')'" * @generated */ boolean validateAllergyStatusObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -98,7 +93,7 @@ public interface AllergyStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = element.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'55561003\' or value.code = \'73425007\' or value.code = \'413322009\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = element.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'55561003\' or value.code = \'73425007\' or value.code = \'413322009\')))'" * @generated */ boolean validateAllergyStatusObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyStatusObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyStatusObservation2.java index 5f3dc7ff99..fd30509927 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyStatusObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AllergyStatusObservation2.java @@ -2,12 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -28,7 +26,7 @@ public interface AllergyStatusObservation2 extends AllergyStatusObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.28\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.28\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateAllergyStatusObservation2TemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AnesthesiaSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AnesthesiaSection.java index 619d4c2426..879dac5b83 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AnesthesiaSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AnesthesiaSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface AnesthesiaSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.25\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.25\')'" * @generated */ boolean validateAnesthesiaSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface AnesthesiaSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::ProcedureActivityProcedure))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::ProcedureActivityProcedure))'" * @generated */ boolean validateAnesthesiaSectionProcedureActivityProcedure(DiagnosticChain diagnostics, @@ -106,7 +101,7 @@ boolean validateAnesthesiaSectionProcedureActivityProcedure(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::MedicationActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::MedicationActivity))'" * @generated */ boolean validateAnesthesiaSectionMedicationActivity(DiagnosticChain diagnostics, Map context); @@ -115,7 +110,7 @@ boolean validateAnesthesiaSectionProcedureActivityProcedure(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure)).oclAsType(consol::ProcedureActivityProcedure)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure)).oclAsType(consol::ProcedureActivityProcedure)'" * @generated */ EList getProcedureActivityProcedures(); @@ -124,7 +119,7 @@ boolean validateAnesthesiaSectionProcedureActivityProcedure(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AnesthesiaSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AnesthesiaSection2.java index 74f1cbfa28..f9df87ec9b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AnesthesiaSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AnesthesiaSection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface AnesthesiaSection2 extends AnesthesiaSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.25\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.25\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateAnesthesiaSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface AnesthesiaSection2 extends AnesthesiaSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" * @generated */ EList getConsolProcedureActivityProcedure2s(); @@ -48,7 +45,7 @@ public interface AnesthesiaSection2 extends AnesthesiaSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentAndPlanSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentAndPlanSection.java index b53bb920cb..e6616ee128 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentAndPlanSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentAndPlanSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -38,7 +33,7 @@ public interface AssessmentAndPlanSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.9\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.9\')'" * @generated */ boolean validateAssessmentAndPlanSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -86,7 +81,7 @@ public interface AssessmentAndPlanSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PlanOfCareActivityAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PlanOfCareActivityAct))'" * @generated */ boolean validateAssessmentAndPlanSectionPlanOfCareActivityAct(DiagnosticChain diagnostics, @@ -96,7 +91,7 @@ boolean validateAssessmentAndPlanSectionPlanOfCareActivityAct(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlanOfCareActivityAct)).oclAsType(consol::PlanOfCareActivityAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlanOfCareActivityAct)).oclAsType(consol::PlanOfCareActivityAct)'" * @generated */ EList getPlanOfCareActivityActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentAndPlanSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentAndPlanSection2.java index 22798ee588..4d03bd429f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentAndPlanSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentAndPlanSection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface AssessmentAndPlanSection2 extends AssessmentAndPlanSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.9\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.9\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateAssessmentAndPlanSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface AssessmentAndPlanSection2 extends AssessmentAndPlanSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedAct2)).oclAsType(consol::PlannedAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedAct2)).oclAsType(consol::PlannedAct2)'" * @generated */ EList getConsolPlannedAct2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentScaleObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentScaleObservation.java index 57651e2c6d..f2b0b23605 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentScaleObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentScaleObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -47,7 +42,7 @@ public interface AssessmentScaleObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.interpretationCode->size() > 0 implies self.interpretationCode.translation->size() > 0'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.interpretationCode->size() > 0 implies self.interpretationCode.translation->size() > 0'" * @generated */ boolean validateAssessmentScaleObservationInterpretationCodeTranslation(DiagnosticChain diagnostics, @@ -60,7 +55,7 @@ boolean validateAssessmentScaleObservationInterpretationCodeTranslation(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.69\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.69\')'" * @generated */ boolean validateAssessmentScaleObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -132,7 +127,7 @@ boolean validateAssessmentScaleObservationInterpretationCodeTranslation(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateAssessmentScaleObservationId(DiagnosticChain diagnostics, Map context); @@ -144,7 +139,7 @@ boolean validateAssessmentScaleObservationInterpretationCodeTranslation(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (not self.interpretationCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (not self.interpretationCode->isEmpty())'" * @generated */ boolean validateAssessmentScaleObservationInterpretationCode(DiagnosticChain diagnostics, @@ -181,7 +176,7 @@ boolean validateAssessmentScaleObservationInterpretationCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validateAssessmentScaleObservationValue(DiagnosticChain diagnostics, Map context); @@ -193,7 +188,7 @@ boolean validateAssessmentScaleObservationInterpretationCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateAssessmentScaleObservationAuthor(DiagnosticChain diagnostics, Map context); @@ -205,7 +200,7 @@ boolean validateAssessmentScaleObservationInterpretationCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->exists(referenceRange : cda::ReferenceRange | not referenceRange.oclIsUndefined() and referenceRange.oclIsKindOf(cda::ReferenceRange))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->exists(referenceRange : cda::ReferenceRange | not referenceRange.oclIsUndefined() and referenceRange.oclIsKindOf(cda::ReferenceRange))'" * @generated */ boolean validateAssessmentScaleObservationReferenceRange(DiagnosticChain diagnostics, Map context); @@ -217,7 +212,7 @@ boolean validateAssessmentScaleObservationInterpretationCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleSupportingObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleSupportingObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateAssessmentScaleObservationAssessmentScaleSupportingObservation(DiagnosticChain diagnostics, @@ -230,7 +225,7 @@ boolean validateAssessmentScaleObservationAssessmentScaleSupportingObservation(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(not text.oclIsUndefined() implies text->forAll(reference->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(not text.oclIsUndefined() implies text->forAll(reference->size() = 1))'" * @generated */ boolean validateAssessmentScaleObservationReferenceRangeObservationRangeTextReference(DiagnosticChain diagnostics, @@ -243,7 +238,7 @@ boolean validateAssessmentScaleObservationReferenceRangeObservationRangeTextRefe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(text->forAll(reference->size() = 1) implies text->forAll(reference->one(value->size() = 1)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(text->forAll(reference->size() = 1) implies text->forAll(reference->one(value->size() = 1)))'" * @generated */ boolean validateAssessmentScaleObservationReferenceRangeObservationRangeTextReferenceValue( @@ -256,7 +251,7 @@ boolean validateAssessmentScaleObservationReferenceRangeObservationRangeTextRefe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(not text.reference.value.oclIsUndefined() implies not getSection().text.getText(text.reference.value.substring(2, text.reference.value.size())).oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(not text.reference.value.oclIsUndefined() implies not getSection().text.getText(text.reference.value.substring(2, text.reference.value.size())).oclIsUndefined())'" * @generated */ boolean validateAssessmentScaleObservationReferenceRangeObservationRangeReferenceValue(DiagnosticChain diagnostics, @@ -269,7 +264,7 @@ boolean validateAssessmentScaleObservationReferenceRangeObservationRangeReferenc * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject((text.oclIsUndefined() or text.isNullFlavorUndefined()) implies (not text.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject((text.oclIsUndefined() or text.isNullFlavorUndefined()) implies (not text.oclIsUndefined()))'" * @generated */ boolean validateAssessmentScaleObservationReferenceRangeObservationRangeText(DiagnosticChain diagnostics, @@ -282,7 +277,7 @@ boolean validateAssessmentScaleObservationReferenceRangeObservationRangeText(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null)->reject(observationRange->one(observationRange : cda::ObservationRange | not observationRange.oclIsUndefined() and observationRange.oclIsKindOf(cda::ObservationRange)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null)->reject(observationRange->one(observationRange : cda::ObservationRange | not observationRange.oclIsUndefined() and observationRange.oclIsKindOf(cda::ObservationRange)))'" * @generated */ boolean validateAssessmentScaleObservationReferenceRangeObservationRange(DiagnosticChain diagnostics, @@ -292,7 +287,7 @@ boolean validateAssessmentScaleObservationReferenceRangeObservationRange(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleSupportingObservation)).oclAsType(consol::AssessmentScaleSupportingObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleSupportingObservation)).oclAsType(consol::AssessmentScaleSupportingObservation)'" * @generated */ EList getAssessmentScaleSupportingObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentScaleSupportingObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentScaleSupportingObservation.java index 159a9480b3..40df3a3432 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentScaleSupportingObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentScaleSupportingObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -45,7 +40,7 @@ boolean validateAssessmentScaleSupportingObservationCodeCodeSystem(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).translation->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).translation->size() = 1'" * @generated */ boolean validateAssessmentScaleSupportingObservationValueTranslation(DiagnosticChain diagnostics, @@ -58,7 +53,7 @@ boolean validateAssessmentScaleSupportingObservationValueTranslation(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.86\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.86\')'" * @generated */ boolean validateAssessmentScaleSupportingObservationTemplateId(DiagnosticChain diagnostics, @@ -109,7 +104,7 @@ boolean validateAssessmentScaleSupportingObservationMoodCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateAssessmentScaleSupportingObservationId(DiagnosticChain diagnostics, Map context); @@ -147,7 +142,7 @@ boolean validateAssessmentScaleSupportingObservationStatusCodeP(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" * @generated */ boolean validateAssessmentScaleSupportingObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentSection.java index a2568375ed..b78e3524cf 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AssessmentSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface AssessmentSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.8\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.8\')'" * @generated */ boolean validateAssessmentSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AuthorParticipation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AuthorParticipation.java index 70a9ef97bd..2243f271ac 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AuthorParticipation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AuthorParticipation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Author; /** @@ -35,7 +30,7 @@ public interface AuthorParticipation extends Author { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.119\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.119\')'" * @generated */ boolean validateAuthorParticipationTemplateId(DiagnosticChain diagnostics, Map context); @@ -59,7 +54,7 @@ public interface AuthorParticipation extends Author { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor))'" * @generated */ boolean validateAuthorParticipationAssignedAuthor(DiagnosticChain diagnostics, Map context); @@ -71,7 +66,7 @@ public interface AuthorParticipation extends Author { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorAssignedPersonName(DiagnosticChain diagnostics, @@ -84,7 +79,7 @@ boolean validateAuthorParticipationAssignedAuthorAssignedPersonName(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).representedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).representedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationId(DiagnosticChain diagnostics, @@ -97,7 +92,7 @@ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationId(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationName(DiagnosticChain diagnostics, @@ -110,7 +105,7 @@ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationName(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).representedOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (not telecom->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).representedOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (not telecom->isEmpty()))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationTelecom(DiagnosticChain diagnostics, @@ -123,7 +118,7 @@ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationTelecom( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).representedOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null).representedOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationAddr(DiagnosticChain diagnostics, @@ -136,7 +131,7 @@ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationAddr(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.101\' or code.codeSystem = \'2.16.840.1.113883.5.111\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.101\' or code.codeSystem = \'2.16.840.1.113883.5.111\')'" * @generated */ boolean validateAuthorParticipationAssignedAuthorCodeTerminology(DiagnosticChain diagnostics, @@ -149,7 +144,7 @@ boolean validateAuthorParticipationAssignedAuthorCodeTerminology(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorId(DiagnosticChain diagnostics, Map context); @@ -161,7 +156,7 @@ boolean validateAuthorParticipationAssignedAuthorCodeTerminology(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorCode(DiagnosticChain diagnostics, Map context); @@ -173,7 +168,7 @@ boolean validateAuthorParticipationAssignedAuthorCodeTerminology(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorAssignedPerson(DiagnosticChain diagnostics, @@ -186,7 +181,7 @@ boolean validateAuthorParticipationAssignedAuthorAssignedPerson(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validateAuthorParticipationAssignedAuthorRepresentedOrganization(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AuthorizationActivity.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AuthorizationActivity.java index 5811ecfca3..9538332e42 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AuthorizationActivity.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/AuthorizationActivity.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface AuthorizationActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.1.19\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.1.19\')'" * @generated */ boolean validateAuthorizationActivityTemplateId(DiagnosticChain diagnostics, Map context); @@ -57,7 +52,7 @@ public interface AuthorizationActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (self.id->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (self.id->size() = 1)'" * @generated */ boolean validateAuthorizationActivityId(DiagnosticChain diagnostics, Map context); @@ -81,7 +76,7 @@ public interface AuthorizationActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->size() = 1'" * @generated */ boolean validateAuthorizationActivityEntryRelationship(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface AuthorizationActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(act->exists(moodCode = vocab::x_DocumentActMood::PRMS) or encounter->exists(moodCode = vocab::x_DocumentEncounterMood::PRMS) or observation->exists(moodCode = vocab::x_ActMoodDocumentObservation::PRMS) or observationMedia->exists(moodCode = vocab::ActMood::PRMS) or organizer->exists(moodCode = vocab::ActMood::PRMS) or procedure->exists(moodCode = vocab::x_DocumentProcedureMood::PRMS) or regionOfInterest->exists(moodCode = vocab::ActMood::PRMS) or substanceAdministration->exists(moodCode = vocab::x_DocumentSubstanceMood::PRMS) or supply->exists(moodCode = vocab::x_DocumentSubstanceMood::PRMS))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(act->exists(moodCode = vocab::x_DocumentActMood::PRMS) or encounter->exists(moodCode = vocab::x_DocumentEncounterMood::PRMS) or observation->exists(moodCode = vocab::x_ActMoodDocumentObservation::PRMS) or observationMedia->exists(moodCode = vocab::ActMood::PRMS) or organizer->exists(moodCode = vocab::ActMood::PRMS) or procedure->exists(moodCode = vocab::x_DocumentProcedureMood::PRMS) or regionOfInterest->exists(moodCode = vocab::ActMood::PRMS) or substanceAdministration->exists(moodCode = vocab::x_DocumentSubstanceMood::PRMS) or supply->exists(moodCode = vocab::x_DocumentSubstanceMood::PRMS))'" * @generated */ boolean validateAuthorizationActivityEntryRelationshipHasClinicalStatement(DiagnosticChain diagnostics, @@ -106,7 +101,7 @@ boolean validateAuthorizationActivityEntryRelationshipHasClinicalStatement(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(act->forAll( (moodCode = vocab::x_DocumentActMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentActMood::PRMS ) and \r\nencounter->forAll((moodCode = vocab::x_DocumentEncounterMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentEncounterMood::PRMS) and \r\nobservation->forAll((moodCode = vocab::x_ActMoodDocumentObservation::PRMS and performer->size() > 0) or moodCode <> vocab::x_ActMoodDocumentObservation::PRMS) and \r\nobservationMedia->forAll((moodCode = vocab::ActMood::PRMS and performer->size() > 0) or moodCode <> vocab::ActMood::PRMS) and \r\norganizer->forAll((moodCode = vocab::ActMood::PRMS and performer->size() > 0) or moodCode <> vocab::ActMood::PRMS) and \r\nprocedure->forAll((moodCode = vocab::x_DocumentProcedureMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentProcedureMood::PRMS) and \r\nregionOfInterest->forAll((moodCode = vocab::ActMood::PRMS and performer->size() > 0) or moodCode <> vocab::ActMood::PRMS) and \r\nsubstanceAdministration->forAll((moodCode = vocab::x_DocumentSubstanceMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentSubstanceMood::PRMS) and \r\nsupply->forAll((moodCode = vocab::x_DocumentSubstanceMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentSubstanceMood::PRMS))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(act->forAll( (moodCode = vocab::x_DocumentActMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentActMood::PRMS ) and \r\nencounter->forAll((moodCode = vocab::x_DocumentEncounterMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentEncounterMood::PRMS) and \r\nobservation->forAll((moodCode = vocab::x_ActMoodDocumentObservation::PRMS and performer->size() > 0) or moodCode <> vocab::x_ActMoodDocumentObservation::PRMS) and \r\nobservationMedia->forAll((moodCode = vocab::ActMood::PRMS and performer->size() > 0) or moodCode <> vocab::ActMood::PRMS) and \r\norganizer->forAll((moodCode = vocab::ActMood::PRMS and performer->size() > 0) or moodCode <> vocab::ActMood::PRMS) and \r\nprocedure->forAll((moodCode = vocab::x_DocumentProcedureMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentProcedureMood::PRMS) and \r\nregionOfInterest->forAll((moodCode = vocab::ActMood::PRMS and performer->size() > 0) or moodCode <> vocab::ActMood::PRMS) and \r\nsubstanceAdministration->forAll((moodCode = vocab::x_DocumentSubstanceMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentSubstanceMood::PRMS) and \r\nsupply->forAll((moodCode = vocab::x_DocumentSubstanceMood::PRMS and performer->size() > 0) or moodCode <> vocab::x_DocumentSubstanceMood::PRMS))'" * @generated */ boolean validateAuthorizationActivityEntryRelationshipHasAuthorizedPerformers(DiagnosticChain diagnostics, @@ -119,7 +114,7 @@ boolean validateAuthorizationActivityEntryRelationshipHasAuthorizedPerformers(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateAuthorizationActivityEntryRelationshipTypeCode(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/BirthSexObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/BirthSexObservation.java index c5532f8418..39f3e6424d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/BirthSexObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/BirthSexObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface BirthSexObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.200\' and id.extension = \'2016-06-01\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.200\' and id.extension = \'2016-06-01\')'" * @generated */ boolean validateBirthSexObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -116,7 +111,7 @@ public interface BirthSexObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1\' and (value.code = \'F\' or value.code = \'M\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1\' and (value.code = \'F\' or value.code = \'M\')))'" * @generated */ boolean validateBirthSexObservationValue(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface BirthSexObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateBirthSexObservationValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/BoundaryObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/BoundaryObservation.java index 236b7d6eee..ad0b9708e5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/BoundaryObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/BoundaryObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface BoundaryObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.11\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.11\')'" * @generated */ boolean validateBoundaryObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -80,7 +75,7 @@ public interface BoundaryObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) and self.value->forAll(element | element.oclIsTypeOf(datatypes::INT)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) and self.value->forAll(element | element.oclIsTypeOf(datatypes::INT)))'" * @generated */ boolean validateBoundaryObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CarePlan.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CarePlan.java index f92b426ff8..54c4c730a5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CarePlan.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CarePlan.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -51,7 +47,7 @@ public interface CarePlan extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.getAllSections()->exists(s : cda::Section | s.oclIsTypeOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.getAllSections()->exists(s : cda::Section | s.oclIsTypeOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diagnostics, @@ -112,7 +108,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" * @generated */ boolean validateCarePlanInformationRecipient(DiagnosticChain diagnostics, Map context); @@ -124,7 +120,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->one(authenticator : cda::Authenticator | not authenticator.oclIsUndefined() and authenticator.oclIsKindOf(cda::Authenticator))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->one(authenticator : cda::Authenticator | not authenticator.oclIsUndefined() and authenticator.oclIsKindOf(cda::Authenticator))'" * @generated */ boolean validateCarePlanAuthenticator(DiagnosticChain diagnostics, Map context); @@ -136,7 +132,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode=vocab::ParticipationType::VRF)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode=vocab::ParticipationType::VRF)->notEmpty()'" * @generated */ boolean validateCarePlanParticipantCarePlanReview(DiagnosticChain diagnostics, Map context); @@ -148,7 +144,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode=vocab::ParticipationType::IND)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode=vocab::ParticipationType::IND)->notEmpty()'" * @generated */ boolean validateCarePlanParticipantCaregiver(DiagnosticChain diagnostics, Map context); @@ -160,7 +156,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateCarePlanDocumentationOf(DiagnosticChain diagnostics, Map context); @@ -172,7 +168,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->exists(relatedDocument : cda::RelatedDocument | not relatedDocument.oclIsUndefined() and relatedDocument.oclIsKindOf(cda::RelatedDocument))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->exists(relatedDocument : cda::RelatedDocument | not relatedDocument.oclIsUndefined() and relatedDocument.oclIsKindOf(cda::RelatedDocument))'" * @generated */ boolean validateCarePlanRelatedDocument(DiagnosticChain diagnostics, Map context); @@ -184,7 +180,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateCarePlanComponentOf(DiagnosticChain diagnostics, Map context); @@ -196,7 +192,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HealthConcernsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HealthConcernsSection))'" * @generated */ boolean validateCarePlanHealthConcernsSection(DiagnosticChain diagnostics, Map context); @@ -208,7 +204,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GoalsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GoalsSection))'" * @generated */ boolean validateCarePlanGoalsSection(DiagnosticChain diagnostics, Map context); @@ -220,7 +216,7 @@ boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HealthStatusEvaluationsAndOutcomesSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HealthStatusEvaluationsAndOutcomesSection))'" * @generated */ boolean validateCarePlanHealthStatusEvaluationsOutcomesSection(DiagnosticChain diagnostics, @@ -233,7 +229,7 @@ boolean validateCarePlanHealthStatusEvaluationsOutcomesSection(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection2))'" * @generated */ boolean validateCarePlanInterventionsSection2(DiagnosticChain diagnostics, Map context); @@ -245,7 +241,7 @@ boolean validateCarePlanHealthStatusEvaluationsOutcomesSection(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).informationRecipient->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).informationRecipient->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientInformationRecipientName(DiagnosticChain diagnostics, @@ -258,7 +254,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientInformationRecipien * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizationId(DiagnosticChain diagnostics, @@ -271,7 +267,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizationName(DiagnosticChain diagnostics, @@ -284,7 +280,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((standardIndustryClassCode.oclIsUndefined() or standardIndustryClassCode.isNullFlavorUndefined()) implies (not standardIndustryClassCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((standardIndustryClassCode.oclIsUndefined() or standardIndustryClassCode.isNullFlavorUndefined()) implies (not standardIndustryClassCode.oclIsUndefined()))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizationStandardIndustryClassCodeP( @@ -297,7 +293,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((standardIndustryClassCode.oclIsUndefined() or standardIndustryClassCode.isNullFlavorUndefined()) implies (not standardIndustryClassCode.oclIsUndefined() and standardIndustryClassCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = standardIndustryClassCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((standardIndustryClassCode.oclIsUndefined() or standardIndustryClassCode.isNullFlavorUndefined()) implies (not standardIndustryClassCode.oclIsUndefined() and standardIndustryClassCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = standardIndustryClassCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizationStandardIndustryClassCode( @@ -310,7 +306,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientId(DiagnosticChain diagnostics, @@ -323,7 +319,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientId(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientAddr(DiagnosticChain diagnostics, @@ -336,7 +332,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientAddr(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (not telecom->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (not telecom->isEmpty()))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientTelecom(DiagnosticChain diagnostics, @@ -349,7 +345,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientTelecom(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(informationRecipient->one(informationRecipient : cda::Person | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(informationRecipient->one(informationRecipient : cda::Person | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientInformationRecipient(DiagnosticChain diagnostics, @@ -362,7 +358,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientInformationRecipien * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(receivedOrganization->one(receivedOrganization : cda::Organization | not receivedOrganization.oclIsUndefined() and receivedOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(receivedOrganization->one(receivedOrganization : cda::Organization | not receivedOrganization.oclIsUndefined() and receivedOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganization(DiagnosticChain diagnostics, @@ -375,7 +371,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(cda::IntendedRecipient)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(cda::IntendedRecipient)))'" * @generated */ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain diagnostics, @@ -388,7 +384,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateCarePlanAuthenticatorAssignedEntityId(DiagnosticChain diagnostics, Map context); @@ -400,7 +396,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.code = \'ONESELF\' and value.codeSystem = \'2.16.840.1.113883.5.111\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.code = \'ONESELF\' and value.codeSystem = \'2.16.840.1.113883.5.111\'))'" * @generated */ boolean validateCarePlanAuthenticatorAssignedEntityCode(DiagnosticChain diagnostics, Map context); @@ -412,7 +408,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateCarePlanAuthenticatorAssignedEntityCodeP(DiagnosticChain diagnostics, Map context); @@ -424,7 +420,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validateCarePlanAuthenticatorTime(DiagnosticChain diagnostics, Map context); @@ -436,7 +432,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined()))'" * @generated */ boolean validateCarePlanAuthenticatorSignatureCode(DiagnosticChain diagnostics, Map context); @@ -448,7 +444,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((sDTCSignatureText.oclIsUndefined() or sDTCSignatureText.isNullFlavorUndefined()) implies (not sDTCSignatureText.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((sDTCSignatureText.oclIsUndefined() or sDTCSignatureText.isNullFlavorUndefined()) implies (not sDTCSignatureText.oclIsUndefined()))'" * @generated */ boolean validateCarePlanAuthenticatorSDTCSignatureText(DiagnosticChain diagnostics, Map context); @@ -460,7 +456,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateCarePlanAuthenticatorAssignedEntity(DiagnosticChain diagnostics, Map context); @@ -472,7 +468,7 @@ boolean validateCarePlanInformationRecipientIntendedRecipient(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).associatedEntity->excluding(null)->reject(isDefined(\'classCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).associatedEntity->excluding(null)->reject(isDefined(\'classCode\'))'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityClassCode(DiagnosticChain diagnostics, @@ -485,7 +481,7 @@ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityClassCode(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).associatedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).associatedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityId(DiagnosticChain diagnostics, @@ -498,7 +494,7 @@ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityId(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).associatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).associatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityCodeP(DiagnosticChain diagnostics, @@ -511,7 +507,7 @@ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityCodeP(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).associatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF).associatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityCode(DiagnosticChain diagnostics, @@ -524,7 +520,7 @@ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityCode(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(typeCode=vocab::ParticipationType::VRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(typeCode=vocab::ParticipationType::VRF)'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewTypeCode(DiagnosticChain diagnostics, Map context); @@ -536,7 +532,7 @@ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityCode(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.code = \'425268008\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.code = \'425268008\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewFunctionCode(DiagnosticChain diagnostics, @@ -549,7 +545,7 @@ boolean validateCarePlanParticipantCarePlanReviewFunctionCode(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewFunctionCodeP(DiagnosticChain diagnostics, @@ -562,7 +558,7 @@ boolean validateCarePlanParticipantCarePlanReviewFunctionCodeP(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewTime(DiagnosticChain diagnostics, Map context); @@ -574,7 +570,7 @@ boolean validateCarePlanParticipantCarePlanReviewFunctionCodeP(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::VRF)->select(typeCode=vocab::ParticipationType::VRF)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntity(DiagnosticChain diagnostics, @@ -587,7 +583,7 @@ boolean validateCarePlanParticipantCarePlanReviewAssociatedEntity(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateCarePlanParticipantCaregiverAssociatedEntityAssociatedPersonName(DiagnosticChain diagnostics, @@ -600,7 +596,7 @@ boolean validateCarePlanParticipantCaregiverAssociatedEntityAssociatedPersonName * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(isDefined(\'classCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(isDefined(\'classCode\'))'" * @generated */ boolean validateCarePlanParticipantCaregiverAssociatedEntityClassCodeP(DiagnosticChain diagnostics, @@ -613,7 +609,7 @@ boolean validateCarePlanParticipantCaregiverAssociatedEntityClassCodeP(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(not classCode.oclIsUndefined() and classCode.oclIsKindOf(vocab::RoleClassAssociative) and \r\nlet value : vocab::RoleClassAssociative = classCode.oclAsType(vocab::RoleClassAssociative) in \r\nvalue = vocab::RoleClassAssociative::PRS or value = vocab::RoleClassAssociative::NOK or value = vocab::RoleClassAssociative::CAREGIVER or value = vocab::RoleClassAssociative::AGNT or value = vocab::RoleClassAssociative::GUAR or value = vocab::RoleClassAssociative::ECON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(not classCode.oclIsUndefined() and classCode.oclIsKindOf(vocab::RoleClassAssociative) and \r\nlet value : vocab::RoleClassAssociative = classCode.oclAsType(vocab::RoleClassAssociative) in \r\nvalue = vocab::RoleClassAssociative::PRS or value = vocab::RoleClassAssociative::NOK or value = vocab::RoleClassAssociative::CAREGIVER or value = vocab::RoleClassAssociative::AGNT or value = vocab::RoleClassAssociative::GUAR or value = vocab::RoleClassAssociative::ECON)'" * @generated */ boolean validateCarePlanParticipantCaregiverAssociatedEntityClassCode(DiagnosticChain diagnostics, @@ -626,7 +622,7 @@ boolean validateCarePlanParticipantCaregiverAssociatedEntityClassCode(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateCarePlanParticipantCaregiverAssociatedEntityAssociatedPerson(DiagnosticChain diagnostics, @@ -639,7 +635,7 @@ boolean validateCarePlanParticipantCaregiverAssociatedEntityAssociatedPerson(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND)->select(typeCode=vocab::ParticipationType::IND)->reject(typeCode=vocab::ParticipationType::IND)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND)->select(typeCode=vocab::ParticipationType::IND)->reject(typeCode=vocab::ParticipationType::IND)'" * @generated */ boolean validateCarePlanParticipantCaregiverTypeCode(DiagnosticChain diagnostics, Map context); @@ -651,7 +647,7 @@ boolean validateCarePlanParticipantCaregiverAssociatedEntityAssociatedPerson(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND)->select(typeCode=vocab::ParticipationType::IND)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND)->select(typeCode=vocab::ParticipationType::IND)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateCarePlanParticipantCaregiverAssociatedEntity(DiagnosticChain diagnostics, @@ -664,7 +660,7 @@ boolean validateCarePlanParticipantCaregiverAssociatedEntity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventIVLTSLow(DiagnosticChain diagnostics, @@ -677,7 +673,7 @@ boolean validateCarePlanDocumentationOfServiceEventIVLTSLow(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventIVLTSHigh(DiagnosticChain diagnostics, @@ -690,7 +686,7 @@ boolean validateCarePlanDocumentationOfServiceEventIVLTSHigh(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityAssignedPersonName( @@ -703,7 +699,7 @@ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityAssign * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityId(DiagnosticChain diagnostics, @@ -716,7 +712,7 @@ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityId(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityCode(DiagnosticChain diagnostics, @@ -729,7 +725,7 @@ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityCode(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityAssignedPerson( @@ -742,7 +738,7 @@ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityAssign * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -755,7 +751,7 @@ boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntity(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventClassCode(DiagnosticChain diagnostics, @@ -768,7 +764,7 @@ boolean validateCarePlanDocumentationOfServiceEventClassCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventEffectiveTime(DiagnosticChain diagnostics, @@ -781,7 +777,7 @@ boolean validateCarePlanDocumentationOfServiceEventEffectiveTime(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1)))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEventPerformer1(DiagnosticChain diagnostics, @@ -794,7 +790,7 @@ boolean validateCarePlanDocumentationOfServiceEventPerformer1(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateCarePlanDocumentationOfServiceEvent(DiagnosticChain diagnostics, Map context); @@ -806,7 +802,7 @@ boolean validateCarePlanDocumentationOfServiceEventPerformer1(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateCarePlanRelatedDocumentParentDocumentId(DiagnosticChain diagnostics, Map context); @@ -818,7 +814,7 @@ boolean validateCarePlanDocumentationOfServiceEventPerformer1(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null)->reject((setId.oclIsUndefined() or setId.isNullFlavorUndefined()) implies (not setId.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null)->reject((setId.oclIsUndefined() or setId.isNullFlavorUndefined()) implies (not setId.oclIsUndefined()))'" * @generated */ boolean validateCarePlanRelatedDocumentParentDocumentSetId(DiagnosticChain diagnostics, @@ -831,7 +827,7 @@ boolean validateCarePlanRelatedDocumentParentDocumentSetId(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null)->reject((versionNumber.oclIsUndefined() or versionNumber.isNullFlavorUndefined()) implies (not versionNumber.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null)->reject((versionNumber.oclIsUndefined() or versionNumber.isNullFlavorUndefined()) implies (not versionNumber.oclIsUndefined()))'" * @generated */ boolean validateCarePlanRelatedDocumentParentDocumentVersionNumber(DiagnosticChain diagnostics, @@ -844,7 +840,7 @@ boolean validateCarePlanRelatedDocumentParentDocumentVersionNumber(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null)->reject(isDefined(\'typeCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null)->reject(isDefined(\'typeCode\'))'" * @generated */ boolean validateCarePlanRelatedDocumentTypeCodeP(DiagnosticChain diagnostics, Map context); @@ -856,7 +852,7 @@ boolean validateCarePlanRelatedDocumentParentDocumentVersionNumber(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null)->reject(not typeCode.oclIsUndefined() and typeCode.oclIsKindOf(vocab::x_ActRelationshipDocument) and \r\nlet value : vocab::x_ActRelationshipDocument = typeCode.oclAsType(vocab::x_ActRelationshipDocument) in \r\nvalue = vocab::x_ActRelationshipDocument::APND or value = vocab::x_ActRelationshipDocument::RPLC or value = vocab::x_ActRelationshipDocument::XFRM)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null)->reject(not typeCode.oclIsUndefined() and typeCode.oclIsKindOf(vocab::x_ActRelationshipDocument) and \r\nlet value : vocab::x_ActRelationshipDocument = typeCode.oclAsType(vocab::x_ActRelationshipDocument) in \r\nvalue = vocab::x_ActRelationshipDocument::APND or value = vocab::x_ActRelationshipDocument::RPLC or value = vocab::x_ActRelationshipDocument::XFRM)'" * @generated */ boolean validateCarePlanRelatedDocumentTypeCode(DiagnosticChain diagnostics, Map context); @@ -868,7 +864,7 @@ boolean validateCarePlanRelatedDocumentParentDocumentVersionNumber(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null)->reject(parentDocument->one(parentDocument : cda::ParentDocument | not parentDocument.oclIsUndefined() and parentDocument.oclIsKindOf(cda::ParentDocument)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null)->reject(parentDocument->one(parentDocument : cda::ParentDocument | not parentDocument.oclIsUndefined() and parentDocument.oclIsKindOf(cda::ParentDocument)))'" * @generated */ boolean validateCarePlanRelatedDocumentParentDocument(DiagnosticChain diagnostics, Map context); @@ -880,7 +876,7 @@ boolean validateCarePlanRelatedDocumentParentDocumentVersionNumber(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateCarePlanComponentOfEncompassingEncounterEffectiveTime(DiagnosticChain diagnostics, @@ -893,7 +889,7 @@ boolean validateCarePlanComponentOfEncompassingEncounterEffectiveTime(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateCarePlanComponentOfEncompassingEncounter(DiagnosticChain diagnostics, Map context); @@ -902,7 +898,7 @@ boolean validateCarePlanComponentOfEncompassingEncounterEffectiveTime(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HealthConcernsSection))->asSequence()->any(true).oclAsType(consol::HealthConcernsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HealthConcernsSection))->asSequence()->any(true).oclAsType(consol::HealthConcernsSection)'" * @generated */ HealthConcernsSection getHealthConcernsSection(); @@ -911,7 +907,7 @@ boolean validateCarePlanComponentOfEncompassingEncounterEffectiveTime(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GoalsSection))->asSequence()->any(true).oclAsType(consol::GoalsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GoalsSection))->asSequence()->any(true).oclAsType(consol::GoalsSection)'" * @generated */ GoalsSection getGoalsSection(); @@ -920,7 +916,7 @@ boolean validateCarePlanComponentOfEncompassingEncounterEffectiveTime(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HealthStatusEvaluationsAndOutcomesSection))->asSequence()->any(true).oclAsType(consol::HealthStatusEvaluationsAndOutcomesSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HealthStatusEvaluationsAndOutcomesSection))->asSequence()->any(true).oclAsType(consol::HealthStatusEvaluationsAndOutcomesSection)'" * @generated */ HealthStatusEvaluationsAndOutcomesSection getHealthStatusEvaluationsOutcomesSection(); @@ -929,7 +925,7 @@ boolean validateCarePlanComponentOfEncompassingEncounterEffectiveTime(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection2))->asSequence()->any(true).oclAsType(consol::InterventionsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection2))->asSequence()->any(true).oclAsType(consol::InterventionsSection2)'" * @generated */ InterventionsSection2 getInterventionsSection2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CaregiverCharacteristics.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CaregiverCharacteristics.java index e09cbc3d1c..a6b5b56a86 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CaregiverCharacteristics.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CaregiverCharacteristics.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -34,7 +29,7 @@ public interface CaregiverCharacteristics extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.1\' or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.1\' or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\')'" * @generated */ boolean validateCaregiverCharacteristicsValueCodeSystem(DiagnosticChain diagnostics, Map context); @@ -46,7 +41,7 @@ public interface CaregiverCharacteristics extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.72\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.72\')'" * @generated */ boolean validateCaregiverCharacteristicsTemplateId(DiagnosticChain diagnostics, Map context); @@ -82,7 +77,7 @@ public interface CaregiverCharacteristics extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateCaregiverCharacteristicsId(DiagnosticChain diagnostics, Map context); @@ -130,7 +125,7 @@ public interface CaregiverCharacteristics extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateCaregiverCharacteristicsValue(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface CaregiverCharacteristics extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" * @generated */ boolean validateCaregiverCharacteristicsParticipant(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ public interface CaregiverCharacteristics extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::RoleClassRoot::CAREGIVER)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::RoleClassRoot::CAREGIVER)'" * @generated */ boolean validateCaregiverCharacteristicsParticipantParticipantRoleClassCode(DiagnosticChain diagnostics, @@ -167,7 +162,7 @@ boolean validateCaregiverCharacteristicsParticipantParticipantRoleClassCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(not time.oclIsUndefined() implies time.low->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(not time.oclIsUndefined() implies time.low->size() = 1)'" * @generated */ boolean validateCaregiverCharacteristicsParticipantTimeLow(DiagnosticChain diagnostics, @@ -180,7 +175,7 @@ boolean validateCaregiverCharacteristicsParticipantTimeLow(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(not time.oclIsUndefined() implies time.high->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(not time.oclIsUndefined() implies time.high->size() = 1)'" * @generated */ boolean validateCaregiverCharacteristicsParticipantTimeHigh(DiagnosticChain diagnostics, @@ -193,7 +188,7 @@ boolean validateCaregiverCharacteristicsParticipantTimeHigh(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::IND)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::IND)'" * @generated */ boolean validateCaregiverCharacteristicsParticipantTypeCode(DiagnosticChain diagnostics, @@ -206,7 +201,7 @@ boolean validateCaregiverCharacteristicsParticipantTypeCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validateCaregiverCharacteristicsParticipantTime(DiagnosticChain diagnostics, Map context); @@ -218,7 +213,7 @@ boolean validateCaregiverCharacteristicsParticipantTypeCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validateCaregiverCharacteristicsParticipantParticipantRole(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CharacteristicsOfHomeEnvironment.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CharacteristicsOfHomeEnvironment.java index 3bd5a04707..209d908cab 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CharacteristicsOfHomeEnvironment.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CharacteristicsOfHomeEnvironment.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface CharacteristicsOfHomeEnvironment extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.109\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.109\')'" * @generated */ boolean validateCharacteristicsOfHomeEnvironmentTemplateId(DiagnosticChain diagnostics, @@ -69,7 +64,7 @@ boolean validateCharacteristicsOfHomeEnvironmentTemplateId(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateCharacteristicsOfHomeEnvironmentId(DiagnosticChain diagnostics, Map context); @@ -131,7 +126,7 @@ boolean validateCharacteristicsOfHomeEnvironmentStatusCodeP(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateCharacteristicsOfHomeEnvironmentValue(DiagnosticChain diagnostics, Map context); @@ -143,7 +138,7 @@ boolean validateCharacteristicsOfHomeEnvironmentStatusCodeP(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateCharacteristicsOfHomeEnvironmentValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ChiefComplaintAndReasonForVisitSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ChiefComplaintAndReasonForVisitSection.java index c631ef485c..c55b616f1e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ChiefComplaintAndReasonForVisitSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ChiefComplaintAndReasonForVisitSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface ChiefComplaintAndReasonForVisitSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.13\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.13\')'" * @generated */ boolean validateChiefComplaintAndReasonForVisitSectionTemplateId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ChiefComplaintSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ChiefComplaintSection.java index 87b8de29ce..5db2f926e1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ChiefComplaintSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ChiefComplaintSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface ChiefComplaintSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1\')'" * @generated */ boolean validateChiefComplaintSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CodeObservations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CodeObservations.java index cca68d5909..79c56065b7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CodeObservations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CodeObservations.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -33,7 +28,7 @@ public interface CodeObservations extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.13\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.13\')'" * @generated */ boolean validateCodeObservationsTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface CodeObservations extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validateCodeObservationsValue(DiagnosticChain diagnostics, Map context); @@ -105,7 +100,7 @@ public interface CodeObservations extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" * @generated */ boolean validateCodeObservationsSOPInstanceObservation(DiagnosticChain diagnostics, Map context); @@ -117,7 +112,7 @@ public interface CodeObservations extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::QuantityMeasurementObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::QuantityMeasurementObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" * @generated */ boolean validateCodeObservationsQuantityMeasurementObservation(DiagnosticChain diagnostics, @@ -127,7 +122,7 @@ boolean validateCodeObservationsQuantityMeasurementObservation(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" * @generated */ EList getSOPInstanceObservations(); @@ -136,7 +131,7 @@ boolean validateCodeObservationsQuantityMeasurementObservation(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::QuantityMeasurementObservation)).oclAsType(consol::QuantityMeasurementObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::QuantityMeasurementObservation)).oclAsType(consol::QuantityMeasurementObservation)'" * @generated */ EList getQuantityMeasurementObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveAbilitiesObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveAbilitiesObservation.java index f722e2b4de..04ff407886 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveAbilitiesObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveAbilitiesObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -33,7 +28,7 @@ public interface CognitiveAbilitiesObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.126\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.126\')'" * @generated */ boolean validateCognitiveAbilitiesObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface CognitiveAbilitiesObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateCognitiveAbilitiesObservationId(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ boolean validateCognitiveAbilitiesObservationEffectiveTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateCognitiveAbilitiesObservationValue(DiagnosticChain diagnostics, Map context); @@ -166,7 +161,7 @@ boolean validateCognitiveAbilitiesObservationEffectiveTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateCognitiveAbilitiesObservationValueP(DiagnosticChain diagnostics, Map context); @@ -178,7 +173,7 @@ boolean validateCognitiveAbilitiesObservationEffectiveTime(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateCognitiveAbilitiesObservationAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -191,7 +186,7 @@ boolean validateCognitiveAbilitiesObservationAssessmentScaleObservation(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateCognitiveAbilitiesObservationAuthorParticipation(DiagnosticChain diagnostics, @@ -201,7 +196,7 @@ boolean validateCognitiveAbilitiesObservationAuthorParticipation(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusProblemObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusProblemObservation.java index 46d29ed160..b6b82ca4c2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusProblemObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusProblemObservation.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface CognitiveStatusProblemObservation extends ProblemObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (not self.methodCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (not self.methodCode->isEmpty())'" * @generated */ boolean validateCognitiveStatusProblemObservationMethodCode(DiagnosticChain diagnostics, @@ -44,7 +40,7 @@ boolean validateCognitiveStatusProblemObservationMethodCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateCognitiveStatusProblemObservationNonMedicinalSupplyActivity(DiagnosticChain diagnostics, @@ -57,7 +53,7 @@ boolean validateCognitiveStatusProblemObservationNonMedicinalSupplyActivity(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateCognitiveStatusProblemObservationCaregiverCharacteristics(DiagnosticChain diagnostics, @@ -70,7 +66,7 @@ boolean validateCognitiveStatusProblemObservationCaregiverCharacteristics(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateCognitiveStatusProblemObservationAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -80,7 +76,7 @@ boolean validateCognitiveStatusProblemObservationAssessmentScaleObservation(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" * @generated */ EList getNonMedicinalSupplyActivities(); @@ -89,7 +85,7 @@ boolean validateCognitiveStatusProblemObservationAssessmentScaleObservation(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ EList getCaregiverCharacteristicss(); @@ -98,7 +94,7 @@ boolean validateCognitiveStatusProblemObservationAssessmentScaleObservation(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusResultObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusResultObservation.java index e4861dfef9..00a31efdb1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusResultObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusResultObservation.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -33,7 +29,7 @@ public interface CognitiveStatusResultObservation extends ResultObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.oclIsTypeOf(datatypes::CD) implies (val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.oclIsTypeOf(datatypes::CD) implies (val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validateCognitiveStatusResultObservationValueDatatype(DiagnosticChain diagnostics, @@ -58,7 +54,7 @@ boolean validateCognitiveStatusResultObservationValueDatatype(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateCognitiveStatusResultObservationAuthor(DiagnosticChain diagnostics, Map context); @@ -70,7 +66,7 @@ boolean validateCognitiveStatusResultObservationValueDatatype(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateCognitiveStatusResultObservationNonMedicinalSupplyActivity(DiagnosticChain diagnostics, @@ -83,7 +79,7 @@ boolean validateCognitiveStatusResultObservationNonMedicinalSupplyActivity(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateCognitiveStatusResultObservationCaregiverCharacteristics(DiagnosticChain diagnostics, @@ -96,7 +92,7 @@ boolean validateCognitiveStatusResultObservationCaregiverCharacteristics(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateCognitiveStatusResultObservationAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -109,7 +105,7 @@ boolean validateCognitiveStatusResultObservationAssessmentScaleObservation(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->exists(referenceRange : cda::ReferenceRange | not referenceRange.oclIsUndefined() and referenceRange.oclIsKindOf(cda::ReferenceRange))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->exists(referenceRange : cda::ReferenceRange | not referenceRange.oclIsUndefined() and referenceRange.oclIsKindOf(cda::ReferenceRange))'" * @generated */ boolean validateCognitiveStatusResultObservationReferenceRange(DiagnosticChain diagnostics, @@ -122,7 +118,7 @@ boolean validateCognitiveStatusResultObservationReferenceRange(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(code.oclIsUndefined())'" * @generated */ boolean validateCognitiveStatusResultObservationReferenceRangeObservationRangeNoCode(DiagnosticChain diagnostics, @@ -135,7 +131,7 @@ boolean validateCognitiveStatusResultObservationReferenceRangeObservationRangeNo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null)->reject(observationRange->one(observationRange : cda::ObservationRange | not observationRange.oclIsUndefined() and observationRange.oclIsKindOf(cda::ObservationRange)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null)->reject(observationRange->one(observationRange : cda::ObservationRange | not observationRange.oclIsUndefined() and observationRange.oclIsKindOf(cda::ObservationRange)))'" * @generated */ boolean validateCognitiveStatusResultObservationReferenceRangeObservationRange(DiagnosticChain diagnostics, @@ -145,7 +141,7 @@ boolean validateCognitiveStatusResultObservationReferenceRangeObservationRange(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" * @generated */ EList getNonMedicinalSupplyActivities(); @@ -154,7 +150,7 @@ boolean validateCognitiveStatusResultObservationReferenceRangeObservationRange(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ EList getCaregiverCharacteristicss(); @@ -163,7 +159,7 @@ boolean validateCognitiveStatusResultObservationReferenceRangeObservationRange(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusResultOrganizer.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusResultOrganizer.java index f6ef9d726a..05bc23095a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusResultOrganizer.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CognitiveStatusResultOrganizer.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -41,7 +37,7 @@ boolean validateCognitiveStatusResultOrganizerCodeCodeSystem(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CognitiveStatusResultObservation)).oclAsType(consol::CognitiveStatusResultObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CognitiveStatusResultObservation)).oclAsType(consol::CognitiveStatusResultObservation)'" * @generated */ EList getConsolCognitiveStatusResultObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CommentActivity.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CommentActivity.java index b65f18c39c..5dda0b7697 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CommentActivity.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CommentActivity.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -32,7 +27,7 @@ public interface CommentActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateCommentActivityTextReference(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface CommentActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateCommentActivityTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface CommentActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.64\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.64\')'" * @generated */ boolean validateCommentActivityTemplateId(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface CommentActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateCommentActivityAuthorParticipation(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ComplicationsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ComplicationsSection.java index 781b624150..2fb927ca45 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ComplicationsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ComplicationsSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface ComplicationsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.37\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.37\')'" * @generated */ boolean validateComplicationsSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface ComplicationsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProblemObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProblemObservation))'" * @generated */ boolean validateComplicationsSectionProblemObservation(DiagnosticChain diagnostics, Map context); @@ -102,7 +97,7 @@ public interface ComplicationsSection extends Section { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ComplicationsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ComplicationsSection2.java index 6467aceaee..b8cd4d3d92 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ComplicationsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ComplicationsSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -43,7 +39,7 @@ public interface ComplicationsSection2 extends ComplicationsSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.37\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.37\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateComplicationsSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -52,7 +48,7 @@ public interface ComplicationsSection2 extends ComplicationsSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsolPackage.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsolPackage.java index 79db4082a6..435658e958 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsolPackage.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsolPackage.java @@ -4,7 +4,6 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; - import org.eclipse.mdht.uml.cda.CDAPackage; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsultationNote.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsultationNote.java index 567c87a09b..5c97356f41 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsultationNote.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsultationNote.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -36,7 +32,7 @@ public interface ConsultationNote extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateConsultationNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( @@ -49,7 +45,7 @@ boolean validateConsultationNoteHasAnAssementAndPlanSectionOrIndividualAssementA * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateConsultationNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent( @@ -62,7 +58,7 @@ boolean validateConsultationNoteDoesNotHaveIndividualAssementAndPlanSectionsWhen * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateConsultationNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( @@ -75,7 +71,7 @@ boolean validateConsultationNoteDoesNotHaveChiefComplaintAndReasonForVisitWithCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection)) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection)) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticChain diagnostics, @@ -100,7 +96,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateConsultationNoteComponentOf(DiagnosticChain diagnostics, Map context); @@ -112,7 +108,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateConsultationNoteAssessmentSection(DiagnosticChain diagnostics, Map context); @@ -124,7 +120,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateConsultationNoteAssessmentAndPlanSection(DiagnosticChain diagnostics, Map context); @@ -136,7 +132,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" * @generated */ boolean validateConsultationNotePlanOfCareSection(DiagnosticChain diagnostics, Map context); @@ -148,7 +144,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateConsultationNoteHistoryOfPresentIllness(DiagnosticChain diagnostics, Map context); @@ -160,7 +156,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))'" * @generated */ boolean validateConsultationNotePhysicalExamSection(DiagnosticChain diagnostics, Map context); @@ -172,7 +168,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection))'" * @generated */ boolean validateConsultationNoteReasonForReferralSection(DiagnosticChain diagnostics, Map context); @@ -184,7 +180,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateConsultationNoteReasonForVisitSection(DiagnosticChain diagnostics, Map context); @@ -196,7 +192,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" * @generated */ boolean validateConsultationNoteAllergiesSection(DiagnosticChain diagnostics, Map context); @@ -208,7 +204,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateConsultationNoteChiefComplaintSection(DiagnosticChain diagnostics, Map context); @@ -220,7 +216,7 @@ boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateConsultationNoteChiefComplaintAndReasonForVisitSection(DiagnosticChain diagnostics, @@ -233,7 +229,7 @@ boolean validateConsultationNoteChiefComplaintAndReasonForVisitSection(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" * @generated */ boolean validateConsultationNoteFamilyHistorySection(DiagnosticChain diagnostics, Map context); @@ -245,7 +241,7 @@ boolean validateConsultationNoteChiefComplaintAndReasonForVisitSection(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" * @generated */ boolean validateConsultationNoteGeneralStatusSection(DiagnosticChain diagnostics, Map context); @@ -257,7 +253,7 @@ boolean validateConsultationNoteChiefComplaintAndReasonForVisitSection(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))'" * @generated */ boolean validateConsultationNoteHistoryOfPastIllnessSection(DiagnosticChain diagnostics, @@ -270,7 +266,7 @@ boolean validateConsultationNoteHistoryOfPastIllnessSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection))'" * @generated */ boolean validateConsultationNoteImmunizationsSection(DiagnosticChain diagnostics, Map context); @@ -282,7 +278,7 @@ boolean validateConsultationNoteHistoryOfPastIllnessSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))'" * @generated */ boolean validateConsultationNoteMedicationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -295,7 +291,7 @@ boolean validateConsultationNoteMedicationsSectionEntriesOptional(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))'" * @generated */ boolean validateConsultationNoteProblemSectionEntriesOptional(DiagnosticChain diagnostics, @@ -308,7 +304,7 @@ boolean validateConsultationNoteProblemSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))'" * @generated */ boolean validateConsultationNoteProceduresSectionEntriesOptional(DiagnosticChain diagnostics, @@ -321,7 +317,7 @@ boolean validateConsultationNoteProceduresSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))'" * @generated */ boolean validateConsultationNoteResultsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -334,7 +330,7 @@ boolean validateConsultationNoteResultsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateConsultationNoteReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -346,7 +342,7 @@ boolean validateConsultationNoteResultsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" * @generated */ boolean validateConsultationNoteSocialHistorySection(DiagnosticChain diagnostics, Map context); @@ -358,7 +354,7 @@ boolean validateConsultationNoteResultsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" * @generated */ boolean validateConsultationNoteVitalSignsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -371,7 +367,7 @@ boolean validateConsultationNoteVitalSignsSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" * @generated */ boolean validateConsultationNoteInFulfillmentOf(DiagnosticChain diagnostics, Map context); @@ -383,7 +379,7 @@ boolean validateConsultationNoteVitalSignsSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsiblePartyAssignedEntityHasPersonOrganizationOrBoth( @@ -396,7 +392,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsiblePartyAssignedEntity( @@ -409,7 +405,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterParticipantAssignedEntityHasPersonOrganizationOrBoth( @@ -422,7 +418,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterParticipantAssignedEntity( @@ -435,7 +431,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 8)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 8)'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheDay(DiagnosticChain diagnostics, @@ -448,7 +444,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheDay * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 12)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 12)'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheMinute(DiagnosticChain diagnostics, @@ -461,7 +457,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheMin * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 14)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 14)'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheSecond(DiagnosticChain diagnostics, @@ -474,7 +470,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheSec * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() and effectiveTime.value.size() > 8 implies effectiveTime.value.size() >= 15)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() and effectiveTime.value.size() > 8 implies effectiveTime.value.size() >= 15)'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2IfMorePreciseThanDayIncludeTimeZoneOffset( @@ -487,7 +483,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2IfMorePreciseTh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2EffectiveTime(DiagnosticChain diagnostics, @@ -500,7 +496,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2EffectiveTime(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2Id(DiagnosticChain diagnostics, @@ -513,7 +509,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2Id(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsibleParty(DiagnosticChain diagnostics, @@ -526,7 +522,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->exists(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->exists(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterParticipant(DiagnosticChain diagnostics, @@ -539,7 +535,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -552,7 +548,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateConsultationNoteInFulfillmentOfOrderId(DiagnosticChain diagnostics, Map context); @@ -564,7 +560,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" * @generated */ boolean validateConsultationNoteInFulfillmentOfOrder(DiagnosticChain diagnostics, Map context); @@ -573,7 +569,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -582,7 +578,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection)'" * @generated */ AssessmentAndPlanSection getAssessmentAndPlanSection(); @@ -591,7 +587,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" * @generated */ PlanOfCareSection getPlanOfCareSection(); @@ -600,7 +596,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllness(); @@ -609,7 +605,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection)'" * @generated */ PhysicalExamSection getPhysicalExamSection(); @@ -618,7 +614,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection))->asSequence()->any(true).oclAsType(consol::ReasonForReferralSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection))->asSequence()->any(true).oclAsType(consol::ReasonForReferralSection)'" * @generated */ ReasonForReferralSection getReasonForReferralSection(); @@ -627,7 +623,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" * @generated */ ReasonForVisitSection getReasonForVisitSection(); @@ -636,7 +632,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" * @generated */ AllergiesSectionEntriesOptional getAllergiesSection(); @@ -645,7 +641,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -654,7 +650,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" * @generated */ ChiefComplaintAndReasonForVisitSection getChiefComplaintAndReasonForVisitSection(); @@ -663,7 +659,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" * @generated */ FamilyHistorySection getFamilyHistorySection(); @@ -672,7 +668,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" * @generated */ GeneralStatusSection getGeneralStatusSection(); @@ -681,7 +677,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection)'" * @generated */ HistoryOfPastIllnessSection getHistoryOfPastIllnessSection(); @@ -690,7 +686,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection))->asSequence()->any(true).oclAsType(consol::ImmunizationsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection))->asSequence()->any(true).oclAsType(consol::ImmunizationsSection)'" * @generated */ ImmunizationsSection getImmunizationsSection(); @@ -699,7 +695,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional)'" * @generated */ MedicationsSectionEntriesOptional getMedicationsSectionEntriesOptional(); @@ -708,7 +704,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional)'" * @generated */ ProblemSectionEntriesOptional getProblemSectionEntriesOptional(); @@ -717,7 +713,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional)'" * @generated */ ProceduresSectionEntriesOptional getProceduresSectionEntriesOptional(); @@ -726,7 +722,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional)'" * @generated */ ResultsSectionEntriesOptional getResultsSectionEntriesOptional(); @@ -735,7 +731,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -744,7 +740,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" * @generated */ SocialHistorySection getSocialHistorySection(); @@ -753,7 +749,7 @@ boolean validateConsultationNoteComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" * @generated */ VitalSignsSectionEntriesOptional getVitalSignsSectionEntriesOptional(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsultationNote2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsultationNote2.java index 0131a13387..1d9cafe2c8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsultationNote2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ConsultationNote2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -39,7 +35,7 @@ public interface ConsultationNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateConsultationNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( @@ -52,7 +48,7 @@ boolean validateConsultationNote2HasAnAssementAndPlanSection2OrBothAssementSecti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateConsultationNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent( @@ -65,7 +61,7 @@ boolean validateConsultationNote2DoesNotHaveAssementAndPlanSection2WhenAssementO * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateConsultationNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReasonForVisitSection( @@ -78,7 +74,7 @@ boolean validateConsultationNote2DoesNotHaveChiefComplaintWithChiefComplaintOrRe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateConsultationNote2HasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( @@ -115,7 +111,7 @@ boolean validateConsultationNote2HasAnAssementAndPlanSectionOrIndividualAssement * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::CALLBCK)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::CALLBCK)->notEmpty()'" * @generated */ boolean validateConsultationNote2Participant(DiagnosticChain diagnostics, Map context); @@ -127,7 +123,7 @@ boolean validateConsultationNote2HasAnAssementAndPlanSectionOrIndividualAssement * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" * @generated */ boolean validateConsultationNote2InFulfillmentOf(DiagnosticChain diagnostics, Map context); @@ -139,7 +135,7 @@ boolean validateConsultationNote2HasAnAssementAndPlanSectionOrIndividualAssement * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateConsultationNote2ComponentOf(DiagnosticChain diagnostics, Map context); @@ -151,7 +147,7 @@ boolean validateConsultationNote2HasAnAssementAndPlanSectionOrIndividualAssement * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateConsultationNote2AssessmentSection(DiagnosticChain diagnostics, Map context); @@ -163,7 +159,7 @@ boolean validateConsultationNote2HasAnAssementAndPlanSectionOrIndividualAssement * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateConsultationNote2AssessmentAndPlanSection2(DiagnosticChain diagnostics, @@ -176,7 +172,7 @@ boolean validateConsultationNote2AssessmentAndPlanSection2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateConsultationNote2PlanOfTreatmentSection2(DiagnosticChain diagnostics, Map context); @@ -188,7 +184,7 @@ boolean validateConsultationNote2AssessmentAndPlanSection2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateConsultationNote2ReasonForVisitSection(DiagnosticChain diagnostics, Map context); @@ -200,7 +196,7 @@ boolean validateConsultationNote2AssessmentAndPlanSection2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateConsultationNote2HistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -213,7 +209,7 @@ boolean validateConsultationNote2HistoryOfPresentIllnessSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" * @generated */ boolean validateConsultationNote2PhysicalExamSection2(DiagnosticChain diagnostics, Map context); @@ -225,7 +221,7 @@ boolean validateConsultationNote2HistoryOfPresentIllnessSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))'" * @generated */ boolean validateConsultationNote2AllergiesSection2(DiagnosticChain diagnostics, Map context); @@ -237,7 +233,7 @@ boolean validateConsultationNote2HistoryOfPresentIllnessSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateConsultationNote2ChiefComplaintSection(DiagnosticChain diagnostics, Map context); @@ -249,7 +245,7 @@ boolean validateConsultationNote2HistoryOfPresentIllnessSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateConsultationNote2ChiefComplaintAndReasonForVisitSection(DiagnosticChain diagnostics, @@ -262,7 +258,7 @@ boolean validateConsultationNote2ChiefComplaintAndReasonForVisitSection(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" * @generated */ boolean validateConsultationNote2GeneralStatusSection(DiagnosticChain diagnostics, Map context); @@ -274,7 +270,7 @@ boolean validateConsultationNote2ChiefComplaintAndReasonForVisitSection(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" * @generated */ boolean validateConsultationNote2HistoryOfPastIllnessSection2(DiagnosticChain diagnostics, @@ -287,7 +283,7 @@ boolean validateConsultationNote2HistoryOfPastIllnessSection2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))'" * @generated */ boolean validateConsultationNote2ImmunizationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -300,7 +296,7 @@ boolean validateConsultationNote2ImmunizationsSectionEntriesOptional2(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))'" * @generated */ boolean validateConsultationNote2MedicationsSection2(DiagnosticChain diagnostics, Map context); @@ -312,7 +308,7 @@ boolean validateConsultationNote2ImmunizationsSectionEntriesOptional2(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))'" * @generated */ boolean validateConsultationNote2ProblemSection2(DiagnosticChain diagnostics, Map context); @@ -324,7 +320,7 @@ boolean validateConsultationNote2ImmunizationsSectionEntriesOptional2(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" * @generated */ boolean validateConsultationNote2ProceduresSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -337,7 +333,7 @@ boolean validateConsultationNote2ProceduresSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))'" * @generated */ boolean validateConsultationNote2ResultsSection2(DiagnosticChain diagnostics, Map context); @@ -349,7 +345,7 @@ boolean validateConsultationNote2ProceduresSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" * @generated */ boolean validateConsultationNote2SocialHistorySection2(DiagnosticChain diagnostics, Map context); @@ -361,7 +357,7 @@ boolean validateConsultationNote2ProceduresSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))'" * @generated */ boolean validateConsultationNote2VitalSignsSection2(DiagnosticChain diagnostics, Map context); @@ -373,7 +369,7 @@ boolean validateConsultationNote2ProceduresSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))'" * @generated */ boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -386,7 +382,7 @@ boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" * @generated */ boolean validateConsultationNote2FunctionalStatusSection2(DiagnosticChain diagnostics, Map context); @@ -398,7 +394,7 @@ boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateConsultationNote2ReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -410,7 +406,7 @@ boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))'" * @generated */ boolean validateConsultationNote2MedicalEquipmentSection2(DiagnosticChain diagnostics, Map context); @@ -422,7 +418,7 @@ boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))'" * @generated */ boolean validateConsultationNote2MentalStatusSection(DiagnosticChain diagnostics, Map context); @@ -434,7 +430,7 @@ boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" * @generated */ boolean validateConsultationNote2NutritionSection(DiagnosticChain diagnostics, Map context); @@ -446,7 +442,7 @@ boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" * @generated */ boolean validateConsultationNote2FamilyHistorySection2(DiagnosticChain diagnostics, Map context); @@ -458,7 +454,7 @@ boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateConsultationNote2ParticipantAssociatedEntityAssociatedPersonName(DiagnosticChain diagnostics, @@ -471,7 +467,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntityAssociatedPersonName * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(classCode=vocab::RoleClassAssociative::ASSIGNED)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(classCode=vocab::RoleClassAssociative::ASSIGNED)'" * @generated */ boolean validateConsultationNote2ParticipantAssociatedEntityClassCode(DiagnosticChain diagnostics, @@ -484,7 +480,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntityClassCode(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateConsultationNote2ParticipantAssociatedEntityId(DiagnosticChain diagnostics, @@ -497,7 +493,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntityId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateConsultationNote2ParticipantAssociatedEntityAddr(DiagnosticChain diagnostics, @@ -510,7 +506,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntityAddr(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateConsultationNote2ParticipantAssociatedEntityTelecom(DiagnosticChain diagnostics, @@ -523,7 +519,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntityTelecom(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateConsultationNote2ParticipantAssociatedEntityAssociatedPerson(DiagnosticChain diagnostics, @@ -536,7 +532,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntityAssociatedPerson(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(scopingOrganization->one(scopingOrganization : cda::Organization | not scopingOrganization.oclIsUndefined() and scopingOrganization.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(scopingOrganization->one(scopingOrganization : cda::Organization | not scopingOrganization.oclIsUndefined() and scopingOrganization.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateConsultationNote2ParticipantAssociatedEntityScopingOrganization(DiagnosticChain diagnostics, @@ -549,7 +545,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntityScopingOrganization( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK)->select(typeCode = vocab::ParticipationType::CALLBCK)->reject(typeCode=vocab::ParticipationType::CALLBCK)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK)->select(typeCode = vocab::ParticipationType::CALLBCK)->reject(typeCode=vocab::ParticipationType::CALLBCK)'" * @generated */ boolean validateConsultationNote2ParticipantTypeCode(DiagnosticChain diagnostics, Map context); @@ -561,7 +557,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntityScopingOrganization( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK)->select(typeCode = vocab::ParticipationType::CALLBCK)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK)->select(typeCode = vocab::ParticipationType::CALLBCK)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateConsultationNote2ParticipantAssociatedEntity(DiagnosticChain diagnostics, @@ -574,7 +570,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateConsultationNote2InFulfillmentOfOrderId(DiagnosticChain diagnostics, Map context); @@ -586,7 +582,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" * @generated */ boolean validateConsultationNote2InFulfillmentOfOrder(DiagnosticChain diagnostics, Map context); @@ -598,7 +594,7 @@ boolean validateConsultationNote2ParticipantAssociatedEntity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 8) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 8) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 8))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 8) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 8) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 8))))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS( @@ -611,7 +607,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 12) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 12) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 12))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 12) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 12) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 12))))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS( @@ -624,7 +620,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 14) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 14) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 14))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 14) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 14) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 14))))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS( @@ -637,7 +633,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject((not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15) and ((not low.value.oclIsUndefined() and low.value.size() > 8 implies low.value.size() >= 15) and (not high.value.oclIsUndefined() and high.value.size() > 8 implies high.value.size() >= 15)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject((not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15) and ((not low.value.oclIsUndefined() and low.value.size() > 8 implies low.value.size() >= 15) and (not high.value.oclIsUndefined() and high.value.size() > 8 implies high.value.size() >= 15)))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS( @@ -650,7 +646,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrganizationOrBoth( @@ -663,7 +659,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity( @@ -676,7 +672,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrganizationOrBoth( @@ -689,7 +685,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity( @@ -702,7 +698,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterId(DiagnosticChain diagnostics, @@ -715,7 +711,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterId(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterEffectiveTime(DiagnosticChain diagnostics, @@ -728,7 +724,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterEffectiveTime(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsibleParty(DiagnosticChain diagnostics, @@ -741,7 +737,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->exists(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->exists(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterParticipant(DiagnosticChain diagnostics, @@ -754,7 +750,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -764,7 +760,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -773,7 +769,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" * @generated */ AssessmentAndPlanSection2 getAssessmentAndPlanSection2(); @@ -782,7 +778,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -791,7 +787,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" * @generated */ ReasonForVisitSection getReasonForVisitSection(); @@ -800,7 +796,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -809,7 +805,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" * @generated */ PhysicalExamSection2 getPhysicalExamSection2(); @@ -818,7 +814,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))->asSequence()->any(true).oclAsType(consol::AllergiesSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))->asSequence()->any(true).oclAsType(consol::AllergiesSection2)'" * @generated */ AllergiesSection2 getAllergiesSection2(); @@ -827,7 +823,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -836,7 +832,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" * @generated */ ChiefComplaintAndReasonForVisitSection getChiefComplaintAndReasonForVisitSection(); @@ -845,7 +841,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" * @generated */ GeneralStatusSection getGeneralStatusSection(); @@ -854,7 +850,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" * @generated */ HistoryOfPastIllnessSection2 getHistoryOfPastIllnessSection2(); @@ -863,7 +859,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional2)'" * @generated */ ImmunizationsSectionEntriesOptional2 getImmunizationsSectionEntriesOptional2(); @@ -872,7 +868,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))->asSequence()->any(true).oclAsType(consol::MedicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))->asSequence()->any(true).oclAsType(consol::MedicationsSection2)'" * @generated */ MedicationsSection2 getMedicationsSection2(); @@ -881,7 +877,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))->asSequence()->any(true).oclAsType(consol::ProblemSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))->asSequence()->any(true).oclAsType(consol::ProblemSection2)'" * @generated */ ProblemSection2 getProblemSection2(); @@ -890,7 +886,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" * @generated */ ProceduresSectionEntriesOptional2 getProceduresSectionEntriesOptional2(); @@ -899,7 +895,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))->asSequence()->any(true).oclAsType(consol::ResultsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))->asSequence()->any(true).oclAsType(consol::ResultsSection2)'" * @generated */ ResultsSection2 getResultsSection2(); @@ -908,7 +904,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" * @generated */ SocialHistorySection2 getSocialHistorySection2(); @@ -917,7 +913,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))->asSequence()->any(true).oclAsType(consol::VitalSignsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))->asSequence()->any(true).oclAsType(consol::VitalSignsSection2)'" * @generated */ VitalSignsSection2 getVitalSignsSection2(); @@ -926,7 +922,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSectionEntriesOptional2)'" * @generated */ AdvanceDirectivesSectionEntriesOptional2 getAdvanceDirectivesSectionEntriesOptional2(); @@ -935,7 +931,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" * @generated */ FunctionalStatusSection2 getFunctionalStatusSection2(); @@ -944,7 +940,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -953,7 +949,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection2)'" * @generated */ MedicalEquipmentSection2 getMedicalEquipmentSection2(); @@ -962,7 +958,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))->asSequence()->any(true).oclAsType(consol::MentalStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))->asSequence()->any(true).oclAsType(consol::MentalStatusSection)'" * @generated */ MentalStatusSection getMentalStatusSection(); @@ -971,7 +967,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" * @generated */ NutritionSection getNutritionSection(); @@ -980,7 +976,7 @@ boolean validateConsultationNote2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" * @generated */ FamilyHistorySection2 getFamilyHistorySection2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ContinuityOfCareDocument.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ContinuityOfCareDocument.java index cedead6f75..4604c42ba1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ContinuityOfCareDocument.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ContinuityOfCareDocument.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -79,7 +75,7 @@ public interface ContinuityOfCareDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOf(DiagnosticChain diagnostics, Map context); @@ -91,7 +87,7 @@ public interface ContinuityOfCareDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" * @generated */ boolean validateContinuityOfCareDocumentAuthor(DiagnosticChain diagnostics, Map context); @@ -103,7 +99,7 @@ public interface ContinuityOfCareDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection))'" * @generated */ boolean validateContinuityOfCareDocumentAllergiesSection(DiagnosticChain diagnostics, Map context); @@ -115,7 +111,7 @@ public interface ContinuityOfCareDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection))'" * @generated */ boolean validateContinuityOfCareDocumentMedicationsSection(DiagnosticChain diagnostics, @@ -128,7 +124,7 @@ boolean validateContinuityOfCareDocumentMedicationsSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection))'" * @generated */ boolean validateContinuityOfCareDocumentProblemSection(DiagnosticChain diagnostics, Map context); @@ -140,7 +136,7 @@ boolean validateContinuityOfCareDocumentMedicationsSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection))'" * @generated */ boolean validateContinuityOfCareDocumentProceduresSection(DiagnosticChain diagnostics, Map context); @@ -152,7 +148,7 @@ boolean validateContinuityOfCareDocumentMedicationsSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection))'" * @generated */ boolean validateContinuityOfCareDocumentResultsSection(DiagnosticChain diagnostics, Map context); @@ -164,7 +160,7 @@ boolean validateContinuityOfCareDocumentMedicationsSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSection))'" * @generated */ boolean validateContinuityOfCareDocumentAdvanceDirectivesSection(DiagnosticChain diagnostics, @@ -177,7 +173,7 @@ boolean validateContinuityOfCareDocumentAdvanceDirectivesSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSection))'" * @generated */ boolean validateContinuityOfCareDocumentEncountersSection(DiagnosticChain diagnostics, Map context); @@ -189,7 +185,7 @@ boolean validateContinuityOfCareDocumentAdvanceDirectivesSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" * @generated */ boolean validateContinuityOfCareDocumentFamilyHistorySection(DiagnosticChain diagnostics, @@ -202,7 +198,7 @@ boolean validateContinuityOfCareDocumentFamilyHistorySection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection))'" * @generated */ boolean validateContinuityOfCareDocumentFunctionalStatusSection(DiagnosticChain diagnostics, @@ -215,7 +211,7 @@ boolean validateContinuityOfCareDocumentFunctionalStatusSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))'" * @generated */ boolean validateContinuityOfCareDocumentImmunizationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -228,7 +224,7 @@ boolean validateContinuityOfCareDocumentImmunizationsSectionEntriesOptional(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection))'" * @generated */ boolean validateContinuityOfCareDocumentMedicalEquipmentSection(DiagnosticChain diagnostics, @@ -241,7 +237,7 @@ boolean validateContinuityOfCareDocumentMedicalEquipmentSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection))'" * @generated */ boolean validateContinuityOfCareDocumentPayersSection(DiagnosticChain diagnostics, Map context); @@ -253,7 +249,7 @@ boolean validateContinuityOfCareDocumentMedicalEquipmentSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" * @generated */ boolean validateContinuityOfCareDocumentPlanOfCareSection(DiagnosticChain diagnostics, Map context); @@ -265,7 +261,7 @@ boolean validateContinuityOfCareDocumentMedicalEquipmentSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" * @generated */ boolean validateContinuityOfCareDocumentSocialHistorySection(DiagnosticChain diagnostics, @@ -278,7 +274,7 @@ boolean validateContinuityOfCareDocumentSocialHistorySection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" * @generated */ boolean validateContinuityOfCareDocumentVitalSignsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -291,7 +287,7 @@ boolean validateContinuityOfCareDocumentVitalSignsSectionEntriesOptional(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTimeHigh(DiagnosticChain diagnostics, @@ -304,7 +300,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTime * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTimeLow(DiagnosticChain diagnostics, @@ -317,7 +313,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTime * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject(id->exists(root=\'2.16.840.1.113883.4.6\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject(id->exists(root=\'2.16.840.1.113883.4.6\'))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssignedEntityHasNationalProviderIdentifier( @@ -330,7 +326,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nnot value.codeSystem.oclIsUndefined() or not value.codeSystemName.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nnot value.codeSystem.oclIsUndefined() or not value.codeSystemName.oclIsUndefined()))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssignedEntityCode( @@ -343,7 +339,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssignedEntityId( @@ -356,7 +352,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PRF)'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerTypeCode(DiagnosticChain diagnostics, @@ -369,7 +365,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerType * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssignedEntity( @@ -382,7 +378,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventClassCode(DiagnosticChain diagnostics, @@ -395,7 +391,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventClassCode(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTime(DiagnosticChain diagnostics, @@ -408,7 +404,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTime * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->notEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->notEmpty())'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformer(DiagnosticChain diagnostics, @@ -421,7 +417,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEventPerformer(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateContinuityOfCareDocumentDocumentationOfServiceEvent(DiagnosticChain diagnostics, @@ -434,7 +430,7 @@ boolean validateContinuityOfCareDocumentDocumentationOfServiceEvent(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((not assignedPerson.oclIsUndefined()) or (not representedOrganization.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((not assignedPerson.oclIsUndefined()) or (not representedOrganization.oclIsUndefined()))'" * @generated */ boolean validateContinuityOfCareDocumentAuthorAssignedAuthorHasAssignedPersonOrRepresentedOrganization( @@ -447,7 +443,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthorHasAssignedPersonOrR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((not representedOrganization.oclIsUndefined() and assignedPerson.oclIsUndefined() and assignedAuthoringDevice.oclIsUndefined()) implies id->exists(id | not id.isNullFlavorUndefined() and id.nullFlavor = vocab::NullFlavor::NA))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((not representedOrganization.oclIsUndefined() and assignedPerson.oclIsUndefined() and assignedAuthoringDevice.oclIsUndefined()) implies id->exists(id | not id.isNullFlavorUndefined() and id.nullFlavor = vocab::NullFlavor::NA))'" * @generated */ boolean validateContinuityOfCareDocumentAuthorAssignedAuthorHasRepresentOrganization(DiagnosticChain diagnostics, @@ -460,7 +456,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthorHasRepresentOrganiza * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" * @generated */ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain diagnostics, @@ -470,7 +466,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection))->asSequence()->any(true).oclAsType(consol::AllergiesSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection))->asSequence()->any(true).oclAsType(consol::AllergiesSection)'" * @generated */ AllergiesSection getAllergiesSection(); @@ -479,7 +475,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection))->asSequence()->any(true).oclAsType(consol::MedicationsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection))->asSequence()->any(true).oclAsType(consol::MedicationsSection)'" * @generated */ MedicationsSection getMedicationsSection(); @@ -488,7 +484,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection))->asSequence()->any(true).oclAsType(consol::ProblemSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection))->asSequence()->any(true).oclAsType(consol::ProblemSection)'" * @generated */ ProblemSection getProblemSection(); @@ -497,7 +493,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection))->asSequence()->any(true).oclAsType(consol::ProceduresSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection))->asSequence()->any(true).oclAsType(consol::ProceduresSection)'" * @generated */ ProceduresSection getProceduresSection(); @@ -506,7 +502,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection))->asSequence()->any(true).oclAsType(consol::ResultsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection))->asSequence()->any(true).oclAsType(consol::ResultsSection)'" * @generated */ ResultsSection getResultsSection(); @@ -515,7 +511,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSection))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSection))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSection)'" * @generated */ AdvanceDirectivesSection getAdvanceDirectivesSection(); @@ -524,7 +520,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSection))->asSequence()->any(true).oclAsType(consol::EncountersSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSection))->asSequence()->any(true).oclAsType(consol::EncountersSection)'" * @generated */ EncountersSection getEncountersSection(); @@ -533,7 +529,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" * @generated */ FamilyHistorySection getFamilyHistorySection(); @@ -542,7 +538,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection)'" * @generated */ FunctionalStatusSection getFunctionalStatusSection(); @@ -551,7 +547,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional)'" * @generated */ ImmunizationsSectionEntriesOptional getImmunizationsSectionEntriesOptional(); @@ -560,7 +556,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection)'" * @generated */ MedicalEquipmentSection getMedicalEquipmentSection(); @@ -569,7 +565,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection))->asSequence()->any(true).oclAsType(consol::PayersSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection))->asSequence()->any(true).oclAsType(consol::PayersSection)'" * @generated */ PayersSection getPayersSection(); @@ -578,7 +574,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" * @generated */ PlanOfCareSection getPlanOfCareSection(); @@ -587,7 +583,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" * @generated */ SocialHistorySection getSocialHistorySection(); @@ -596,7 +592,7 @@ boolean validateContinuityOfCareDocumentAuthorAssignedAuthor(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" * @generated */ VitalSignsSectionEntriesOptional getVitalSignsSectionEntriesOptional(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ContinuityOfCareDocument2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ContinuityOfCareDocument2.java index 1c22567c94..91387fb02f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ContinuityOfCareDocument2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ContinuityOfCareDocument2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -61,7 +57,7 @@ public interface ContinuityOfCareDocument2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" * @generated */ boolean validateContinuityOfCareDocument2Author(DiagnosticChain diagnostics, Map context); @@ -73,7 +69,7 @@ public interface ContinuityOfCareDocument2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOf(DiagnosticChain diagnostics, Map context); @@ -85,7 +81,7 @@ public interface ContinuityOfCareDocument2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))'" * @generated */ boolean validateContinuityOfCareDocument2AllergiesSection2(DiagnosticChain diagnostics, @@ -98,7 +94,7 @@ boolean validateContinuityOfCareDocument2AllergiesSection2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))'" * @generated */ boolean validateContinuityOfCareDocument2MedicationsSection2(DiagnosticChain diagnostics, @@ -111,7 +107,7 @@ boolean validateContinuityOfCareDocument2MedicationsSection2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))'" * @generated */ boolean validateContinuityOfCareDocument2ProblemSection2(DiagnosticChain diagnostics, Map context); @@ -123,7 +119,7 @@ boolean validateContinuityOfCareDocument2MedicationsSection2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection2))'" * @generated */ boolean validateContinuityOfCareDocument2ProceduresSection2(DiagnosticChain diagnostics, @@ -136,7 +132,7 @@ boolean validateContinuityOfCareDocument2ProceduresSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))'" * @generated */ boolean validateContinuityOfCareDocument2ResultsSection2(DiagnosticChain diagnostics, Map context); @@ -148,7 +144,7 @@ boolean validateContinuityOfCareDocument2ProceduresSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))'" * @generated */ boolean validateContinuityOfCareDocument2AdvanceDirectivesSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -161,7 +157,7 @@ boolean validateContinuityOfCareDocument2AdvanceDirectivesSectionEntriesOptional * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSectionEntriesOptional2))'" * @generated */ boolean validateContinuityOfCareDocument2EncountersSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -174,7 +170,7 @@ boolean validateContinuityOfCareDocument2EncountersSectionEntriesOptional2(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" * @generated */ boolean validateContinuityOfCareDocument2FunctionalStatusSection2(DiagnosticChain diagnostics, @@ -187,7 +183,7 @@ boolean validateContinuityOfCareDocument2FunctionalStatusSection2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection2))'" * @generated */ boolean validateContinuityOfCareDocument2ImmunizationsSection2(DiagnosticChain diagnostics, @@ -200,7 +196,7 @@ boolean validateContinuityOfCareDocument2ImmunizationsSection2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))'" * @generated */ boolean validateContinuityOfCareDocument2MedicalEquipmentSection2(DiagnosticChain diagnostics, @@ -213,7 +209,7 @@ boolean validateContinuityOfCareDocument2MedicalEquipmentSection2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection2))'" * @generated */ boolean validateContinuityOfCareDocument2PayersSection2(DiagnosticChain diagnostics, Map context); @@ -225,7 +221,7 @@ boolean validateContinuityOfCareDocument2MedicalEquipmentSection2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateContinuityOfCareDocument2PlanOfTreatmentSection2(DiagnosticChain diagnostics, @@ -238,7 +234,7 @@ boolean validateContinuityOfCareDocument2PlanOfTreatmentSection2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" * @generated */ boolean validateContinuityOfCareDocument2SocialHistorySection2(DiagnosticChain diagnostics, @@ -251,7 +247,7 @@ boolean validateContinuityOfCareDocument2SocialHistorySection2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))'" * @generated */ boolean validateContinuityOfCareDocument2VitalSignsSection2(DiagnosticChain diagnostics, @@ -264,7 +260,7 @@ boolean validateContinuityOfCareDocument2VitalSignsSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))'" * @generated */ boolean validateContinuityOfCareDocument2MentalStatusSection(DiagnosticChain diagnostics, @@ -277,7 +273,7 @@ boolean validateContinuityOfCareDocument2MentalStatusSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" * @generated */ boolean validateContinuityOfCareDocument2NutritionSection(DiagnosticChain diagnostics, Map context); @@ -289,7 +285,7 @@ boolean validateContinuityOfCareDocument2MentalStatusSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" * @generated */ boolean validateContinuityOfCareDocument2FamilyHistorySection2(DiagnosticChain diagnostics, @@ -302,7 +298,7 @@ boolean validateContinuityOfCareDocument2FamilyHistorySection2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject(not assignedPerson.oclIsUndefined() or (not assignedAuthoringDevice.oclIsUndefined() and not representedOrganization.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject(not assignedPerson.oclIsUndefined() or (not assignedAuthoringDevice.oclIsUndefined() and not representedOrganization.oclIsUndefined()))'" * @generated */ boolean validateContinuityOfCareDocument2AuthorAssignedAuthorHasAssignedPersonOrRepresentedOrganization( @@ -315,7 +311,7 @@ boolean validateContinuityOfCareDocument2AuthorAssignedAuthorHasAssignedPersonOr * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((not representedOrganization.oclIsUndefined() and assignedPerson.oclIsUndefined() and assignedAuthoringDevice.oclIsUndefined()) implies id->exists(id | not id.isNullFlavorUndefined() and id.nullFlavor = vocab::NullFlavor::NA))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((not representedOrganization.oclIsUndefined() and assignedPerson.oclIsUndefined() and assignedAuthoringDevice.oclIsUndefined()) implies id->exists(id | not id.isNullFlavorUndefined() and id.nullFlavor = vocab::NullFlavor::NA))'" * @generated */ boolean validateContinuityOfCareDocument2AuthorAssignedAuthorHasRepresentOrganization(DiagnosticChain diagnostics, @@ -328,7 +324,7 @@ boolean validateContinuityOfCareDocument2AuthorAssignedAuthorHasRepresentOrganiz * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" * @generated */ boolean validateContinuityOfCareDocument2AuthorAssignedAuthor(DiagnosticChain diagnostics, @@ -341,7 +337,7 @@ boolean validateContinuityOfCareDocument2AuthorAssignedAuthor(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventIVLTSLow(DiagnosticChain diagnostics, @@ -354,7 +350,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventIVLTSLow(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventIVLTSHigh(DiagnosticChain diagnostics, @@ -367,7 +363,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventIVLTSHigh(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject((not assignedPerson.oclIsUndefined() and not id->isEmpty()) implies id->exists(id | (id.isNullFlavorDefined() and id.extension->isEmpty() and id.root->isEmpty()) or (id.isNullFlavorDefined() and id.root=\'2.16.840.1.113883.4.6\') or (id.root=\'2.16.840.1.113883.4.6\' and id.extension->size() = 1)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject((not assignedPerson.oclIsUndefined() and not id->isEmpty()) implies id->exists(id | (id.isNullFlavorDefined() and id.extension->isEmpty() and id.root->isEmpty()) or (id.isNullFlavorDefined() and id.root=\'2.16.840.1.113883.4.6\') or (id.root=\'2.16.840.1.113883.4.6\' and id.extension->size() = 1)))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerAssignedEntityHasNationalProviderIdentifier( @@ -380,7 +376,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerAss * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerAssignedEntityId( @@ -393,7 +389,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerAss * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerAssignedEntityAssignedPerson( @@ -406,7 +402,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerAss * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PRF)'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerTypeCode(DiagnosticChain diagnostics, @@ -419,7 +415,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerTyp * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerAssignedEntity( @@ -432,7 +428,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformerAss * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventClassCode(DiagnosticChain diagnostics, @@ -445,7 +441,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventClassCode(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventEffectiveTime(DiagnosticChain diagnostics, @@ -458,7 +454,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventEffectiveTim * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->notEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->notEmpty())'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformer(DiagnosticChain diagnostics, @@ -471,7 +467,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEventPerformer(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticChain diagnostics, @@ -481,7 +477,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))->asSequence()->any(true).oclAsType(consol::AllergiesSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))->asSequence()->any(true).oclAsType(consol::AllergiesSection2)'" * @generated */ AllergiesSection2 getAllergiesSection2(); @@ -490,7 +486,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))->asSequence()->any(true).oclAsType(consol::MedicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))->asSequence()->any(true).oclAsType(consol::MedicationsSection2)'" * @generated */ MedicationsSection2 getMedicationsSection2(); @@ -499,7 +495,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))->asSequence()->any(true).oclAsType(consol::ProblemSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))->asSequence()->any(true).oclAsType(consol::ProblemSection2)'" * @generated */ ProblemSection2 getProblemSection2(); @@ -508,7 +504,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection2))->asSequence()->any(true).oclAsType(consol::ProceduresSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection2))->asSequence()->any(true).oclAsType(consol::ProceduresSection2)'" * @generated */ ProceduresSection2 getProceduresSection2(); @@ -517,7 +513,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))->asSequence()->any(true).oclAsType(consol::ResultsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))->asSequence()->any(true).oclAsType(consol::ResultsSection2)'" * @generated */ ResultsSection2 getResultsSection2(); @@ -526,7 +522,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSectionEntriesOptional2)'" * @generated */ AdvanceDirectivesSectionEntriesOptional2 getAdvanceDirectivesSectionEntriesOptional2(); @@ -535,7 +531,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::EncountersSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::EncountersSectionEntriesOptional2)'" * @generated */ EncountersSectionEntriesOptional2 getEncountersSectionEntriesOptional2(); @@ -544,7 +540,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" * @generated */ FunctionalStatusSection2 getFunctionalStatusSection2(); @@ -553,7 +549,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSection2)'" * @generated */ ImmunizationsSection2 getImmunizationsSection2(); @@ -562,7 +558,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection2)'" * @generated */ MedicalEquipmentSection2 getMedicalEquipmentSection2(); @@ -571,7 +567,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection2))->asSequence()->any(true).oclAsType(consol::PayersSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection2))->asSequence()->any(true).oclAsType(consol::PayersSection2)'" * @generated */ PayersSection2 getPayersSection2(); @@ -580,7 +576,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -589,7 +585,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" * @generated */ SocialHistorySection2 getSocialHistorySection2(); @@ -598,7 +594,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))->asSequence()->any(true).oclAsType(consol::VitalSignsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))->asSequence()->any(true).oclAsType(consol::VitalSignsSection2)'" * @generated */ VitalSignsSection2 getVitalSignsSection2(); @@ -607,7 +603,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))->asSequence()->any(true).oclAsType(consol::MentalStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))->asSequence()->any(true).oclAsType(consol::MentalStatusSection)'" * @generated */ MentalStatusSection getMentalStatusSection(); @@ -616,7 +612,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" * @generated */ NutritionSection getNutritionSection(); @@ -625,7 +621,7 @@ boolean validateContinuityOfCareDocument2DocumentationOfServiceEvent(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" * @generated */ FamilyHistorySection2 getFamilyHistorySection2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CourseOfCareSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CourseOfCareSection.java index b106665b62..43e823d4a0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CourseOfCareSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CourseOfCareSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface CourseOfCareSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.64\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.64\')'" * @generated */ boolean validateCourseOfCareSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CoverageActivity.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CoverageActivity.java index 0514f9f09b..145f87e112 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CoverageActivity.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CoverageActivity.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface CoverageActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->forAll(er : cda::EntryRelationship | not er.sequenceNumber.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->forAll(er : cda::EntryRelationship | not er.sequenceNumber.oclIsUndefined())'" * @generated */ boolean validateCoverageActivityCoverageActivityRelationshipSequenceNumber(DiagnosticChain diagnostics, @@ -46,7 +41,7 @@ boolean validateCoverageActivityCoverageActivityRelationshipSequenceNumber(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.60\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.60\')'" * @generated */ boolean validateCoverageActivityTemplateId(DiagnosticChain diagnostics, Map context); @@ -82,7 +77,7 @@ boolean validateCoverageActivityCoverageActivityRelationshipSequenceNumber(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateCoverageActivityId(DiagnosticChain diagnostics, Map context); @@ -118,7 +113,7 @@ boolean validateCoverageActivityCoverageActivityRelationshipSequenceNumber(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PolicyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PolicyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateCoverageActivityPolicyActivity(DiagnosticChain diagnostics, Map context); @@ -127,7 +122,7 @@ boolean validateCoverageActivityCoverageActivityRelationshipSequenceNumber(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PolicyActivity)).oclAsType(consol::PolicyActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PolicyActivity)).oclAsType(consol::PolicyActivity)'" * @generated */ EList getPolicyActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CoverageActivity2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CoverageActivity2.java index c8c39dc54c..abb8381bc6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CoverageActivity2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CoverageActivity2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -33,7 +29,7 @@ public interface CoverageActivity2 extends CoverageActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.60\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.60\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateCoverageActivity2TemplateId(DiagnosticChain diagnostics, Map context); @@ -57,7 +53,7 @@ public interface CoverageActivity2 extends CoverageActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))'" * @generated */ boolean validateCoverageActivity2EntryRelationship(DiagnosticChain diagnostics, Map context); @@ -69,7 +65,7 @@ public interface CoverageActivity2 extends CoverageActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).sequenceNumber->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not value.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).sequenceNumber->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not value.oclIsUndefined() )))'" * @generated */ boolean validateCoverageActivity2EntryRelationshipINTValue(DiagnosticChain diagnostics, @@ -82,7 +78,7 @@ boolean validateCoverageActivity2EntryRelationshipINTValue(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateCoverageActivity2EntryRelationshipTypeCode(DiagnosticChain diagnostics, @@ -95,7 +91,7 @@ boolean validateCoverageActivity2EntryRelationshipTypeCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject((sequenceNumber.oclIsUndefined() or sequenceNumber.isNullFlavorUndefined()) implies (not sequenceNumber.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject((sequenceNumber.oclIsUndefined() or sequenceNumber.isNullFlavorUndefined()) implies (not sequenceNumber.oclIsUndefined()))'" * @generated */ boolean validateCoverageActivity2EntryRelationshipSequenceNumber(DiagnosticChain diagnostics, @@ -108,7 +104,7 @@ boolean validateCoverageActivity2EntryRelationshipSequenceNumber(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject(act->one(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PolicyActivity2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject(act->one(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PolicyActivity2)))'" * @generated */ boolean validateCoverageActivity2EntryRelationshipPolicyActivity2(DiagnosticChain diagnostics, @@ -118,7 +114,7 @@ boolean validateCoverageActivity2EntryRelationshipPolicyActivity2(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PolicyActivity2)).oclAsType(consol::PolicyActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PolicyActivity2)).oclAsType(consol::PolicyActivity2)'" * @generated */ EList getConsolPolicyActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CriticalityObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CriticalityObservation.java index 9e8ec46ea9..addd1ccd1d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CriticalityObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CriticalityObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface CriticalityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.145\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.145\')'" * @generated */ boolean validateCriticalityObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -116,7 +111,7 @@ public interface CriticalityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1063\' and (value.code = \'CRITL\' or value.code = \'CRITH\' or value.code = \'CRITU\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1063\' and (value.code = \'CRITL\' or value.code = \'CRITH\' or value.code = \'CRITU\')))'" * @generated */ boolean validateCriticalityObservationValue(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface CriticalityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateCriticalityObservationValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CulturalAndReligiousObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CulturalAndReligiousObservation.java index 4952020cb2..9909eeb82a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CulturalAndReligiousObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/CulturalAndReligiousObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface CulturalAndReligiousObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.oclIsTypeOf(datatypes::CD) implies (val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.oclIsTypeOf(datatypes::CD) implies (val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validateCulturalAndReligiousObservationValueOfTypeCDIsFromSnomed(DiagnosticChain diagnostics, @@ -45,7 +40,7 @@ boolean validateCulturalAndReligiousObservationValueOfTypeCDIsFromSnomed(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.111\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.111\')'" * @generated */ boolean validateCulturalAndReligiousObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -81,7 +76,7 @@ boolean validateCulturalAndReligiousObservationValueOfTypeCDIsFromSnomed(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateCulturalAndReligiousObservationId(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ boolean validateCulturalAndReligiousObservationStatusCodeP(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validateCulturalAndReligiousObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DICOMObjectCatalogSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DICOMObjectCatalogSection.java index ba61637c29..acd486f204 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DICOMObjectCatalogSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DICOMObjectCatalogSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface DICOMObjectCatalogSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.1.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.1.1\')'" * @generated */ boolean validateDICOMObjectCatalogSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface DICOMObjectCatalogSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::StudyAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::StudyAct))'" * @generated */ boolean validateDICOMObjectCatalogSectionStudyAct(DiagnosticChain diagnostics, Map context); @@ -78,7 +73,7 @@ public interface DICOMObjectCatalogSection extends Section { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::StudyAct)).oclAsType(consol::StudyAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::StudyAct)).oclAsType(consol::StudyAct)'" * @generated */ EList getStudyActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DeceasedObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DeceasedObservation.java index a38b67de24..c723614d97 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DeceasedObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DeceasedObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface DeceasedObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.effectiveTime.oclIsUndefined() implies self.effectiveTime.low->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.effectiveTime.oclIsUndefined() implies self.effectiveTime.low->size() = 1'" * @generated */ boolean validateDeceasedObservationEffectiveTimeLow(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface DeceasedObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.79\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.79\')'" * @generated */ boolean validateDeceasedObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -80,7 +75,7 @@ public interface DeceasedObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateDeceasedObservationId(DiagnosticChain diagnostics, Map context); @@ -152,7 +147,7 @@ public interface DeceasedObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'419099009\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'419099009\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validateDeceasedObservationValue(DiagnosticChain diagnostics, Map context); @@ -164,7 +159,7 @@ public interface DeceasedObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateDeceasedObservationValueP(DiagnosticChain diagnostics, Map context); @@ -176,7 +171,7 @@ public interface DeceasedObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::CAUS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::CAUS)'" * @generated */ boolean validateDeceasedObservationProblemObservation(DiagnosticChain diagnostics, Map context); @@ -185,7 +180,7 @@ public interface DeceasedObservation extends Observation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation))->asSequence()->any(true).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation))->asSequence()->any(true).oclAsType(consol::ProblemObservation)'" * @generated */ ProblemObservation getProblemObservation(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DeceasedObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DeceasedObservation2.java index 86d01bd681..bd17b75869 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DeceasedObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DeceasedObservation2.java @@ -2,12 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -28,7 +26,7 @@ public interface DeceasedObservation2 extends DeceasedObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.79\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.79\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateDeceasedObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -37,7 +35,7 @@ public interface DeceasedObservation2 extends DeceasedObservation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2))->asSequence()->any(true).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2))->asSequence()->any(true).oclAsType(consol::ProblemObservation2)'" * @generated */ ProblemObservation2 getConsolProblemObservation2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DiagnosticImagingReport.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DiagnosticImagingReport.java index 3663d916b7..8e7f6e4104 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DiagnosticImagingReport.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DiagnosticImagingReport.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -52,7 +48,7 @@ boolean validateDiagnosticImagingReportUseDiagnosticImagingCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->reject(section : cda::Section | section.templateId->exists(root = \'2.16.840.1.113883.10.20.6.1.1\'))->forAll(section : cda::Section | not section.title.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->reject(section : cda::Section | section.templateId->exists(root = \'2.16.840.1.113883.10.20.6.1.1\'))->forAll(section : cda::Section | not section.title.oclIsUndefined())'" * @generated */ boolean validateDiagnosticImagingReportAllSectionsHaveTitle(DiagnosticChain diagnostics, @@ -65,7 +61,7 @@ boolean validateDiagnosticImagingReportAllSectionsHaveTitle(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->reject(section : cda::Section | section.templateId->exists(root = \'2.16.840.1.113883.10.20.6.1.1\'))->forAll(section : cda::Section | not section.text.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->reject(section : cda::Section | section.templateId->exists(root = \'2.16.840.1.113883.10.20.6.1.1\'))->forAll(section : cda::Section | not section.text.oclIsUndefined())'" * @generated */ boolean validateDiagnosticImagingReportSectionsHaveText(DiagnosticChain diagnostics, Map context); @@ -89,7 +85,7 @@ boolean validateDiagnosticImagingReportAllSectionsHaveTitle(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->select(informant : cda::Informant12 | not informant.oclIsUndefined() and informant.oclIsKindOf(rim::Participation))->isEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->select(informant : cda::Informant12 | not informant.oclIsUndefined() and informant.oclIsKindOf(rim::Participation))->isEmpty()'" * @generated */ boolean validateDiagnosticImagingReportInformant(DiagnosticChain diagnostics, Map context); @@ -101,7 +97,7 @@ boolean validateDiagnosticImagingReportAllSectionsHaveTitle(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateDiagnosticImagingReportInformationRecipient(DiagnosticChain diagnostics, @@ -114,7 +110,7 @@ boolean validateDiagnosticImagingReportInformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" * @generated */ boolean validateDiagnosticImagingReportParticipant1(DiagnosticChain diagnostics, Map context); @@ -126,7 +122,7 @@ boolean validateDiagnosticImagingReportInformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->one(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->one(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" * @generated */ boolean validateDiagnosticImagingReportInFulfillmentOf(DiagnosticChain diagnostics, Map context); @@ -138,7 +134,7 @@ boolean validateDiagnosticImagingReportInformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateDiagnosticImagingReportDocumentationOf(DiagnosticChain diagnostics, Map context); @@ -150,7 +146,7 @@ boolean validateDiagnosticImagingReportInformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->one(relatedDocument : cda::RelatedDocument | not relatedDocument.oclIsUndefined() and relatedDocument.oclIsKindOf(cda::RelatedDocument))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->one(relatedDocument : cda::RelatedDocument | not relatedDocument.oclIsUndefined() and relatedDocument.oclIsKindOf(cda::RelatedDocument))'" * @generated */ boolean validateDiagnosticImagingReportRelatedDocument(DiagnosticChain diagnostics, Map context); @@ -162,7 +158,7 @@ boolean validateDiagnosticImagingReportInformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateDiagnosticImagingReportComponentOf(DiagnosticChain diagnostics, Map context); @@ -174,7 +170,7 @@ boolean validateDiagnosticImagingReportInformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FindingsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FindingsSection))'" * @generated */ boolean validateDiagnosticImagingReportFindingsSection(DiagnosticChain diagnostics, Map context); @@ -186,7 +182,7 @@ boolean validateDiagnosticImagingReportInformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DICOMObjectCatalogSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DICOMObjectCatalogSection))'" * @generated */ boolean validateDiagnosticImagingReportDICOMObjectCatalogSection(DiagnosticChain diagnostics, @@ -199,7 +195,7 @@ boolean validateDiagnosticImagingReportDICOMObjectCatalogSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" * @generated */ boolean validateDiagnosticImagingReportParticipantAssociatedEntityPersonName(DiagnosticChain diagnostics, @@ -212,7 +208,7 @@ boolean validateDiagnosticImagingReportParticipantAssociatedEntityPersonName(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateDiagnosticImagingReportParticipantAssociatedEntityAssociatedPerson(DiagnosticChain diagnostics, @@ -225,7 +221,7 @@ boolean validateDiagnosticImagingReportParticipantAssociatedEntityAssociatedPers * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateDiagnosticImagingReportParticipantAssociatedEntity(DiagnosticChain diagnostics, @@ -238,7 +234,7 @@ boolean validateDiagnosticImagingReportParticipantAssociatedEntity(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::ACT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::ACT)'" * @generated */ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4ClassCode(DiagnosticChain diagnostics, @@ -251,7 +247,7 @@ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4ClassCode(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4Code(DiagnosticChain diagnostics, @@ -264,7 +260,7 @@ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4Code(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4Id(DiagnosticChain diagnostics, @@ -277,7 +273,7 @@ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4Id(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(consol::PhysicianReadingStudyPerformer)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(consol::PhysicianReadingStudyPerformer)))'" * @generated */ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4PhysicianReadingStudyPerformer( @@ -290,7 +286,7 @@ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4PhysicianRead * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent3(DiagnosticChain diagnostics, @@ -303,7 +299,7 @@ boolean validateDiagnosticImagingReportDocumentationOfServiceEvent3(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->size() = 1 or representedOrganization->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->size() = 1 or representedOrganization->size() = 1)'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsiblePartyAssignedEntityHasAssignPersonOrRepresentedOrganization( @@ -316,7 +312,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7Responsi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsiblePartyAssignedEntity( @@ -329,7 +325,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7Responsi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 8)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 8)'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheDay(DiagnosticChain diagnostics, @@ -342,7 +338,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseT * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 12)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 12)'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheMinute( @@ -355,7 +351,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseT * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 14)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 14)'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheSecond( @@ -368,7 +364,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseT * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() and effectiveTime.value.size() > 8 implies effectiveTime.value.size() >= 15)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() and effectiveTime.value.size() > 8 implies effectiveTime.value.size() >= 15)'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7IfMorePreciseThanDayIncludeTimeZoneOffset( @@ -381,7 +377,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7IfMorePr * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7EffectiveTime(DiagnosticChain diagnostics, @@ -394,7 +390,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7Effectiv * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7Id(DiagnosticChain diagnostics, @@ -407,7 +403,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7Id(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(consol::PhysicianofRecordParticipant)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(consol::PhysicianofRecordParticipant)))'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PhysicianofRecordParticipant( @@ -420,7 +416,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7Physicia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsibleParty( @@ -433,7 +429,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7Responsi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -443,7 +439,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FindingsSection))->asSequence()->any(true).oclAsType(consol::FindingsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FindingsSection))->asSequence()->any(true).oclAsType(consol::FindingsSection)'" * @generated */ FindingsSection getFindingsSection(); @@ -452,7 +448,7 @@ boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DICOMObjectCatalogSection))->asSequence()->any(true).oclAsType(consol::DICOMObjectCatalogSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DICOMObjectCatalogSection))->asSequence()->any(true).oclAsType(consol::DICOMObjectCatalogSection)'" * @generated */ DICOMObjectCatalogSection getDICOMObjectCatalogSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DiagnosticImagingReport2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DiagnosticImagingReport2.java index d7e060d57d..2f81b1f172 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DiagnosticImagingReport2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DiagnosticImagingReport2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -86,7 +82,7 @@ public interface DiagnosticImagingReport2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateDiagnosticImagingReport2InformationRecipient(DiagnosticChain diagnostics, @@ -99,7 +95,7 @@ boolean validateDiagnosticImagingReport2InformationRecipient(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" * @generated */ boolean validateDiagnosticImagingReport2Participant(DiagnosticChain diagnostics, Map context); @@ -111,7 +107,7 @@ boolean validateDiagnosticImagingReport2InformationRecipient(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" * @generated */ boolean validateDiagnosticImagingReport2InFulfillmentOf(DiagnosticChain diagnostics, Map context); @@ -123,7 +119,7 @@ boolean validateDiagnosticImagingReport2InformationRecipient(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateDiagnosticImagingReport2DocumentationOf(DiagnosticChain diagnostics, Map context); @@ -135,7 +131,7 @@ boolean validateDiagnosticImagingReport2InformationRecipient(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->one(relatedDocument : cda::RelatedDocument | not relatedDocument.oclIsUndefined() and relatedDocument.oclIsKindOf(cda::RelatedDocument))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->one(relatedDocument : cda::RelatedDocument | not relatedDocument.oclIsUndefined() and relatedDocument.oclIsKindOf(cda::RelatedDocument))'" * @generated */ boolean validateDiagnosticImagingReport2RelatedDocument(DiagnosticChain diagnostics, Map context); @@ -147,7 +143,7 @@ boolean validateDiagnosticImagingReport2InformationRecipient(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOf(DiagnosticChain diagnostics, Map context); @@ -159,7 +155,7 @@ boolean validateDiagnosticImagingReport2InformationRecipient(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FindingsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FindingsSection))'" * @generated */ boolean validateDiagnosticImagingReport2FindingsSection(DiagnosticChain diagnostics, Map context); @@ -171,7 +167,7 @@ boolean validateDiagnosticImagingReport2InformationRecipient(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DICOMObjectCatalogSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DICOMObjectCatalogSection))'" * @generated */ boolean validateDiagnosticImagingReport2DICOMObjectCatalogSection(DiagnosticChain diagnostics, @@ -184,7 +180,7 @@ boolean validateDiagnosticImagingReport2DICOMObjectCatalogSection(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->one(component : cda::Component2 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->one(component : cda::Component2 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component2))'" * @generated */ boolean validateDiagnosticImagingReport2Component2(DiagnosticChain diagnostics, Map context); @@ -196,7 +192,7 @@ boolean validateDiagnosticImagingReport2DICOMObjectCatalogSection(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->select(informant : cda::Informant12 | not informant.oclIsUndefined() and informant.oclIsKindOf(rim::Participation))->isEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->select(informant : cda::Informant12 | not informant.oclIsUndefined() and informant.oclIsKindOf(rim::Participation))->isEmpty()'" * @generated */ boolean validateDiagnosticImagingReport2Informant(DiagnosticChain diagnostics, Map context); @@ -208,7 +204,7 @@ boolean validateDiagnosticImagingReport2DICOMObjectCatalogSection(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->excluding(null)->select(isNullFlavorUndefined())->reject(id.root.size() <= 64)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->excluding(null)->select(isNullFlavorUndefined())->reject(id.root.size() <= 64)'" * @generated */ boolean validateDiagnosticImagingReport2IIRootOIDsMustBeNoMoreThan64Characters(DiagnosticChain diagnostics, @@ -221,7 +217,7 @@ boolean validateDiagnosticImagingReport2IIRootOIDsMustBeNoMoreThan64Characters(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not root.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not root.oclIsUndefined() )))'" * @generated */ boolean validateDiagnosticImagingReport2IIRoot(DiagnosticChain diagnostics, Map context); @@ -233,7 +229,7 @@ boolean validateDiagnosticImagingReport2IIRootOIDsMustBeNoMoreThan64Characters(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" * @generated */ boolean validateDiagnosticImagingReport2ParticipantAssociatedEntityPersonName(DiagnosticChain diagnostics, @@ -246,7 +242,7 @@ boolean validateDiagnosticImagingReport2ParticipantAssociatedEntityPersonName(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateDiagnosticImagingReport2ParticipantAssociatedEntityAssociatedPerson(DiagnosticChain diagnostics, @@ -259,7 +255,7 @@ boolean validateDiagnosticImagingReport2ParticipantAssociatedEntityAssociatedPer * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateDiagnosticImagingReport2ParticipantAssociatedEntity(DiagnosticChain diagnostics, @@ -272,7 +268,7 @@ boolean validateDiagnosticImagingReport2ParticipantAssociatedEntity(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateDiagnosticImagingReport2InFulfillmentOfOrderId(DiagnosticChain diagnostics, @@ -285,7 +281,7 @@ boolean validateDiagnosticImagingReport2InFulfillmentOfOrderId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" * @generated */ boolean validateDiagnosticImagingReport2InFulfillmentOfOrder(DiagnosticChain diagnostics, @@ -298,7 +294,7 @@ boolean validateDiagnosticImagingReport2InFulfillmentOfOrder(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::ACT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::ACT)'" * @generated */ boolean validateDiagnosticImagingReport2DocumentationOfServiceEventClassCode(DiagnosticChain diagnostics, @@ -311,7 +307,7 @@ boolean validateDiagnosticImagingReport2DocumentationOfServiceEventClassCode(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateDiagnosticImagingReport2DocumentationOfServiceEventId(DiagnosticChain diagnostics, @@ -324,7 +320,7 @@ boolean validateDiagnosticImagingReport2DocumentationOfServiceEventId(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateDiagnosticImagingReport2DocumentationOfServiceEventCode(DiagnosticChain diagnostics, @@ -337,7 +333,7 @@ boolean validateDiagnosticImagingReport2DocumentationOfServiceEventCode(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(consol::PhysicianReadingStudyPerformer2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(consol::PhysicianReadingStudyPerformer2)))'" * @generated */ boolean validateDiagnosticImagingReport2DocumentationOfServiceEventPhysicianReadingStudyPerformer2( @@ -350,7 +346,7 @@ boolean validateDiagnosticImagingReport2DocumentationOfServiceEventPhysicianRead * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateDiagnosticImagingReport2DocumentationOfServiceEvent(DiagnosticChain diagnostics, @@ -363,7 +359,7 @@ boolean validateDiagnosticImagingReport2DocumentationOfServiceEvent(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null).id->excluding(null)->select(isNullFlavorUndefined())->reject(not root.oclIsUndefined() implies root.size() <= 64)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null).id->excluding(null)->select(isNullFlavorUndefined())->reject(not root.oclIsUndefined() implies root.size() <= 64)'" * @generated */ boolean validateDiagnosticImagingReport2RelatedDocumentParentDocumentIIOidsLength(DiagnosticChain diagnostics, @@ -376,7 +372,7 @@ boolean validateDiagnosticImagingReport2RelatedDocumentParentDocumentIIOidsLengt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null).parentDocument->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateDiagnosticImagingReport2RelatedDocumentParentDocumentId(DiagnosticChain diagnostics, @@ -389,7 +385,7 @@ boolean validateDiagnosticImagingReport2RelatedDocumentParentDocumentId(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null)->reject(parentDocument->one(parentDocument : cda::ParentDocument | not parentDocument.oclIsUndefined() and parentDocument.oclIsKindOf(cda::ParentDocument)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.relatedDocument->excluding(null)->reject(parentDocument->one(parentDocument : cda::ParentDocument | not parentDocument.oclIsUndefined() and parentDocument.oclIsKindOf(cda::ParentDocument)))'" * @generated */ boolean validateDiagnosticImagingReport2RelatedDocumentParentDocument(DiagnosticChain diagnostics, @@ -402,7 +398,7 @@ boolean validateDiagnosticImagingReport2RelatedDocumentParentDocument(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 8) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 8) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 8))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 8) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 8) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 8))))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS( @@ -415,7 +411,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 12) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 12) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 12))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 12) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 12) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 12))))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS( @@ -428,7 +424,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 14) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 14) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 14))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 14) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 14) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 14))))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS( @@ -441,7 +437,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject((not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15) and ((not low.value.oclIsUndefined() and low.value.size() > 8 implies low.value.size() >= 15) and (not high.value.oclIsUndefined() and high.value.size() > 8 implies high.value.size() >= 15)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject((not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15) and ((not low.value.oclIsUndefined() and low.value.size() > 8 implies low.value.size() >= 15) and (not high.value.oclIsUndefined() and high.value.size() > 8 implies high.value.size() >= 15)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS( @@ -454,7 +450,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->size() = 1 or representedOrganization->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->size() = 1 or representedOrganization->size() = 1)'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasAssignPersonOrRepresentedOrganization( @@ -467,7 +463,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterResponsi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity( @@ -480,7 +476,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterResponsi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterId(DiagnosticChain diagnostics, @@ -493,7 +489,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterId(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterEffectiveTime(DiagnosticChain diagnostics, @@ -506,7 +502,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterEffectiv * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterResponsibleParty( @@ -519,7 +515,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterResponsi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(consol::PhysicianofRecordParticipant2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(consol::PhysicianofRecordParticipant2)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterPhysicianofRecordParticipant2( @@ -532,7 +528,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounterPhysicia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -545,7 +541,7 @@ boolean validateDiagnosticImagingReport2ComponentOfEncompassingEncounter(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null).subject->excluding(null)->reject(relatedSubject->one(relatedSubject : cda::RelatedSubject | not relatedSubject.oclIsUndefined() and relatedSubject.oclIsKindOf(consol::FetusSubjectContext)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null).subject->excluding(null)->reject(relatedSubject->one(relatedSubject : cda::RelatedSubject | not relatedSubject.oclIsUndefined() and relatedSubject.oclIsKindOf(consol::FetusSubjectContext)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionSubjectFetusSubjectContext( @@ -558,7 +554,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(getAllSections()->forAll(section : cda::Section | not section.text.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(getAllSections()->forAll(section : cda::Section | not section.text.oclIsUndefined()))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionSectionsHaveText( @@ -571,7 +567,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'1.2.840.10008.2.16.4\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'1.2.840.10008.2.16.4\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionCode(DiagnosticChain diagnostics, @@ -584,7 +580,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionCodeP(DiagnosticChain diagnostics, @@ -597,7 +593,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject((title.oclIsUndefined() or title.isNullFlavorUndefined()) implies (not title.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject((title.oclIsUndefined() or title.isNullFlavorUndefined()) implies (not title.oclIsUndefined()))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionTitle(DiagnosticChain diagnostics, @@ -610,7 +606,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(not text.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(not text.oclIsUndefined())'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionText(DiagnosticChain diagnostics, @@ -623,7 +619,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies subject->exists(subject : cda::Subject | not subject.oclIsUndefined() and subject.oclIsKindOf(cda::Subject)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies subject->exists(subject : cda::Subject | not subject.oclIsUndefined() and subject.oclIsKindOf(cda::Subject)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionSubject(DiagnosticChain diagnostics, @@ -636,7 +632,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionAuthor(DiagnosticChain diagnostics, @@ -649,7 +645,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::ProcedureContext)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::ProcedureContext)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionProcedureContext( @@ -662,7 +658,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::TextObservation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::TextObservation)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionTextObservation( @@ -675,7 +671,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CodeObservations)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CodeObservations)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionCodeObservations( @@ -688,7 +684,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::QuantityMeasurementObservation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::QuantityMeasurementObservation)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionQuantityMeasurementObservation( @@ -701,7 +697,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SOPInstanceObservation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null).section->excluding(null)->reject(nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SOPInstanceObservation)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3SectionSOPInstanceObservation( @@ -714,7 +710,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null)->reject(section->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(cda::Section)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null).component->excluding(null)->reject(section->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(cda::Section)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section(DiagnosticChain diagnostics, @@ -727,7 +723,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3Section * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null)->reject(component->exists(component : cda::Component3 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component3)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).structuredBody->excluding(null)->reject(component->exists(component : cda::Component3 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component3)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3(DiagnosticChain diagnostics, @@ -740,7 +736,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBodyComponent3(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null)->reject(structuredBody->one(structuredBody : cda::StructuredBody | not structuredBody.oclIsUndefined() and structuredBody.oclIsKindOf(cda::StructuredBody)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null)->reject(structuredBody->one(structuredBody : cda::StructuredBody | not structuredBody.oclIsUndefined() and structuredBody.oclIsKindOf(cda::StructuredBody)))'" * @generated */ boolean validateDiagnosticImagingReport2ComponentStructuredBody(DiagnosticChain diagnostics, @@ -750,7 +746,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBody(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FindingsSection))->asSequence()->any(true).oclAsType(consol::FindingsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FindingsSection))->asSequence()->any(true).oclAsType(consol::FindingsSection)'" * @generated */ FindingsSection getFindingsSection(); @@ -759,7 +755,7 @@ boolean validateDiagnosticImagingReport2ComponentStructuredBody(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DICOMObjectCatalogSection))->asSequence()->any(true).oclAsType(consol::DICOMObjectCatalogSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DICOMObjectCatalogSection))->asSequence()->any(true).oclAsType(consol::DICOMObjectCatalogSection)'" * @generated */ DICOMObjectCatalogSection getDICOMObjectCatalogSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeDiagnosisSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeDiagnosisSection2.java index 58a08ba422..fec23e252e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeDiagnosisSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeDiagnosisSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface DischargeDiagnosisSection2 extends HospitalDischargeDiagnosisSe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.24\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.24\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateDischargeDiagnosisSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface DischargeDiagnosisSection2 extends HospitalDischargeDiagnosisSe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'78375-3\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'78375-3\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateDischargeDiagnosisSection2CETranslation(DiagnosticChain diagnostics, Map context); @@ -55,7 +51,7 @@ public interface DischargeDiagnosisSection2 extends HospitalDischargeDiagnosisSe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateDischargeDiagnosisSection2CETranslationP(DiagnosticChain diagnostics, Map context); @@ -64,7 +60,7 @@ public interface DischargeDiagnosisSection2 extends HospitalDischargeDiagnosisSe * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalDischargeDiagnosis2))->asSequence()->any(true).oclAsType(consol::HospitalDischargeDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalDischargeDiagnosis2))->asSequence()->any(true).oclAsType(consol::HospitalDischargeDiagnosis2)'" * @generated */ HospitalDischargeDiagnosis2 getConsolHospitalDischargeDiagnosis2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeDietSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeDietSection.java index 01378406df..44d8b27969 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeDietSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeDietSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface DischargeDietSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.33\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.33\')'" * @generated */ boolean validateDischargeDietSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedication.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedication.java index 6b338b8b2f..ba8dc33f19 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedication.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedication.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface DischargeMedication extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateDischargeMedicationMedicationActivity(DiagnosticChain diagnostics, Map context); @@ -45,7 +40,7 @@ public interface DischargeMedication extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.35\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.35\')'" * @generated */ boolean validateDischargeMedicationTemplateId(DiagnosticChain diagnostics, Map context); @@ -90,7 +85,7 @@ public interface DischargeMedication extends Act { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedication2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedication2.java index 642c324851..15d348180b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedication2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedication2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface DischargeMedication2 extends DischargeMedication { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.35\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.35\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateDischargeMedication2TemplateId(DiagnosticChain diagnostics, Map context); @@ -80,7 +76,7 @@ public interface DischargeMedication2 extends DischargeMedication { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75311-1\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75311-1\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateDischargeMedication2CDTranslation(DiagnosticChain diagnostics, Map context); @@ -92,7 +88,7 @@ public interface DischargeMedication2 extends DischargeMedication { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateDischargeMedication2CDTranslationP(DiagnosticChain diagnostics, Map context); @@ -101,7 +97,7 @@ public interface DischargeMedication2 extends DischargeMedication { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedicationsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedicationsSection2.java index 1d4f03d91e..17b8619735 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedicationsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedicationsSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -91,7 +87,7 @@ public interface DischargeMedicationsSection2 extends DischargeMedicationsSectio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75311-1\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75311-1\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateDischargeMedicationsSection2CETranslation(DiagnosticChain diagnostics, Map context); @@ -103,7 +99,7 @@ public interface DischargeMedicationsSection2 extends DischargeMedicationsSectio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateDischargeMedicationsSection2CETranslationP(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedicationsSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedicationsSectionEntriesOptional2.java index 618ab3f35d..e7b39ce415 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedicationsSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeMedicationsSectionEntriesOptional2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -33,7 +29,7 @@ public interface DischargeMedicationsSectionEntriesOptional2 * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75311-1\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75311-1\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateDischargeMedicationsSectionEntriesOptional2CETranslation(DiagnosticChain diagnostics, @@ -46,7 +42,7 @@ boolean validateDischargeMedicationsSectionEntriesOptional2CETranslation(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateDischargeMedicationsSectionEntriesOptional2CETranslationP(DiagnosticChain diagnostics, @@ -56,7 +52,7 @@ boolean validateDischargeMedicationsSectionEntriesOptional2CETranslationP(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::DischargeMedication2)).oclAsType(consol::DischargeMedication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::DischargeMedication2)).oclAsType(consol::DischargeMedication2)'" * @generated */ EList getConsolDischargeMedication2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeSummary.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeSummary.java index 509991dae3..430b660a93 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeSummary.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeSummary.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -34,7 +30,7 @@ public interface DischargeSummary extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( self.getAllSections()->exists(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection)) ) implies not ( self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection)) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( self.getAllSections()->exists(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection)) ) implies not ( self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection)) )'" * @generated */ boolean validateDischargeSummaryDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( @@ -71,7 +67,7 @@ boolean validateDischargeSummaryDoesNotHaveChiefComplaintAndReasonForVisitWithCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalAdmissionMedicationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalAdmissionMedicationsSectionEntriesOptional))'" * @generated */ boolean validateDischargeSummaryHospitalAdmissionMedicationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -84,7 +80,7 @@ boolean validateDischargeSummaryHospitalAdmissionMedicationsSectionEntriesOption * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalAdmissionDiagnosisSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalAdmissionDiagnosisSection))'" * @generated */ boolean validateDischargeSummaryHospitalAdmissionDiagnosisSection(DiagnosticChain diagnostics, @@ -97,7 +93,7 @@ boolean validateDischargeSummaryHospitalAdmissionDiagnosisSection(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeDiagnosisSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeDiagnosisSection))'" * @generated */ boolean validateDischargeSummaryHospitalDischargeDiagnosisSection(DiagnosticChain diagnostics, @@ -110,7 +106,7 @@ boolean validateDischargeSummaryHospitalDischargeDiagnosisSection(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDietSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDietSection))'" * @generated */ boolean validateDischargeSummaryDischargeDietSection(DiagnosticChain diagnostics, Map context); @@ -122,7 +118,7 @@ boolean validateDischargeSummaryHospitalDischargeDiagnosisSection(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeMedicationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeMedicationsSectionEntriesOptional))'" * @generated */ boolean validateDischargeSummaryHospitalDischargeMedicationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -135,7 +131,7 @@ boolean validateDischargeSummaryHospitalDischargeMedicationsSectionEntriesOption * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection))'" * @generated */ boolean validateDischargeSummaryFunctionalStatusSection(DiagnosticChain diagnostics, Map context); @@ -147,7 +143,7 @@ boolean validateDischargeSummaryHospitalDischargeMedicationsSectionEntriesOption * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateDischargeSummaryHistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -160,7 +156,7 @@ boolean validateDischargeSummaryHistoryOfPresentIllnessSection(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalCourseSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalCourseSection))'" * @generated */ boolean validateDischargeSummaryHospitalCourseSection(DiagnosticChain diagnostics, Map context); @@ -172,7 +168,7 @@ boolean validateDischargeSummaryHistoryOfPresentIllnessSection(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" * @generated */ boolean validateDischargeSummaryPlanOfCareSection(DiagnosticChain diagnostics, Map context); @@ -184,7 +180,7 @@ boolean validateDischargeSummaryHistoryOfPresentIllnessSection(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))'" * @generated */ boolean validateDischargeSummaryHistoryOfPastIllnessSection(DiagnosticChain diagnostics, @@ -197,7 +193,7 @@ boolean validateDischargeSummaryHistoryOfPastIllnessSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateDischargeSummaryComponentOf(DiagnosticChain diagnostics, Map context); @@ -209,7 +205,7 @@ boolean validateDischargeSummaryHistoryOfPastIllnessSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateDischargeSummaryChiefComplaintAndReasonForVisitSection(DiagnosticChain diagnostics, @@ -222,7 +218,7 @@ boolean validateDischargeSummaryChiefComplaintAndReasonForVisitSection(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateDischargeSummaryChiefComplaintSection(DiagnosticChain diagnostics, Map context); @@ -234,7 +230,7 @@ boolean validateDischargeSummaryChiefComplaintAndReasonForVisitSection(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" * @generated */ boolean validateDischargeSummaryFamilyHistorySection(DiagnosticChain diagnostics, Map context); @@ -246,7 +242,7 @@ boolean validateDischargeSummaryChiefComplaintAndReasonForVisitSection(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalConsultationsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalConsultationsSection))'" * @generated */ boolean validateDischargeSummaryHospitalConsultationsSection(DiagnosticChain diagnostics, @@ -259,7 +255,7 @@ boolean validateDischargeSummaryHospitalConsultationsSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeInstructionsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeInstructionsSection))'" * @generated */ boolean validateDischargeSummaryHospitalDischargeInstructionsSection(DiagnosticChain diagnostics, @@ -272,7 +268,7 @@ boolean validateDischargeSummaryHospitalDischargeInstructionsSection(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargePhysicalSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargePhysicalSection))'" * @generated */ boolean validateDischargeSummaryHospitalDischargePhysicalSection(DiagnosticChain diagnostics, @@ -285,7 +281,7 @@ boolean validateDischargeSummaryHospitalDischargePhysicalSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeStudiesSummarySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeStudiesSummarySection))'" * @generated */ boolean validateDischargeSummaryHospitalDischargeStudiesSummarySection(DiagnosticChain diagnostics, @@ -298,7 +294,7 @@ boolean validateDischargeSummaryHospitalDischargeStudiesSummarySection(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))'" * @generated */ boolean validateDischargeSummaryImmunizationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -311,7 +307,7 @@ boolean validateDischargeSummaryImmunizationsSectionEntriesOptional(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))'" * @generated */ boolean validateDischargeSummaryProblemSectionEntriesOptional(DiagnosticChain diagnostics, @@ -324,7 +320,7 @@ boolean validateDischargeSummaryProblemSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))'" * @generated */ boolean validateDischargeSummaryProceduresSectionEntriesOptional(DiagnosticChain diagnostics, @@ -337,7 +333,7 @@ boolean validateDischargeSummaryProceduresSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateDischargeSummaryReasonForVisitSection(DiagnosticChain diagnostics, Map context); @@ -349,7 +345,7 @@ boolean validateDischargeSummaryProceduresSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateDischargeSummaryReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -361,7 +357,7 @@ boolean validateDischargeSummaryProceduresSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" * @generated */ boolean validateDischargeSummarySocialHistorySection(DiagnosticChain diagnostics, Map context); @@ -373,7 +369,7 @@ boolean validateDischargeSummaryProceduresSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" * @generated */ boolean validateDischargeSummaryAllergiesSectionEntriesOptional(DiagnosticChain diagnostics, @@ -386,7 +382,7 @@ boolean validateDischargeSummaryAllergiesSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" * @generated */ boolean validateDischargeSummaryVitalSignsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -399,7 +395,7 @@ boolean validateDischargeSummaryVitalSignsSectionEntriesOptional(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePartyAssignedEntityHasPersonOrOrganization( @@ -412,7 +408,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->exists(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->exists(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePartyAssignedEntity( @@ -425,7 +421,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipantAssignedEntityHasPersonOrOrganization( @@ -438,7 +434,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->exists(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->exists(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipantAssignedEntity( @@ -451,7 +447,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.low.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.low.oclIsUndefined())'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncompassingEncounterHasEffectiveTimeLow( @@ -464,7 +460,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncompassingEnc * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncompassingEncounterHasEffectiveTimeHigh( @@ -477,7 +473,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncompassingEnc * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined() implies let value : datatypes::CE = dischargeDispositionCode.oclAsType(datatypes::CE) in value.codeSystem <> \'2.16.840.1.113883.12.112\' implies value.codeSystem = \'2.16.840.1.113883.6.301.5\' and not value.code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined() implies let value : datatypes::CE = dischargeDispositionCode.oclAsType(datatypes::CE) in value.codeSystem <> \'2.16.840.1.113883.12.112\' implies value.codeSystem = \'2.16.840.1.113883.6.301.5\' and not value.code.oclIsUndefined())'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCodeValueSet( @@ -490,7 +486,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined() implies let value : datatypes::CE = dischargeDispositionCode.oclAsType(datatypes::CE) in value.codeSystem <> \'2.16.840.1.113883.6.301.5\' implies value.codeSystem = \'2.16.840.1.113883.12.112\' and not value.code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined() implies let value : datatypes::CE = dischargeDispositionCode.oclAsType(datatypes::CE) in value.codeSystem <> \'2.16.840.1.113883.6.301.5\' implies value.codeSystem = \'2.16.840.1.113883.12.112\' and not value.code.oclIsUndefined())'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCodeCodeSystem( @@ -503,7 +499,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined()) implies (not dischargeDispositionCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined()) implies (not dischargeDispositionCode.oclIsUndefined()))'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCode( @@ -516,7 +512,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EffectiveTime(DiagnosticChain diagnostics, @@ -529,7 +525,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EffectiveTime(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsibleParty(DiagnosticChain diagnostics, @@ -542,7 +538,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipant(DiagnosticChain diagnostics, @@ -555,7 +551,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -565,7 +561,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalAdmissionMedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::HospitalAdmissionMedicationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalAdmissionMedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::HospitalAdmissionMedicationsSectionEntriesOptional)'" * @generated */ HospitalAdmissionMedicationsSectionEntriesOptional getHospitalAdmissionMedicationsSectionEntriesOptional(); @@ -574,7 +570,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalAdmissionDiagnosisSection))->asSequence()->any(true).oclAsType(consol::HospitalAdmissionDiagnosisSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalAdmissionDiagnosisSection))->asSequence()->any(true).oclAsType(consol::HospitalAdmissionDiagnosisSection)'" * @generated */ HospitalAdmissionDiagnosisSection getHospitalAdmissionDiagnosisSection(); @@ -583,7 +579,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeDiagnosisSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeDiagnosisSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeDiagnosisSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeDiagnosisSection)'" * @generated */ HospitalDischargeDiagnosisSection getHospitalDischargeDiagnosisSection(); @@ -592,7 +588,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDietSection))->asSequence()->any(true).oclAsType(consol::DischargeDietSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDietSection))->asSequence()->any(true).oclAsType(consol::DischargeDietSection)'" * @generated */ DischargeDietSection getDischargeDietSection(); @@ -601,7 +597,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeMedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::HospitalDischargeMedicationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeMedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::HospitalDischargeMedicationsSectionEntriesOptional)'" * @generated */ HospitalDischargeMedicationsSectionEntriesOptional getHospitalDischargeMedicationsSectionEntriesOptional(); @@ -610,7 +606,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection)'" * @generated */ FunctionalStatusSection getFunctionalStatusSection(); @@ -619,7 +615,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -628,7 +624,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalCourseSection))->asSequence()->any(true).oclAsType(consol::HospitalCourseSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalCourseSection))->asSequence()->any(true).oclAsType(consol::HospitalCourseSection)'" * @generated */ HospitalCourseSection getHospitalCourseSection(); @@ -637,7 +633,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" * @generated */ PlanOfCareSection getPlanOfCareSection(); @@ -646,7 +642,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection)'" * @generated */ HistoryOfPastIllnessSection getHistoryOfPastIllnessSection(); @@ -655,7 +651,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" * @generated */ ChiefComplaintAndReasonForVisitSection getChiefComplaintAndReasonForVisitSection(); @@ -664,7 +660,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -673,7 +669,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" * @generated */ FamilyHistorySection getFamilyHistorySection(); @@ -682,7 +678,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalConsultationsSection))->asSequence()->any(true).oclAsType(consol::HospitalConsultationsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalConsultationsSection))->asSequence()->any(true).oclAsType(consol::HospitalConsultationsSection)'" * @generated */ HospitalConsultationsSection getHospitalConsultationsSection(); @@ -691,7 +687,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeInstructionsSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeInstructionsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeInstructionsSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeInstructionsSection)'" * @generated */ HospitalDischargeInstructionsSection getHospitalDischargeInstructionsSection(); @@ -700,7 +696,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargePhysicalSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargePhysicalSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargePhysicalSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargePhysicalSection)'" * @generated */ HospitalDischargePhysicalSection getHospitalDischargePhysicalSection(); @@ -709,7 +705,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeStudiesSummarySection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeStudiesSummarySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeStudiesSummarySection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeStudiesSummarySection)'" * @generated */ HospitalDischargeStudiesSummarySection getHospitalDischargeStudiesSummarySection(); @@ -718,7 +714,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional)'" * @generated */ ImmunizationsSectionEntriesOptional getImmunizationsSectionEntriesOptional(); @@ -727,7 +723,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional)'" * @generated */ ProblemSectionEntriesOptional getProblemSectionEntriesOptional(); @@ -736,7 +732,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional)'" * @generated */ ProceduresSectionEntriesOptional getProceduresSectionEntriesOptional(); @@ -745,7 +741,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" * @generated */ ReasonForVisitSection getReasonForVisitSection(); @@ -754,7 +750,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -763,7 +759,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" * @generated */ SocialHistorySection getSocialHistorySection(); @@ -772,7 +768,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" * @generated */ AllergiesSectionEntriesOptional getAllergiesSectionEntriesOptional(); @@ -781,7 +777,7 @@ boolean validateDischargeSummaryComponentOfEncompassingEncounter(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" * @generated */ VitalSignsSectionEntriesOptional getVitalSignsSectionEntriesOptional(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeSummary2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeSummary2.java index c02edf029c..c7f7bfa622 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeSummary2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DischargeSummary2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -38,7 +34,7 @@ public interface DischargeSummary2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( self.getAllSections()->exists(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection)) ) implies not ( self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection)) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( self.getAllSections()->exists(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection)) ) implies not ( self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection)) )'" * @generated */ boolean validateDischargeSummary2DoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( @@ -75,7 +71,7 @@ boolean validateDischargeSummary2DoesNotHaveChiefComplaintAndReasonForVisitWithC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" * @generated */ boolean validateDischargeSummary2Participant(DiagnosticChain diagnostics, Map context); @@ -87,7 +83,7 @@ boolean validateDischargeSummary2DoesNotHaveChiefComplaintAndReasonForVisitWithC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateDischargeSummary2ComponentOf(DiagnosticChain diagnostics, Map context); @@ -99,7 +95,7 @@ boolean validateDischargeSummary2DoesNotHaveChiefComplaintAndReasonForVisitWithC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))'" * @generated */ boolean validateDischargeSummary2AllergiesSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -112,7 +108,7 @@ boolean validateDischargeSummary2AllergiesSectionEntriesOptional2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalCourseSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalCourseSection))'" * @generated */ boolean validateDischargeSummary2HospitalCourseSection(DiagnosticChain diagnostics, Map context); @@ -124,7 +120,7 @@ boolean validateDischargeSummary2AllergiesSectionEntriesOptional2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateDischargeSummary2PlanOfTreatmentSection2(DiagnosticChain diagnostics, Map context); @@ -136,7 +132,7 @@ boolean validateDischargeSummary2AllergiesSectionEntriesOptional2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateDischargeSummary2ChiefComplaintSection(DiagnosticChain diagnostics, Map context); @@ -148,7 +144,7 @@ boolean validateDischargeSummary2AllergiesSectionEntriesOptional2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateDischargeSummary2ChiefComplaintAndReasonForVisitSection(DiagnosticChain diagnostics, @@ -161,7 +157,7 @@ boolean validateDischargeSummary2ChiefComplaintAndReasonForVisitSection(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" * @generated */ boolean validateDischargeSummary2NutritionSection(DiagnosticChain diagnostics, Map context); @@ -173,7 +169,7 @@ boolean validateDischargeSummary2ChiefComplaintAndReasonForVisitSection(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" * @generated */ boolean validateDischargeSummary2FunctionalStatusSection2(DiagnosticChain diagnostics, Map context); @@ -185,7 +181,7 @@ boolean validateDischargeSummary2ChiefComplaintAndReasonForVisitSection(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" * @generated */ boolean validateDischargeSummary2HistoryOfPastIllnessSection2(DiagnosticChain diagnostics, @@ -198,7 +194,7 @@ boolean validateDischargeSummary2HistoryOfPastIllnessSection2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateDischargeSummary2HistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -211,7 +207,7 @@ boolean validateDischargeSummary2HistoryOfPresentIllnessSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalConsultationsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalConsultationsSection))'" * @generated */ boolean validateDischargeSummary2HospitalConsultationsSection(DiagnosticChain diagnostics, @@ -224,7 +220,7 @@ boolean validateDischargeSummary2HospitalConsultationsSection(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeInstructionsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeInstructionsSection))'" * @generated */ boolean validateDischargeSummary2HospitalDischargeInstructionsSection(DiagnosticChain diagnostics, @@ -237,7 +233,7 @@ boolean validateDischargeSummary2HospitalDischargeInstructionsSection(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargePhysicalSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargePhysicalSection))'" * @generated */ boolean validateDischargeSummary2HospitalDischargePhysicalSection(DiagnosticChain diagnostics, @@ -250,7 +246,7 @@ boolean validateDischargeSummary2HospitalDischargePhysicalSection(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeStudiesSummarySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeStudiesSummarySection))'" * @generated */ boolean validateDischargeSummary2HospitalDischargeStudiesSummarySection(DiagnosticChain diagnostics, @@ -263,7 +259,7 @@ boolean validateDischargeSummary2HospitalDischargeStudiesSummarySection(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))'" * @generated */ boolean validateDischargeSummary2ImmunizationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -276,7 +272,7 @@ boolean validateDischargeSummary2ImmunizationsSectionEntriesOptional2(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))'" * @generated */ boolean validateDischargeSummary2ProblemSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -289,7 +285,7 @@ boolean validateDischargeSummary2ProblemSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" * @generated */ boolean validateDischargeSummary2ProceduresSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -302,7 +298,7 @@ boolean validateDischargeSummary2ProceduresSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateDischargeSummary2ReasonForVisitSection(DiagnosticChain diagnostics, Map context); @@ -314,7 +310,7 @@ boolean validateDischargeSummary2ProceduresSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateDischargeSummary2ReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -326,7 +322,7 @@ boolean validateDischargeSummary2ProceduresSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" * @generated */ boolean validateDischargeSummary2SocialHistorySection2(DiagnosticChain diagnostics, Map context); @@ -338,7 +334,7 @@ boolean validateDischargeSummary2ProceduresSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))'" * @generated */ boolean validateDischargeSummary2VitalSignsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -351,7 +347,7 @@ boolean validateDischargeSummary2VitalSignsSectionEntriesOptional2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDiagnosisSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDiagnosisSection2))'" * @generated */ boolean validateDischargeSummary2DischargeDiagnosisSection2(DiagnosticChain diagnostics, @@ -364,7 +360,7 @@ boolean validateDischargeSummary2DischargeDiagnosisSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeMedicationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeMedicationsSectionEntriesOptional2))'" * @generated */ boolean validateDischargeSummary2DischargeMedicationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -377,7 +373,7 @@ boolean validateDischargeSummary2DischargeMedicationsSectionEntriesOptional2(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" * @generated */ boolean validateDischargeSummary2FamilyHistorySection2(DiagnosticChain diagnostics, Map context); @@ -389,7 +385,7 @@ boolean validateDischargeSummary2DischargeMedicationsSectionEntriesOptional2(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionDiagnosisSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionDiagnosisSection2))'" * @generated */ boolean validateDischargeSummary2AdmissionDiagnosisSection2(DiagnosticChain diagnostics, @@ -402,7 +398,7 @@ boolean validateDischargeSummary2AdmissionDiagnosisSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionMedicationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionMedicationsSectionEntriesOptional2))'" * @generated */ boolean validateDischargeSummary2AdmissionMedicationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -415,7 +411,7 @@ boolean validateDischargeSummary2AdmissionMedicationsSectionEntriesOptional2(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeMedicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeMedicationsSection2))'" * @generated */ boolean validateDischargeSummary2DischargeMedicationsSection2(DiagnosticChain diagnostics, @@ -428,7 +424,7 @@ boolean validateDischargeSummary2DischargeMedicationsSection2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDietSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDietSection))'" * @generated */ boolean validateDischargeSummary2DischargeDietSection(DiagnosticChain diagnostics, Map context); @@ -440,7 +436,7 @@ boolean validateDischargeSummary2DischargeMedicationsSection2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(p : cda::Participant1 | p.typeCode = vocab::ParticipationType::IND and not ( p.associatedEntity.classCode = vocab::RoleClassAssociative::PRS or p.associatedEntity.classCode = vocab::RoleClassAssociative::NOK or p.associatedEntity.classCode = vocab::RoleClassAssociative::CAREGIVER or p.associatedEntity.classCode = vocab::RoleClassAssociative::AGNT or p.associatedEntity.classCode = vocab::RoleClassAssociative::GUAR or p.associatedEntity.classCode = vocab::RoleClassAssociative::ECON or p.associatedEntity.isNullFlavorDefined() ) or p.associatedEntity.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(p : cda::Participant1 | p.typeCode = vocab::ParticipationType::IND and not ( p.associatedEntity.classCode = vocab::RoleClassAssociative::PRS or p.associatedEntity.classCode = vocab::RoleClassAssociative::NOK or p.associatedEntity.classCode = vocab::RoleClassAssociative::CAREGIVER or p.associatedEntity.classCode = vocab::RoleClassAssociative::AGNT or p.associatedEntity.classCode = vocab::RoleClassAssociative::GUAR or p.associatedEntity.classCode = vocab::RoleClassAssociative::ECON or p.associatedEntity.isNullFlavorDefined() ) or p.associatedEntity.oclIsUndefined())'" * @generated */ boolean validateDischargeSummary2ParticipantIfParTypeCodeINDThenAEClassCodeIND(DiagnosticChain diagnostics, @@ -453,7 +449,7 @@ boolean validateDischargeSummary2ParticipantIfParTypeCodeINDThenAEClassCodeIND(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterIVLTSLow(DiagnosticChain diagnostics, @@ -466,7 +462,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterIVLTSLow(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterIVLTSHigh(DiagnosticChain diagnostics, @@ -479,7 +475,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterIVLTSHigh(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityAssignedPerson( @@ -492,7 +488,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityRepresentedOrganization( @@ -505,7 +501,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrOrganization( @@ -518,7 +514,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity( @@ -531,7 +527,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityAssignedPerson( @@ -544,7 +540,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityRepresentedOrganization( @@ -557,7 +553,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrOrganization( @@ -570,7 +566,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity( @@ -583,7 +579,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEffectiveTime(DiagnosticChain diagnostics, @@ -596,7 +592,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEffectiveTime(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined()) implies (not dischargeDispositionCode.oclIsUndefined() and dischargeDispositionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = dischargeDispositionCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.301.5\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined()) implies (not dischargeDispositionCode.oclIsUndefined() and dischargeDispositionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = dischargeDispositionCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.301.5\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterDischargeDispositionCode( @@ -609,7 +605,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterDischargeDispos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined()) implies (not dischargeDispositionCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((dischargeDispositionCode.oclIsUndefined() or dischargeDispositionCode.isNullFlavorUndefined()) implies (not dischargeDispositionCode.oclIsUndefined()))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterDischargeDispositionCodeP( @@ -622,7 +618,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterDischargeDispos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipant(DiagnosticChain diagnostics, @@ -635,7 +631,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterPartic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsibleParty(DiagnosticChain diagnostics, @@ -648,7 +644,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePart * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -658,7 +654,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional2)'" * @generated */ AllergiesSectionEntriesOptional2 getAllergiesSectionEntriesOptional2(); @@ -667,7 +663,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalCourseSection))->asSequence()->any(true).oclAsType(consol::HospitalCourseSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalCourseSection))->asSequence()->any(true).oclAsType(consol::HospitalCourseSection)'" * @generated */ HospitalCourseSection getHospitalCourseSection(); @@ -676,7 +672,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -685,7 +681,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -694,7 +690,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" * @generated */ ChiefComplaintAndReasonForVisitSection getChiefComplaintAndReasonForVisitSection(); @@ -703,7 +699,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" * @generated */ NutritionSection getNutritionSection(); @@ -712,7 +708,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" * @generated */ FunctionalStatusSection2 getFunctionalStatusSection2(); @@ -721,7 +717,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" * @generated */ HistoryOfPastIllnessSection2 getHistoryOfPastIllnessSection2(); @@ -730,7 +726,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -739,7 +735,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalConsultationsSection))->asSequence()->any(true).oclAsType(consol::HospitalConsultationsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalConsultationsSection))->asSequence()->any(true).oclAsType(consol::HospitalConsultationsSection)'" * @generated */ HospitalConsultationsSection getHospitalConsultationsSection(); @@ -748,7 +744,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeInstructionsSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeInstructionsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeInstructionsSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeInstructionsSection)'" * @generated */ HospitalDischargeInstructionsSection getHospitalDischargeInstructionsSection(); @@ -757,7 +753,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargePhysicalSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargePhysicalSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargePhysicalSection))->asSequence()->any(true).oclAsType(consol::HospitalDischargePhysicalSection)'" * @generated */ HospitalDischargePhysicalSection getHospitalDischargePhysicalSection(); @@ -766,7 +762,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeStudiesSummarySection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeStudiesSummarySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HospitalDischargeStudiesSummarySection))->asSequence()->any(true).oclAsType(consol::HospitalDischargeStudiesSummarySection)'" * @generated */ HospitalDischargeStudiesSummarySection getHospitalDischargeStudiesSummarySection(); @@ -775,7 +771,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional2)'" * @generated */ ImmunizationsSectionEntriesOptional2 getImmunizationsSectionEntriesOptional2(); @@ -784,7 +780,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional2)'" * @generated */ ProblemSectionEntriesOptional2 getProblemSectionEntriesOptional2(); @@ -793,7 +789,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" * @generated */ ProceduresSectionEntriesOptional2 getProceduresSectionEntriesOptional2(); @@ -802,7 +798,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" * @generated */ ReasonForVisitSection getReasonForVisitSection(); @@ -811,7 +807,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -820,7 +816,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" * @generated */ SocialHistorySection2 getSocialHistorySection2(); @@ -829,7 +825,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional2)'" * @generated */ VitalSignsSectionEntriesOptional2 getVitalSignsSectionEntriesOptional2(); @@ -838,7 +834,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::DischargeDiagnosisSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::DischargeDiagnosisSection2)'" * @generated */ DischargeDiagnosisSection2 getDischargeDiagnosisSection2(); @@ -847,7 +843,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeMedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::DischargeMedicationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeMedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::DischargeMedicationsSectionEntriesOptional2)'" * @generated */ DischargeMedicationsSectionEntriesOptional2 getDischargeMedicationsSectionEntriesOptional2(); @@ -856,7 +852,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" * @generated */ FamilyHistorySection2 getFamilyHistorySection2(); @@ -865,7 +861,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::AdmissionDiagnosisSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::AdmissionDiagnosisSection2)'" * @generated */ AdmissionDiagnosisSection2 getAdmissionDiagnosisSection2(); @@ -874,7 +870,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionMedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdmissionMedicationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionMedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdmissionMedicationsSectionEntriesOptional2)'" * @generated */ AdmissionMedicationsSectionEntriesOptional2 getAdmissionMedicationsSectionEntriesOptional2(); @@ -883,7 +879,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeMedicationsSection2))->asSequence()->any(true).oclAsType(consol::DischargeMedicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeMedicationsSection2))->asSequence()->any(true).oclAsType(consol::DischargeMedicationsSection2)'" * @generated */ DischargeMedicationsSection2 getDischargeMedicationsSection2(); @@ -892,7 +888,7 @@ boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDietSection))->asSequence()->any(true).oclAsType(consol::DischargeDietSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDietSection))->asSequence()->any(true).oclAsType(consol::DischargeDietSection)'" * @generated */ DischargeDietSection getDischargeDietSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DrugMonitoringAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DrugMonitoringAct.java index 7c79f7c4fb..1cb2e57dc4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DrugMonitoringAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DrugMonitoringAct.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -35,7 +30,7 @@ public interface DrugMonitoringAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.123\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.123\')'" * @generated */ boolean validateDrugMonitoringActTemplateId(DiagnosticChain diagnostics, Map context); @@ -71,7 +66,7 @@ public interface DrugMonitoringAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateDrugMonitoringActId(DiagnosticChain diagnostics, Map context); @@ -143,7 +138,7 @@ public interface DrugMonitoringAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" * @generated */ boolean validateDrugMonitoringActParticipant(DiagnosticChain diagnostics, Map context); @@ -155,7 +150,7 @@ public interface DrugMonitoringAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::EntityClassRoot::PSN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::EntityClassRoot::PSN)'" * @generated */ boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntityClassCode(DiagnosticChain diagnostics, @@ -168,7 +163,7 @@ boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntityClassCod * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" * @generated */ boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntityName(DiagnosticChain diagnostics, @@ -181,7 +176,7 @@ boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntityName(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::RoleClassRoot::ASSIGNED)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::RoleClassRoot::ASSIGNED)'" * @generated */ boolean validateDrugMonitoringActParticipantParticipantRoleClassCode(DiagnosticChain diagnostics, @@ -194,7 +189,7 @@ boolean validateDrugMonitoringActParticipantParticipantRoleClassCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateDrugMonitoringActParticipantParticipantRoleId(DiagnosticChain diagnostics, @@ -207,7 +202,7 @@ boolean validateDrugMonitoringActParticipantParticipantRoleId(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" * @generated */ boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntity(DiagnosticChain diagnostics, @@ -220,7 +215,7 @@ boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntity(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::RESP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::RESP)'" * @generated */ boolean validateDrugMonitoringActParticipantTypeCode(DiagnosticChain diagnostics, Map context); @@ -232,7 +227,7 @@ boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntity(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validateDrugMonitoringActParticipantParticipantRole(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DrugVehicle.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DrugVehicle.java index 14ebdac776..6749e2cec0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DrugVehicle.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/DrugVehicle.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.ParticipantRole; /** @@ -32,7 +27,7 @@ public interface DrugVehicle extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.playingEntity.oclIsUndefined() implies (self.playingEntity.code.isNullFlavorDefined() or self.playingEntity.code->size() =1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.playingEntity.oclIsUndefined() implies (self.playingEntity.code.isNullFlavorDefined() or self.playingEntity.code->size() =1)'" * @generated */ boolean validateDrugVehiclePlayingEntityCode(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface DrugVehicle extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.playingEntity.oclIsUndefined() implies self.playingEntity.name->size() =1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.playingEntity.oclIsUndefined() implies self.playingEntity.name->size() =1'" * @generated */ boolean validateDrugVehiclePlayingEntityName(DiagnosticChain diagnostics, Map context); @@ -56,7 +51,7 @@ public interface DrugVehicle extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.24\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.24\')'" * @generated */ boolean validateDrugVehicleTemplateId(DiagnosticChain diagnostics, Map context); @@ -92,7 +87,7 @@ public interface DrugVehicle extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(rim::Entity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(rim::Entity))'" * @generated */ boolean validateDrugVehiclePlayingEntity(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterActivities.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterActivities.java index 0d639ec9a6..eec25d9012 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterActivities.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterActivities.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Encounter; /** @@ -85,7 +80,7 @@ boolean validateEncounterActivitiesCodeOriginalTextReferenceValue(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)'" * @generated */ boolean validateEncounterActivitiesServiceDeliveryTypeCode(DiagnosticChain diagnostics, @@ -98,7 +93,7 @@ boolean validateEncounterActivitiesServiceDeliveryTypeCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.sDTCDischargeDispositionCode->isEmpty() or self.sDTCDischargeDispositionCode->exists(element | element.isNullFlavorUndefined())) implies (self.sDTCDischargeDispositionCode->forAll( element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and let value : datatypes::CE = element.oclAsType(datatypes::CE) in (value.codeSystem = \'2.16.840.1.113883.6.301.5\' or value.codeSystem = \'2.16.840.1.113883.12.112\') and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.sDTCDischargeDispositionCode->isEmpty() or self.sDTCDischargeDispositionCode->exists(element | element.isNullFlavorUndefined())) implies (self.sDTCDischargeDispositionCode->forAll( element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and let value : datatypes::CE = element.oclAsType(datatypes::CE) in (value.codeSystem = \'2.16.840.1.113883.6.301.5\' or value.codeSystem = \'2.16.840.1.113883.12.112\') and not value.code.oclIsUndefined()))'" * @generated */ boolean validateEncounterActivitiesSdtcDDCFromNUBCOrDD(DiagnosticChain diagnostics, Map context); @@ -110,7 +105,7 @@ boolean validateEncounterActivitiesServiceDeliveryTypeCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.49\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.49\')'" * @generated */ boolean validateEncounterActivitiesTemplateId(DiagnosticChain diagnostics, Map context); @@ -146,7 +141,7 @@ boolean validateEncounterActivitiesServiceDeliveryTypeCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateEncounterActivitiesId(DiagnosticChain diagnostics, Map context); @@ -182,7 +177,7 @@ boolean validateEncounterActivitiesServiceDeliveryTypeCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.sDTCDischargeDispositionCode->isEmpty() or self.sDTCDischargeDispositionCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.sDTCDischargeDispositionCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.sDTCDischargeDispositionCode->isEmpty() or self.sDTCDischargeDispositionCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.sDTCDischargeDispositionCode->isEmpty()) )'" * @generated */ boolean validateEncounterActivitiesSDTCDischargeDispositionCode(DiagnosticChain diagnostics, @@ -195,7 +190,7 @@ boolean validateEncounterActivitiesSDTCDischargeDispositionCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" * @generated */ boolean validateEncounterActivitiesServiceDeliveryLocation(DiagnosticChain diagnostics, @@ -208,7 +203,7 @@ boolean validateEncounterActivitiesServiceDeliveryLocation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateEncounterActivitiesIndication(DiagnosticChain diagnostics, Map context); @@ -220,7 +215,7 @@ boolean validateEncounterActivitiesServiceDeliveryLocation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" * @generated */ boolean validateEncounterActivitiesEncounterPerformer(DiagnosticChain diagnostics, Map context); @@ -232,7 +227,7 @@ boolean validateEncounterActivitiesServiceDeliveryLocation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EncounterDiagnosis))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EncounterDiagnosis))'" * @generated */ boolean validateEncounterActivitiesEncounterDiagnosis(DiagnosticChain diagnostics, Map context); @@ -244,7 +239,7 @@ boolean validateEncounterActivitiesServiceDeliveryLocation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntityCode( @@ -257,7 +252,7 @@ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedE * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -267,7 +262,7 @@ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedE * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" * @generated */ EList getServiceDeliveryLocations(); @@ -276,7 +271,7 @@ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedE * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" * @generated */ EList getIndications(); @@ -285,7 +280,7 @@ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedE * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EncounterDiagnosis)).oclAsType(consol::EncounterDiagnosis)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EncounterDiagnosis)).oclAsType(consol::EncounterDiagnosis)'" * @generated */ EList getEncounterDiagnosiss(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterActivity2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterActivity2.java index 5f35e46dcd..c348db7e88 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterActivity2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterActivity2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -34,7 +30,7 @@ public interface EncounterActivity2 extends EncounterActivities { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.49\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.49\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateEncounterActivity2TemplateId(DiagnosticChain diagnostics, Map context); @@ -58,7 +54,7 @@ public interface EncounterActivity2 extends EncounterActivities { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" * @generated */ boolean validateEncounterActivity2CDTranslation(DiagnosticChain diagnostics, Map context); @@ -70,7 +66,7 @@ public interface EncounterActivity2 extends EncounterActivities { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntityCodeP( @@ -80,7 +76,7 @@ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedE * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getConsolIndication2s(); @@ -89,7 +85,7 @@ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedE * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EncounterDiagnosis2)).oclAsType(consol::EncounterDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EncounterDiagnosis2)).oclAsType(consol::EncounterDiagnosis2)'" * @generated */ EList getConsolEncounterDiagnosis2s(); @@ -98,7 +94,7 @@ boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedE * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" * @generated */ EList getConsolServiceDeliveryLocations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterDiagnosis.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterDiagnosis.java index 00cf94e3c2..e459779ccb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterDiagnosis.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterDiagnosis.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface EncounterDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.80\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.80\')'" * @generated */ boolean validateEncounterDiagnosisTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface EncounterDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateEncounterDiagnosisProblemObservation(DiagnosticChain diagnostics, Map context); @@ -102,7 +97,7 @@ public interface EncounterDiagnosis extends Act { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterDiagnosis2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterDiagnosis2.java index 680a5ac8c6..578fab2cce 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterDiagnosis2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncounterDiagnosis2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface EncounterDiagnosis2 extends EncounterDiagnosis { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.80\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.80\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateEncounterDiagnosis2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface EncounterDiagnosis2 extends EncounterDiagnosis { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSection.java index 69bf34f050..32e0fd0b7c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSection.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -35,7 +31,7 @@ public interface EncountersSection extends EncountersSectionEntriesOptional { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.encounter.oclIsUndefined() and entry.encounter.oclIsKindOf(consol::EncounterActivities))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.encounter.oclIsUndefined() and entry.encounter.oclIsKindOf(consol::EncounterActivities))'" * @generated */ boolean validateEncountersSectionEncounterActivities(DiagnosticChain diagnostics, Map context); @@ -44,7 +40,7 @@ public interface EncountersSection extends EncountersSectionEntriesOptional { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivities)).oclAsType(consol::EncounterActivities)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivities)).oclAsType(consol::EncounterActivities)'" * @generated */ EList getConsolEncounterActivitiess(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSection2.java index c132affd2a..a63e755821 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSectionEntriesOptional.java index d9b3eda9bf..b4139b8c94 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -37,7 +32,7 @@ public interface EncountersSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.22\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.22\')'" * @generated */ boolean validateEncountersSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, @@ -98,7 +93,7 @@ boolean validateEncountersSectionEntriesOptionalTemplateId(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.encounter.oclIsUndefined() and entry.encounter.oclIsKindOf(consol::EncounterActivities))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.encounter.oclIsUndefined() and entry.encounter.oclIsKindOf(consol::EncounterActivities))'" * @generated */ boolean validateEncountersSectionEntriesOptionalEncounterActivities(DiagnosticChain diagnostics, @@ -108,7 +103,7 @@ boolean validateEncountersSectionEntriesOptionalEncounterActivities(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivities)).oclAsType(consol::EncounterActivities)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivities)).oclAsType(consol::EncounterActivities)'" * @generated */ EList getEncounterActivitiess(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSectionEntriesOptional2.java index 77b6d1d073..b509854f0a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EncountersSectionEntriesOptional2.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -25,7 +21,7 @@ public interface EncountersSectionEntriesOptional2 extends EncountersSectionEntr * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivity2)).oclAsType(consol::EncounterActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivity2)).oclAsType(consol::EncounterActivity2)'" * @generated */ EList getConsolEncounterActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EntryReference.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EntryReference.java index 448601498d..749f7310b8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EntryReference.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EntryReference.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -34,7 +29,7 @@ public interface EntryReference extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.122\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.122\')'" * @generated */ boolean validateEntryReferenceTemplateId(DiagnosticChain diagnostics, Map context); @@ -70,7 +65,7 @@ public interface EntryReference extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateEntryReferenceId(DiagnosticChain diagnostics, Map context); @@ -118,7 +113,7 @@ public interface EntryReference extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (nullFlavor.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (nullFlavor.oclIsUndefined() )))'" * @generated */ boolean validateEntryReferenceIINullFlavor(DiagnosticChain diagnostics, Map context); @@ -130,7 +125,7 @@ public interface EntryReference extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not nullFlavor.oclIsUndefined() and nullFlavor.oclIsKindOf(vocab::NullFlavor) and \r\nlet value : vocab::NullFlavor = nullFlavor.oclAsType(vocab::NullFlavor) in \r\nvalue = vocab::NullFlavor::NP )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not nullFlavor.oclIsUndefined() and nullFlavor.oclIsKindOf(vocab::NullFlavor) and \r\nlet value : vocab::NullFlavor = nullFlavor.oclAsType(vocab::NullFlavor) in \r\nvalue = vocab::NullFlavor::NP )))'" * @generated */ boolean validateEntryReferenceCDNullFlavor(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface EntryReference extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (isDefined(\'nullFlavor\') )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (isDefined(\'nullFlavor\') )))'" * @generated */ boolean validateEntryReferenceCDNullFlavorP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EstimatedDateOfDelivery.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EstimatedDateOfDelivery.java index c95c675682..0ca6204d82 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EstimatedDateOfDelivery.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/EstimatedDateOfDelivery.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface EstimatedDateOfDelivery extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.15.3.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.15.3.1\')'" * @generated */ boolean validateEstimatedDateOfDeliveryTemplateId(DiagnosticChain diagnostics, Map context); @@ -92,7 +87,7 @@ public interface EstimatedDateOfDelivery extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::TS)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::TS)))'" * @generated */ boolean validateEstimatedDateOfDeliveryValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ExternalDocumentReference.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ExternalDocumentReference.java index 6ffa2ce165..c75a5cb484 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ExternalDocumentReference.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ExternalDocumentReference.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.ExternalDocument; /** @@ -32,7 +27,7 @@ public interface ExternalDocumentReference extends ExternalDocument { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.115\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.115\')'" * @generated */ boolean validateExternalDocumentReferenceTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface ExternalDocumentReference extends ExternalDocument { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (self.id->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (self.id->size() = 1)'" * @generated */ boolean validateExternalDocumentReferenceId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryDeathObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryDeathObservation.java index 6dcb2d9cbf..1d4a5c9db4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryDeathObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryDeathObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface FamilyHistoryDeathObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.47\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.47\')'" * @generated */ boolean validateFamilyHistoryDeathObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -92,7 +87,7 @@ public interface FamilyHistoryDeathObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'419099009\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'419099009\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validateFamilyHistoryDeathObservationValue(DiagnosticChain diagnostics, Map context); @@ -104,7 +99,7 @@ public interface FamilyHistoryDeathObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateFamilyHistoryDeathObservationValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryObservation.java index c5fa878ca2..abc3a3d66f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface FamilyHistoryObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->forAll(ent : cda::EntryRelationship | ent.observation.oclIsTypeOf(consol::AgeObservation) implies ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->forAll(ent : cda::EntryRelationship | ent.observation.oclIsTypeOf(consol::AgeObservation) implies ent.inversionInd=true)'" * @generated */ boolean validateFamilyHistoryObservationAgeObservationInversion(DiagnosticChain diagnostics, @@ -45,7 +40,7 @@ boolean validateFamilyHistoryObservationAgeObservationInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.46\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.46\')'" * @generated */ boolean validateFamilyHistoryObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -81,7 +76,7 @@ boolean validateFamilyHistoryObservationAgeObservationInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateFamilyHistoryObservationId(DiagnosticChain diagnostics, Map context); @@ -153,7 +148,7 @@ boolean validateFamilyHistoryObservationAgeObservationInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateFamilyHistoryObservationValue(DiagnosticChain diagnostics, Map context); @@ -165,7 +160,7 @@ boolean validateFamilyHistoryObservationAgeObservationInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AgeObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AgeObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateFamilyHistoryObservationAgeObservation(DiagnosticChain diagnostics, Map context); @@ -177,7 +172,7 @@ boolean validateFamilyHistoryObservationAgeObservationInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::FamilyHistoryDeathObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::CAUS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::FamilyHistoryDeathObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::CAUS)'" * @generated */ boolean validateFamilyHistoryObservationFamilyHistoryDeathObservation(DiagnosticChain diagnostics, @@ -187,7 +182,7 @@ boolean validateFamilyHistoryObservationFamilyHistoryDeathObservation(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AgeObservation))->asSequence()->any(true).oclAsType(consol::AgeObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AgeObservation))->asSequence()->any(true).oclAsType(consol::AgeObservation)'" * @generated */ AgeObservation getAgeObservation(); @@ -196,7 +191,7 @@ boolean validateFamilyHistoryObservationFamilyHistoryDeathObservation(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FamilyHistoryDeathObservation))->asSequence()->any(true).oclAsType(consol::FamilyHistoryDeathObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FamilyHistoryDeathObservation))->asSequence()->any(true).oclAsType(consol::FamilyHistoryDeathObservation)'" * @generated */ FamilyHistoryDeathObservation getFamilyHistoryDeathObservation(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryObservation2.java index 70308b1eca..2050244958 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface FamilyHistoryObservation2 extends FamilyHistoryObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.46\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.46\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateFamilyHistoryObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface FamilyHistoryObservation2 extends FamilyHistoryObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty() and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.1\' and (value.code = \'75326-9\' or value.code = \'75325-1\' or value.code = \'75324-4\' or value.code = \'75323-6\' or value.code = \'29308-4\' or value.code = \'75322-8\' or value.code = \'75275-8\' or value.code = \'75321-0\' or value.code = \'75319-4\' or value.code = \'75318-6\' or value.code = \'75317-8\' or value.code = \'75316-0\' or value.code = \'75315-2\' or value.code = \'75314-5\' or value.code = \'75313-7\' or value.code = \'75312-9\'))) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty() and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.1\' and (value.code = \'75326-9\' or value.code = \'75325-1\' or value.code = \'75324-4\' or value.code = \'75323-6\' or value.code = \'29308-4\' or value.code = \'75322-8\' or value.code = \'75275-8\' or value.code = \'75321-0\' or value.code = \'75319-4\' or value.code = \'75318-6\' or value.code = \'75317-8\' or value.code = \'75316-0\' or value.code = \'75315-2\' or value.code = \'75314-5\' or value.code = \'75313-7\' or value.code = \'75312-9\'))) )))'" * @generated */ boolean validateFamilyHistoryObservation2CDTranslation(DiagnosticChain diagnostics, Map context); @@ -55,7 +51,7 @@ public interface FamilyHistoryObservation2 extends FamilyHistoryObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" * @generated */ boolean validateFamilyHistoryObservation2CDTranslationP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryOrganizer.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryOrganizer.java index 47861bf88b..d5327ba1c8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryOrganizer.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryOrganizer.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Organizer; /** @@ -36,7 +31,7 @@ public interface FamilyHistoryOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.45\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.45\')'" * @generated */ boolean validateFamilyHistoryOrganizerTemplateId(DiagnosticChain diagnostics, Map context); @@ -96,7 +91,7 @@ public interface FamilyHistoryOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::FamilyHistoryObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::FamilyHistoryObservation))'" * @generated */ boolean validateFamilyHistoryOrganizerFamilyHistoryObservation(DiagnosticChain diagnostics, @@ -109,7 +104,7 @@ boolean validateFamilyHistoryOrganizerFamilyHistoryObservation(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->one(subject : cda::Subject | not subject.oclIsUndefined() and subject.oclIsKindOf(cda::Subject))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->one(subject : cda::Subject | not subject.oclIsUndefined() and subject.oclIsKindOf(cda::Subject))'" * @generated */ boolean validateFamilyHistoryOrganizerSubject(DiagnosticChain diagnostics, Map context); @@ -121,7 +116,7 @@ boolean validateFamilyHistoryOrganizerFamilyHistoryObservation(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((administrativeGenderCode.oclIsUndefined() or administrativeGenderCode.isNullFlavorUndefined()) implies (not administrativeGenderCode.oclIsUndefined() and administrativeGenderCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = administrativeGenderCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1\' and (value.code = \'F\' or value.code = \'M\' or value.code = \'UN\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((administrativeGenderCode.oclIsUndefined() or administrativeGenderCode.isNullFlavorUndefined()) implies (not administrativeGenderCode.oclIsUndefined() and administrativeGenderCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = administrativeGenderCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1\' and (value.code = \'F\' or value.code = \'M\' or value.code = \'UN\')))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonAdministrativeGenderCode( @@ -134,7 +129,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonAdminist * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((administrativeGenderCode.oclIsUndefined() or administrativeGenderCode.isNullFlavorUndefined()) implies (not administrativeGenderCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((administrativeGenderCode.oclIsUndefined() or administrativeGenderCode.isNullFlavorUndefined()) implies (not administrativeGenderCode.oclIsUndefined()))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonAdministrativeGenderCodeP( @@ -147,7 +142,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonAdminist * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((birthTime.oclIsUndefined() or birthTime.isNullFlavorUndefined()) implies (not birthTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((birthTime.oclIsUndefined() or birthTime.isNullFlavorUndefined()) implies (not birthTime.oclIsUndefined()))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonBirthTime(DiagnosticChain diagnostics, @@ -160,7 +155,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonBirthTim * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((sDTCDeceasedInd.oclIsUndefined() or sDTCDeceasedInd.isNullFlavorUndefined()) implies (not sDTCDeceasedInd.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((sDTCDeceasedInd.oclIsUndefined() or sDTCDeceasedInd.isNullFlavorUndefined()) implies (not sDTCDeceasedInd.oclIsUndefined()))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCDeceasedInd(DiagnosticChain diagnostics, @@ -173,7 +168,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCDece * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((sDTCDeceasedTime.oclIsUndefined() or sDTCDeceasedTime.isNullFlavorUndefined()) implies (not sDTCDeceasedTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((sDTCDeceasedTime.oclIsUndefined() or sDTCDeceasedTime.isNullFlavorUndefined()) implies (not sDTCDeceasedTime.oclIsUndefined()))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCDeceasedTime( @@ -186,7 +181,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCDece * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((sDTCId->isEmpty() or sDTCId->exists(element | element.isNullFlavorUndefined())) implies (not sDTCId->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null).subject->excluding(null)->reject((sDTCId->isEmpty() or sDTCId->exists(element | element.isNullFlavorUndefined())) implies (not sDTCId->isEmpty()))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCId(DiagnosticChain diagnostics, @@ -199,7 +194,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCId(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::x_DocumentSubject::PRS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::x_DocumentSubject::PRS)'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectClassCode(DiagnosticChain diagnostics, @@ -212,7 +207,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectClassCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and (value.code = \'ADOPT\' or value.code = \'AUNT\' or value.code = \'CHILD\' or value.code = \'CHLDINLAW\' or value.code = \'COUSN\' or value.code = \'DOMPART\' or value.code = \'FAMMEMB\' or value.code = \'CHLDFOST\' or value.code = \'GRNDCHILD\' or value.code = \'GPARNT\' or value.code = \'GRPRN\' or value.code = \'GGRPRN\' or value.code = \'HSIB\' or value.code = \'MAUNT\' or value.code = \'MCOUSN\' or value.code = \'MGRPRN\' or value.code = \'MGGRPRN\' or value.code = \'MUNCLE\' or value.code = \'NCHILD\' or value.code = \'NPRN\' or value.code = \'NSIB\' or value.code = \'NIENEPH\' or value.code = \'PRN\' or value.code = \'PRNINLAW\' or value.code = \'PAUNT\' or value.code = \'PCOUSN\' or value.code = \'PGRPRN\' or value.code = \'PGGRPRN\' or value.code = \'PUNCLE\' or value.code = \'SIB\' or value.code = \'SIBINLAW\' or value.code = \'SIGOTHR\' or value.code = \'SPS\' or value.code = \'STEP\' or value.code = \'STPPRN\' or value.code = \'STPSIB\' or value.code = \'UNCLE\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and (value.code = \'ADOPT\' or value.code = \'AUNT\' or value.code = \'CHILD\' or value.code = \'CHLDINLAW\' or value.code = \'COUSN\' or value.code = \'DOMPART\' or value.code = \'FAMMEMB\' or value.code = \'CHLDFOST\' or value.code = \'GRNDCHILD\' or value.code = \'GPARNT\' or value.code = \'GRPRN\' or value.code = \'GGRPRN\' or value.code = \'HSIB\' or value.code = \'MAUNT\' or value.code = \'MCOUSN\' or value.code = \'MGRPRN\' or value.code = \'MGGRPRN\' or value.code = \'MUNCLE\' or value.code = \'NCHILD\' or value.code = \'NPRN\' or value.code = \'NSIB\' or value.code = \'NIENEPH\' or value.code = \'PRN\' or value.code = \'PRNINLAW\' or value.code = \'PAUNT\' or value.code = \'PCOUSN\' or value.code = \'PGRPRN\' or value.code = \'PGGRPRN\' or value.code = \'PUNCLE\' or value.code = \'SIB\' or value.code = \'SIBINLAW\' or value.code = \'SIGOTHR\' or value.code = \'SPS\' or value.code = \'STEP\' or value.code = \'STPPRN\' or value.code = \'STPSIB\' or value.code = \'UNCLE\')))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectCode(DiagnosticChain diagnostics, @@ -225,7 +220,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectCodeP(DiagnosticChain diagnostics, @@ -238,7 +233,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectCodeP(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null)->reject(subject->one(subject : cda::SubjectPerson | not subject.oclIsUndefined() and subject.oclIsKindOf(cda::SubjectPerson)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null).relatedSubject->excluding(null)->reject(subject->one(subject : cda::SubjectPerson | not subject.oclIsUndefined() and subject.oclIsKindOf(cda::SubjectPerson)))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject(DiagnosticChain diagnostics, @@ -251,7 +246,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null)->reject(relatedSubject->one(relatedSubject : cda::RelatedSubject | not relatedSubject.oclIsUndefined() and relatedSubject.oclIsKindOf(cda::RelatedSubject)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->excluding(null)->reject(relatedSubject->one(relatedSubject : cda::RelatedSubject | not relatedSubject.oclIsUndefined() and relatedSubject.oclIsKindOf(cda::RelatedSubject)))'" * @generated */ boolean validateFamilyHistoryOrganizerSubjectRelatedSubject(DiagnosticChain diagnostics, @@ -261,7 +256,7 @@ boolean validateFamilyHistoryOrganizerSubjectRelatedSubject(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FamilyHistoryObservation)).oclAsType(consol::FamilyHistoryObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FamilyHistoryObservation)).oclAsType(consol::FamilyHistoryObservation)'" * @generated */ EList getFamilyHistoryObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryOrganizer2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryOrganizer2.java index 0a12522e6c..bea6c23c8a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryOrganizer2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistoryOrganizer2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface FamilyHistoryOrganizer2 extends FamilyHistoryOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.45\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.45\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateFamilyHistoryOrganizer2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface FamilyHistoryOrganizer2 extends FamilyHistoryOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateFamilyHistoryOrganizer2Id(DiagnosticChain diagnostics, Map context); @@ -52,7 +48,7 @@ public interface FamilyHistoryOrganizer2 extends FamilyHistoryOrganizer { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FamilyHistoryObservation2)).oclAsType(consol::FamilyHistoryObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FamilyHistoryObservation2)).oclAsType(consol::FamilyHistoryObservation2)'" * @generated */ EList getConsolFamilyHistoryObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistorySection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistorySection.java index 8eba4a1420..ff130b46df 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistorySection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistorySection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -37,7 +32,7 @@ public interface FamilyHistorySection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.15\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.15\')'" * @generated */ boolean validateFamilyHistorySectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -97,7 +92,7 @@ public interface FamilyHistorySection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::FamilyHistoryOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::FamilyHistoryOrganizer))'" * @generated */ boolean validateFamilyHistorySectionFamilyHistory(DiagnosticChain diagnostics, Map context); @@ -106,7 +101,7 @@ public interface FamilyHistorySection extends Section { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FamilyHistoryOrganizer)).oclAsType(consol::FamilyHistoryOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FamilyHistoryOrganizer)).oclAsType(consol::FamilyHistoryOrganizer)'" * @generated */ EList getFamilyHistories(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistorySection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistorySection2.java index 805e3e371b..40d5a3f732 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistorySection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FamilyHistorySection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface FamilyHistorySection2 extends FamilyHistorySection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.15\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.15\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateFamilyHistorySection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface FamilyHistorySection2 extends FamilyHistorySection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2)).oclAsType(consol::FamilyHistoryOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2)).oclAsType(consol::FamilyHistoryOrganizer2)'" * @generated */ EList getConsolFamilyHistoryOrganizer2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FetusSubjectContext.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FetusSubjectContext.java index eb35315080..36d44771bd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FetusSubjectContext.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FetusSubjectContext.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.RelatedSubject; /** @@ -33,7 +28,7 @@ public interface FetusSubjectContext extends RelatedSubject { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.3\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.3\')'" * @generated */ boolean validateFetusSubjectContextTemplateId(DiagnosticChain diagnostics, Map context); @@ -57,7 +52,7 @@ public interface FetusSubjectContext extends RelatedSubject { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->one(subject : cda::SubjectPerson | not subject.oclIsUndefined() and subject.oclIsKindOf(cda::SubjectPerson))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.subject->one(subject : cda::SubjectPerson | not subject.oclIsUndefined() and subject.oclIsKindOf(cda::SubjectPerson))'" * @generated */ boolean validateFetusSubjectContextSubject(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FindingsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FindingsSection.java index d62bbb7275..e9bda8e858 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FindingsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FindingsSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface FindingsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.1.2\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.1.2\')'" * @generated */ boolean validateFindingsSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusObservation2.java index e495cdca25..a39c475321 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface FunctionalStatusObservation2 extends FunctionalStatusResultObse * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.67\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.67\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateFunctionalStatusObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -44,7 +40,7 @@ public interface FunctionalStatusObservation2 extends FunctionalStatusResultObse * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateFunctionalStatusObservation2AuthorParticipation(DiagnosticChain diagnostics, @@ -54,7 +50,7 @@ boolean validateFunctionalStatusObservation2AuthorParticipation(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2))->asSequence()->any(true).oclAsType(consol::NonMedicinalSupplyActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2))->asSequence()->any(true).oclAsType(consol::NonMedicinalSupplyActivity2)'" * @generated */ NonMedicinalSupplyActivity2 getConsolNonMedicinalSupplyActivity2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusOrganizer2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusOrganizer2.java index 8e72baa391..6826c3cc57 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusOrganizer2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusOrganizer2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface FunctionalStatusOrganizer2 extends FunctionalStatusResultOrgani * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.66\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.66\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateFunctionalStatusOrganizer2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface FunctionalStatusOrganizer2 extends FunctionalStatusResultOrgani * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::SelfCareActivities))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::SelfCareActivities))'" * @generated */ boolean validateFunctionalStatusOrganizer2SelfCareActivities(DiagnosticChain diagnostics, @@ -56,7 +52,7 @@ boolean validateFunctionalStatusOrganizer2SelfCareActivities(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateFunctionalStatusOrganizer2AuthorParticipation(DiagnosticChain diagnostics, @@ -66,7 +62,7 @@ boolean validateFunctionalStatusOrganizer2AuthorParticipation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusObservation2)).oclAsType(consol::FunctionalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusObservation2)).oclAsType(consol::FunctionalStatusObservation2)'" * @generated */ EList getConsolFunctionalStatusObservation2s(); @@ -75,7 +71,7 @@ boolean validateFunctionalStatusOrganizer2AuthorParticipation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SelfCareActivities)).oclAsType(consol::SelfCareActivities)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SelfCareActivities)).oclAsType(consol::SelfCareActivities)'" * @generated */ EList getSelfCareActivitiess(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusProblemObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusProblemObservation.java index 3c8351ffd7..f37ef9d232 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusProblemObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusProblemObservation.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface FunctionalStatusProblemObservation extends ProblemObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" * @generated */ boolean validateFunctionalStatusProblemObservationMethodCode(DiagnosticChain diagnostics, @@ -44,7 +40,7 @@ boolean validateFunctionalStatusProblemObservationMethodCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateFunctionalStatusProblemObservationNonMedicinalSupplyActivity(DiagnosticChain diagnostics, @@ -57,7 +53,7 @@ boolean validateFunctionalStatusProblemObservationNonMedicinalSupplyActivity(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateFunctionalStatusProblemObservationCaregiverCharacteristics(DiagnosticChain diagnostics, @@ -70,7 +66,7 @@ boolean validateFunctionalStatusProblemObservationCaregiverCharacteristics(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateFunctionalStatusProblemObservationAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -80,7 +76,7 @@ boolean validateFunctionalStatusProblemObservationAssessmentScaleObservation(Dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" * @generated */ EList getNonMedicinalSupplyActivities(); @@ -89,7 +85,7 @@ boolean validateFunctionalStatusProblemObservationAssessmentScaleObservation(Dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ EList getCaregiverCharacteristicss(); @@ -98,7 +94,7 @@ boolean validateFunctionalStatusProblemObservationAssessmentScaleObservation(Dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusResultObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusResultObservation.java index 3862f3bc1a..63053dd530 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusResultObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusResultObservation.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface FunctionalStatusResultObservation extends ResultObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.oclIsTypeOf(datatypes::CD) implies (val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.oclIsTypeOf(datatypes::CD) implies (val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validateFunctionalStatusResultObservationValueDatatype(DiagnosticChain diagnostics, @@ -57,7 +53,7 @@ boolean validateFunctionalStatusResultObservationValueDatatype(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateFunctionalStatusResultObservationAuthor(DiagnosticChain diagnostics, Map context); @@ -69,7 +65,7 @@ boolean validateFunctionalStatusResultObservationValueDatatype(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateFunctionalStatusResultObservationNonMedicinalSupplyActivity(DiagnosticChain diagnostics, @@ -82,7 +78,7 @@ boolean validateFunctionalStatusResultObservationNonMedicinalSupplyActivity(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateFunctionalStatusResultObservationCaregiverCharacteristics(DiagnosticChain diagnostics, @@ -95,7 +91,7 @@ boolean validateFunctionalStatusResultObservationCaregiverCharacteristics(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateFunctionalStatusResultObservationAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -108,7 +104,7 @@ boolean validateFunctionalStatusResultObservationAssessmentScaleObservation(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->exists(referenceRange : cda::ReferenceRange | not referenceRange.oclIsUndefined() and referenceRange.oclIsKindOf(cda::ReferenceRange))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->exists(referenceRange : cda::ReferenceRange | not referenceRange.oclIsUndefined() and referenceRange.oclIsKindOf(cda::ReferenceRange))'" * @generated */ boolean validateFunctionalStatusResultObservationReferenceRange(DiagnosticChain diagnostics, @@ -121,7 +117,7 @@ boolean validateFunctionalStatusResultObservationReferenceRange(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(code.oclIsUndefined())'" * @generated */ boolean validateFunctionalStatusResultObservationReferenceRangeObservationRangeNoCode(DiagnosticChain diagnostics, @@ -134,7 +130,7 @@ boolean validateFunctionalStatusResultObservationReferenceRangeObservationRangeN * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null)->reject(observationRange->one(observationRange : cda::ObservationRange | not observationRange.oclIsUndefined() and observationRange.oclIsKindOf(cda::ObservationRange)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null)->reject(observationRange->one(observationRange : cda::ObservationRange | not observationRange.oclIsUndefined() and observationRange.oclIsKindOf(cda::ObservationRange)))'" * @generated */ boolean validateFunctionalStatusResultObservationReferenceRangeObservationRange(DiagnosticChain diagnostics, @@ -144,7 +140,7 @@ boolean validateFunctionalStatusResultObservationReferenceRangeObservationRange( * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity))->asSequence()->any(true).oclAsType(consol::NonMedicinalSupplyActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity))->asSequence()->any(true).oclAsType(consol::NonMedicinalSupplyActivity)'" * @generated */ NonMedicinalSupplyActivity getNonMedicinalSupplyActivity(); @@ -153,7 +149,7 @@ boolean validateFunctionalStatusResultObservationReferenceRangeObservationRange( * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics))->asSequence()->any(true).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics))->asSequence()->any(true).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ CaregiverCharacteristics getCaregiverCharacteristics(); @@ -162,7 +158,7 @@ boolean validateFunctionalStatusResultObservationReferenceRangeObservationRange( * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation))->asSequence()->any(true).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation))->asSequence()->any(true).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ AssessmentScaleObservation getAssessmentScaleObservation(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusResultOrganizer.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusResultOrganizer.java index e36a1c18cb..94c71293a6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusResultOrganizer.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusResultOrganizer.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface FunctionalStatusResultOrganizer extends ResultOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::FunctionalStatusResultObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::FunctionalStatusResultObservation))'" * @generated */ boolean validateFunctionalStatusResultOrganizerFunctionalStatusResultObservation(DiagnosticChain diagnostics, @@ -41,7 +37,7 @@ boolean validateFunctionalStatusResultOrganizerFunctionalStatusResultObservation * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusResultObservation)).oclAsType(consol::FunctionalStatusResultObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusResultObservation)).oclAsType(consol::FunctionalStatusResultObservation)'" * @generated */ EList getFunctionalStatusResultObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusSection.java index 0e8cb665f3..3b9477d749 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -59,7 +54,7 @@ public interface FunctionalStatusSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.14\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.14\')'" * @generated */ boolean validateFunctionalStatusSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -107,7 +102,7 @@ public interface FunctionalStatusSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::FunctionalStatusResultOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::FunctionalStatusResultOrganizer))'" * @generated */ boolean validateFunctionalStatusSectionFunctionalStatusResultOrganizer(DiagnosticChain diagnostics, @@ -120,7 +115,7 @@ boolean validateFunctionalStatusSectionFunctionalStatusResultOrganizer(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::CognitiveStatusResultOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::CognitiveStatusResultOrganizer))'" * @generated */ boolean validateFunctionalStatusSectionCognitiveStatusResultOrganizer(DiagnosticChain diagnostics, @@ -133,7 +128,7 @@ boolean validateFunctionalStatusSectionCognitiveStatusResultOrganizer(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::FunctionalStatusResultObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::FunctionalStatusResultObservation))'" * @generated */ boolean validateFunctionalStatusSectionFunctionalStatusResultObservation(DiagnosticChain diagnostics, @@ -146,7 +141,7 @@ boolean validateFunctionalStatusSectionFunctionalStatusResultObservation(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CognitiveStatusResultObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CognitiveStatusResultObservation))'" * @generated */ boolean validateFunctionalStatusSectionCognitiveStatusResultObservation(DiagnosticChain diagnostics, @@ -159,7 +154,7 @@ boolean validateFunctionalStatusSectionCognitiveStatusResultObservation(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::FunctionalStatusProblemObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::FunctionalStatusProblemObservation))'" * @generated */ boolean validateFunctionalStatusSectionFunctionalStatusProblemObservation(DiagnosticChain diagnostics, @@ -172,7 +167,7 @@ boolean validateFunctionalStatusSectionFunctionalStatusProblemObservation(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CognitiveStatusProblemObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CognitiveStatusProblemObservation))'" * @generated */ boolean validateFunctionalStatusSectionCognitiveStatusProblemObservation(DiagnosticChain diagnostics, @@ -185,7 +180,7 @@ boolean validateFunctionalStatusSectionCognitiveStatusProblemObservation(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CaregiverCharacteristics))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CaregiverCharacteristics))'" * @generated */ boolean validateFunctionalStatusSectionCaregiverCharacteristics(DiagnosticChain diagnostics, @@ -198,7 +193,7 @@ boolean validateFunctionalStatusSectionCaregiverCharacteristics(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::AssessmentScaleObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::AssessmentScaleObservation))'" * @generated */ boolean validateFunctionalStatusSectionAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -211,7 +206,7 @@ boolean validateFunctionalStatusSectionAssessmentScaleObservation(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.supply.oclIsUndefined() and entry.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.supply.oclIsUndefined() and entry.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity))'" * @generated */ boolean validateFunctionalStatusSectionNonMedicinalSupplyActivity(DiagnosticChain diagnostics, @@ -224,7 +219,7 @@ boolean validateFunctionalStatusSectionNonMedicinalSupplyActivity(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::PressureUlcerObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::PressureUlcerObservation))'" * @generated */ boolean validateFunctionalStatusSectionPressureUlcerObservation(DiagnosticChain diagnostics, @@ -237,7 +232,7 @@ boolean validateFunctionalStatusSectionPressureUlcerObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation))'" * @generated */ boolean validateFunctionalStatusSectionNumberOfPressureUlcersObservation(DiagnosticChain diagnostics, @@ -250,7 +245,7 @@ boolean validateFunctionalStatusSectionNumberOfPressureUlcersObservation(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::HighestPressureUlcerStage))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::HighestPressureUlcerStage))'" * @generated */ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain diagnostics, @@ -260,7 +255,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FunctionalStatusResultOrganizer)).oclAsType(consol::FunctionalStatusResultOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FunctionalStatusResultOrganizer)).oclAsType(consol::FunctionalStatusResultOrganizer)'" * @generated */ EList getFunctionalStatusResultOrganizers(); @@ -269,7 +264,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::CognitiveStatusResultOrganizer)).oclAsType(consol::CognitiveStatusResultOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::CognitiveStatusResultOrganizer)).oclAsType(consol::CognitiveStatusResultOrganizer)'" * @generated */ EList getCognitiveStatusResultOrganizers(); @@ -278,7 +273,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusResultObservation)).oclAsType(consol::FunctionalStatusResultObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusResultObservation)).oclAsType(consol::FunctionalStatusResultObservation)'" * @generated */ EList getFunctionalStatusResultObservations(); @@ -287,7 +282,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CognitiveStatusResultObservation)).oclAsType(consol::CognitiveStatusResultObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CognitiveStatusResultObservation)).oclAsType(consol::CognitiveStatusResultObservation)'" * @generated */ EList getCognitiveStatusResultObservations(); @@ -296,7 +291,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusProblemObservation)).oclAsType(consol::FunctionalStatusProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusProblemObservation)).oclAsType(consol::FunctionalStatusProblemObservation)'" * @generated */ EList getFunctionalStatusProblemObservations(); @@ -305,7 +300,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CognitiveStatusProblemObservation)).oclAsType(consol::CognitiveStatusProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CognitiveStatusProblemObservation)).oclAsType(consol::CognitiveStatusProblemObservation)'" * @generated */ EList getCognitiveStatusProblemObservations(); @@ -314,7 +309,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ EList getCaregiverCharacteristicss(); @@ -323,7 +318,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); @@ -332,7 +327,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" * @generated */ EList getNonMedicinalSupplyActivities(); @@ -341,7 +336,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PressureUlcerObservation)).oclAsType(consol::PressureUlcerObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PressureUlcerObservation)).oclAsType(consol::PressureUlcerObservation)'" * @generated */ EList getPressureUlcerObservations(); @@ -350,7 +345,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation)).oclAsType(consol::NumberOfPressureUlcersObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation)).oclAsType(consol::NumberOfPressureUlcersObservation)'" * @generated */ EList getNumberOfPressureUlcersObservations(); @@ -359,7 +354,7 @@ boolean validateFunctionalStatusSectionHighestPressureUlcerStage(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage)).oclAsType(consol::HighestPressureUlcerStage)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage)).oclAsType(consol::HighestPressureUlcerStage)'" * @generated */ EList getHighestPressureUlcerStages(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusSection2.java index 4a98ef5a74..b42201554b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/FunctionalStatusSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface FunctionalStatusSection2 extends FunctionalStatusSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.14\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.14\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateFunctionalStatusSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -55,7 +51,7 @@ public interface FunctionalStatusSection2 extends FunctionalStatusSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SelfCareActivities))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SelfCareActivities))'" * @generated */ boolean validateFunctionalStatusSection2SelfCareActivities(DiagnosticChain diagnostics, @@ -68,7 +64,7 @@ boolean validateFunctionalStatusSection2SelfCareActivities(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SensoryStatus))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SensoryStatus))'" * @generated */ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain diagnostics, @@ -78,7 +74,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FunctionalStatusOrganizer2)).oclAsType(consol::FunctionalStatusOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FunctionalStatusOrganizer2)).oclAsType(consol::FunctionalStatusOrganizer2)'" * @generated */ EList getConsolFunctionalStatusOrganizer2s(); @@ -87,7 +83,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusObservation2)).oclAsType(consol::FunctionalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusObservation2)).oclAsType(consol::FunctionalStatusObservation2)'" * @generated */ EList getConsolFunctionalStatusObservation2s(); @@ -96,7 +92,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::CognitiveStatusResultOrganizer)).oclAsType(consol::CognitiveStatusResultOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::CognitiveStatusResultOrganizer)).oclAsType(consol::CognitiveStatusResultOrganizer)'" * @generated */ EList getConsolCognitiveStatusResultOrganizers(); @@ -105,7 +101,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CognitiveStatusResultObservation)).oclAsType(consol::CognitiveStatusResultObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CognitiveStatusResultObservation)).oclAsType(consol::CognitiveStatusResultObservation)'" * @generated */ EList getConsolCognitiveStatusResultObservations(); @@ -114,7 +110,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" * @generated */ EList getConsolNonMedicinalSupplyActivity2s(); @@ -123,7 +119,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation)).oclAsType(consol::NumberOfPressureUlcersObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation)).oclAsType(consol::NumberOfPressureUlcersObservation)'" * @generated */ EList getConsolNumberOfPressureUlcersObservations(); @@ -132,7 +128,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage)).oclAsType(consol::HighestPressureUlcerStage)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage)).oclAsType(consol::HighestPressureUlcerStage)'" * @generated */ EList getConsolHighestPressureUlcerStages(); @@ -141,7 +137,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SelfCareActivities)).oclAsType(consol::SelfCareActivities)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SelfCareActivities)).oclAsType(consol::SelfCareActivities)'" * @generated */ EList getSelfCareActivitiess(); @@ -150,7 +146,7 @@ boolean validateFunctionalStatusSection2SensoryAndSpeechStatus(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SensoryStatus)).oclAsType(consol::SensoryStatus)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SensoryStatus)).oclAsType(consol::SensoryStatus)'" * @generated */ EList getSensoryAndSpeechStatuss(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GeneralHeaderConstraints.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GeneralHeaderConstraints.java index b6ae4a7173..50ea346971 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GeneralHeaderConstraints.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GeneralHeaderConstraints.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.ClinicalDocument; /** @@ -146,7 +141,7 @@ boolean validateGeneralHeaderConstraintsVersionNumberSetId(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.1.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.1.1\')'" * @generated */ boolean validateGeneralHeaderConstraintsTemplateId(DiagnosticChain diagnostics, Map context); @@ -158,7 +153,7 @@ boolean validateGeneralHeaderConstraintsVersionNumberSetId(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.realmCode->isEmpty() or self.realmCode->exists(element | element.isNullFlavorUndefined())) implies (self.realmCode->size() = 1 and self.realmCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = element.oclAsType(datatypes::CS) in \r\nvalue.code = \'US\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.realmCode->isEmpty() or self.realmCode->exists(element | element.isNullFlavorUndefined())) implies (self.realmCode->size() = 1 and self.realmCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = element.oclAsType(datatypes::CS) in \r\nvalue.code = \'US\'))'" * @generated */ boolean validateGeneralHeaderConstraintsRealmCode(DiagnosticChain diagnostics, Map context); @@ -304,7 +299,7 @@ boolean validateGeneralHeaderConstraintsConfidentialityCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthor(DiagnosticChain diagnostics, Map context); @@ -316,7 +311,7 @@ boolean validateGeneralHeaderConstraintsConfidentialityCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->one(dataEnterer : cda::DataEnterer | not dataEnterer.oclIsUndefined() and dataEnterer.oclIsKindOf(cda::DataEnterer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->one(dataEnterer : cda::DataEnterer | not dataEnterer.oclIsUndefined() and dataEnterer.oclIsKindOf(cda::DataEnterer))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEnterer(DiagnosticChain diagnostics, Map context); @@ -328,7 +323,7 @@ boolean validateGeneralHeaderConstraintsConfidentialityCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->one(custodian : cda::Custodian | not custodian.oclIsUndefined() and custodian.oclIsKindOf(cda::Custodian))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->one(custodian : cda::Custodian | not custodian.oclIsUndefined() and custodian.oclIsKindOf(cda::Custodian))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodian(DiagnosticChain diagnostics, Map context); @@ -340,7 +335,7 @@ boolean validateGeneralHeaderConstraintsConfidentialityCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" * @generated */ boolean validateGeneralHeaderConstraintsInformationRecipient(DiagnosticChain diagnostics, @@ -353,7 +348,7 @@ boolean validateGeneralHeaderConstraintsInformationRecipient(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->one(legalAuthenticator : cda::LegalAuthenticator | not legalAuthenticator.oclIsUndefined() and legalAuthenticator.oclIsKindOf(cda::LegalAuthenticator))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->one(legalAuthenticator : cda::LegalAuthenticator | not legalAuthenticator.oclIsUndefined() and legalAuthenticator.oclIsKindOf(cda::LegalAuthenticator))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticator(DiagnosticChain diagnostics, @@ -366,7 +361,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticator(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->exists(authenticator : cda::Authenticator | not authenticator.oclIsUndefined() and authenticator.oclIsKindOf(cda::Authenticator))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->exists(authenticator : cda::Authenticator | not authenticator.oclIsUndefined() and authenticator.oclIsKindOf(cda::Authenticator))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticator(DiagnosticChain diagnostics, Map context); @@ -378,7 +373,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticator(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->exists(recordTarget : cda::RecordTarget | not recordTarget.oclIsUndefined() and recordTarget.oclIsKindOf(cda::RecordTarget))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->exists(recordTarget : cda::RecordTarget | not recordTarget.oclIsUndefined() and recordTarget.oclIsKindOf(cda::RecordTarget))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTarget(DiagnosticChain diagnostics, Map context); @@ -390,7 +385,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticator(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateGeneralHeaderConstraintsComponentOf(DiagnosticChain diagnostics, Map context); @@ -402,7 +397,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticator(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->exists(informant : cda::Informant12 | not informant.oclIsUndefined() and informant.oclIsKindOf(cda::Informant12))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->exists(informant : cda::Informant12 | not informant.oclIsUndefined() and informant.oclIsKindOf(cda::Informant12))'" * @generated */ boolean validateGeneralHeaderConstraintsInformant(DiagnosticChain diagnostics, Map context); @@ -414,7 +409,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticator(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::IND)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::IND)->notEmpty()'" * @generated */ boolean validateGeneralHeaderConstraintsSupportParticipant(DiagnosticChain diagnostics, @@ -427,7 +422,7 @@ boolean validateGeneralHeaderConstraintsSupportParticipant(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" * @generated */ boolean validateGeneralHeaderConstraintsInFulfillmentOf(DiagnosticChain diagnostics, Map context); @@ -439,7 +434,7 @@ boolean validateGeneralHeaderConstraintsSupportParticipant(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOf(DiagnosticChain diagnostics, Map context); @@ -451,7 +446,7 @@ boolean validateGeneralHeaderConstraintsSupportParticipant(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->exists(authorization : cda::Authorization | not authorization.oclIsUndefined() and authorization.oclIsKindOf(cda::Authorization))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->exists(authorization : cda::Authorization | not authorization.oclIsUndefined() and authorization.oclIsKindOf(cda::Authorization))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorization(DiagnosticChain diagnostics, Map context); @@ -463,7 +458,7 @@ boolean validateGeneralHeaderConstraintsSupportParticipant(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 8))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 8))'" * @generated */ boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheDayTS(DiagnosticChain diagnostics, @@ -476,7 +471,7 @@ boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheDayTS(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 12))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 12))'" * @generated */ boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheMinuteTS(DiagnosticChain diagnostics, @@ -489,7 +484,7 @@ boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheMinuteT * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 14))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 14))'" * @generated */ boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheSecondTS(DiagnosticChain diagnostics, @@ -502,7 +497,7 @@ boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheSecondT * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15)'" * @generated */ boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMIfMorePreciseThanDayIncludeTimeZoneOffsetTS( @@ -515,7 +510,7 @@ boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMIfMorePreciseThanDa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -528,7 +523,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -541,7 +536,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -554,7 +549,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUseP( @@ -567,7 +562,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUse( @@ -580,7 +575,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressCountry( @@ -593,7 +588,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressState( @@ -606,7 +601,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressCity( @@ -619,7 +614,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -632,7 +627,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -645,7 +640,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleTELUse(DiagnosticChain diagnostics, @@ -658,7 +653,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleTELUse(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject(getText(true)=\'\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject(getText(true)=\'\')'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUSRealmPatientNameMixedContent( @@ -671,7 +666,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHea * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUseP( @@ -684,7 +679,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHea * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::EntityNameUse) and \r\nlet value : vocab::EntityNameUse = element.oclAsType(vocab::EntityNameUse) in \r\nvalue = vocab::EntityNameUse::A or value = vocab::EntityNameUse::ABC or value = vocab::EntityNameUse::ASGN or value = vocab::EntityNameUse::C or value = vocab::EntityNameUse::I or value = vocab::EntityNameUse::IDE or value = vocab::EntityNameUse::L or value = vocab::EntityNameUse::P or value = vocab::EntityNameUse::PHON or value = vocab::EntityNameUse::R or value = vocab::EntityNameUse::SNDX or value = vocab::EntityNameUse::SRCH or value = vocab::EntityNameUse::SYL) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::EntityNameUse) and \r\nlet value : vocab::EntityNameUse = element.oclAsType(vocab::EntityNameUse) in \r\nvalue = vocab::EntityNameUse::A or value = vocab::EntityNameUse::ABC or value = vocab::EntityNameUse::ASGN or value = vocab::EntityNameUse::C or value = vocab::EntityNameUse::I or value = vocab::EntityNameUse::IDE or value = vocab::EntityNameUse::L or value = vocab::EntityNameUse::P or value = vocab::EntityNameUse::PHON or value = vocab::EntityNameUse::R or value = vocab::EntityNameUse::SNDX or value = vocab::EntityNameUse::SRCH or value = vocab::EntityNameUse::SYL) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUse( @@ -697,7 +692,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHea * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((family->isEmpty() or family->exists(element | element.isNullFlavorUndefined())) implies (family->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((family->isEmpty() or family->exists(element | element.isNullFlavorUndefined())) implies (family->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameFamily( @@ -710,7 +705,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHea * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((given->isEmpty() or given->exists(element | element.isNullFlavorUndefined())) implies (( not given->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((given->isEmpty() or given->exists(element | element.isNullFlavorUndefined())) implies (( not given->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameGiven( @@ -723,7 +718,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHea * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((prefix->isEmpty() or prefix->exists(element | element.isNullFlavorUndefined())) implies (not prefix->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((prefix->isEmpty() or prefix->exists(element | element.isNullFlavorUndefined())) implies (not prefix->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNamePrefix( @@ -736,7 +731,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHea * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((suffix->isEmpty() or suffix->exists(element | element.isNullFlavorUndefined())) implies (( not suffix->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).name->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((suffix->isEmpty() or suffix->exists(element | element.isNullFlavorUndefined())) implies (( not suffix->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameSuffix( @@ -749,7 +744,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHea * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthTime->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() >= 4)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthTime->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() >= 4)'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToYear( @@ -762,7 +757,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTim * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthTime->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() >= 8)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthTime->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() >= 8)'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToDay( @@ -775,7 +770,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTim * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not value.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not value.oclIsUndefined() )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSValue(DiagnosticChain diagnostics, @@ -788,7 +783,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSValue(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -801,7 +796,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -814,7 +809,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -827,7 +822,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUseP( @@ -840,7 +835,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUse( @@ -853,7 +848,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressCountry( @@ -866,7 +861,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressState( @@ -879,7 +874,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressCity( @@ -892,7 +887,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -905,7 +900,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -918,7 +913,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTELUse(DiagnosticChain diagnostics, @@ -931,7 +926,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTE * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).guardianPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null).guardianPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianPersonName( @@ -944,7 +939,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianPe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((not code.oclIsUndefined()) and code.isNullFlavorUndefined() implies\r\n(code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and (value.code = \'ADOPT\' or value.code = \'AUNT\' or value.code = \'CHILD\' or value.code = \'CHLDINLAW\' or value.code = \'COUSN\' or value.code = \'DOMPART\' or value.code = \'FAMMEMB\' or value.code = \'CHLDFOST\' or value.code = \'GRNDCHILD\' or value.code = \'GPARNT\' or value.code = \'GRPRN\' or value.code = \'GGRPRN\' or value.code = \'HSIB\' or value.code = \'MAUNT\' or value.code = \'MCOUSN\' or value.code = \'MGRPRN\' or value.code = \'MGGRPRN\' or value.code = \'MUNCLE\' or value.code = \'NCHILD\' or value.code = \'NPRN\' or value.code = \'NSIB\' or value.code = \'NBOR\' or value.code = \'NIENEPH\' or value.code = \'PRN\' or value.code = \'PRNINLAW\' or value.code = \'PAUNT\' or value.code = \'PCOUSN\' or value.code = \'PGRPRN\' or value.code = \'PGGRPRN\' or value.code = \'PUNCLE\' or value.code = \'ROOM\' or value.code = \'SIB\' or value.code = \'SIBINLAW\' or value.code = \'SIGOTHR\' or value.code = \'SPS\' or value.code = \'STEP\' or value.code = \'STPPRN\' or value.code = \'STPSIB\' or value.code = \'UNCLE\' or value.code = \'FRND\' or value.code = \'RESPRSN\' or value.code = \'EXCEST\' or value.code = \'GUADLTM\' or value.code = \'GUARD\' or value.code = \'POWATT\' or value.code = \'DPOWATT\' or value.code = \'HPOWATT\' or value.code = \'SPOWATT\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((not code.oclIsUndefined()) and code.isNullFlavorUndefined() implies\r\n(code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and (value.code = \'ADOPT\' or value.code = \'AUNT\' or value.code = \'CHILD\' or value.code = \'CHLDINLAW\' or value.code = \'COUSN\' or value.code = \'DOMPART\' or value.code = \'FAMMEMB\' or value.code = \'CHLDFOST\' or value.code = \'GRNDCHILD\' or value.code = \'GPARNT\' or value.code = \'GRPRN\' or value.code = \'GGRPRN\' or value.code = \'HSIB\' or value.code = \'MAUNT\' or value.code = \'MCOUSN\' or value.code = \'MGRPRN\' or value.code = \'MGGRPRN\' or value.code = \'MUNCLE\' or value.code = \'NCHILD\' or value.code = \'NPRN\' or value.code = \'NSIB\' or value.code = \'NBOR\' or value.code = \'NIENEPH\' or value.code = \'PRN\' or value.code = \'PRNINLAW\' or value.code = \'PAUNT\' or value.code = \'PCOUSN\' or value.code = \'PGRPRN\' or value.code = \'PGGRPRN\' or value.code = \'PUNCLE\' or value.code = \'ROOM\' or value.code = \'SIB\' or value.code = \'SIBINLAW\' or value.code = \'SIGOTHR\' or value.code = \'SPS\' or value.code = \'STEP\' or value.code = \'STPPRN\' or value.code = \'STPSIB\' or value.code = \'UNCLE\' or value.code = \'FRND\' or value.code = \'RESPRSN\' or value.code = \'EXCEST\' or value.code = \'GUADLTM\' or value.code = \'GUARD\' or value.code = \'POWATT\' or value.code = \'DPOWATT\' or value.code = \'HPOWATT\' or value.code = \'SPOWATT\')))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCodeFromPersonalRelationshipOrResponsibleParty( @@ -957,7 +952,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCode(DiagnosticChain diagnostics, @@ -970,7 +965,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianAddr(DiagnosticChain diagnostics, @@ -983,7 +978,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianAd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (not telecom->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (not telecom->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTelecom(DiagnosticChain diagnostics, @@ -996,7 +991,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject(guardianPerson->one(guardianPerson : cda::Person | not guardianPerson.oclIsUndefined() and guardianPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject(guardianPerson->one(guardianPerson : cda::Person | not guardianPerson.oclIsUndefined() and guardianPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGuardianPerson( @@ -1009,7 +1004,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthplace->excluding(null).place->excluding(null)->reject((addr.country->exists(curCountry | not curCountry.oclIsUndefined() and curCountry.getText() = \'US\')) implies (addr.state->size() = 1) and ((addr.state->exists(curState | (curState.getText() = \'AL\' or curState.getText() = \'AK\' or curState.getText() = \'AS\' or curState.getText() = \'AZ\' or curState.getText() = \'AR\' or curState.getText() = \'CA\' or curState.getText() = \'CO\' or curState.getText() = \'CT\' or curState.getText() = \'DE\' or curState.getText() = \'DC\' or curState.getText() = \'FL\' or curState.getText() = \'FM\' or curState.getText() = \'GA\' or curState.getText() = \'GU\' or curState.getText() = \'HI\' or curState.getText() = \'ID\' or curState.getText() = \'IL\' or curState.getText() = \'IN\' or curState.getText() = \'IA\' or curState.getText() = \'KS\' or curState.getText() = \'KY\' or curState.getText() = \'LA\' or curState.getText() = \'ME\' or curState.getText() = \'MH\' or curState.getText() = \'MD\' or curState.getText() = \'MA\' or curState.getText() = \'MI\' or curState.getText() = \'MN\' or curState.getText() = \'MS\' or curState.getText() = \'MO\' or curState.getText() = \'MT\' or curState.getText() = \'NE\' or curState.getText() = \'NV\' or curState.getText() = \'NH\' or curState.getText() = \'NJ\' or curState.getText() = \'NM\' or curState.getText() = \'NY\' or curState.getText() = \'NC\' or curState.getText() = \'ND\' or curState.getText() = \'MP\' or curState.getText() = \'OH\' or curState.getText() = \'OK\' or curState.getText() = \'OR\' or curState.getText() = \'PW\' or curState.getText() = \'PA\' or curState.getText() = \'PR\' or curState.getText() = \'RI\' or curState.getText() = \'SC\' or curState.getText() = \'SD\' or curState.getText() = \'TN\' or curState.getText() = \'TX\' or curState.getText() = \'UM\' or curState.getText() = \'UT\' or curState.getText() = \'VT\' or curState.getText() = \'VA\' or curState.getText() = \'VI\' or curState.getText() = \'WA\' or curState.getText() = \'WV\' or curState.getText() = \'WI\' or curState.getText() = \'WY\' ))) or (addr.state->exists(curState | curState.isNullFlavorDefined()))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthplace->excluding(null).place->excluding(null)->reject((addr.country->exists(curCountry | not curCountry.oclIsUndefined() and curCountry.getText() = \'US\')) implies (addr.state->size() = 1) and ((addr.state->exists(curState | (curState.getText() = \'AL\' or curState.getText() = \'AK\' or curState.getText() = \'AS\' or curState.getText() = \'AZ\' or curState.getText() = \'AR\' or curState.getText() = \'CA\' or curState.getText() = \'CO\' or curState.getText() = \'CT\' or curState.getText() = \'DE\' or curState.getText() = \'DC\' or curState.getText() = \'FL\' or curState.getText() = \'FM\' or curState.getText() = \'GA\' or curState.getText() = \'GU\' or curState.getText() = \'HI\' or curState.getText() = \'ID\' or curState.getText() = \'IL\' or curState.getText() = \'IN\' or curState.getText() = \'IA\' or curState.getText() = \'KS\' or curState.getText() = \'KY\' or curState.getText() = \'LA\' or curState.getText() = \'ME\' or curState.getText() = \'MH\' or curState.getText() = \'MD\' or curState.getText() = \'MA\' or curState.getText() = \'MI\' or curState.getText() = \'MN\' or curState.getText() = \'MS\' or curState.getText() = \'MO\' or curState.getText() = \'MT\' or curState.getText() = \'NE\' or curState.getText() = \'NV\' or curState.getText() = \'NH\' or curState.getText() = \'NJ\' or curState.getText() = \'NM\' or curState.getText() = \'NY\' or curState.getText() = \'NC\' or curState.getText() = \'ND\' or curState.getText() = \'MP\' or curState.getText() = \'OH\' or curState.getText() = \'OK\' or curState.getText() = \'OR\' or curState.getText() = \'PW\' or curState.getText() = \'PA\' or curState.getText() = \'PR\' or curState.getText() = \'RI\' or curState.getText() = \'SC\' or curState.getText() = \'SD\' or curState.getText() = \'TN\' or curState.getText() = \'TX\' or curState.getText() = \'UM\' or curState.getText() = \'UT\' or curState.getText() = \'VT\' or curState.getText() = \'VA\' or curState.getText() = \'VI\' or curState.getText() = \'WA\' or curState.getText() = \'WV\' or curState.getText() = \'WI\' or curState.getText() = \'WY\' ))) or (addr.state->exists(curState | curState.isNullFlavorDefined()))))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlaceHasState( @@ -1022,7 +1017,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthplace->excluding(null).place->excluding(null)->reject((addr.oclIsUndefined() or addr.isNullFlavorUndefined()) implies (not addr.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthplace->excluding(null).place->excluding(null)->reject((addr.oclIsUndefined() or addr.isNullFlavorUndefined()) implies (not addr.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlaceAddr( @@ -1035,7 +1030,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthplace->excluding(null)->reject(place->one(place : cda::Place | not place.oclIsUndefined() and place.oclIsKindOf(cda::Place)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthplace->excluding(null)->reject(place->one(place : cda::Place | not place.oclIsUndefined() and place.oclIsKindOf(cda::Place)))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlace(DiagnosticChain diagnostics, @@ -1048,7 +1043,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((languageCode.oclIsUndefined() or languageCode.isNullFlavorUndefined()) implies (not languageCode.oclIsUndefined() and languageCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = languageCode.oclAsType(datatypes::CS) in \r\nnot value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((languageCode.oclIsUndefined() or languageCode.isNullFlavorUndefined()) implies (not languageCode.oclIsUndefined() and languageCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = languageCode.oclAsType(datatypes::CS) in \r\nnot value.code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCode( @@ -1061,7 +1056,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((languageCode.oclIsUndefined() or languageCode.isNullFlavorUndefined()) implies (not languageCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((languageCode.oclIsUndefined() or languageCode.isNullFlavorUndefined()) implies (not languageCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCodeP( @@ -1074,7 +1069,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((modeCode.oclIsUndefined() or modeCode.isNullFlavorUndefined()) implies (not modeCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((modeCode.oclIsUndefined() or modeCode.isNullFlavorUndefined()) implies (not modeCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationModeCodeP( @@ -1087,7 +1082,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((modeCode.oclIsUndefined() or modeCode.isNullFlavorUndefined()) implies (not modeCode.oclIsUndefined() and modeCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = modeCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.60\' and (value.code = \'ESGN\' or value.code = \'ESP\' or value.code = \'EWR\' or value.code = \'RSGN\' or value.code = \'RSP\' or value.code = \'RWR\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((modeCode.oclIsUndefined() or modeCode.isNullFlavorUndefined()) implies (not modeCode.oclIsUndefined() and modeCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = modeCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.60\' and (value.code = \'ESGN\' or value.code = \'ESP\' or value.code = \'EWR\' or value.code = \'RSGN\' or value.code = \'RSP\' or value.code = \'RWR\')))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationModeCode( @@ -1100,7 +1095,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((proficiencyLevelCode.oclIsUndefined() or proficiencyLevelCode.isNullFlavorUndefined()) implies (not proficiencyLevelCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((proficiencyLevelCode.oclIsUndefined() or proficiencyLevelCode.isNullFlavorUndefined()) implies (not proficiencyLevelCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationProficiencyLevelCodeP( @@ -1113,7 +1108,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((proficiencyLevelCode.oclIsUndefined() or proficiencyLevelCode.isNullFlavorUndefined()) implies (not proficiencyLevelCode.oclIsUndefined() and proficiencyLevelCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = proficiencyLevelCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.61\' and (value.code = \'E\' or value.code = \'F\' or value.code = \'G\' or value.code = \'P\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((proficiencyLevelCode.oclIsUndefined() or proficiencyLevelCode.isNullFlavorUndefined()) implies (not proficiencyLevelCode.oclIsUndefined() and proficiencyLevelCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = proficiencyLevelCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.61\' and (value.code = \'E\' or value.code = \'F\' or value.code = \'G\' or value.code = \'P\')))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationProficiencyLevelCode( @@ -1126,7 +1121,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((preferenceInd.oclIsUndefined() or preferenceInd.isNullFlavorUndefined()) implies (not preferenceInd.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((preferenceInd.oclIsUndefined() or preferenceInd.isNullFlavorUndefined()) implies (not preferenceInd.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationPreferenceInd( @@ -1139,7 +1134,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(sDTCRaceCode->notEmpty() implies not raceCode.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(sDTCRaceCode->notEmpty() implies not raceCode.oclIsUndefined())'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientIfSdtcEnforceRaceCode( @@ -1152,7 +1147,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientIfSdtcEnfo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientName(DiagnosticChain diagnostics, @@ -1165,7 +1160,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientName(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((administrativeGenderCode.oclIsUndefined() or administrativeGenderCode.isNullFlavorUndefined()) implies (not administrativeGenderCode.oclIsUndefined() and administrativeGenderCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = administrativeGenderCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1\' and (value.code = \'F\' or value.code = \'M\' or value.code = \'UN\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((administrativeGenderCode.oclIsUndefined() or administrativeGenderCode.isNullFlavorUndefined()) implies (not administrativeGenderCode.oclIsUndefined() and administrativeGenderCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = administrativeGenderCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1\' and (value.code = \'F\' or value.code = \'M\' or value.code = \'UN\')))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientAdministrativeGenderCode( @@ -1178,7 +1173,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientAdministra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((birthTime.oclIsUndefined() or birthTime.isNullFlavorUndefined()) implies (not birthTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((birthTime.oclIsUndefined() or birthTime.isNullFlavorUndefined()) implies (not birthTime.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthTime(DiagnosticChain diagnostics, @@ -1191,7 +1186,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthTime( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((maritalStatusCode.oclIsUndefined() or maritalStatusCode.isNullFlavorUndefined()) implies (not maritalStatusCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((maritalStatusCode.oclIsUndefined() or maritalStatusCode.isNullFlavorUndefined()) implies (not maritalStatusCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientMaritalStatusCodeP( @@ -1204,7 +1199,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientMaritalSta * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((maritalStatusCode.oclIsUndefined() or maritalStatusCode.isNullFlavorUndefined()) implies (not maritalStatusCode.oclIsUndefined() and maritalStatusCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = maritalStatusCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.2\' and (value.code = \'A\' or value.code = \'D\' or value.code = \'I\' or value.code = \'L\' or value.code = \'M\' or value.code = \'P\' or value.code = \'S\' or value.code = \'T\' or value.code = \'W\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((maritalStatusCode.oclIsUndefined() or maritalStatusCode.isNullFlavorUndefined()) implies (not maritalStatusCode.oclIsUndefined() and maritalStatusCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = maritalStatusCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.2\' and (value.code = \'A\' or value.code = \'D\' or value.code = \'I\' or value.code = \'L\' or value.code = \'M\' or value.code = \'P\' or value.code = \'S\' or value.code = \'T\' or value.code = \'W\')))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientMaritalStatusCode(DiagnosticChain diagnostics, @@ -1217,7 +1212,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientMaritalSta * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((religiousAffiliationCode.oclIsUndefined() or religiousAffiliationCode.isNullFlavorUndefined()) implies (not religiousAffiliationCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((religiousAffiliationCode.oclIsUndefined() or religiousAffiliationCode.isNullFlavorUndefined()) implies (not religiousAffiliationCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientReligiousAffiliationCodeP( @@ -1230,7 +1225,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientReligiousA * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((religiousAffiliationCode.oclIsUndefined() or religiousAffiliationCode.isNullFlavorUndefined()) implies (not religiousAffiliationCode.oclIsUndefined() and religiousAffiliationCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = religiousAffiliationCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1076\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((religiousAffiliationCode.oclIsUndefined() or religiousAffiliationCode.isNullFlavorUndefined()) implies (not religiousAffiliationCode.oclIsUndefined() and religiousAffiliationCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = religiousAffiliationCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.1076\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientReligiousAffiliationCode( @@ -1243,7 +1238,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientReligiousA * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((raceCode.oclIsUndefined() or raceCode.isNullFlavorUndefined()) implies (not raceCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((raceCode.oclIsUndefined() or raceCode.isNullFlavorUndefined()) implies (not raceCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCodeP(DiagnosticChain diagnostics, @@ -1256,7 +1251,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCodeP( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((raceCode.oclIsUndefined() or raceCode.isNullFlavorUndefined()) implies (not raceCode.oclIsUndefined() and raceCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = raceCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.238\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((raceCode.oclIsUndefined() or raceCode.isNullFlavorUndefined()) implies (not raceCode.oclIsUndefined() and raceCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = raceCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.238\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCode(DiagnosticChain diagnostics, @@ -1269,7 +1264,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCode(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((sDTCRaceCode->isEmpty() or sDTCRaceCode->exists(element | element.isNullFlavorUndefined())) implies (not sDTCRaceCode->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((sDTCRaceCode->isEmpty() or sDTCRaceCode->exists(element | element.isNullFlavorUndefined())) implies (not sDTCRaceCode->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientSDTCRaceCodeP(DiagnosticChain diagnostics, @@ -1282,7 +1277,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientSDTCRaceCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((sDTCRaceCode->isEmpty() or sDTCRaceCode->exists(element | element.isNullFlavorUndefined())) implies (sDTCRaceCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = element.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.238\' and not value.code.oclIsUndefined())))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((sDTCRaceCode->isEmpty() or sDTCRaceCode->exists(element | element.isNullFlavorUndefined())) implies (sDTCRaceCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = element.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.238\' and not value.code.oclIsUndefined())))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientSDTCRaceCode(DiagnosticChain diagnostics, @@ -1295,7 +1290,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientSDTCRaceCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((ethnicGroupCode.oclIsUndefined() or ethnicGroupCode.isNullFlavorUndefined()) implies (not ethnicGroupCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((ethnicGroupCode.oclIsUndefined() or ethnicGroupCode.isNullFlavorUndefined()) implies (not ethnicGroupCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCodeP(DiagnosticChain diagnostics, @@ -1308,7 +1303,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGrou * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((ethnicGroupCode.oclIsUndefined() or ethnicGroupCode.isNullFlavorUndefined()) implies (not ethnicGroupCode.oclIsUndefined() and ethnicGroupCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = ethnicGroupCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.238\' and (value.code = \'2135-2\' or value.code = \'2186-5\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((ethnicGroupCode.oclIsUndefined() or ethnicGroupCode.isNullFlavorUndefined()) implies (not ethnicGroupCode.oclIsUndefined() and ethnicGroupCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = ethnicGroupCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.238\' and (value.code = \'2135-2\' or value.code = \'2186-5\')))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCode(DiagnosticChain diagnostics, @@ -1321,7 +1316,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGrou * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(guardian->exists(guardian : cda::Guardian | not guardian.oclIsUndefined() and guardian.oclIsKindOf(cda::Guardian)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(guardian->exists(guardian : cda::Guardian | not guardian.oclIsUndefined() and guardian.oclIsKindOf(cda::Guardian)))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardian(DiagnosticChain diagnostics, @@ -1334,7 +1329,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardian(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(birthplace->one(birthplace : cda::Birthplace | not birthplace.oclIsUndefined() and birthplace.oclIsKindOf(cda::Birthplace)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(birthplace->one(birthplace : cda::Birthplace | not birthplace.oclIsUndefined() and birthplace.oclIsKindOf(cda::Birthplace)))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace(DiagnosticChain diagnostics, @@ -1347,7 +1342,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(languageCommunication->exists(languageCommunication : cda::LanguageCommunication | not languageCommunication.oclIsUndefined() and languageCommunication.oclIsKindOf(cda::LanguageCommunication)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(languageCommunication->exists(languageCommunication : cda::LanguageCommunication | not languageCommunication.oclIsUndefined() and languageCommunication.oclIsKindOf(cda::LanguageCommunication)))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunication( @@ -1360,7 +1355,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationTELUse( @@ -1373,7 +1368,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -1386,7 +1381,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -1399,7 +1394,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -1412,7 +1407,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUseP( @@ -1425,7 +1420,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUse( @@ -1438,7 +1433,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressCountry( @@ -1451,7 +1446,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressState( @@ -1464,7 +1459,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressCity( @@ -1477,7 +1472,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -1490,7 +1485,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -1503,7 +1498,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationHasNationalProviderIdentifier( @@ -1516,7 +1511,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationId(DiagnosticChain diagnostics, @@ -1529,7 +1524,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationName(DiagnosticChain diagnostics, @@ -1542,7 +1537,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationTelecom( @@ -1555,7 +1550,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).providerOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationAddr(DiagnosticChain diagnostics, @@ -1568,7 +1563,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleId(DiagnosticChain diagnostics, @@ -1581,7 +1576,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleId(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleAddr(DiagnosticChain diagnostics, @@ -1594,7 +1589,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleAddr(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleTelecom(DiagnosticChain diagnostics, @@ -1607,7 +1602,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleTelecom(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject(patient->one(patient : cda::Patient | not patient.oclIsUndefined() and patient.oclIsKindOf(cda::Patient)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject(patient->one(patient : cda::Patient | not patient.oclIsUndefined() and patient.oclIsKindOf(cda::Patient)))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatient(DiagnosticChain diagnostics, @@ -1620,7 +1615,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatient(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject(providerOrganization->one(providerOrganization : cda::Organization | not providerOrganization.oclIsUndefined() and providerOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject(providerOrganization->one(providerOrganization : cda::Organization | not providerOrganization.oclIsUndefined() and providerOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganization(DiagnosticChain diagnostics, @@ -1633,7 +1628,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null)->reject(patientRole->one(patientRole : cda::PatientRole | not patientRole.oclIsUndefined() and patientRole.oclIsKindOf(cda::PatientRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null)->reject(patientRole->one(patientRole : cda::PatientRole | not patientRole.oclIsUndefined() and patientRole.oclIsKindOf(cda::PatientRole)))'" * @generated */ boolean validateGeneralHeaderConstraintsRecordTargetPatientRole(DiagnosticChain diagnostics, @@ -1646,7 +1641,7 @@ boolean validateGeneralHeaderConstraintsRecordTargetPatientRole(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsComponentOfEncompassingEncounterId(DiagnosticChain diagnostics, @@ -1659,7 +1654,7 @@ boolean validateGeneralHeaderConstraintsComponentOfEncompassingEncounterId(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsComponentOfEncompassingEncounterEffectiveTime(DiagnosticChain diagnostics, @@ -1672,7 +1667,7 @@ boolean validateGeneralHeaderConstraintsComponentOfEncompassingEncounterEffectiv * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateGeneralHeaderConstraintsComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -1685,7 +1680,7 @@ boolean validateGeneralHeaderConstraintsComponentOfEncompassingEncounter(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 8))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 8))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheDayTS( @@ -1698,7 +1693,7 @@ boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 12))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 12))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheMinuteTS( @@ -1711,7 +1706,7 @@ boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 14))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (not value.oclIsUndefined() and value.size() >= 14))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheSecondTS( @@ -1724,7 +1719,7 @@ boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).time->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).time->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15)'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMIfMorePreciseThanDayIncludeTimeZoneOffsetTS( @@ -1737,7 +1732,7 @@ boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -1750,7 +1745,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -1763,7 +1758,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -1776,7 +1771,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUseP( @@ -1789,7 +1784,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUse( @@ -1802,7 +1797,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressCountry( @@ -1815,7 +1810,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressState( @@ -1828,7 +1823,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressCity( @@ -1841,7 +1836,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -1854,7 +1849,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -1867,7 +1862,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstra * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorTELUse(DiagnosticChain diagnostics, @@ -1880,7 +1875,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorTELUse(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).assignedAuthoringDevice->excluding(null)->reject((manufacturerModelName.oclIsUndefined() or manufacturerModelName.isNullFlavorUndefined()) implies (not manufacturerModelName.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).assignedAuthoringDevice->excluding(null)->reject((manufacturerModelName.oclIsUndefined() or manufacturerModelName.isNullFlavorUndefined()) implies (not manufacturerModelName.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAuthoringDeviceManufacturerModelName( @@ -1893,7 +1888,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAuthoringDeviceManuf * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).assignedAuthoringDevice->excluding(null)->reject((softwareName.oclIsUndefined() or softwareName.isNullFlavorUndefined()) implies (not softwareName.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).assignedAuthoringDevice->excluding(null)->reject((softwareName.oclIsUndefined() or softwareName.isNullFlavorUndefined()) implies (not softwareName.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAuthoringDeviceSoftwareName(DiagnosticChain diagnostics, @@ -1906,7 +1901,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAuthoringDeviceSoftw * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorPersonName(DiagnosticChain diagnostics, @@ -1919,7 +1914,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorPersonName(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject(assignedPerson->one(element | not element.oclIsUndefined() implies (element.isNullFlavorDefined() or element->size() = 1) ) xor assignedAuthoringDevice->one(element | not element.oclIsUndefined() implies (element.isNullFlavorDefined() or element->size() = 1) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject(assignedPerson->one(element | not element.oclIsUndefined() implies (element.isNullFlavorDefined() or element->size() = 1) ) xor assignedAuthoringDevice->one(element | not element.oclIsUndefined() implies (element.isNullFlavorDefined() or element->size() = 1) ))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorHasOneAssignedPersonOrOneAssignedAuthoringDevice( @@ -1932,7 +1927,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorHasOneAssignedPerson * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((not assignedPerson.oclIsUndefined() and not id->isEmpty()) implies id->exists(id | (id.isNullFlavorDefined() and id.extension->isEmpty() and id.root->isEmpty()) or (id.isNullFlavorDefined() and id.root=\'2.16.840.1.113883.4.6\') or (id.root=\'2.16.840.1.113883.4.6\' and id.extension->size() = 1)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((not assignedPerson.oclIsUndefined() and not id->isEmpty()) implies id->exists(id | (id.isNullFlavorDefined() and id.extension->isEmpty() and id.root->isEmpty()) or (id.isNullFlavorDefined() and id.root=\'2.16.840.1.113883.4.6\') or (id.root=\'2.16.840.1.113883.4.6\' and id.extension->size() = 1)))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorHasNationalProviderIdentifier( @@ -1945,7 +1940,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorHasNationalProviderI * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorId(DiagnosticChain diagnostics, @@ -1958,7 +1953,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCodeP(DiagnosticChain diagnostics, @@ -1971,7 +1966,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCodeP(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCode(DiagnosticChain diagnostics, @@ -1984,7 +1979,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAddr(DiagnosticChain diagnostics, @@ -1997,7 +1992,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAddr(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorTelecom(DiagnosticChain diagnostics, @@ -2010,7 +2005,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorTelecom(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorTime(DiagnosticChain diagnostics, Map context); @@ -2022,7 +2017,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorTelecom(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthor(DiagnosticChain diagnostics, @@ -2035,7 +2030,7 @@ boolean validateGeneralHeaderConstraintsAuthorAssignedAuthor(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -2048,7 +2043,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -2061,7 +2056,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -2074,7 +2069,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -2087,7 +2082,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -2100,7 +2095,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -2113,7 +2108,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -2126,7 +2121,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -2139,7 +2134,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -2152,7 +2147,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -2165,7 +2160,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityTELUse(DiagnosticChain diagnostics, @@ -2178,7 +2173,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityTELUse(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityPersonName(DiagnosticChain diagnostics, @@ -2191,7 +2186,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityPersonName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityHasNationalProviderIdentifier( @@ -2204,7 +2199,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityHasNationalProv * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityId(DiagnosticChain diagnostics, @@ -2217,7 +2212,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityId(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -2230,7 +2225,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityCodeP(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\'))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityCode(DiagnosticChain diagnostics, @@ -2243,7 +2238,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityCode(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityAddr(DiagnosticChain diagnostics, @@ -2256,7 +2251,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityAddr(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityTelecom(DiagnosticChain diagnostics, @@ -2269,7 +2264,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityTelecom(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityAssignedPerson(DiagnosticChain diagnostics, @@ -2282,7 +2277,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityAssignedPerson( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntity(DiagnosticChain diagnostics, @@ -2295,7 +2290,7 @@ boolean validateGeneralHeaderConstraintsDataEntererAssignedEntity(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationTELUse( @@ -2308,7 +2303,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -2321,7 +2316,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -2334,7 +2329,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -2347,7 +2342,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUseP( @@ -2360,7 +2355,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUse( @@ -2373,7 +2368,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressCountry( @@ -2386,7 +2381,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressState( @@ -2399,7 +2394,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressCity( @@ -2412,7 +2407,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -2425,7 +2420,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -2438,7 +2433,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationHasNationalProviderIdentifier( @@ -2451,7 +2446,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationId( @@ -2464,7 +2459,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((name.oclIsUndefined() or name.isNullFlavorUndefined()) implies (not name.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((name.oclIsUndefined() or name.isNullFlavorUndefined()) implies (not name.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationName( @@ -2477,7 +2472,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((telecom.oclIsUndefined() or telecom.isNullFlavorUndefined()) implies (not telecom.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((telecom.oclIsUndefined() or telecom.isNullFlavorUndefined()) implies (not telecom.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationTelecom( @@ -2490,7 +2485,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((addr.oclIsUndefined() or addr.isNullFlavorUndefined()) implies (not addr.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((addr.oclIsUndefined() or addr.isNullFlavorUndefined()) implies (not addr.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationAddr( @@ -2503,7 +2498,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrgan * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null)->reject(representedCustodianOrganization->one(representedCustodianOrganization : cda::CustodianOrganization | not representedCustodianOrganization.oclIsUndefined() and representedCustodianOrganization.oclIsKindOf(cda::CustodianOrganization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null)->reject(representedCustodianOrganization->one(representedCustodianOrganization : cda::CustodianOrganization | not representedCustodianOrganization.oclIsUndefined() and representedCustodianOrganization.oclIsKindOf(cda::CustodianOrganization)))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianRepresentedCustodianOrganization( @@ -2516,7 +2511,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodianRepresentedCus * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null)->reject(assignedCustodian->one(assignedCustodian : cda::AssignedCustodian | not assignedCustodian.oclIsUndefined() and assignedCustodian.oclIsKindOf(cda::AssignedCustodian)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null)->reject(assignedCustodian->one(assignedCustodian : cda::AssignedCustodian | not assignedCustodian.oclIsUndefined() and assignedCustodian.oclIsKindOf(cda::AssignedCustodian)))'" * @generated */ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian(DiagnosticChain diagnostics, @@ -2529,7 +2524,7 @@ boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).informationRecipient->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).informationRecipient->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientPersonName(DiagnosticChain diagnostics, @@ -2542,7 +2537,7 @@ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientPer * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).receivedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" * @generated */ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientOrganizationName( @@ -2555,7 +2550,7 @@ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientOrg * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(informationRecipient->one(informationRecipient : cda::Person | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(informationRecipient->one(informationRecipient : cda::Person | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientInformationRecipient( @@ -2568,7 +2563,7 @@ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientInf * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(receivedOrganization->one(receivedOrganization : cda::Organization | not receivedOrganization.oclIsUndefined() and receivedOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(receivedOrganization->one(receivedOrganization : cda::Organization | not receivedOrganization.oclIsUndefined() and receivedOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientRecievedOrganization( @@ -2581,7 +2576,7 @@ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipientRec * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(cda::IntendedRecipient)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(cda::IntendedRecipient)))'" * @generated */ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipient(DiagnosticChain diagnostics, @@ -2594,7 +2589,7 @@ boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipient(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -2607,7 +2602,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -2620,7 +2615,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -2633,7 +2628,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -2646,7 +2641,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -2659,7 +2654,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -2672,7 +2667,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -2685,7 +2680,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -2698,7 +2693,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -2711,7 +2706,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -2724,7 +2719,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralH * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityTELUse(DiagnosticChain diagnostics, @@ -2737,7 +2732,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityTELUse(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityPersonName(DiagnosticChain diagnostics, @@ -2750,7 +2745,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityPersonNa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityHasNationalProviderIdentifier( @@ -2763,7 +2758,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityHasNatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityId(DiagnosticChain diagnostics, @@ -2776,7 +2771,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityId(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -2789,7 +2784,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityCodeP(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityCode(DiagnosticChain diagnostics, @@ -2802,7 +2797,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityCode(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityAddr(DiagnosticChain diagnostics, @@ -2815,7 +2810,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityAddr(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityTelecom(DiagnosticChain diagnostics, @@ -2828,7 +2823,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityTelecom( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityAssignedPerson(DiagnosticChain diagnostics, @@ -2841,7 +2836,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityAssigned * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorTime(DiagnosticChain diagnostics, @@ -2854,7 +2849,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorTime(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorSignatureCodeP(DiagnosticChain diagnostics, @@ -2867,7 +2862,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorSignatureCodeP(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined() and signatureCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = signatureCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'S\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined() and signatureCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = signatureCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'S\'))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorSignatureCode(DiagnosticChain diagnostics, @@ -2880,7 +2875,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorSignatureCode(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntity(DiagnosticChain diagnostics, @@ -2893,7 +2888,7 @@ boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssignedEntity(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -2906,7 +2901,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -2919,7 +2914,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -2932,7 +2927,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -2945,7 +2940,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -2958,7 +2953,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -2971,7 +2966,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -2984,7 +2979,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -2997,7 +2992,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -3010,7 +3005,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -3023,7 +3018,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeader * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).telecom->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityTELUse(DiagnosticChain diagnostics, @@ -3036,7 +3031,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityTELUse(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityPersonName(DiagnosticChain diagnostics, @@ -3049,7 +3044,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityPersonName(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityHasNationalProviderIdentifier( @@ -3062,7 +3057,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityHasNationalPr * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityId(DiagnosticChain diagnostics, @@ -3075,7 +3070,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityId(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -3088,7 +3083,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityCodeP(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityCode(DiagnosticChain diagnostics, @@ -3101,7 +3096,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityCode(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityAddr(DiagnosticChain diagnostics, @@ -3114,7 +3109,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityAddr(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityTelecom(DiagnosticChain diagnostics, @@ -3127,7 +3122,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityTelecom(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityAssignedPerson(DiagnosticChain diagnostics, @@ -3140,7 +3135,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityAssignedPerso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorTime(DiagnosticChain diagnostics, Map context); @@ -3152,7 +3147,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntityAssignedPerso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorSignatureCodeP(DiagnosticChain diagnostics, @@ -3165,7 +3160,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorSignatureCodeP(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined() and signatureCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = signatureCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'S\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((signatureCode.oclIsUndefined() or signatureCode.isNullFlavorUndefined()) implies (not signatureCode.oclIsUndefined() and signatureCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = signatureCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'S\'))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorSignatureCode(DiagnosticChain diagnostics, @@ -3178,7 +3173,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorSignatureCode(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntity(DiagnosticChain diagnostics, @@ -3191,7 +3186,7 @@ boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntity(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -3204,7 +3199,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -3217,7 +3212,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -3230,7 +3225,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -3243,7 +3238,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -3256,7 +3251,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -3269,7 +3264,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -3282,7 +3277,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -3295,7 +3290,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -3308,7 +3303,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -3321,7 +3316,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityPersonName(DiagnosticChain diagnostics, @@ -3334,7 +3329,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityPersonName(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityHasNationalProviderIdentifier( @@ -3347,7 +3342,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityHasNationalProvid * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityId(DiagnosticChain diagnostics, @@ -3360,7 +3355,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityId(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -3373,7 +3368,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityCodeP(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\'))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityCode(DiagnosticChain diagnostics, @@ -3386,7 +3381,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityAddr(DiagnosticChain diagnostics, @@ -3399,7 +3394,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityAddr(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantAssignedEntityAssignedPerson(DiagnosticChain diagnostics, @@ -3412,7 +3407,7 @@ boolean validateGeneralHeaderConstraintsInformantAssignedEntityAssignedPerson(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -3425,7 +3420,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -3438,7 +3433,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -3451,7 +3446,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -3464,7 +3459,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -3477,7 +3472,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -3490,7 +3485,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -3503,7 +3498,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -3516,7 +3511,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -3529,7 +3524,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -3542,7 +3537,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityAddr(DiagnosticChain diagnostics, @@ -3555,7 +3550,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityAddr(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null)->reject(relatedPerson->one(relatedPerson : cda::Person | not relatedPerson.oclIsUndefined() and relatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null)->reject(relatedPerson->one(relatedPerson : cda::Person | not relatedPerson.oclIsUndefined() and relatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateGeneralHeaderConstraintsInformantRelatedEntityPerson(DiagnosticChain diagnostics, @@ -3568,7 +3563,7 @@ boolean validateGeneralHeaderConstraintsInformantRelatedEntityPerson(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(assignedEntity.oclIsUndefined() xor relatedEntity.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(assignedEntity.oclIsUndefined() xor relatedEntity.oclIsUndefined())'" * @generated */ boolean validateGeneralHeaderConstraintsInformantHasAssignedEntityOrRelatedEntity(DiagnosticChain diagnostics, @@ -3581,7 +3576,7 @@ boolean validateGeneralHeaderConstraintsInformantHasAssignedEntityOrRelatedEntit * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject((not associatedEntity.associatedPerson.oclIsUndefined()) or (not associatedEntity.scopingOrganization.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject((not associatedEntity.associatedPerson.oclIsUndefined()) or (not associatedEntity.scopingOrganization.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsParticipantSupportAssociatedEntityHasAssociatedPersonOrScopingOrganization( @@ -3594,7 +3589,7 @@ boolean validateGeneralHeaderConstraintsParticipantSupportAssociatedEntityHasAss * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsParticipantSupportTime(DiagnosticChain diagnostics, @@ -3607,7 +3602,7 @@ boolean validateGeneralHeaderConstraintsParticipantSupportTime(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsInFulfillmentOfOrderId(DiagnosticChain diagnostics, @@ -3620,7 +3615,7 @@ boolean validateGeneralHeaderConstraintsInFulfillmentOfOrderId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" * @generated */ boolean validateGeneralHeaderConstraintsInFulfillmentOfOrder(DiagnosticChain diagnostics, @@ -3633,7 +3628,7 @@ boolean validateGeneralHeaderConstraintsInFulfillmentOfOrder(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityHasNationalProviderIdentifier( @@ -3646,7 +3641,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1Ass * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityId( @@ -3659,7 +3654,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1Ass * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCodeP( @@ -3672,7 +3667,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1Ass * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\'))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCode( @@ -3685,7 +3680,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1Ass * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject(isDefined(\'typeCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject(isDefined(\'typeCode\'))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1TypeCode(DiagnosticChain diagnostics, @@ -3698,7 +3693,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1Typ * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCodeP( @@ -3711,7 +3706,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1Fun * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.88\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.88\'))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCode( @@ -3724,7 +3719,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1Fun * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntity( @@ -3737,7 +3732,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1Ass * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(effectiveTime->forAll(not low.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(effectiveTime->forAll(not low.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventEffectiveTimeLow(DiagnosticChain diagnostics, @@ -3750,7 +3745,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventEffectiveTime * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventEffectiveTime(DiagnosticChain diagnostics, @@ -3763,7 +3758,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventEffectiveTime * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1)))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer(DiagnosticChain diagnostics, @@ -3776,7 +3771,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEvent(DiagnosticChain diagnostics, @@ -3789,7 +3784,7 @@ boolean validateGeneralHeaderConstraintsDocumentationOfServiceEvent(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorizationConsentId(DiagnosticChain diagnostics, @@ -3802,7 +3797,7 @@ boolean validateGeneralHeaderConstraintsAuthorizationConsentId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorizationConsentCode(DiagnosticChain diagnostics, @@ -3815,7 +3810,7 @@ boolean validateGeneralHeaderConstraintsAuthorizationConsentCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorizationConsentStatusCodeP(DiagnosticChain diagnostics, @@ -3828,7 +3823,7 @@ boolean validateGeneralHeaderConstraintsAuthorizationConsentStatusCodeP(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined() and statusCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = statusCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'completed\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined() and statusCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = statusCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'completed\'))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorizationConsentStatusCode(DiagnosticChain diagnostics, @@ -3841,7 +3836,7 @@ boolean validateGeneralHeaderConstraintsAuthorizationConsentStatusCode(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(consent->one(consent : cda::Consent | not consent.oclIsUndefined() and consent.oclIsKindOf(cda::Consent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(consent->one(consent : cda::Consent | not consent.oclIsUndefined() and consent.oclIsKindOf(cda::Consent)))'" * @generated */ boolean validateGeneralHeaderConstraintsAuthorizationConsent(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GeneralStatusSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GeneralStatusSection.java index e6df2976b5..53508c47f2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GeneralStatusSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GeneralStatusSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface GeneralStatusSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.2.5\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.2.5\')'" * @generated */ boolean validateGeneralStatusSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GoalObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GoalObservation.java index fd37137a0a..b1d47f06ce 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GoalObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GoalObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -34,7 +29,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.121\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.121\')'" * @generated */ boolean validateGoalObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -70,7 +65,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateGoalObservationId(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" * @generated */ boolean validateGoalObservationValue(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::GoalObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::GoalObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateGoalObservationGoalObservation(DiagnosticChain diagnostics, Map context); @@ -166,7 +161,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateGoalObservationActReferenceER(DiagnosticChain diagnostics, Map context); @@ -178,7 +173,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateGoalObservationAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -190,7 +185,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateGoalObservationHealthConcernActER(DiagnosticChain diagnostics, Map context); @@ -202,7 +197,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateGoalObservationPriorityPreference(DiagnosticChain diagnostics, Map context); @@ -214,7 +209,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateGoalObservationPlannedERs(DiagnosticChain diagnostics, Map context); @@ -226,7 +221,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" * @generated */ boolean validateGoalObservationReference(DiagnosticChain diagnostics, Map context); @@ -238,7 +233,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" * @generated */ boolean validateGoalObservationReferenceTypeCode(DiagnosticChain diagnostics, Map context); @@ -250,7 +245,7 @@ public interface GoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" * @generated */ boolean validateGoalObservationReferenceExternalDocumentReference(DiagnosticChain diagnostics, @@ -260,7 +255,7 @@ boolean validateGoalObservationReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::GoalObservation)).oclAsType(consol::GoalObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::GoalObservation)).oclAsType(consol::GoalObservation)'" * @generated */ EList getGoalObservations(); @@ -269,7 +264,7 @@ boolean validateGoalObservationReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getActReferenceERs(); @@ -278,7 +273,7 @@ boolean validateGoalObservationReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getHealthConcernActERs(); @@ -287,7 +282,7 @@ boolean validateGoalObservationReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference))->asSequence()->any(true).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference))->asSequence()->any(true).oclAsType(consol::PriorityPreference)'" * @generated */ PriorityPreference getPriorityPreference(); @@ -296,7 +291,7 @@ boolean validateGoalObservationReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getPlannedERss(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GoalsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GoalsSection.java index 6f5dc3d41e..4a1f81b92a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GoalsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/GoalsSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface GoalsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.60\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.60\')'" * @generated */ boolean validateGoalsSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -105,7 +100,7 @@ public interface GoalsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::GoalObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::GoalObservation))'" * @generated */ boolean validateGoalsSectionGoalObservation(DiagnosticChain diagnostics, Map context); @@ -114,7 +109,7 @@ public interface GoalsSection extends Section { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::GoalObservation)).oclAsType(consol::GoalObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::GoalObservation)).oclAsType(consol::GoalObservation)'" * @generated */ EList getGoalObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HandoffCommunicationParticipants.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HandoffCommunicationParticipants.java index 238a401e91..5e259975e2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HandoffCommunicationParticipants.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HandoffCommunicationParticipants.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -35,7 +30,7 @@ public interface HandoffCommunicationParticipants extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.141\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.141\')'" * @generated */ boolean validateHandoffCommunicationParticipantsTemplateId(DiagnosticChain diagnostics, @@ -135,7 +130,7 @@ boolean validateHandoffCommunicationParticipantsEffectiveTime(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipant(DiagnosticChain diagnostics, @@ -148,7 +143,7 @@ boolean validateHandoffCommunicationParticipantsParticipant(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateHandoffCommunicationParticipantsAuthorParticipation(DiagnosticChain diagnostics, @@ -161,7 +156,7 @@ boolean validateHandoffCommunicationParticipantsAuthorParticipation(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipantParticipantRolePlayingEntityName( @@ -174,7 +169,7 @@ boolean validateHandoffCommunicationParticipantsParticipantParticipantRolePlayin * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipantParticipantRoleId(DiagnosticChain diagnostics, @@ -187,7 +182,7 @@ boolean validateHandoffCommunicationParticipantsParticipantParticipantRoleId(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipantParticipantRoleCodeP(DiagnosticChain diagnostics, @@ -200,7 +195,7 @@ boolean validateHandoffCommunicationParticipantsParticipantParticipantRoleCodeP( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipantParticipantRoleCode(DiagnosticChain diagnostics, @@ -213,7 +208,7 @@ boolean validateHandoffCommunicationParticipantsParticipantParticipantRoleCode(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipantParticipantRoleAddr(DiagnosticChain diagnostics, @@ -226,7 +221,7 @@ boolean validateHandoffCommunicationParticipantsParticipantParticipantRoleAddr(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipantParticipantRolePlayingEntity(DiagnosticChain diagnostics, @@ -239,7 +234,7 @@ boolean validateHandoffCommunicationParticipantsParticipantParticipantRolePlayin * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::IRCP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::IRCP)'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipantTypeCode(DiagnosticChain diagnostics, @@ -252,7 +247,7 @@ boolean validateHandoffCommunicationParticipantsParticipantTypeCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validateHandoffCommunicationParticipantsParticipantParticipantRole(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthConcernAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthConcernAct.java index 7d912cea08..bab1748c07 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthConcernAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthConcernAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -34,7 +29,7 @@ public interface HealthConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.132\' and id.extension = \'2015-08-01\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.132\' and id.extension = \'2015-08-01\')'" * @generated */ boolean validateHealthConcernActTemplateId(DiagnosticChain diagnostics, Map context); @@ -70,7 +65,7 @@ public interface HealthConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateHealthConcernActId(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface HealthConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActHealthConcernActErRefr(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ public interface HealthConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateHealthConcernActHealthConcernActErComp(DiagnosticChain diagnostics, Map context); @@ -166,7 +161,7 @@ public interface HealthConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -179,7 +174,7 @@ boolean validateHealthConcernActAssessmentScaleObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.organizer.oclIsUndefined() and entryRelationship.organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.organizer.oclIsUndefined() and entryRelationship.organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActFamilyHistoryOrganizer2(DiagnosticChain diagnostics, Map context); @@ -191,7 +186,7 @@ boolean validateHealthConcernActAssessmentScaleObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionAssessment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionAssessment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActNutritionAssessment(DiagnosticChain diagnostics, Map context); @@ -203,7 +198,7 @@ boolean validateHealthConcernActAssessmentScaleObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PregnancyObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PregnancyObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActPregnancyObservation(DiagnosticChain diagnostics, Map context); @@ -215,7 +210,7 @@ boolean validateHealthConcernActAssessmentScaleObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActCaregiverCharacteristics(DiagnosticChain diagnostics, Map context); @@ -227,7 +222,7 @@ boolean validateHealthConcernActAssessmentScaleObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CulturalAndReligiousObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CulturalAndReligiousObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActCulturalAndReligiousObservation(DiagnosticChain diagnostics, @@ -240,7 +235,7 @@ boolean validateHealthConcernActCulturalAndReligiousObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActCharacteristicsOfHomeEnvironment(DiagnosticChain diagnostics, @@ -253,7 +248,7 @@ boolean validateHealthConcernActCharacteristicsOfHomeEnvironment(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionalStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionalStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActNutritionalStatusObservation(DiagnosticChain diagnostics, @@ -266,7 +261,7 @@ boolean validateHealthConcernActNutritionalStatusObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActEntryReferenceGeneral(DiagnosticChain diagnostics, Map context); @@ -278,7 +273,7 @@ boolean validateHealthConcernActNutritionalStatusObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateHealthConcernActAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -290,7 +285,7 @@ boolean validateHealthConcernActNutritionalStatusObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SelfCareActivities) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SelfCareActivities) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActSelfCareActivities(DiagnosticChain diagnostics, Map context); @@ -302,7 +297,7 @@ boolean validateHealthConcernActNutritionalStatusObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SensoryStatus) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SensoryStatus) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActSensoryStatus(DiagnosticChain diagnostics, Map context); @@ -314,7 +309,7 @@ boolean validateHealthConcernActNutritionalStatusObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::LongitudinalCareWoundObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::LongitudinalCareWoundObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActLongitudinalCareWoundObservation(DiagnosticChain diagnostics, @@ -327,7 +322,7 @@ boolean validateHealthConcernActLongitudinalCareWoundObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActPriorityPreference(DiagnosticChain diagnostics, Map context); @@ -339,7 +334,7 @@ boolean validateHealthConcernActLongitudinalCareWoundObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActProblemObservation2(DiagnosticChain diagnostics, Map context); @@ -351,7 +346,7 @@ boolean validateHealthConcernActLongitudinalCareWoundObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActAllergyObservation2(DiagnosticChain diagnostics, Map context); @@ -363,7 +358,7 @@ boolean validateHealthConcernActLongitudinalCareWoundObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::MentalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::MentalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActMentalStatusObservation2(DiagnosticChain diagnostics, Map context); @@ -375,7 +370,7 @@ boolean validateHealthConcernActLongitudinalCareWoundObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActSmokingStatusMeaningfulUse2(DiagnosticChain diagnostics, @@ -388,7 +383,7 @@ boolean validateHealthConcernActSmokingStatusMeaningfulUse2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EncounterDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EncounterDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActEncounterDiagnosis2(DiagnosticChain diagnostics, Map context); @@ -400,7 +395,7 @@ boolean validateHealthConcernActSmokingStatusMeaningfulUse2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::FunctionalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::FunctionalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActFunctionalStatusObservation2(DiagnosticChain diagnostics, @@ -413,7 +408,7 @@ boolean validateHealthConcernActFunctionalStatusObservation2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActHospitalAdmissionDiagnosis2(DiagnosticChain diagnostics, @@ -426,7 +421,7 @@ boolean validateHealthConcernActHospitalAdmissionDiagnosis2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PostprocedureDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PostprocedureDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActPostprocedureDiagnosis2(DiagnosticChain diagnostics, Map context); @@ -438,7 +433,7 @@ boolean validateHealthConcernActHospitalAdmissionDiagnosis2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PreoperativeDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PreoperativeDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActPreoperativeDiagnosis2(DiagnosticChain diagnostics, Map context); @@ -450,7 +445,7 @@ boolean validateHealthConcernActHospitalAdmissionDiagnosis2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActReactionObservation2(DiagnosticChain diagnostics, Map context); @@ -462,7 +457,7 @@ boolean validateHealthConcernActHospitalAdmissionDiagnosis2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ResultObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ResultObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActResultObservation2(DiagnosticChain diagnostics, Map context); @@ -474,7 +469,7 @@ boolean validateHealthConcernActHospitalAdmissionDiagnosis2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SocialHistoryObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SocialHistoryObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActSocialHistoryObservation2(DiagnosticChain diagnostics, Map context); @@ -486,7 +481,7 @@ boolean validateHealthConcernActHospitalAdmissionDiagnosis2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SubstanceOrDeviceAllergyObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SubstanceOrDeviceAllergyObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticChain diagnostics, @@ -499,7 +494,7 @@ boolean validateHealthConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::TobaccoUse2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::TobaccoUse2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActTobaccoUse2(DiagnosticChain diagnostics, Map context); @@ -511,7 +506,7 @@ boolean validateHealthConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::VitalSignObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::VitalSignObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActVitalSignObservation2(DiagnosticChain diagnostics, Map context); @@ -523,7 +518,7 @@ boolean validateHealthConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" * @generated */ boolean validateHealthConcernActProblemObservation2Support(DiagnosticChain diagnostics, @@ -536,7 +531,7 @@ boolean validateHealthConcernActProblemObservation2Support(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.organizer.oclIsUndefined() and entryRelationship.organizer.oclIsKindOf(consol::ResultOrganizer2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.organizer.oclIsUndefined() and entryRelationship.organizer.oclIsKindOf(consol::ResultOrganizer2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActResultOrganizer2(DiagnosticChain diagnostics, Map context); @@ -548,7 +543,7 @@ boolean validateHealthConcernActProblemObservation2Support(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::ProblemConcernAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::ProblemConcernAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateHealthConcernActProblemConcernAct2(DiagnosticChain diagnostics, Map context); @@ -560,7 +555,7 @@ boolean validateHealthConcernActProblemObservation2Support(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" * @generated */ boolean validateHealthConcernActReference(DiagnosticChain diagnostics, Map context); @@ -572,7 +567,7 @@ boolean validateHealthConcernActProblemObservation2Support(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" * @generated */ boolean validateHealthConcernActReferenceTypeCode(DiagnosticChain diagnostics, Map context); @@ -584,7 +579,7 @@ boolean validateHealthConcernActProblemObservation2Support(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" * @generated */ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticChain diagnostics, @@ -594,7 +589,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); @@ -603,7 +598,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2)).oclAsType(consol::FamilyHistoryOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2)).oclAsType(consol::FamilyHistoryOrganizer2)'" * @generated */ EList getFamilyHistoryOrganizer2s(); @@ -612,7 +607,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionAssessment)).oclAsType(consol::NutritionAssessment)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionAssessment)).oclAsType(consol::NutritionAssessment)'" * @generated */ EList getNutritionAssessments(); @@ -621,7 +616,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PregnancyObservation)).oclAsType(consol::PregnancyObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PregnancyObservation)).oclAsType(consol::PregnancyObservation)'" * @generated */ EList getPregnancyObservations(); @@ -630,7 +625,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ EList getCaregiverCharacteristicss(); @@ -639,7 +634,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CulturalAndReligiousObservation)).oclAsType(consol::CulturalAndReligiousObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CulturalAndReligiousObservation)).oclAsType(consol::CulturalAndReligiousObservation)'" * @generated */ EList getCulturalAndReligiousObservations(); @@ -648,7 +643,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment)).oclAsType(consol::CharacteristicsOfHomeEnvironment)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment)).oclAsType(consol::CharacteristicsOfHomeEnvironment)'" * @generated */ EList getCharacteristicsOfHomeEnvironments(); @@ -657,7 +652,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionalStatusObservation)).oclAsType(consol::NutritionalStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionalStatusObservation)).oclAsType(consol::NutritionalStatusObservation)'" * @generated */ EList getNutritionalStatusObservations(); @@ -666,7 +661,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getEntryReferenceGenerals(); @@ -675,7 +670,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SelfCareActivities)).oclAsType(consol::SelfCareActivities)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SelfCareActivities)).oclAsType(consol::SelfCareActivities)'" * @generated */ EList getSelfCareActivitiess(); @@ -684,7 +679,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SensoryStatus)).oclAsType(consol::SensoryStatus)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SensoryStatus)).oclAsType(consol::SensoryStatus)'" * @generated */ EList getSensoryStatuss(); @@ -693,7 +688,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::LongitudinalCareWoundObservation)).oclAsType(consol::LongitudinalCareWoundObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::LongitudinalCareWoundObservation)).oclAsType(consol::LongitudinalCareWoundObservation)'" * @generated */ EList getLongitudinalCareWoundObservations(); @@ -702,7 +697,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); @@ -711,7 +706,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getProblemObservation2s(); @@ -720,7 +715,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyObservation2)).oclAsType(consol::AllergyObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyObservation2)).oclAsType(consol::AllergyObservation2)'" * @generated */ EList getAllergyObservation2s(); @@ -729,7 +724,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" * @generated */ EList getMentalStatusObservation2s(); @@ -738,7 +733,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2)).oclAsType(consol::SmokingStatusMeaningfulUse2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2)).oclAsType(consol::SmokingStatusMeaningfulUse2)'" * @generated */ EList getSmokingStatusMeaningfulUse2s(); @@ -747,7 +742,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EncounterDiagnosis2)).oclAsType(consol::EncounterDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EncounterDiagnosis2)).oclAsType(consol::EncounterDiagnosis2)'" * @generated */ EList getEncounterDiagnosis2s(); @@ -756,7 +751,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusObservation2)).oclAsType(consol::FunctionalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusObservation2)).oclAsType(consol::FunctionalStatusObservation2)'" * @generated */ EList getFunctionalStatusObservation2s(); @@ -765,7 +760,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2)).oclAsType(consol::HospitalAdmissionDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2)).oclAsType(consol::HospitalAdmissionDiagnosis2)'" * @generated */ EList getHospitalAdmissionDiagnosis2s(); @@ -774,7 +769,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PostprocedureDiagnosis2)).oclAsType(consol::PostprocedureDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PostprocedureDiagnosis2)).oclAsType(consol::PostprocedureDiagnosis2)'" * @generated */ EList getPostprocedureDiagnosis2s(); @@ -783,7 +778,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PreoperativeDiagnosis2)).oclAsType(consol::PreoperativeDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PreoperativeDiagnosis2)).oclAsType(consol::PreoperativeDiagnosis2)'" * @generated */ EList getPreoperativeDiagnosis2s(); @@ -792,7 +787,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" * @generated */ EList getReactionObservation2s(); @@ -801,7 +796,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ResultObservation2)).oclAsType(consol::ResultObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ResultObservation2)).oclAsType(consol::ResultObservation2)'" * @generated */ EList getResultObservation2s(); @@ -810,7 +805,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SocialHistoryObservation2)).oclAsType(consol::SocialHistoryObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SocialHistoryObservation2)).oclAsType(consol::SocialHistoryObservation2)'" * @generated */ EList getSocialHistoryObservation2s(); @@ -819,7 +814,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SubstanceOrDeviceAllergyObservation2)).oclAsType(consol::SubstanceOrDeviceAllergyObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SubstanceOrDeviceAllergyObservation2)).oclAsType(consol::SubstanceOrDeviceAllergyObservation2)'" * @generated */ EList getSubstanceOrDeviceAllergyObservation2s(); @@ -828,7 +823,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::TobaccoUse2)).oclAsType(consol::TobaccoUse2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::TobaccoUse2)).oclAsType(consol::TobaccoUse2)'" * @generated */ EList getTobaccoUse2s(); @@ -837,7 +832,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::VitalSignObservation2)).oclAsType(consol::VitalSignObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::VitalSignObservation2)).oclAsType(consol::VitalSignObservation2)'" * @generated */ EList getVitalSignObservation2s(); @@ -846,7 +841,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getProblemObservation2Supports(); @@ -855,7 +850,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer2)).oclAsType(consol::ResultOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer2)).oclAsType(consol::ResultOrganizer2)'" * @generated */ EList getResultOrganizer2s(); @@ -864,7 +859,7 @@ boolean validateHealthConcernActReferenceExternalDocumentReference(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct2)).oclAsType(consol::ProblemConcernAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct2)).oclAsType(consol::ProblemConcernAct2)'" * @generated */ EList getProblemConcernAct2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthConcernsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthConcernsSection.java index ad9a3c87fe..e048bea2be 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthConcernsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthConcernsSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface HealthConcernsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.58\' and id.extension = \'2015-08-01\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.58\' and id.extension = \'2015-08-01\')'" * @generated */ boolean validateHealthConcernsSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -105,7 +100,7 @@ public interface HealthConcernsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HealthConcernAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HealthConcernAct))'" * @generated */ boolean validateHealthConcernsSectionHealthConcernAct(DiagnosticChain diagnostics, Map context); @@ -117,7 +112,7 @@ public interface HealthConcernsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::HealthStatusObservation2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::HealthStatusObservation2))'" * @generated */ boolean validateHealthConcernsSectionHealthStatusObservation2(DiagnosticChain diagnostics, @@ -130,7 +125,7 @@ boolean validateHealthConcernsSectionHealthStatusObservation2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::RiskConcernAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::RiskConcernAct))'" * @generated */ boolean validateHealthConcernsSectionRiskConcernAct(DiagnosticChain diagnostics, Map context); @@ -139,7 +134,7 @@ boolean validateHealthConcernsSectionHealthStatusObservation2(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HealthConcernAct)).oclAsType(consol::HealthConcernAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HealthConcernAct)).oclAsType(consol::HealthConcernAct)'" * @generated */ EList getHealthConcernActs(); @@ -148,7 +143,7 @@ boolean validateHealthConcernsSectionHealthStatusObservation2(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation2)).oclAsType(consol::HealthStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation2)).oclAsType(consol::HealthStatusObservation2)'" * @generated */ EList getHealthStatusObservation2s(); @@ -157,7 +152,7 @@ boolean validateHealthConcernsSectionHealthStatusObservation2(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::RiskConcernAct)).oclAsType(consol::RiskConcernAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::RiskConcernAct)).oclAsType(consol::RiskConcernAct)'" * @generated */ EList getRiskConcernActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusEvaluationsAndOutcomesSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusEvaluationsAndOutcomesSection.java index 188bbf03c5..f06fbe3c3a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusEvaluationsAndOutcomesSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusEvaluationsAndOutcomesSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface HealthStatusEvaluationsAndOutcomesSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.61\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.61\')'" * @generated */ boolean validateHealthStatusEvaluationsAndOutcomesSectionTemplateId(DiagnosticChain diagnostics, @@ -111,7 +106,7 @@ boolean validateHealthStatusEvaluationsAndOutcomesSectionText(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::OutcomeObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::OutcomeObservation))'" * @generated */ boolean validateHealthStatusEvaluationsAndOutcomesSectionOutcomeObservation(DiagnosticChain diagnostics, @@ -121,7 +116,7 @@ boolean validateHealthStatusEvaluationsAndOutcomesSectionOutcomeObservation(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::OutcomeObservation)).oclAsType(consol::OutcomeObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::OutcomeObservation)).oclAsType(consol::OutcomeObservation)'" * @generated */ EList getOutcomeObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusObservation.java index fcbb697d32..2409561bea 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -36,7 +31,7 @@ public interface HealthStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateHealthStatusObservationHasTextReference(DiagnosticChain diagnostics, Map context); @@ -48,7 +43,7 @@ public interface HealthStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateHealthStatusObservationTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -73,7 +68,7 @@ boolean validateHealthStatusObservationHasTextReferenceValue(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.5\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.5\')'" * @generated */ boolean validateHealthStatusObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -145,7 +140,7 @@ boolean validateHealthStatusObservationHasTextReferenceValue(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'81323004\' or value.code = \'313386006\' or value.code = \'162467007\' or value.code = \'161901003\' or value.code = \'271593001\' or value.code = \'21134002\' or value.code = \'161045001\' or value.code = \'419099009\' or value.code = \'135818000\' or value.code = \'135815002\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'81323004\' or value.code = \'313386006\' or value.code = \'162467007\' or value.code = \'161901003\' or value.code = \'271593001\' or value.code = \'21134002\' or value.code = \'161045001\' or value.code = \'419099009\' or value.code = \'135818000\' or value.code = \'135815002\')))'" * @generated */ boolean validateHealthStatusObservationValue(DiagnosticChain diagnostics, Map context); @@ -157,7 +152,7 @@ boolean validateHealthStatusObservationHasTextReferenceValue(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateHealthStatusObservationValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusObservation2.java index c0a9d8b85d..871d8dc17c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HealthStatusObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +26,7 @@ public interface HealthStatusObservation2 extends HealthStatusObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.5\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.5\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateHealthStatusObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -42,7 +38,7 @@ public interface HealthStatusObservation2 extends HealthStatusObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateHealthStatusObservation2Id(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HighestPressureUlcerStage.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HighestPressureUlcerStage.java index 16cb4e9e99..9eb6852bdd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HighestPressureUlcerStage.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HighestPressureUlcerStage.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface HighestPressureUlcerStage extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.77\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.77\')'" * @generated */ boolean validateHighestPressureUlcerStageTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface HighestPressureUlcerStage extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateHighestPressureUlcerStageId(DiagnosticChain diagnostics, Map context); @@ -104,7 +99,7 @@ public interface HighestPressureUlcerStage extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validateHighestPressureUlcerStageValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryAndPhysicalNote.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryAndPhysicalNote.java index cfa63daa22..33c03babe8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryAndPhysicalNote.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryAndPhysicalNote.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -34,7 +30,7 @@ public interface HistoryAndPhysicalNote extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( @@ -47,7 +43,7 @@ boolean validateHistoryAndPhysicalNoteHasAnAssementAndPlanSectionOrIndividualAss * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent( @@ -60,7 +56,7 @@ boolean validateHistoryAndPhysicalNoteDoesNotHaveIndividualAssementAndPlanSectio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteHasChiefComplaintAndReasonForVisitChiefComplaintOrReasonForVisit( @@ -73,7 +69,7 @@ boolean validateHistoryAndPhysicalNoteHasChiefComplaintAndReasonForVisitChiefCom * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( @@ -98,7 +94,7 @@ boolean validateHistoryAndPhysicalNoteDoesNotHaveChiefComplaintAndReasonForVisit * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(rim::ActRelationship))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(rim::ActRelationship))'" * @generated */ boolean validateHistoryAndPhysicalNoteInFulfillmentOf(DiagnosticChain diagnostics, Map context); @@ -110,7 +106,7 @@ boolean validateHistoryAndPhysicalNoteDoesNotHaveChiefComplaintAndReasonForVisit * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOf(DiagnosticChain diagnostics, Map context); @@ -122,7 +118,7 @@ boolean validateHistoryAndPhysicalNoteDoesNotHaveChiefComplaintAndReasonForVisit * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" * @generated */ boolean validateHistoryAndPhysicalNoteAllergiesSectionEntriesOptional(DiagnosticChain diagnostics, @@ -135,7 +131,7 @@ boolean validateHistoryAndPhysicalNoteAllergiesSectionEntriesOptional(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteAssessmentSection(DiagnosticChain diagnostics, Map context); @@ -147,7 +143,7 @@ boolean validateHistoryAndPhysicalNoteAllergiesSectionEntriesOptional(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" * @generated */ boolean validateHistoryAndPhysicalNotePlanOfCareSection(DiagnosticChain diagnostics, Map context); @@ -159,7 +155,7 @@ boolean validateHistoryAndPhysicalNoteAllergiesSectionEntriesOptional(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteAssessmentAndPlanSection(DiagnosticChain diagnostics, @@ -172,7 +168,7 @@ boolean validateHistoryAndPhysicalNoteAssessmentAndPlanSection(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteChiefComplaintSection(DiagnosticChain diagnostics, @@ -185,7 +181,7 @@ boolean validateHistoryAndPhysicalNoteChiefComplaintSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteChiefComplaintAndReasonForVisitSection(DiagnosticChain diagnostics, @@ -198,7 +194,7 @@ boolean validateHistoryAndPhysicalNoteChiefComplaintAndReasonForVisitSection(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" * @generated */ boolean validateHistoryAndPhysicalNoteFamilyHistorySection(DiagnosticChain diagnostics, @@ -211,7 +207,7 @@ boolean validateHistoryAndPhysicalNoteFamilyHistorySection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteGeneralStatusSection(DiagnosticChain diagnostics, @@ -224,7 +220,7 @@ boolean validateHistoryAndPhysicalNoteGeneralStatusSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteHistoryOfPastIllnessSection(DiagnosticChain diagnostics, @@ -237,7 +233,7 @@ boolean validateHistoryAndPhysicalNoteHistoryOfPastIllnessSection(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))'" * @generated */ boolean validateHistoryAndPhysicalNoteMedicationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -250,7 +246,7 @@ boolean validateHistoryAndPhysicalNoteMedicationsSectionEntriesOptional(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))'" * @generated */ boolean validateHistoryAndPhysicalNotePhysicalExamSection(DiagnosticChain diagnostics, Map context); @@ -262,7 +258,7 @@ boolean validateHistoryAndPhysicalNoteMedicationsSectionEntriesOptional(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteReasonForVisitSection(DiagnosticChain diagnostics, @@ -275,7 +271,7 @@ boolean validateHistoryAndPhysicalNoteReasonForVisitSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))'" * @generated */ boolean validateHistoryAndPhysicalNoteResultsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -288,7 +284,7 @@ boolean validateHistoryAndPhysicalNoteResultsSectionEntriesOptional(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteReviewOfSystemsSection(DiagnosticChain diagnostics, @@ -301,7 +297,7 @@ boolean validateHistoryAndPhysicalNoteReviewOfSystemsSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" * @generated */ boolean validateHistoryAndPhysicalNoteSocialHistorySection(DiagnosticChain diagnostics, @@ -314,7 +310,7 @@ boolean validateHistoryAndPhysicalNoteSocialHistorySection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteHistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -327,7 +323,7 @@ boolean validateHistoryAndPhysicalNoteHistoryOfPresentIllnessSection(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))'" * @generated */ boolean validateHistoryAndPhysicalNoteImmunizationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -340,7 +336,7 @@ boolean validateHistoryAndPhysicalNoteImmunizationsSectionEntriesOptional(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))'" * @generated */ boolean validateHistoryAndPhysicalNoteProblemSectionEntriesOptional(DiagnosticChain diagnostics, @@ -353,7 +349,7 @@ boolean validateHistoryAndPhysicalNoteProblemSectionEntriesOptional(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))'" * @generated */ boolean validateHistoryAndPhysicalNoteProceduresSectionEntriesOptional(DiagnosticChain diagnostics, @@ -366,7 +362,7 @@ boolean validateHistoryAndPhysicalNoteProceduresSectionEntriesOptional(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" * @generated */ boolean validateHistoryAndPhysicalNoteVitalSignsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -379,7 +375,7 @@ boolean validateHistoryAndPhysicalNoteVitalSignsSectionEntriesOptional(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection))'" * @generated */ boolean validateHistoryAndPhysicalNoteInstructionsSection(DiagnosticChain diagnostics, Map context); @@ -391,7 +387,7 @@ boolean validateHistoryAndPhysicalNoteVitalSignsSectionEntriesOptional(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsiblePartyAssignedEntityHasPersonOrOrganization( @@ -404,7 +400,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Responsib * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsiblePartyAssignedEntity( @@ -417,7 +413,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Responsib * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipantAssignedEntityHasPersonOrOrganization( @@ -430,7 +426,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Encounter * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipantAssignedEntity( @@ -443,7 +439,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Encounter * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 8)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 8)'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheDay(DiagnosticChain diagnostics, @@ -456,7 +452,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseTo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 12)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 12)'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheMinute( @@ -469,7 +465,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseTo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 14)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 14)'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheSecond( @@ -482,7 +478,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseTo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() and effectiveTime.value.size() > 8 implies effectiveTime.value.size() >= 15)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() and effectiveTime.value.size() > 8 implies effectiveTime.value.size() >= 15)'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4IfMorePreciseThanDayIncludeTimeZoneOffset( @@ -495,7 +491,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4IfMorePre * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EffectiveTime(DiagnosticChain diagnostics, @@ -508,7 +504,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Effective * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Id(DiagnosticChain diagnostics, @@ -521,7 +517,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Id(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->one(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(rim::Participation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->one(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(rim::Participation)))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Location(DiagnosticChain diagnostics, @@ -534,7 +530,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Location( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsibleParty(DiagnosticChain diagnostics, @@ -547,7 +543,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Responsib * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipant( @@ -560,7 +556,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Encounter * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -570,7 +566,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" * @generated */ AllergiesSectionEntriesOptional getAllergiesSectionEntriesOptional(); @@ -579,7 +575,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -588,7 +584,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" * @generated */ PlanOfCareSection getPlanOfCareSection(); @@ -597,7 +593,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection)'" * @generated */ AssessmentAndPlanSection getAssessmentAndPlanSection(); @@ -606,7 +602,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -615,7 +611,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" * @generated */ ChiefComplaintAndReasonForVisitSection getChiefComplaintAndReasonForVisitSection(); @@ -624,7 +620,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" * @generated */ FamilyHistorySection getFamilyHistorySection(); @@ -633,7 +629,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" * @generated */ GeneralStatusSection getGeneralStatusSection(); @@ -642,7 +638,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection)'" * @generated */ HistoryOfPastIllnessSection getHistoryOfPastIllnessSection(); @@ -651,7 +647,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional)'" * @generated */ MedicationsSectionEntriesOptional getMedicationsSectionEntriesOptional(); @@ -660,7 +656,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection)'" * @generated */ PhysicalExamSection getPhysicalExamSection(); @@ -669,7 +665,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" * @generated */ ReasonForVisitSection getReasonForVisitSection(); @@ -678,7 +674,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional)'" * @generated */ ResultsSectionEntriesOptional getResultsSectionEntriesOptional(); @@ -687,7 +683,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -696,7 +692,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" * @generated */ SocialHistorySection getSocialHistorySection(); @@ -705,7 +701,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -714,7 +710,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional)'" * @generated */ ImmunizationsSectionEntriesOptional getImmunizationsSectionEntriesOptional(); @@ -723,7 +719,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional)'" * @generated */ ProblemSectionEntriesOptional getProblemSectionEntriesOptional(); @@ -732,7 +728,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional)'" * @generated */ ProceduresSectionEntriesOptional getProceduresSectionEntriesOptional(); @@ -741,7 +737,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" * @generated */ VitalSignsSectionEntriesOptional getVitalSignsSectionEntriesOptional(); @@ -750,7 +746,7 @@ boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection))->asSequence()->any(true).oclAsType(consol::InstructionsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection))->asSequence()->any(true).oclAsType(consol::InstructionsSection)'" * @generated */ InstructionsSection getInstructionsSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryAndPhysicalNote2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryAndPhysicalNote2.java index 37ad6fc04f..3c7e15b4a8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryAndPhysicalNote2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryAndPhysicalNote2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -36,7 +32,7 @@ public interface HistoryAndPhysicalNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2HasChiefComplaintAndReasonForVisitChiefComplaintOrReasonForVisit( @@ -49,7 +45,7 @@ boolean validateHistoryAndPhysicalNote2HasChiefComplaintAndReasonForVisitChiefCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( @@ -62,7 +58,7 @@ boolean validateHistoryAndPhysicalNote2HasAnAssementAndPlanSection2OrBothAssemen * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2DoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent( @@ -75,7 +71,7 @@ boolean validateHistoryAndPhysicalNote2DoesNotHaveAssementAndPlanSection2WhenAss * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2DoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( @@ -112,7 +108,7 @@ boolean validateHistoryAndPhysicalNote2DoesNotHaveChiefComplaintAndReasonForVisi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" * @generated */ boolean validateHistoryAndPhysicalNote2InformationRecipient(DiagnosticChain diagnostics, @@ -125,7 +121,7 @@ boolean validateHistoryAndPhysicalNote2InformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" * @generated */ boolean validateHistoryAndPhysicalNote2Participant(DiagnosticChain diagnostics, Map context); @@ -137,7 +133,7 @@ boolean validateHistoryAndPhysicalNote2InformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(rim::ActRelationship))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(rim::ActRelationship))'" * @generated */ boolean validateHistoryAndPhysicalNote2InFulfillmentOf(DiagnosticChain diagnostics, Map context); @@ -149,7 +145,7 @@ boolean validateHistoryAndPhysicalNote2InformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOf(DiagnosticChain diagnostics, Map context); @@ -161,7 +157,7 @@ boolean validateHistoryAndPhysicalNote2InformationRecipient(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))'" * @generated */ boolean validateHistoryAndPhysicalNote2AllergiesSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -174,7 +170,7 @@ boolean validateHistoryAndPhysicalNote2AllergiesSectionEntriesOptional2(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2AssessmentSection(DiagnosticChain diagnostics, Map context); @@ -186,7 +182,7 @@ boolean validateHistoryAndPhysicalNote2AllergiesSectionEntriesOptional2(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2PlanOfTreatmentSection2(DiagnosticChain diagnostics, @@ -199,7 +195,7 @@ boolean validateHistoryAndPhysicalNote2PlanOfTreatmentSection2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2AssessmentAndPlanSection2(DiagnosticChain diagnostics, @@ -212,7 +208,7 @@ boolean validateHistoryAndPhysicalNote2AssessmentAndPlanSection2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2ChiefComplaintSection(DiagnosticChain diagnostics, @@ -225,7 +221,7 @@ boolean validateHistoryAndPhysicalNote2ChiefComplaintSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2ChiefComplaintAndReasonForVisitSection(DiagnosticChain diagnostics, @@ -238,7 +234,7 @@ boolean validateHistoryAndPhysicalNote2ChiefComplaintAndReasonForVisitSection(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2GeneralStatusSection(DiagnosticChain diagnostics, @@ -251,7 +247,7 @@ boolean validateHistoryAndPhysicalNote2GeneralStatusSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2HistoryOfPastIllnessSection2(DiagnosticChain diagnostics, @@ -264,7 +260,7 @@ boolean validateHistoryAndPhysicalNote2HistoryOfPastIllnessSection2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2HistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -277,7 +273,7 @@ boolean validateHistoryAndPhysicalNote2HistoryOfPresentIllnessSection(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))'" * @generated */ boolean validateHistoryAndPhysicalNote2ImmunizationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -290,7 +286,7 @@ boolean validateHistoryAndPhysicalNote2ImmunizationsSectionEntriesOptional2(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2InstructionsSection2(DiagnosticChain diagnostics, @@ -303,7 +299,7 @@ boolean validateHistoryAndPhysicalNote2InstructionsSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))'" * @generated */ boolean validateHistoryAndPhysicalNote2MedicationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -316,7 +312,7 @@ boolean validateHistoryAndPhysicalNote2MedicationsSectionEntriesOptional2(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2PhysicalExamSection2(DiagnosticChain diagnostics, @@ -329,7 +325,7 @@ boolean validateHistoryAndPhysicalNote2PhysicalExamSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))'" * @generated */ boolean validateHistoryAndPhysicalNote2ProblemSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -342,7 +338,7 @@ boolean validateHistoryAndPhysicalNote2ProblemSectionEntriesOptional2(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" * @generated */ boolean validateHistoryAndPhysicalNote2ProceduresSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -355,7 +351,7 @@ boolean validateHistoryAndPhysicalNote2ProceduresSectionEntriesOptional2(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2ReasonForVisitSection(DiagnosticChain diagnostics, @@ -368,7 +364,7 @@ boolean validateHistoryAndPhysicalNote2ReasonForVisitSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional2))'" * @generated */ boolean validateHistoryAndPhysicalNote2ResultsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -381,7 +377,7 @@ boolean validateHistoryAndPhysicalNote2ResultsSectionEntriesOptional2(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateHistoryAndPhysicalNote2ReviewOfSystemsSection(DiagnosticChain diagnostics, @@ -394,7 +390,7 @@ boolean validateHistoryAndPhysicalNote2ReviewOfSystemsSection(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2SocialHistorySection2(DiagnosticChain diagnostics, @@ -407,7 +403,7 @@ boolean validateHistoryAndPhysicalNote2SocialHistorySection2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))'" * @generated */ boolean validateHistoryAndPhysicalNote2VitalSignsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -420,7 +416,7 @@ boolean validateHistoryAndPhysicalNote2VitalSignsSectionEntriesOptional2(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" * @generated */ boolean validateHistoryAndPhysicalNote2FamilyHistorySection2(DiagnosticChain diagnostics, @@ -433,7 +429,7 @@ boolean validateHistoryAndPhysicalNote2FamilyHistorySection2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateHistoryAndPhysicalNote2InformationRecipientIntendedRecipient(DiagnosticChain diagnostics, @@ -446,7 +442,7 @@ boolean validateHistoryAndPhysicalNote2InformationRecipientIntendedRecipient(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(p : cda::Participant1 | p.typeCode = vocab::ParticipationType::IND and not ( p.associatedEntity.classCode = vocab::RoleClassAssociative::PRS or p.associatedEntity.classCode = vocab::RoleClassAssociative::NOK or p.associatedEntity.classCode = vocab::RoleClassAssociative::CAREGIVER or p.associatedEntity.classCode = vocab::RoleClassAssociative::AGNT or p.associatedEntity.classCode = vocab::RoleClassAssociative::GUAR or p.associatedEntity.classCode = vocab::RoleClassAssociative::ECON or p.associatedEntity.isNullFlavorDefined() ) or p.associatedEntity.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(p : cda::Participant1 | p.typeCode = vocab::ParticipationType::IND and not ( p.associatedEntity.classCode = vocab::RoleClassAssociative::PRS or p.associatedEntity.classCode = vocab::RoleClassAssociative::NOK or p.associatedEntity.classCode = vocab::RoleClassAssociative::CAREGIVER or p.associatedEntity.classCode = vocab::RoleClassAssociative::AGNT or p.associatedEntity.classCode = vocab::RoleClassAssociative::GUAR or p.associatedEntity.classCode = vocab::RoleClassAssociative::ECON or p.associatedEntity.isNullFlavorDefined() ) or p.associatedEntity.oclIsUndefined())'" * @generated */ boolean validateHistoryAndPhysicalNote2ParticipantIfParTypeCodeINDThenAEClassCodeIND(DiagnosticChain diagnostics, @@ -459,7 +455,7 @@ boolean validateHistoryAndPhysicalNote2ParticipantIfParTypeCodeINDThenAEClassCod * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 8) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 8) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 8))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 8) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 8) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 8))))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS( @@ -472,7 +468,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 12) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 12) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 12))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 12) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 12) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 12))))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS( @@ -485,7 +481,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 14) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 14) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 14))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 14) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 14) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 14))))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS( @@ -498,7 +494,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject((not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15) and ((not low.value.oclIsUndefined() and low.value.size() > 8 implies low.value.size() >= 15) and (not high.value.oclIsUndefined() and high.value.size() > 8 implies high.value.size() >= 15)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject((not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15) and ((not low.value.oclIsUndefined() and low.value.size() > 8 implies low.value.size() >= 15) and (not high.value.oclIsUndefined() and high.value.size() > 8 implies high.value.size() >= 15)))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS( @@ -511,7 +507,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrOrganization( @@ -524,7 +520,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsib * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).responsibleParty->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity( @@ -537,7 +533,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsib * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(not assignedEntity.assignedPerson.oclIsUndefined() or not assignedEntity.representedOrganization->isEmpty())'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrOrganization( @@ -550,7 +546,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounter * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity( @@ -563,7 +559,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounter * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterId(DiagnosticChain diagnostics, @@ -576,7 +572,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterId(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEffectiveTime(DiagnosticChain diagnostics, @@ -589,7 +585,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEffective * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(responsibleParty->one(responsibleParty : cda::ResponsibleParty | not responsibleParty.oclIsUndefined() and responsibleParty.oclIsKindOf(cda::ResponsibleParty)))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsibleParty(DiagnosticChain diagnostics, @@ -602,7 +598,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsib * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->exists(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->exists(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipant( @@ -615,7 +611,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounter * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->one(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(rim::Participation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->one(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(rim::Participation)))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterLocation(DiagnosticChain diagnostics, @@ -628,7 +624,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterLocation( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -638,7 +634,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional2)'" * @generated */ AllergiesSectionEntriesOptional2 getAllergiesSectionEntriesOptional2(); @@ -647,7 +643,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -656,7 +652,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -665,7 +661,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" * @generated */ AssessmentAndPlanSection2 getAssessmentAndPlanSection2(); @@ -674,7 +670,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -683,7 +679,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" * @generated */ ChiefComplaintAndReasonForVisitSection getChiefComplaintAndReasonForVisitSection(); @@ -692,7 +688,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" * @generated */ GeneralStatusSection getGeneralStatusSection(); @@ -701,7 +697,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" * @generated */ HistoryOfPastIllnessSection2 getHistoryOfPastIllnessSection2(); @@ -710,7 +706,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -719,7 +715,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional2)'" * @generated */ ImmunizationsSectionEntriesOptional2 getImmunizationsSectionEntriesOptional2(); @@ -728,7 +724,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection2))->asSequence()->any(true).oclAsType(consol::InstructionsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection2))->asSequence()->any(true).oclAsType(consol::InstructionsSection2)'" * @generated */ InstructionsSection2 getInstructionsSection2(); @@ -737,7 +733,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional2)'" * @generated */ MedicationsSectionEntriesOptional2 getMedicationsSectionEntriesOptional2(); @@ -746,7 +742,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" * @generated */ PhysicalExamSection2 getPhysicalExamSection2(); @@ -755,7 +751,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional2)'" * @generated */ ProblemSectionEntriesOptional2 getProblemSectionEntriesOptional2(); @@ -764,7 +760,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" * @generated */ ProceduresSectionEntriesOptional2 getProceduresSectionEntriesOptional2(); @@ -773,7 +769,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" * @generated */ ReasonForVisitSection getReasonForVisitSection(); @@ -782,7 +778,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional2)'" * @generated */ ResultsSectionEntriesOptional2 getResultsSectionEntriesOptional2(); @@ -791,7 +787,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -800,7 +796,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" * @generated */ SocialHistorySection2 getSocialHistorySection2(); @@ -809,7 +805,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional2)'" * @generated */ VitalSignsSectionEntriesOptional2 getVitalSignsSectionEntriesOptional2(); @@ -818,7 +814,7 @@ boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" * @generated */ FamilyHistorySection2 getFamilyHistorySection2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPastIllnessSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPastIllnessSection.java index 4e9ed8a1b9..f6a01baf50 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPastIllnessSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPastIllnessSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -37,7 +32,7 @@ public interface HistoryOfPastIllnessSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.20\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.20\')'" * @generated */ boolean validateHistoryOfPastIllnessSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -97,7 +92,7 @@ public interface HistoryOfPastIllnessSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProblemObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProblemObservation))'" * @generated */ boolean validateHistoryOfPastIllnessSectionProblemObservation(DiagnosticChain diagnostics, @@ -107,7 +102,7 @@ boolean validateHistoryOfPastIllnessSectionProblemObservation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPastIllnessSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPastIllnessSection2.java index 2b77a7b699..c0ebfa81de 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPastIllnessSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPastIllnessSection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface HistoryOfPastIllnessSection2 extends HistoryOfPastIllnessSectio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.20\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.20\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateHistoryOfPastIllnessSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface HistoryOfPastIllnessSection2 extends HistoryOfPastIllnessSectio * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPresentIllnessSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPresentIllnessSection.java index 39d7ce92e3..60cffbc999 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPresentIllnessSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HistoryOfPresentIllnessSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface HistoryOfPresentIllnessSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.4\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.4\')'" * @generated */ boolean validateHistoryOfPresentIllnessSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosis.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosis.java index 30a86edafc..73cbb23bb5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosis.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosis.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface HospitalAdmissionDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.34\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.34\')'" * @generated */ boolean validateHospitalAdmissionDiagnosisTemplateId(DiagnosticChain diagnostics, Map context); @@ -81,7 +76,7 @@ public interface HospitalAdmissionDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateHospitalAdmissionDiagnosisProblemObservation(DiagnosticChain diagnostics, @@ -91,7 +86,7 @@ boolean validateHospitalAdmissionDiagnosisProblemObservation(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosis2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosis2.java index 2d77eb6c28..3c400ec443 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosis2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosis2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface HospitalAdmissionDiagnosis2 extends HospitalAdmissionDiagnosis * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.34\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.34\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateHospitalAdmissionDiagnosis2TemplateId(DiagnosticChain diagnostics, Map context); @@ -52,7 +48,7 @@ public interface HospitalAdmissionDiagnosis2 extends HospitalAdmissionDiagnosis * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosisSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosisSection.java index e0ad7e63fe..4f41758314 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosisSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionDiagnosisSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface HospitalAdmissionDiagnosisSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.43\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.43\')'" * @generated */ boolean validateHospitalAdmissionDiagnosisSectionTemplateId(DiagnosticChain diagnostics, @@ -97,7 +92,7 @@ boolean validateHospitalAdmissionDiagnosisSectionTemplateId(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HospitalAdmissionDiagnosis))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HospitalAdmissionDiagnosis))'" * @generated */ boolean validateHospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosis(DiagnosticChain diagnostics, @@ -107,7 +102,7 @@ boolean validateHospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosis(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalAdmissionDiagnosis))->asSequence()->any(true).oclAsType(consol::HospitalAdmissionDiagnosis)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalAdmissionDiagnosis))->asSequence()->any(true).oclAsType(consol::HospitalAdmissionDiagnosis)'" * @generated */ HospitalAdmissionDiagnosis getHospitalAdmissionDiagnosis(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionMedicationsSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionMedicationsSectionEntriesOptional.java index d3ddc480b9..5e514eaaca 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionMedicationsSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalAdmissionMedicationsSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -37,7 +32,7 @@ public interface HospitalAdmissionMedicationsSectionEntriesOptional extends Sect * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.44\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.44\')'" * @generated */ boolean validateHospitalAdmissionMedicationsSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, @@ -102,7 +97,7 @@ boolean validateHospitalAdmissionMedicationsSectionEntriesOptionalText(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::AdmissionMedication))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::AdmissionMedication))'" * @generated */ boolean validateHospitalAdmissionMedicationsSectionEntriesOptionalAdmissionMedication(DiagnosticChain diagnostics, @@ -112,7 +107,7 @@ boolean validateHospitalAdmissionMedicationsSectionEntriesOptionalAdmissionMedic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AdmissionMedication)).oclAsType(consol::AdmissionMedication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::AdmissionMedication)).oclAsType(consol::AdmissionMedication)'" * @generated */ EList getAdmissionMedications(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalConsultationsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalConsultationsSection.java index 1125f42464..065838699a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalConsultationsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalConsultationsSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface HospitalConsultationsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.42\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.42\')'" * @generated */ boolean validateHospitalConsultationsSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalCourseSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalCourseSection.java index 41e2424ae1..f4b8856992 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalCourseSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalCourseSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface HospitalCourseSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.5\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.5\')'" * @generated */ boolean validateHospitalCourseSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosis.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosis.java index bcbbabbbcf..add537c114 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosis.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosis.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface HospitalDischargeDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateHospitalDischargeDiagnosisProblemObservation(DiagnosticChain diagnostics, @@ -46,7 +41,7 @@ boolean validateHospitalDischargeDiagnosisProblemObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.33\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.33\')'" * @generated */ boolean validateHospitalDischargeDiagnosisTemplateId(DiagnosticChain diagnostics, Map context); @@ -91,7 +86,7 @@ boolean validateHospitalDischargeDiagnosisProblemObservation(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosis2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosis2.java index 2a7fd944b0..37efb338cc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosis2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosis2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface HospitalDischargeDiagnosis2 extends HospitalDischargeDiagnosis * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.33\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.33\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateHospitalDischargeDiagnosis2TemplateId(DiagnosticChain diagnostics, Map context); @@ -52,7 +48,7 @@ public interface HospitalDischargeDiagnosis2 extends HospitalDischargeDiagnosis * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosisSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosisSection.java index 9238e89110..f77c9a6a5d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosisSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeDiagnosisSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface HospitalDischargeDiagnosisSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.24\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.24\')'" * @generated */ boolean validateHospitalDischargeDiagnosisSectionTemplateId(DiagnosticChain diagnostics, @@ -97,7 +92,7 @@ boolean validateHospitalDischargeDiagnosisSectionTemplateId(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HospitalDischargeDiagnosis))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HospitalDischargeDiagnosis))'" * @generated */ boolean validateHospitalDischargeDiagnosisSectionHospitalDischargeDiagnosis(DiagnosticChain diagnostics, @@ -107,7 +102,7 @@ boolean validateHospitalDischargeDiagnosisSectionHospitalDischargeDiagnosis(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalDischargeDiagnosis))->asSequence()->any(true).oclAsType(consol::HospitalDischargeDiagnosis)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalDischargeDiagnosis))->asSequence()->any(true).oclAsType(consol::HospitalDischargeDiagnosis)'" * @generated */ HospitalDischargeDiagnosis getHospitalDischargeDiagnosis(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeInstructionsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeInstructionsSection.java index bb7e10c26d..59fe3786e0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeInstructionsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeInstructionsSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface HospitalDischargeInstructionsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.41\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.41\')'" * @generated */ boolean validateHospitalDischargeInstructionsSectionTemplateId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeMedicationsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeMedicationsSection.java index 363916e5cc..7d076ff9d2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeMedicationsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeMedicationsSection.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -25,7 +21,7 @@ public interface HospitalDischargeMedicationsSection extends HospitalDischargeMe * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::DischargeMedication)).oclAsType(consol::DischargeMedication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::DischargeMedication)).oclAsType(consol::DischargeMedication)'" * @generated */ EList getConsolDischargeMedications(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeMedicationsSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeMedicationsSectionEntriesOptional.java index 22a9ee4e78..a7bbde011e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeMedicationsSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeMedicationsSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -37,7 +32,7 @@ public interface HospitalDischargeMedicationsSectionEntriesOptional extends Sect * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.11\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.11\')'" * @generated */ boolean validateHospitalDischargeMedicationsSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, @@ -102,7 +97,7 @@ boolean validateHospitalDischargeMedicationsSectionEntriesOptionalText(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::DischargeMedication))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::DischargeMedication))'" * @generated */ boolean validateHospitalDischargeMedicationsSectionEntriesOptionalDischargeMedication(DiagnosticChain diagnostics, @@ -112,7 +107,7 @@ boolean validateHospitalDischargeMedicationsSectionEntriesOptionalDischargeMedic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::DischargeMedication)).oclAsType(consol::DischargeMedication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::DischargeMedication)).oclAsType(consol::DischargeMedication)'" * @generated */ EList getDischargeMedications(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargePhysicalSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargePhysicalSection.java index 5e739af6bc..a403abc32f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargePhysicalSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargePhysicalSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface HospitalDischargePhysicalSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.26\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.26\')'" * @generated */ boolean validateHospitalDischargePhysicalSectionTemplateId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeStudiesSummarySection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeStudiesSummarySection.java index 13f9deb45e..6cf7a5e386 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeStudiesSummarySection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/HospitalDischargeStudiesSummarySection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface HospitalDischargeStudiesSummarySection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.16\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.16\')'" * @generated */ boolean validateHospitalDischargeStudiesSummarySectionTemplateId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationActivity.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationActivity.java index aa470ce52e..f6355d00b0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationActivity.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationActivity.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.SubstanceAdministration; /** @@ -53,7 +48,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateImmunizationActivityTextReference(DiagnosticChain diagnostics, Map context); @@ -65,7 +60,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateImmunizationActivityReferenceValue(DiagnosticChain diagnostics, Map context); @@ -101,7 +96,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateImmunizationActivityInstructionInversion(DiagnosticChain diagnostics, Map context); @@ -113,7 +108,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::DrugVehicle))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::CSM)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::DrugVehicle))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::CSM)'" * @generated */ boolean validateImmunizationActivityDrugVehicleTypeCode(DiagnosticChain diagnostics, Map context); @@ -125,7 +120,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.52\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.52\')'" * @generated */ boolean validateImmunizationActivityTemplateId(DiagnosticChain diagnostics, Map context); @@ -173,7 +168,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateImmunizationActivityId(DiagnosticChain diagnostics, Map context); @@ -221,7 +216,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (self.effectiveTime->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (self.effectiveTime->size() = 1)'" * @generated */ boolean validateImmunizationActivityEffectiveTime(DiagnosticChain diagnostics, Map context); @@ -269,7 +264,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.approachSiteCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.approachSiteCode->isEmpty()) )'" * @generated */ boolean validateImmunizationActivityApproachSiteCodeP(DiagnosticChain diagnostics, Map context); @@ -281,7 +276,7 @@ public interface ImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.approachSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.approachSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateImmunizationActivityApproachSiteCode(DiagnosticChain diagnostics, Map context); @@ -331,7 +326,7 @@ boolean validateImmunizationActivityAdministrationUnitCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::DrugVehicle))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::DrugVehicle))'" * @generated */ boolean validateImmunizationActivityDrugVehicle(DiagnosticChain diagnostics, Map context); @@ -343,7 +338,7 @@ boolean validateImmunizationActivityAdministrationUnitCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateImmunizationActivityIndication(DiagnosticChain diagnostics, Map context); @@ -355,7 +350,7 @@ boolean validateImmunizationActivityAdministrationUnitCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateImmunizationActivityInstructions(DiagnosticChain diagnostics, Map context); @@ -367,7 +362,7 @@ boolean validateImmunizationActivityAdministrationUnitCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationDispense) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationDispense) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateImmunizationActivityMedicationDispense(DiagnosticChain diagnostics, Map context); @@ -379,7 +374,7 @@ boolean validateImmunizationActivityAdministrationUnitCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::CAUS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::CAUS)'" * @generated */ boolean validateImmunizationActivityReactionObservation(DiagnosticChain diagnostics, Map context); @@ -391,7 +386,7 @@ boolean validateImmunizationActivityAdministrationUnitCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ImmunizationRefusalReason) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ImmunizationRefusalReason) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateImmunizationActivityImmunizationRefusalReason(DiagnosticChain diagnostics, @@ -404,7 +399,7 @@ boolean validateImmunizationActivityImmunizationRefusalReason(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" * @generated */ boolean validateImmunizationActivityConsumable(DiagnosticChain diagnostics, Map context); @@ -416,7 +411,7 @@ boolean validateImmunizationActivityImmunizationRefusalReason(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->one(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->one(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateImmunizationActivityPerformer(DiagnosticChain diagnostics, Map context); @@ -428,7 +423,7 @@ boolean validateImmunizationActivityImmunizationRefusalReason(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationSupplyOrder) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationSupplyOrder) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateImmunizationActivityMedicationSupplyOrder(DiagnosticChain diagnostics, Map context); @@ -440,7 +435,7 @@ boolean validateImmunizationActivityImmunizationRefusalReason(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->exists(precondition : cda::Precondition | not precondition.oclIsUndefined() and precondition.oclIsKindOf(cda::Precondition))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->exists(precondition : cda::Precondition | not precondition.oclIsUndefined() and precondition.oclIsKindOf(cda::Precondition))'" * @generated */ boolean validateImmunizationActivityPrecondition(DiagnosticChain diagnostics, Map context); @@ -452,7 +447,7 @@ boolean validateImmunizationActivityImmunizationRefusalReason(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(consol::ImmunizationMedicationInformation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(consol::ImmunizationMedicationInformation)))'" * @generated */ boolean validateImmunizationActivityConsumableImmunizationMedicationInformation(DiagnosticChain diagnostics, @@ -465,7 +460,7 @@ boolean validateImmunizationActivityConsumableImmunizationMedicationInformation( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::PRCN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::PRCN)'" * @generated */ boolean validateImmunizationActivityPreconditionTypeCode(DiagnosticChain diagnostics, Map context); @@ -477,7 +472,7 @@ boolean validateImmunizationActivityConsumableImmunizationMedicationInformation( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(criterion->one(criterion : cda::Criterion | not criterion.oclIsUndefined() and criterion.oclIsKindOf(consol::PreconditionForSubstanceAdministration)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(criterion->one(criterion : cda::Criterion | not criterion.oclIsUndefined() and criterion.oclIsKindOf(consol::PreconditionForSubstanceAdministration)))'" * @generated */ boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdministration(DiagnosticChain diagnostics, @@ -487,7 +482,7 @@ boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdminist * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::DrugVehicle))->asSequence()->any(true).oclAsType(consol::DrugVehicle)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::DrugVehicle))->asSequence()->any(true).oclAsType(consol::DrugVehicle)'" * @generated */ DrugVehicle getDrugVehicle(); @@ -496,7 +491,7 @@ boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdminist * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication))->asSequence()->any(true).oclAsType(consol::Indication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication))->asSequence()->any(true).oclAsType(consol::Indication)'" * @generated */ Indication getIndication(); @@ -505,7 +500,7 @@ boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdminist * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" * @generated */ Instructions getInstructions(); @@ -514,7 +509,7 @@ boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdminist * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationDispense))->asSequence()->any(true).oclAsType(consol::MedicationDispense)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationDispense))->asSequence()->any(true).oclAsType(consol::MedicationDispense)'" * @generated */ MedicationDispense getMedicationDispense(); @@ -523,7 +518,7 @@ boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdminist * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation))->asSequence()->any(true).oclAsType(consol::ReactionObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation))->asSequence()->any(true).oclAsType(consol::ReactionObservation)'" * @generated */ ReactionObservation getReactionObservation(); @@ -532,7 +527,7 @@ boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdminist * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ImmunizationRefusalReason))->asSequence()->any(true).oclAsType(consol::ImmunizationRefusalReason)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ImmunizationRefusalReason))->asSequence()->any(true).oclAsType(consol::ImmunizationRefusalReason)'" * @generated */ ImmunizationRefusalReason getImmunizationRefusalReason(); @@ -541,7 +536,7 @@ boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdminist * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder)'" * @generated */ MedicationSupplyOrder getMedicationSupplyOrder(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationActivity2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationActivity2.java index 96b7837d62..3fb4ce7f29 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationActivity2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationActivity2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -35,7 +31,7 @@ public interface ImmunizationActivity2 extends ImmunizationActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.52\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.52\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateImmunizationActivity2TemplateId(DiagnosticChain diagnostics, Map context); @@ -59,7 +55,7 @@ public interface ImmunizationActivity2 extends ImmunizationActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateImmunizationActivity2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -71,7 +67,7 @@ public interface ImmunizationActivity2 extends ImmunizationActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->notEmpty()'" * @generated */ boolean validateImmunizationActivity2EntryRelationshipForSubAdminAct(DiagnosticChain diagnostics, @@ -84,7 +80,7 @@ boolean validateImmunizationActivity2EntryRelationshipForSubAdminAct(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateImmunizationActivity2EntryRelationshipTypeCode(DiagnosticChain diagnostics, @@ -97,7 +93,7 @@ boolean validateImmunizationActivity2EntryRelationshipTypeCode(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->reject(not inversionInd.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->reject(not inversionInd.oclIsUndefined())'" * @generated */ boolean validateImmunizationActivity2EntryRelationshipInversionInd(DiagnosticChain diagnostics, @@ -110,7 +106,7 @@ boolean validateImmunizationActivity2EntryRelationshipInversionInd(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->reject((sequenceNumber.oclIsUndefined() or sequenceNumber.isNullFlavorUndefined()) implies (not sequenceNumber.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->reject((sequenceNumber.oclIsUndefined() or sequenceNumber.isNullFlavorUndefined()) implies (not sequenceNumber.oclIsUndefined()))'" * @generated */ boolean validateImmunizationActivity2EntryRelationshipSequenceNumber(DiagnosticChain diagnostics, @@ -123,7 +119,7 @@ boolean validateImmunizationActivity2EntryRelationshipSequenceNumber(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->reject(act->one(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::SubstanceAdministeredAct)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)->reject(act->one(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::SubstanceAdministeredAct)))'" * @generated */ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(DiagnosticChain diagnostics, @@ -136,7 +132,7 @@ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" * @generated */ boolean validateImmunizationActivity2CETranslationP(DiagnosticChain diagnostics, Map context); @@ -148,7 +144,7 @@ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined())) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined())) )))'" * @generated */ boolean validateImmunizationActivity2CETranslation(DiagnosticChain diagnostics, Map context); @@ -157,7 +153,7 @@ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::DrugVehicle)).oclAsType(consol::DrugVehicle)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::DrugVehicle)).oclAsType(consol::DrugVehicle)'" * @generated */ EList getConsolDrugVehicles(); @@ -166,7 +162,7 @@ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getConsolIndication2s(); @@ -175,7 +171,7 @@ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder2))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder2))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder2)'" * @generated */ MedicationSupplyOrder2 getConsolMedicationSupplyOrder2(); @@ -184,7 +180,7 @@ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationDispense2))->asSequence()->any(true).oclAsType(consol::MedicationDispense2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationDispense2))->asSequence()->any(true).oclAsType(consol::MedicationDispense2)'" * @generated */ MedicationDispense2 getConsolMedicationDispense2(); @@ -193,7 +189,7 @@ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2))->asSequence()->any(true).oclAsType(consol::ReactionObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2))->asSequence()->any(true).oclAsType(consol::ReactionObservation2)'" * @generated */ ReactionObservation2 getConsolReactionObservation2(); @@ -202,7 +198,7 @@ boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct(D * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" * @generated */ Instruction2 getConsolInstruction2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationMedicationInformation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationMedicationInformation.java index 40c75ae5b1..3644be2f1f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationMedicationInformation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationMedicationInformation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.ManufacturedProduct; /** @@ -33,7 +28,7 @@ public interface ImmunizationMedicationInformation extends ManufacturedProduct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.54\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.54\')'" * @generated */ boolean validateImmunizationMedicationInformationTemplateId(DiagnosticChain diagnostics, @@ -59,7 +54,7 @@ boolean validateImmunizationMedicationInformationClassCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (not self.id->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (not self.id->isEmpty())'" * @generated */ boolean validateImmunizationMedicationInformationId(DiagnosticChain diagnostics, Map context); @@ -71,7 +66,7 @@ boolean validateImmunizationMedicationInformationClassCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturerOrganization->one(manufacturerOrganization : cda::Organization | not manufacturerOrganization.oclIsUndefined() and manufacturerOrganization.oclIsKindOf(rim::Entity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturerOrganization->one(manufacturerOrganization : cda::Organization | not manufacturerOrganization.oclIsUndefined() and manufacturerOrganization.oclIsKindOf(rim::Entity))'" * @generated */ boolean validateImmunizationMedicationInformationManufacturerOrganization(DiagnosticChain diagnostics, @@ -84,7 +79,7 @@ boolean validateImmunizationMedicationInformationManufacturerOrganization(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->one(manufacturedMaterial : cda::Material | not manufacturedMaterial.oclIsUndefined() and manufacturedMaterial.oclIsKindOf(cda::Material))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->one(manufacturedMaterial : cda::Material | not manufacturedMaterial.oclIsUndefined() and manufacturedMaterial.oclIsKindOf(cda::Material))'" * @generated */ boolean validateImmunizationMedicationInformationManufacturedMaterial(DiagnosticChain diagnostics, @@ -97,7 +92,7 @@ boolean validateImmunizationMedicationInformationManufacturedMaterial(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText->size() = 1)'" * @generated */ boolean validateImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCodeOriginalText( @@ -110,7 +105,7 @@ boolean validateImmunizationMedicationInformationImmunizationMedicationInformati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText->size() = 1 implies code.originalText->one(reference->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText->size() = 1 implies code.originalText->one(reference->size() = 1))'" * @generated */ boolean validateImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialOriginalTextReference( @@ -123,7 +118,7 @@ boolean validateImmunizationMedicationInformationImmunizationMedicationInformati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText.reference->size() = 1 implies code.originalText.reference.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText.reference->size() = 1 implies code.originalText.reference.value->size() = 1)'" * @generated */ boolean validateImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialTextReferenceValue( @@ -136,7 +131,7 @@ boolean validateImmunizationMedicationInformationImmunizationMedicationInformati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code->size() = 1 implies code.translation->size() > 0)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code->size() = 1 implies code.translation->size() > 0)'" * @generated */ boolean validateImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCodeTranslation( @@ -149,7 +144,7 @@ boolean validateImmunizationMedicationInformationImmunizationMedicationInformati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.12.292\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.12.292\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCode( @@ -162,7 +157,7 @@ boolean validateImmunizationMedicationInformationImmunizationMedicationInformati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((lotNumberText.oclIsUndefined() or lotNumberText.isNullFlavorUndefined()) implies (not lotNumberText.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((lotNumberText.oclIsUndefined() or lotNumberText.isNullFlavorUndefined()) implies (not lotNumberText.oclIsUndefined()))'" * @generated */ boolean validateImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialLotNumberText( diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationMedicationInformation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationMedicationInformation2.java index 907395c2e4..d4fb3fde6d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationMedicationInformation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationMedicationInformation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface ImmunizationMedicationInformation2 extends ImmunizationMedicati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.54\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.54\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateImmunizationMedicationInformation2TemplateId(DiagnosticChain diagnostics, @@ -45,7 +41,7 @@ boolean validateImmunizationMedicationInformation2TemplateId(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" * @generated */ boolean validateImmunizationMedicationInformation2ImmunizationMedicationInformationManufacturedMaterialCETranslationP( @@ -58,7 +54,7 @@ boolean validateImmunizationMedicationInformation2ImmunizationMedicationInformat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nnot value.codeSystem.oclIsUndefined() or not value.codeSystemName.oclIsUndefined())) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nnot value.codeSystem.oclIsUndefined() or not value.codeSystemName.oclIsUndefined())) )))'" * @generated */ boolean validateImmunizationMedicationInformation2ImmunizationMedicationInformationManufacturedMaterialCETranslation( @@ -71,7 +67,7 @@ boolean validateImmunizationMedicationInformation2ImmunizationMedicationInformat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(true)'" * @generated */ boolean validateImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialOriginalTextReferenceValue( @@ -84,7 +80,7 @@ boolean validateImmunizationMedicationInformationImmunizationMedicationInformati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCodeP( diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationRefusalReason.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationRefusalReason.java index 39d8f021c2..c5ce6ccdb7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationRefusalReason.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationRefusalReason.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface ImmunizationRefusalReason extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.53\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.53\')'" * @generated */ boolean validateImmunizationRefusalReasonTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface ImmunizationRefusalReason extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateImmunizationRefusalReasonId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSection.java index c528ab4e2b..19635c0859 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSection.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -79,7 +75,7 @@ public interface ImmunizationsSection extends ImmunizationsSectionEntriesOptiona * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::ImmunizationActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::ImmunizationActivity))'" * @generated */ boolean validateImmunizationsSectionImmunization(DiagnosticChain diagnostics, Map context); @@ -88,7 +84,7 @@ public interface ImmunizationsSection extends ImmunizationsSectionEntriesOptiona * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity)).oclAsType(consol::ImmunizationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity)).oclAsType(consol::ImmunizationActivity)'" * @generated */ EList getImmunizations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSection2.java index d78b35ecc6..65692ffc5a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSectionEntriesOptional.java index a70f481cd0..29057ad2a4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface ImmunizationsSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.2\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.2\')'" * @generated */ boolean validateImmunizationsSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, @@ -94,7 +89,7 @@ boolean validateImmunizationsSectionEntriesOptionalTemplateId(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::ImmunizationActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::ImmunizationActivity))'" * @generated */ boolean validateImmunizationsSectionEntriesOptionalImmunizationActivity(DiagnosticChain diagnostics, @@ -104,7 +99,7 @@ boolean validateImmunizationsSectionEntriesOptionalImmunizationActivity(Diagnost * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity)).oclAsType(consol::ImmunizationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity)).oclAsType(consol::ImmunizationActivity)'" * @generated */ EList getImmunizationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSectionEntriesOptional2.java index 22b34e5334..2dbf987497 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ImmunizationsSectionEntriesOptional2.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -25,7 +21,7 @@ public interface ImmunizationsSectionEntriesOptional2 extends ImmunizationsSecti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2)).oclAsType(consol::ImmunizationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2)).oclAsType(consol::ImmunizationActivity2)'" * @generated */ EList getConsolImmunizationActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Indication.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Indication.java index 384a93ff11..34c8e1311f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Indication.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Indication.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface Indication extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.nullFlavor->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.nullFlavor->size() = 1'" * @generated */ boolean validateIndicationCodeNullFlavor(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface Indication extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.19\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.19\')'" * @generated */ boolean validateIndicationTemplateId(DiagnosticChain diagnostics, Map context); @@ -80,7 +75,7 @@ public interface Indication extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (self.id->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (self.id->size() = 1)'" * @generated */ boolean validateIndicationId(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface Indication extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateIndicationValue(DiagnosticChain diagnostics, Map context); @@ -152,7 +147,7 @@ public interface Indication extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateIndicationValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Indication2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Indication2.java index 27f37e52ab..3996706501 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Indication2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Indication2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -54,7 +50,7 @@ public interface Indication2 extends Indication { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.19\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.19\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateIndication2TemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Instruction2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Instruction2.java index 10bb2e9b2d..8cf773f6b8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Instruction2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Instruction2.java @@ -2,12 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -28,7 +26,7 @@ public interface Instruction2 extends Instructions { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.20\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.20\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateInstruction2TemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Instructions.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Instructions.java index afb687593f..48f2548f88 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Instructions.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/Instructions.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -32,7 +27,7 @@ public interface Instructions extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateInstructionsTextReference(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface Instructions extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateInstructionsReferenceValue(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface Instructions extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.20\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.20\')'" * @generated */ boolean validateInstructionsTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InstructionsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InstructionsSection.java index efd27694f6..6fc41ffc2a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InstructionsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InstructionsSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface InstructionsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.45\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.45\')'" * @generated */ boolean validateInstructionsSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface InstructionsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::Instructions))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::Instructions))'" * @generated */ boolean validateInstructionsSectionInstructions(DiagnosticChain diagnostics, Map context); @@ -102,7 +97,7 @@ public interface InstructionsSection extends Section { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions)).oclAsType(consol::Instructions)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions)).oclAsType(consol::Instructions)'" * @generated */ EList getInstructionss(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InstructionsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InstructionsSection2.java index 9dca290ccf..db3ba71182 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InstructionsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InstructionsSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface InstructionsSection2 extends InstructionsSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.45\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.45\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateInstructionsSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -52,7 +48,7 @@ public interface InstructionsSection2 extends InstructionsSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getConsolInstruction2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionAct.java index f9e086a4de..2c0825e311 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -34,7 +29,7 @@ public interface InterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.131\' and id.extension = \'2015-08-01\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.131\' and id.extension = \'2015-08-01\')'" * @generated */ boolean validateInterventionActTemplateId(DiagnosticChain diagnostics, Map context); @@ -70,7 +65,7 @@ public interface InterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateInterventionActId(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface InterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::InterventionAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::InterventionAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActInterventionAct(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ public interface InterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::NutritionRecommendation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::NutritionRecommendation))'" * @generated */ boolean validateInterventionActNutritionRecommendation(DiagnosticChain diagnostics, Map context); @@ -166,7 +161,7 @@ public interface InterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActInterventionEntryReference(DiagnosticChain diagnostics, Map context); @@ -178,7 +173,7 @@ public interface InterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateInterventionActGoalObsEntryReference(DiagnosticChain diagnostics, Map context); @@ -190,7 +185,7 @@ public interface InterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateInterventionActAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -202,7 +197,7 @@ public interface InterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AdvanceDirectiveObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AdvanceDirectiveObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActAdvanceDirectiveObservation2(DiagnosticChain diagnostics, @@ -215,7 +210,7 @@ boolean validateInterventionActAdvanceDirectiveObservation2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActImmunizationActivity2(DiagnosticChain diagnostics, Map context); @@ -227,7 +222,7 @@ boolean validateInterventionActAdvanceDirectiveObservation2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActMedicationActivity2(DiagnosticChain diagnostics, Map context); @@ -239,7 +234,7 @@ boolean validateInterventionActAdvanceDirectiveObservation2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::ProcedureActivityAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::ProcedureActivityAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActProcedureActivityAct2(DiagnosticChain diagnostics, Map context); @@ -251,7 +246,7 @@ boolean validateInterventionActAdvanceDirectiveObservation2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProcedureActivityObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProcedureActivityObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActProcedureActivityObservation2(DiagnosticChain diagnostics, @@ -264,7 +259,7 @@ boolean validateInterventionActProcedureActivityObservation2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActProcedureActivityProcedure2(DiagnosticChain diagnostics, @@ -277,7 +272,7 @@ boolean validateInterventionActProcedureActivityProcedure2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.encounter.oclIsUndefined() and entryRelationship.encounter.oclIsKindOf(consol::EncounterActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.encounter.oclIsUndefined() and entryRelationship.encounter.oclIsKindOf(consol::EncounterActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActEncounterActivity2(DiagnosticChain diagnostics, Map context); @@ -289,7 +284,7 @@ boolean validateInterventionActProcedureActivityProcedure2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActNonMedicinalSupplyActivity2(DiagnosticChain diagnostics, @@ -302,7 +297,7 @@ boolean validateInterventionActNonMedicinalSupplyActivity2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActInstruction2(DiagnosticChain diagnostics, Map context); @@ -314,7 +309,7 @@ boolean validateInterventionActNonMedicinalSupplyActivity2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::HandoffCommunicationParticipants) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::HandoffCommunicationParticipants) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActHandoffCommunicationParticipants(DiagnosticChain diagnostics, @@ -327,7 +322,7 @@ boolean validateInterventionActHandoffCommunicationParticipants(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedInterventionAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedInterventionAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateInterventionActPlannedInterventionAct(DiagnosticChain diagnostics, Map context); @@ -339,7 +334,7 @@ boolean validateInterventionActHandoffCommunicationParticipants(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" * @generated */ boolean validateInterventionActReference(DiagnosticChain diagnostics, Map context); @@ -351,7 +346,7 @@ boolean validateInterventionActHandoffCommunicationParticipants(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" * @generated */ boolean validateInterventionActReferenceTypeCode(DiagnosticChain diagnostics, Map context); @@ -363,7 +358,7 @@ boolean validateInterventionActHandoffCommunicationParticipants(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" * @generated */ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChain diagnostics, @@ -373,7 +368,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::InterventionAct)).oclAsType(consol::InterventionAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::InterventionAct)).oclAsType(consol::InterventionAct)'" * @generated */ EList getInterventionActs(); @@ -382,7 +377,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::NutritionRecommendation)).oclAsType(consol::NutritionRecommendation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::NutritionRecommendation)).oclAsType(consol::NutritionRecommendation)'" * @generated */ EList getNutritionRecommendations(); @@ -391,7 +386,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getInterventionEntryReferences(); @@ -400,7 +395,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)).oclAsType(consol::AdvanceDirectiveObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)).oclAsType(consol::AdvanceDirectiveObservation2)'" * @generated */ EList getAdvanceDirectiveObservation2s(); @@ -409,7 +404,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2)).oclAsType(consol::ImmunizationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2)).oclAsType(consol::ImmunizationActivity2)'" * @generated */ EList getImmunizationActivity2s(); @@ -418,7 +413,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getMedicationActivity2s(); @@ -427,7 +422,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct2)).oclAsType(consol::ProcedureActivityAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct2)).oclAsType(consol::ProcedureActivityAct2)'" * @generated */ EList getProcedureActivityAct2s(); @@ -436,7 +431,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation2)).oclAsType(consol::ProcedureActivityObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation2)).oclAsType(consol::ProcedureActivityObservation2)'" * @generated */ EList getProcedureActivityObservation2s(); @@ -445,7 +440,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" * @generated */ EList getProcedureActivityProcedure2s(); @@ -454,7 +449,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivity2)).oclAsType(consol::EncounterActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivity2)).oclAsType(consol::EncounterActivity2)'" * @generated */ EList getEncounterActivity2s(); @@ -463,7 +458,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" * @generated */ EList getNonMedicinalSupplyActivity2s(); @@ -472,7 +467,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getInstruction2s(); @@ -481,7 +476,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HandoffCommunicationParticipants)).oclAsType(consol::HandoffCommunicationParticipants)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HandoffCommunicationParticipants)).oclAsType(consol::HandoffCommunicationParticipants)'" * @generated */ EList getHandoffCommunicationParticipantss(); @@ -490,7 +485,7 @@ boolean validateInterventionActReferenceExternalDocumentReference(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedInterventionAct)).oclAsType(consol::PlannedInterventionAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedInterventionAct)).oclAsType(consol::PlannedInterventionAct)'" * @generated */ EList getPlannedInterventionActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionsSection.java index b2d4441bc8..df77039376 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionsSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface InterventionsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.2.3\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.2.3\')'" * @generated */ boolean validateInterventionsSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionsSection2.java index 55917628b9..4a0081491d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/InterventionsSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface InterventionsSection2 extends InterventionsSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.2.3\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.2.3\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateInterventionsSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface InterventionsSection2 extends InterventionsSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::InterventionAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::InterventionAct))'" * @generated */ boolean validateInterventionsSection2InterventionAct(DiagnosticChain diagnostics, Map context); @@ -55,7 +51,7 @@ public interface InterventionsSection2 extends InterventionsSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HandoffCommunicationParticipants))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HandoffCommunicationParticipants))'" * @generated */ boolean validateInterventionsSection2HandoffCommunication(DiagnosticChain diagnostics, Map context); @@ -67,7 +63,7 @@ public interface InterventionsSection2 extends InterventionsSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PlannedInterventionAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PlannedInterventionAct))'" * @generated */ boolean validateInterventionsSection2PlannedInterventionAct(DiagnosticChain diagnostics, @@ -77,7 +73,7 @@ boolean validateInterventionsSection2PlannedInterventionAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::InterventionAct)).oclAsType(consol::InterventionAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::InterventionAct)).oclAsType(consol::InterventionAct)'" * @generated */ EList getInterventionActs(); @@ -86,7 +82,7 @@ boolean validateInterventionsSection2PlannedInterventionAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HandoffCommunicationParticipants)).oclAsType(consol::HandoffCommunicationParticipants)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HandoffCommunicationParticipants)).oclAsType(consol::HandoffCommunicationParticipants)'" * @generated */ EList getHandoffCommunications(); @@ -95,7 +91,7 @@ boolean validateInterventionsSection2PlannedInterventionAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedInterventionAct)).oclAsType(consol::PlannedInterventionAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedInterventionAct)).oclAsType(consol::PlannedInterventionAct)'" * @generated */ EList getPlannedInterventionActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/LongitudinalCareWoundObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/LongitudinalCareWoundObservation.java index fb787567e9..d3c3e74683 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/LongitudinalCareWoundObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/LongitudinalCareWoundObservation.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -82,7 +78,7 @@ public interface LongitudinalCareWoundObservation extends ProblemObservation2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (not self.value->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (not self.value->isEmpty())'" * @generated */ boolean validateLongitudinalCareWoundObservationValueP(DiagnosticChain diagnostics, Map context); @@ -94,7 +90,7 @@ public interface LongitudinalCareWoundObservation extends ProblemObservation2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateLongitudinalCareWoundObservationValue(DiagnosticChain diagnostics, Map context); @@ -106,7 +102,7 @@ public interface LongitudinalCareWoundObservation extends ProblemObservation2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.targetSiteCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.targetSiteCode->isEmpty()) )'" * @generated */ boolean validateLongitudinalCareWoundObservationTargetSiteCodeP(DiagnosticChain diagnostics, @@ -119,7 +115,7 @@ boolean validateLongitudinalCareWoundObservationTargetSiteCodeP(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateLongitudinalCareWoundObservationTargetSiteCode(DiagnosticChain diagnostics, @@ -132,7 +128,7 @@ boolean validateLongitudinalCareWoundObservationTargetSiteCode(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::WoundMeasurementObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::WoundMeasurementObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateLongitudinalCareWoundObservationWoundMeasurementObservation(DiagnosticChain diagnostics, @@ -145,7 +141,7 @@ boolean validateLongitudinalCareWoundObservationWoundMeasurementObservation(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::WoundCharacteristic) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::WoundCharacteristic) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateLongitudinalCareWoundObservationWoundCharacteristics(DiagnosticChain diagnostics, @@ -158,7 +154,7 @@ boolean validateLongitudinalCareWoundObservationWoundCharacteristics(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::HighestPressureUlcerStage) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::HighestPressureUlcerStage) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateLongitudinalCareWoundObservationHighestPressureUlcerStage(DiagnosticChain diagnostics, @@ -171,7 +167,7 @@ boolean validateLongitudinalCareWoundObservationHighestPressureUlcerStage(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateLongitudinalCareWoundObservationAuthorParticipation(DiagnosticChain diagnostics, @@ -184,7 +180,7 @@ boolean validateLongitudinalCareWoundObservationAuthorParticipation(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateLongitudinalCareWoundObservationNumberOfPressureUlcersObservation2(DiagnosticChain diagnostics, @@ -197,7 +193,7 @@ boolean validateLongitudinalCareWoundObservationNumberOfPressureUlcersObservatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined()).value->excluding(null)->select(isNullFlavorUndefined())->reject(code = \'2.16.840.1.113883.6.96\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined()).value->excluding(null)->select(isNullFlavorUndefined())->reject(code = \'2.16.840.1.113883.6.96\')'" * @generated */ boolean validateLongitudinalCareWoundObservationCDCRCDValueTerminology(DiagnosticChain diagnostics, @@ -210,7 +206,7 @@ boolean validateLongitudinalCareWoundObservationCDCRCDValueTerminology(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined()).value->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined()).value->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" * @generated */ boolean validateLongitudinalCareWoundObservationCDCRCDCode(DiagnosticChain diagnostics, @@ -223,7 +219,7 @@ boolean validateLongitudinalCareWoundObservationCDCRCDCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((name.oclIsUndefined() or name.isNullFlavorUndefined()) implies (not name.oclIsUndefined() and name.oclIsKindOf(datatypes::CV) and \r\nlet value : datatypes::CV = name.oclAsType(datatypes::CV) in \r\nvalue.code = \'272741003\') )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((name.oclIsUndefined() or name.isNullFlavorUndefined()) implies (not name.oclIsUndefined() and name.oclIsKindOf(datatypes::CV) and \r\nlet value : datatypes::CV = name.oclAsType(datatypes::CV) in \r\nvalue.code = \'272741003\') )))'" * @generated */ boolean validateLongitudinalCareWoundObservationCDCRName(DiagnosticChain diagnostics, Map context); @@ -235,7 +231,7 @@ boolean validateLongitudinalCareWoundObservationCDCRCDCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((name.oclIsUndefined() or name.isNullFlavorUndefined()) implies (not name.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((name.oclIsUndefined() or name.isNullFlavorUndefined()) implies (not name.oclIsUndefined()) )))'" * @generated */ boolean validateLongitudinalCareWoundObservationCDCRNameP(DiagnosticChain diagnostics, Map context); @@ -247,7 +243,7 @@ boolean validateLongitudinalCareWoundObservationCDCRCDCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((value.oclIsUndefined() or value.isNullFlavorUndefined()) implies (not value.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined()).qualifier->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((value.oclIsUndefined() or value.isNullFlavorUndefined()) implies (not value.oclIsUndefined()) )))'" * @generated */ boolean validateLongitudinalCareWoundObservationCDCRValue(DiagnosticChain diagnostics, Map context); @@ -259,7 +255,7 @@ boolean validateLongitudinalCareWoundObservationCDCRCDCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((qualifier->isEmpty() or qualifier->exists(element | element.isNullFlavorUndefined())) implies (not qualifier->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((qualifier->isEmpty() or qualifier->exists(element | element.isNullFlavorUndefined())) implies (not qualifier->isEmpty()) )))'" * @generated */ boolean validateLongitudinalCareWoundObservationCDQualifier(DiagnosticChain diagnostics, @@ -269,7 +265,7 @@ boolean validateLongitudinalCareWoundObservationCDQualifier(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::WoundMeasurementObservation)).oclAsType(consol::WoundMeasurementObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::WoundMeasurementObservation)).oclAsType(consol::WoundMeasurementObservation)'" * @generated */ EList getWoundMeasurementObservations(); @@ -278,7 +274,7 @@ boolean validateLongitudinalCareWoundObservationCDQualifier(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::WoundCharacteristic)).oclAsType(consol::WoundCharacteristic)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::WoundCharacteristic)).oclAsType(consol::WoundCharacteristic)'" * @generated */ EList getWoundCharacteristicss(); @@ -287,7 +283,7 @@ boolean validateLongitudinalCareWoundObservationCDQualifier(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage))->asSequence()->any(true).oclAsType(consol::HighestPressureUlcerStage)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage))->asSequence()->any(true).oclAsType(consol::HighestPressureUlcerStage)'" * @generated */ HighestPressureUlcerStage getHighestPressureUlcerStage(); @@ -296,7 +292,7 @@ boolean validateLongitudinalCareWoundObservationCDQualifier(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation2)).oclAsType(consol::NumberOfPressureUlcersObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation2)).oclAsType(consol::NumberOfPressureUlcersObservation2)'" * @generated */ EList getNumberOfPressureUlcersObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentOrganizer.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentOrganizer.java index ff7d51e347..f4593132be 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentOrganizer.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentOrganizer.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Organizer; /** @@ -34,7 +29,7 @@ public interface MedicalEquipmentOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.supply.oclIsUndefined() and component.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)) or self.component->exists(component : cda::Component4 | not component.procedure.oclIsUndefined() and component.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.supply.oclIsUndefined() and component.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)) or self.component->exists(component : cda::Component4 | not component.procedure.oclIsUndefined() and component.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2))'" * @generated */ boolean validateMedicalEquipmentOrganizerHasNonMedSupActOrProcActProc(DiagnosticChain diagnostics, @@ -47,7 +42,7 @@ boolean validateMedicalEquipmentOrganizerHasNonMedSupActOrProcActProc(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.135\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.135\')'" * @generated */ boolean validateMedicalEquipmentOrganizerTemplateId(DiagnosticChain diagnostics, Map context); @@ -83,7 +78,7 @@ boolean validateMedicalEquipmentOrganizerHasNonMedSupActOrProcActProc(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateMedicalEquipmentOrganizerId(DiagnosticChain diagnostics, Map context); @@ -143,7 +138,7 @@ boolean validateMedicalEquipmentOrganizerHasNonMedSupActOrProcActProc(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.supply.oclIsUndefined() and component.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.supply.oclIsUndefined() and component.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2))'" * @generated */ boolean validateMedicalEquipmentOrganizerNonMedicinalSupplyActivity2(DiagnosticChain diagnostics, @@ -156,7 +151,7 @@ boolean validateMedicalEquipmentOrganizerNonMedicinalSupplyActivity2(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.procedure.oclIsUndefined() and component.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.procedure.oclIsUndefined() and component.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2))'" * @generated */ boolean validateMedicalEquipmentOrganizerProcedureActivityProcedure2(DiagnosticChain diagnostics, @@ -169,7 +164,7 @@ boolean validateMedicalEquipmentOrganizerProcedureActivityProcedure2(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateMedicalEquipmentOrganizerIVLTSLow(DiagnosticChain diagnostics, Map context); @@ -181,7 +176,7 @@ boolean validateMedicalEquipmentOrganizerProcedureActivityProcedure2(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateMedicalEquipmentOrganizerIVLTSHigh(DiagnosticChain diagnostics, Map context); @@ -190,7 +185,7 @@ boolean validateMedicalEquipmentOrganizerProcedureActivityProcedure2(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" * @generated */ EList getNonMedicinalSupplyActivity2s(); @@ -199,7 +194,7 @@ boolean validateMedicalEquipmentOrganizerProcedureActivityProcedure2(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" * @generated */ EList getProcedureActivityProcedure2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentSection.java index 743dad6b62..f2b638e6a0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface MedicalEquipmentSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.23\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.23\')'" * @generated */ boolean validateMedicalEquipmentSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface MedicalEquipmentSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.supply.oclIsUndefined() and entry.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.supply.oclIsUndefined() and entry.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity))'" * @generated */ boolean validateMedicalEquipmentSectionNonMedicinalSupplyActivity(DiagnosticChain diagnostics, @@ -103,7 +98,7 @@ boolean validateMedicalEquipmentSectionNonMedicinalSupplyActivity(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" * @generated */ EList getNonMedicinalSupplyActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentSection2.java index c4681bbbaf..0d21b9be2d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalEquipmentSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface MedicalEquipmentSection2 extends MedicalEquipmentSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.23\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.23\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateMedicalEquipmentSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface MedicalEquipmentSection2 extends MedicalEquipmentSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::MedicalEquipmentOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::MedicalEquipmentOrganizer))'" * @generated */ boolean validateMedicalEquipmentSection2MedicalEquipmentOrganizer(DiagnosticChain diagnostics, @@ -56,7 +52,7 @@ boolean validateMedicalEquipmentSection2MedicalEquipmentOrganizer(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2))'" * @generated */ boolean validateMedicalEquipmentSection2ProcedureActivityProcedure2(DiagnosticChain diagnostics, @@ -66,7 +62,7 @@ boolean validateMedicalEquipmentSection2ProcedureActivityProcedure2(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" * @generated */ EList getConsolNonMedicinalSupplyActivity2s(); @@ -75,7 +71,7 @@ boolean validateMedicalEquipmentSection2ProcedureActivityProcedure2(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::MedicalEquipmentOrganizer)).oclAsType(consol::MedicalEquipmentOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::MedicalEquipmentOrganizer)).oclAsType(consol::MedicalEquipmentOrganizer)'" * @generated */ EList getMedicalEquipmentOrganizers(); @@ -84,7 +80,7 @@ boolean validateMedicalEquipmentSection2ProcedureActivityProcedure2(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" * @generated */ EList getProcedureActivityProcedure2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalHistorySection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalHistorySection.java index b510396a40..c9308b2f53 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalHistorySection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicalHistorySection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface MedicalHistorySection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.39\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.39\')'" * @generated */ boolean validateMedicalHistorySectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationActivity.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationActivity.java index 7d0aab33b7..75080d2ec4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationActivity.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationActivity.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.SubstanceAdministration; /** @@ -35,7 +30,7 @@ public interface MedicationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.doseQuantity->size() = 1 or self.rateQuantity->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.doseQuantity->size() = 1 or self.rateQuantity->size() = 1'" * @generated */ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain diagnostics, @@ -48,7 +43,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateMedicationActivityTextReference(DiagnosticChain diagnostics, Map context); @@ -60,7 +55,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateMedicationActivityReferenceValue(DiagnosticChain diagnostics, Map context); @@ -84,7 +79,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->size() = 1 xor self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::SXCM_TS))->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->size() = 1 xor self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::SXCM_TS))->size() = 1'" * @generated */ boolean validateMedicationActivityEffectiveTimeIVLTSorTS(DiagnosticChain diagnostics, Map context); @@ -96,7 +91,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).low->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).low->size() = 1)'" * @generated */ boolean validateMedicationActivityEffectiveTimeIVLTSLow(DiagnosticChain diagnostics, Map context); @@ -108,7 +103,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).high->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).high->size() = 1)'" * @generated */ boolean validateMedicationActivityEffectiveTimeIVLTSHigh(DiagnosticChain diagnostics, Map context); @@ -120,7 +115,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes:: SXCM_TS))->forAll( eff | eff.oclAsType(datatypes:: SXCM_TS).value->size() = 1 or eff.oclAsType(datatypes:: SXCM_TS).isNullFlavorDefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes:: SXCM_TS))->forAll( eff | eff.oclAsType(datatypes:: SXCM_TS).value->size() = 1 or eff.oclAsType(datatypes:: SXCM_TS).isNullFlavorDefined())'" * @generated */ boolean validateMedicationActivityEffectiveTimeTSValue(DiagnosticChain diagnostics, Map context); @@ -132,7 +127,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::PIVL_TS) or ef.oclIsTypeOf(datatypes::EIVL_TS))->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::PIVL_TS) or ef.oclIsTypeOf(datatypes::EIVL_TS))->size() = 1'" * @generated */ boolean validateMedicationActivityEffectiveTimePIVLTS(DiagnosticChain diagnostics, Map context); @@ -144,7 +139,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::PIVL_TS) or ef.oclIsTypeOf(datatypes::EIVL_TS))->forAll(eff | eff.operator = vocab::SetOperator::A and eff.operator->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::PIVL_TS) or ef.oclIsTypeOf(datatypes::EIVL_TS))->forAll(eff | eff.operator = vocab::SetOperator::A and eff.operator->size() = 1)'" * @generated */ boolean validateMedicationActivityEffectiveTimeOperator(DiagnosticChain diagnostics, Map context); @@ -168,7 +163,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::DrugVehicle))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::CSM)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::DrugVehicle))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::CSM)'" * @generated */ boolean validateMedicationActivityDrugVehicleTypeCode(DiagnosticChain diagnostics, Map context); @@ -180,7 +175,7 @@ boolean validateMedicationActivityDoseQuantityorrateQuantity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagnostics, @@ -193,7 +188,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.rateQuantity.oclIsUndefined() implies self.rateQuantity.oclAsType(datatypes::PQ).unit->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.rateQuantity.oclIsUndefined() implies self.rateQuantity.oclAsType(datatypes::PQ).unit->size() = 1'" * @generated */ boolean validateMedicationActivityRateQuantityUnit(DiagnosticChain diagnostics, Map context); @@ -205,7 +200,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.16\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.16\')'" * @generated */ boolean validateMedicationActivityTemplateId(DiagnosticChain diagnostics, Map context); @@ -241,7 +236,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateMedicationActivityId(DiagnosticChain diagnostics, Map context); @@ -301,7 +296,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.approachSiteCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.approachSiteCode->isEmpty()) )'" * @generated */ boolean validateMedicationActivityApproachSiteCodeP(DiagnosticChain diagnostics, Map context); @@ -313,7 +308,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.approachSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.approachSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateMedicationActivityApproachSiteCode(DiagnosticChain diagnostics, Map context); @@ -409,7 +404,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationSupplyOrder) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationSupplyOrder) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateMedicationActivityMedicationSupplyOrder(DiagnosticChain diagnostics, Map context); @@ -421,7 +416,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::CAUS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::CAUS)'" * @generated */ boolean validateMedicationActivityReactionObservation(DiagnosticChain diagnostics, Map context); @@ -433,7 +428,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->one(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->one(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateMedicationActivityPerformer(DiagnosticChain diagnostics, Map context); @@ -445,7 +440,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateMedicationActivityInstructions(DiagnosticChain diagnostics, Map context); @@ -457,7 +452,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateMedicationActivityIndication(DiagnosticChain diagnostics, Map context); @@ -469,7 +464,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationDispense) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationDispense) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateMedicationActivityMedicationDispense(DiagnosticChain diagnostics, Map context); @@ -481,7 +476,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::DrugVehicle))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::DrugVehicle))'" * @generated */ boolean validateMedicationActivityDrugVehicle(DiagnosticChain diagnostics, Map context); @@ -493,7 +488,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" * @generated */ boolean validateMedicationActivityConsumable(DiagnosticChain diagnostics, Map context); @@ -505,7 +500,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->exists(precondition : cda::Precondition | not precondition.oclIsUndefined() and precondition.oclIsKindOf(cda::Precondition))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->exists(precondition : cda::Precondition | not precondition.oclIsUndefined() and precondition.oclIsKindOf(cda::Precondition))'" * @generated */ boolean validateMedicationActivityPrecondition(DiagnosticChain diagnostics, Map context); @@ -517,7 +512,7 @@ boolean validateMedicationActivityInstructionsInversionInd(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(consol::MedicationInformation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(consol::MedicationInformation)))'" * @generated */ boolean validateMedicationActivityConsumableMedicationInformation(DiagnosticChain diagnostics, @@ -530,7 +525,7 @@ boolean validateMedicationActivityConsumableMedicationInformation(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::PRCN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::PRCN)'" * @generated */ boolean validateMedicationActivityPreconditionTypeCode(DiagnosticChain diagnostics, Map context); @@ -542,7 +537,7 @@ boolean validateMedicationActivityConsumableMedicationInformation(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(criterion->one(criterion : cda::Criterion | not criterion.oclIsUndefined() and criterion.oclIsKindOf(consol::PreconditionForSubstanceAdministration)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(criterion->one(criterion : cda::Criterion | not criterion.oclIsUndefined() and criterion.oclIsKindOf(consol::PreconditionForSubstanceAdministration)))'" * @generated */ boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministration(DiagnosticChain diagnostics, @@ -552,7 +547,7 @@ boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministra * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder)'" * @generated */ MedicationSupplyOrder getMedicationSupplyOrder(); @@ -561,7 +556,7 @@ boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministra * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation))->asSequence()->any(true).oclAsType(consol::ReactionObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation))->asSequence()->any(true).oclAsType(consol::ReactionObservation)'" * @generated */ ReactionObservation getReactionObservation(); @@ -570,7 +565,7 @@ boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministra * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" * @generated */ Instructions getInstructions(); @@ -579,7 +574,7 @@ boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministra * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" * @generated */ EList getIndications(); @@ -588,7 +583,7 @@ boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministra * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationDispense)).oclAsType(consol::MedicationDispense)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationDispense)).oclAsType(consol::MedicationDispense)'" * @generated */ EList getMedicationDispenses(); @@ -597,7 +592,7 @@ boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministra * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::DrugVehicle)).oclAsType(consol::DrugVehicle)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::DrugVehicle)).oclAsType(consol::DrugVehicle)'" * @generated */ EList getDrugVehicles(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationActivity2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationActivity2.java index 4a728f313f..5a5fd5460d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationActivity2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationActivity2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -34,7 +30,7 @@ public interface MedicationActivity2 extends MedicationActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::SubstanceAdministeredAct))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::SubstanceAdministeredAct))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateMedicationActivity2SubstanceAdministeredActInversionInd(DiagnosticChain diagnostics, @@ -47,7 +43,7 @@ boolean validateMedicationActivity2SubstanceAdministeredActInversionInd(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::SubstanceAdministeredAct))->forAll(ent : cda::EntryRelationship | not ent.sequenceNumber.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::SubstanceAdministeredAct))->forAll(ent : cda::EntryRelationship | not ent.sequenceNumber.oclIsUndefined())'" * @generated */ boolean validateMedicationActivity2SubstanceAdministeredActSequenceNumber(DiagnosticChain diagnostics, @@ -60,7 +56,7 @@ boolean validateMedicationActivity2SubstanceAdministeredActSequenceNumber(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).low->size() = 1) ) and ( self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::SXCM_TS))->forAll( eff | eff.oclAsType(datatypes:: SXCM_TS).value->size() = 1 or eff.oclAsType(datatypes::SXCM_TS).isNullFlavorDefined()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).low->size() = 1) ) and ( self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::SXCM_TS))->forAll( eff | eff.oclAsType(datatypes:: SXCM_TS).value->size() = 1 or eff.oclAsType(datatypes::SXCM_TS).isNullFlavorDefined()) )'" * @generated */ boolean validateMedicationActivity2EffectiveTimeIVLTSLowXorValue(DiagnosticChain diagnostics, @@ -73,7 +69,7 @@ boolean validateMedicationActivity2EffectiveTimeIVLTSLowXorValue(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.16\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.16\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateMedicationActivity2TemplateId(DiagnosticChain diagnostics, Map context); @@ -97,7 +93,7 @@ boolean validateMedicationActivity2EffectiveTimeIVLTSLowXorValue(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::DrugMonitoringAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::DrugMonitoringAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateMedicationActivity2DrugMonitoringAct(DiagnosticChain diagnostics, Map context); @@ -109,7 +105,7 @@ boolean validateMedicationActivity2EffectiveTimeIVLTSLowXorValue(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateMedicationActivity2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -121,7 +117,7 @@ boolean validateMedicationActivity2EffectiveTimeIVLTSLowXorValue(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::SubstanceAdministeredAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::SubstanceAdministeredAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diagnostics, @@ -134,7 +130,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationFreeTextSig) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationFreeTextSig) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateMedicationActivity2MedicationFreeTextSig(DiagnosticChain diagnostics, Map context); @@ -146,7 +142,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" * @generated */ boolean validateMedicationActivity2CETranslationP(DiagnosticChain diagnostics, Map context); @@ -158,7 +154,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined())) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined())) )))'" * @generated */ boolean validateMedicationActivity2CETranslation(DiagnosticChain diagnostics, Map context); @@ -167,7 +163,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::DrugMonitoringAct))->asSequence()->any(true).oclAsType(consol::DrugMonitoringAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::DrugMonitoringAct))->asSequence()->any(true).oclAsType(consol::DrugMonitoringAct)'" * @generated */ DrugMonitoringAct getDrugMonitoringAct(); @@ -176,7 +172,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" * @generated */ Instruction2 getConsolInstruction2(); @@ -185,7 +181,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::SubstanceAdministeredAct)).oclAsType(consol::SubstanceAdministeredAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::SubstanceAdministeredAct)).oclAsType(consol::SubstanceAdministeredAct)'" * @generated */ EList getSubstanceAdministeredActs(); @@ -194,7 +190,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getConsolIndication2s(); @@ -203,7 +199,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder2))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder2))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder2)'" * @generated */ MedicationSupplyOrder2 getConsolMedicationSupplyOrder2(); @@ -212,7 +208,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationDispense2)).oclAsType(consol::MedicationDispense2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationDispense2)).oclAsType(consol::MedicationDispense2)'" * @generated */ EList getConsolMedicationDispense2s(); @@ -221,7 +217,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2))->asSequence()->any(true).oclAsType(consol::ReactionObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2))->asSequence()->any(true).oclAsType(consol::ReactionObservation2)'" * @generated */ ReactionObservation2 getConsolReactionObservation2(); @@ -230,7 +226,7 @@ boolean validateMedicationActivity2SubstanceAdministeredAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationFreeTextSig)).oclAsType(consol::MedicationFreeTextSig)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationFreeTextSig)).oclAsType(consol::MedicationFreeTextSig)'" * @generated */ EList getMedicationFreeTextSigs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationDispense.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationDispense.java index 2746c0da11..b876e00f12 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationDispense.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationDispense.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Supply; /** @@ -47,7 +42,7 @@ boolean validateMedicationDispenseContainsMedicationOrImmunization(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.18\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.18\')'" * @generated */ boolean validateMedicationDispenseTemplateId(DiagnosticChain diagnostics, Map context); @@ -71,7 +66,7 @@ boolean validateMedicationDispenseContainsMedicationOrImmunization(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (( not self.effectiveTime->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (( not self.effectiveTime->isEmpty()) )'" * @generated */ boolean validateMedicationDispenseEffectiveTime(DiagnosticChain diagnostics, Map context); @@ -83,7 +78,7 @@ boolean validateMedicationDispenseContainsMedicationOrImmunization(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateMedicationDispenseId(DiagnosticChain diagnostics, Map context); @@ -143,7 +138,7 @@ boolean validateMedicationDispenseContainsMedicationOrImmunization(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationSupplyOrder) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::MedicationSupplyOrder) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateMedicationDispenseMedicationSupplyOrder(DiagnosticChain diagnostics, Map context); @@ -155,7 +150,7 @@ boolean validateMedicationDispenseContainsMedicationOrImmunization(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->one(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->one(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" * @generated */ boolean validateMedicationDispensePerformer(DiagnosticChain diagnostics, Map context); @@ -167,7 +162,7 @@ boolean validateMedicationDispenseContainsMedicationOrImmunization(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -180,7 +175,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -193,7 +188,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -206,7 +201,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -219,7 +214,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -232,7 +227,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -245,7 +240,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -258,7 +253,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -271,7 +266,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -284,7 +279,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -297,7 +292,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGener * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityAddr(DiagnosticChain diagnostics, @@ -310,7 +305,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityAddr( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntity(DiagnosticChain diagnostics, @@ -320,7 +315,7 @@ boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntity(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder)'" * @generated */ MedicationSupplyOrder getMedicationSupplyOrder(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationDispense2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationDispense2.java index 020236a247..cd295b9aa5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationDispense2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationDispense2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -56,7 +52,7 @@ boolean validateMedicationDispense2ContainsImmunizationMedicationInformation2(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.18\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.18\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateMedicationDispense2TemplateId(DiagnosticChain diagnostics, Map context); @@ -77,7 +73,7 @@ boolean validateMedicationDispense2ContainsImmunizationMedicationInformation2(Di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder2))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::MedicationSupplyOrder2))->asSequence()->any(true).oclAsType(consol::MedicationSupplyOrder2)'" * @generated */ MedicationSupplyOrder2 getConsolMedicationSupplyOrder2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationFreeTextSig.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationFreeTextSig.java index 030a071aa7..5b70e606ff 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationFreeTextSig.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationFreeTextSig.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.SubstanceAdministration; /** @@ -49,7 +44,7 @@ public interface MedicationFreeTextSig extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.147\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.147\')'" * @generated */ boolean validateMedicationFreeTextSigTemplateId(DiagnosticChain diagnostics, Map context); @@ -121,7 +116,7 @@ public interface MedicationFreeTextSig extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" * @generated */ boolean validateMedicationFreeTextSigConsumable(DiagnosticChain diagnostics, Map context); @@ -133,7 +128,7 @@ public interface MedicationFreeTextSig extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->excluding(null)->select(isNullFlavorUndefined()).reference->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not value.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->excluding(null)->select(isNullFlavorUndefined()).reference->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not value.oclIsUndefined() )))'" * @generated */ boolean validateMedicationFreeTextSigEDTELValue(DiagnosticChain diagnostics, Map context); @@ -145,7 +140,7 @@ public interface MedicationFreeTextSig extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((reference.oclIsUndefined() or reference.isNullFlavorUndefined()) implies (not reference.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((reference.oclIsUndefined() or reference.isNullFlavorUndefined()) implies (not reference.oclIsUndefined()) )))'" * @generated */ boolean validateMedicationFreeTextSigEDReference(DiagnosticChain diagnostics, Map context); @@ -157,7 +152,7 @@ public interface MedicationFreeTextSig extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null).manufacturedProduct->excluding(null).manufacturedLabeledDrug->excluding(null)->reject(isDefined(\'nullFlavor\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null).manufacturedProduct->excluding(null).manufacturedLabeledDrug->excluding(null)->reject(isDefined(\'nullFlavor\'))'" * @generated */ boolean validateMedicationFreeTextSigConsumableManufacturedProductManufacturedLabeledDrugNullFlavor( @@ -170,7 +165,7 @@ boolean validateMedicationFreeTextSigConsumableManufacturedProductManufacturedLa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null).manufacturedProduct->excluding(null)->reject(manufacturedLabeledDrug->one(manufacturedLabeledDrug : cda::LabeledDrug | not manufacturedLabeledDrug.oclIsUndefined() and manufacturedLabeledDrug.oclIsKindOf(cda::LabeledDrug)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null).manufacturedProduct->excluding(null)->reject(manufacturedLabeledDrug->one(manufacturedLabeledDrug : cda::LabeledDrug | not manufacturedLabeledDrug.oclIsUndefined() and manufacturedLabeledDrug.oclIsKindOf(cda::LabeledDrug)))'" * @generated */ boolean validateMedicationFreeTextSigConsumableManufacturedProductManufacturedLabeledDrug( @@ -183,7 +178,7 @@ boolean validateMedicationFreeTextSigConsumableManufacturedProductManufacturedLa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(cda::ManufacturedProduct)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(cda::ManufacturedProduct)))'" * @generated */ boolean validateMedicationFreeTextSigConsumableManufacturedProduct(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationInformation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationInformation.java index 58b0f2a77a..a482be70ae 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationInformation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationInformation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.ManufacturedProduct; /** @@ -33,7 +28,7 @@ public interface MedicationInformation extends ManufacturedProduct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.23\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.23\')'" * @generated */ boolean validateMedicationInformationTemplateId(DiagnosticChain diagnostics, Map context); @@ -45,7 +40,7 @@ public interface MedicationInformation extends ManufacturedProduct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (not self.id->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (not self.id->isEmpty())'" * @generated */ boolean validateMedicationInformationId(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface MedicationInformation extends ManufacturedProduct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturerOrganization->one(manufacturerOrganization : cda::Organization | not manufacturerOrganization.oclIsUndefined() and manufacturerOrganization.oclIsKindOf(rim::Entity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturerOrganization->one(manufacturerOrganization : cda::Organization | not manufacturerOrganization.oclIsUndefined() and manufacturerOrganization.oclIsKindOf(rim::Entity))'" * @generated */ boolean validateMedicationInformationManufacturerOrganization(DiagnosticChain diagnostics, @@ -82,7 +77,7 @@ boolean validateMedicationInformationManufacturerOrganization(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->one(manufacturedMaterial : cda::Material | not manufacturedMaterial.oclIsUndefined() and manufacturedMaterial.oclIsKindOf(cda::Material))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->one(manufacturedMaterial : cda::Material | not manufacturedMaterial.oclIsUndefined() and manufacturedMaterial.oclIsKindOf(cda::Material))'" * @generated */ boolean validateMedicationInformationManufacturedMaterial(DiagnosticChain diagnostics, Map context); @@ -94,7 +89,7 @@ boolean validateMedicationInformationManufacturerOrganization(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText->size() = 1)'" * @generated */ boolean validateMedicationInformationMedicationInformationManufacturedMaterialCodeOriginalText( @@ -107,7 +102,7 @@ boolean validateMedicationInformationMedicationInformationManufacturedMaterialCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText->size() = 1 implies code.originalText->one(reference->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText->size() = 1 implies code.originalText->one(reference->size() = 1))'" * @generated */ boolean validateMedicationInformationMedicationInformationManufacturedMaterialReference(DiagnosticChain diagnostics, @@ -120,7 +115,7 @@ boolean validateMedicationInformationMedicationInformationManufacturedMaterialRe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText.reference->size() = 1 implies code.originalText.reference.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code.originalText.reference->size() = 1 implies code.originalText.reference.value->size() = 1)'" * @generated */ boolean validateMedicationInformationMedicationInformationManufacturedMaterialOriginalTextReferenceValue( @@ -133,7 +128,7 @@ boolean validateMedicationInformationMedicationInformationManufacturedMaterialOr * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code->size() = 1 implies code.translation->size() > 0)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(code->size() = 1 implies code.translation->size() > 0)'" * @generated */ boolean validateMedicationInformationMedicationInformationManufacturedMaterialCodeTranslation( @@ -146,7 +141,7 @@ boolean validateMedicationInformationMedicationInformationManufacturedMaterialCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.88\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.88\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateMedicationInformationMedicationInformationManufacturedMaterialCode(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationInformation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationInformation2.java index 4f52271e89..c865844635 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationInformation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationInformation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface MedicationInformation2 extends MedicationInformation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.23\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.23\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateMedicationInformation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -44,7 +40,7 @@ public interface MedicationInformation2 extends MedicationInformation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" * @generated */ boolean validateMedicationInformation2MedicationInformationManufacturedMaterialCETranslation( @@ -57,7 +53,7 @@ boolean validateMedicationInformation2MedicationInformationManufacturedMaterialC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject(true)'" * @generated */ boolean validateMedicationInformationMedicationInformationManufacturedMaterialReferenceValue( @@ -70,7 +66,7 @@ boolean validateMedicationInformationMedicationInformationManufacturedMaterialRe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.manufacturedMaterial->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateMedicationInformationMedicationInformationManufacturedMaterialCodeP(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationSupplyOrder.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationSupplyOrder.java index e0153a2b15..db672df394 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationSupplyOrder.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationSupplyOrder.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Supply; /** @@ -32,7 +27,7 @@ public interface MedicationSupplyOrder extends Supply { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateMedicationSupplyOrderInstructionInversionInd(DiagnosticChain diagnostics, @@ -45,7 +40,7 @@ boolean validateMedicationSupplyOrderInstructionInversionInd(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->size() = 1 implies self.effectiveTime.oclAsType(datatypes::IVL_TS)->forAll(high->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->size() = 1 implies self.effectiveTime.oclAsType(datatypes::IVL_TS)->forAll(high->size() = 1)'" * @generated */ boolean validateMedicationSupplyOrderEffectiveTimeHigh(DiagnosticChain diagnostics, Map context); @@ -70,7 +65,7 @@ boolean validateMedicationSupplyOrderContainsMedicationOrImmunization(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.17\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.17\')'" * @generated */ boolean validateMedicationSupplyOrderTemplateId(DiagnosticChain diagnostics, Map context); @@ -106,7 +101,7 @@ boolean validateMedicationSupplyOrderContainsMedicationOrImmunization(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateMedicationSupplyOrderId(DiagnosticChain diagnostics, Map context); @@ -130,7 +125,7 @@ boolean validateMedicationSupplyOrderContainsMedicationOrImmunization(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (( not self.effectiveTime->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (( not self.effectiveTime->isEmpty()) )'" * @generated */ boolean validateMedicationSupplyOrderEffectiveTime(DiagnosticChain diagnostics, Map context); @@ -166,7 +161,7 @@ boolean validateMedicationSupplyOrderContainsMedicationOrImmunization(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateMedicationSupplyOrderAuthor(DiagnosticChain diagnostics, Map context); @@ -178,7 +173,7 @@ boolean validateMedicationSupplyOrderContainsMedicationOrImmunization(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateMedicationSupplyOrderInstructions(DiagnosticChain diagnostics, Map context); @@ -187,7 +182,7 @@ boolean validateMedicationSupplyOrderContainsMedicationOrImmunization(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" * @generated */ Instructions getInstructions(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationSupplyOrder2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationSupplyOrder2.java index 9c3d509ead..83efd884f0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationSupplyOrder2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationSupplyOrder2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -56,7 +52,7 @@ boolean validateMedicationSupplyOrder2ContainsImmunizationMedicationInformation2 * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.17\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.17\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateMedicationSupplyOrder2TemplateId(DiagnosticChain diagnostics, Map context); @@ -77,7 +73,7 @@ boolean validateMedicationSupplyOrder2ContainsImmunizationMedicationInformation2 * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" * @generated */ Instruction2 getConsolInstruction2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationUseNoneKnown.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationUseNoneKnown.java index 087ad94df6..d1af924827 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationUseNoneKnown.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationUseNoneKnown.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface MedicationUseNoneKnown extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateMedicationUseNoneKnownTextReference(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface MedicationUseNoneKnown extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateMedicationUseNoneKnownTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface MedicationUseNoneKnown extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.29\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.29\')'" * @generated */ boolean validateMedicationUseNoneKnownTemplateId(DiagnosticChain diagnostics, Map context); @@ -104,7 +99,7 @@ public interface MedicationUseNoneKnown extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateMedicationUseNoneKnownId(DiagnosticChain diagnostics, Map context); @@ -188,7 +183,7 @@ public interface MedicationUseNoneKnown extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'182904002\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'182904002\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validateMedicationUseNoneKnownValue(DiagnosticChain diagnostics, Map context); @@ -200,7 +195,7 @@ public interface MedicationUseNoneKnown extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateMedicationUseNoneKnownValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsAdministeredSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsAdministeredSection.java index 3112cdd5df..7408b29ccd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsAdministeredSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsAdministeredSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -37,7 +32,7 @@ public interface MedicationsAdministeredSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.38\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.38\')'" * @generated */ boolean validateMedicationsAdministeredSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -97,7 +92,7 @@ public interface MedicationsAdministeredSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::MedicationActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::MedicationActivity))'" * @generated */ boolean validateMedicationsAdministeredSectionMedicationActivity(DiagnosticChain diagnostics, @@ -107,7 +102,7 @@ boolean validateMedicationsAdministeredSectionMedicationActivity(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsAdministeredSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsAdministeredSection2.java index 3032ce1c94..e69f83251e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsAdministeredSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsAdministeredSection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface MedicationsAdministeredSection2 extends MedicationsAdministered * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.38\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.38\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateMedicationsAdministeredSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface MedicationsAdministeredSection2 extends MedicationsAdministered * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSection.java index afc6fd6c22..e8d3dc97d3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSection.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -79,7 +75,7 @@ public interface MedicationsSection extends MedicationsSectionEntriesOptional { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::MedicationActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::MedicationActivity))'" * @generated */ boolean validateMedicationsSectionMedication(DiagnosticChain diagnostics, Map context); @@ -88,7 +84,7 @@ public interface MedicationsSection extends MedicationsSectionEntriesOptional { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedications(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSection2.java index bd41e7356e..6d1224945b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSectionEntriesOptional.java index cf4ad00355..1f0b396486 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface MedicationsSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.1\')'" * @generated */ boolean validateMedicationsSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, @@ -94,7 +89,7 @@ boolean validateMedicationsSectionEntriesOptionalTemplateId(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::MedicationActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::MedicationActivity))'" * @generated */ boolean validateMedicationsSectionEntriesOptionalMedicationActivity(DiagnosticChain diagnostics, @@ -104,7 +99,7 @@ boolean validateMedicationsSectionEntriesOptionalMedicationActivity(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSectionEntriesOptional2.java index 5fc149d091..31916caf4d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MedicationsSectionEntriesOptional2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -41,7 +37,7 @@ boolean validateMedicationsSectionEntriesOptionalAbsenceOfMedications(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusObservation.java index c3a38fa2b2..573fd9bf6a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -33,7 +28,7 @@ public interface MentalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.125\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.125\')'" * @generated */ boolean validateMentalStatusObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface MentalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateMentalStatusObservationId(DiagnosticChain diagnostics, Map context); @@ -141,7 +136,7 @@ public interface MentalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateMentalStatusObservationValue(DiagnosticChain diagnostics, Map context); @@ -153,7 +148,7 @@ public interface MentalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateMentalStatusObservationValueP(DiagnosticChain diagnostics, Map context); @@ -165,7 +160,7 @@ public interface MentalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateMentalStatusObservationAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -178,7 +173,7 @@ boolean validateMentalStatusObservationAssessmentScaleObservation(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateMentalStatusObservationAuthorParticipation(DiagnosticChain diagnostics, @@ -188,7 +183,7 @@ boolean validateMentalStatusObservationAuthorParticipation(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusObservation2.java index 8239425801..dde03127bc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusObservation2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -34,7 +30,7 @@ public interface MentalStatusObservation2 extends CognitiveStatusResultObservati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.74\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.74\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateMentalStatusObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -46,7 +42,7 @@ public interface MentalStatusObservation2 extends CognitiveStatusResultObservati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateMentalStatusObservation2AuthorParticipation(DiagnosticChain diagnostics, @@ -59,7 +55,7 @@ boolean validateMentalStatusObservation2AuthorParticipation(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75275-8\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75275-8\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateMentalStatusObservation2CDTranslation(DiagnosticChain diagnostics, Map context); @@ -71,7 +67,7 @@ boolean validateMentalStatusObservation2AuthorParticipation(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateMentalStatusObservation2CDTranslationP(DiagnosticChain diagnostics, Map context); @@ -80,7 +76,7 @@ boolean validateMentalStatusObservation2AuthorParticipation(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getConsolAssessmentScaleObservations(); @@ -89,7 +85,7 @@ boolean validateMentalStatusObservation2AuthorParticipation(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity)).oclAsType(consol::NonMedicinalSupplyActivity)'" * @generated */ EList getConsolNonMedicinalSupplyActivities(); @@ -98,7 +94,7 @@ boolean validateMentalStatusObservation2AuthorParticipation(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ EList getConsolCaregiverCharacteristicss(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusOrganizer2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusOrganizer2.java index 4d4e7e7978..7c6b8ca9e0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusOrganizer2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusOrganizer2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -45,7 +41,7 @@ boolean validateMentalStatusOrganizer2HasCodeOrEffectiveTime(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.75\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.75\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateMentalStatusOrganizer2TemplateId(DiagnosticChain diagnostics, Map context); @@ -69,7 +65,7 @@ boolean validateMentalStatusOrganizer2HasCodeOrEffectiveTime(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" * @generated */ boolean validateMentalStatusOrganizer2CDCode(DiagnosticChain diagnostics, Map context); @@ -78,7 +74,7 @@ boolean validateMentalStatusOrganizer2HasCodeOrEffectiveTime(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" * @generated */ EList getConsolMentalStatusObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusSection.java index 1f8c8c4b26..fd6a789182 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/MentalStatusSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface MentalStatusSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.56\' and id.extension = \'2015-08-01\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.56\' and id.extension = \'2015-08-01\')'" * @generated */ boolean validateMentalStatusSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface MentalStatusSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::AssessmentScaleObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::AssessmentScaleObservation))'" * @generated */ boolean validateMentalStatusSectionAssessmentScaleObservation(DiagnosticChain diagnostics, @@ -106,7 +101,7 @@ boolean validateMentalStatusSectionAssessmentScaleObservation(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::MentalStatusOrganizer2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::MentalStatusOrganizer2))'" * @generated */ boolean validateMentalStatusSectionMentalStatusOrganizer2(DiagnosticChain diagnostics, Map context); @@ -118,7 +113,7 @@ boolean validateMentalStatusSectionAssessmentScaleObservation(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::MentalStatusObservation2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::MentalStatusObservation2))'" * @generated */ boolean validateMentalStatusSectionMentalStatusObservation2(DiagnosticChain diagnostics, @@ -128,7 +123,7 @@ boolean validateMentalStatusSectionMentalStatusObservation2(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); @@ -137,7 +132,7 @@ boolean validateMentalStatusSectionMentalStatusObservation2(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::MentalStatusOrganizer2)).oclAsType(consol::MentalStatusOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::MentalStatusOrganizer2)).oclAsType(consol::MentalStatusOrganizer2)'" * @generated */ EList getMentalStatusOrganizer2s(); @@ -146,7 +141,7 @@ boolean validateMentalStatusSectionMentalStatusObservation2(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" * @generated */ EList getMentalStatusObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NonMedicinalSupplyActivity.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NonMedicinalSupplyActivity.java index c6583411f2..5dc7a53621 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NonMedicinalSupplyActivity.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NonMedicinalSupplyActivity.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Supply; /** @@ -32,7 +27,7 @@ public interface NonMedicinalSupplyActivity extends Supply { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->size() = 1 implies self.effectiveTime.oclAsType(datatypes::IVL_TS)->forAll(high->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->size() = 1 implies self.effectiveTime.oclAsType(datatypes::IVL_TS)->forAll(high->size() = 1)'" * @generated */ boolean validateNonMedicinalSupplyActivityEffectiveTimeHigh(DiagnosticChain diagnostics, @@ -45,7 +40,7 @@ boolean validateNonMedicinalSupplyActivityEffectiveTimeHigh(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ProductInstance))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::PRD)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ProductInstance))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::PRD)'" * @generated */ boolean validateNonMedicinalSupplyActivityProductInstanceTypeCode(DiagnosticChain diagnostics, @@ -58,7 +53,7 @@ boolean validateNonMedicinalSupplyActivityProductInstanceTypeCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.50\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.50\')'" * @generated */ boolean validateNonMedicinalSupplyActivityTemplateId(DiagnosticChain diagnostics, Map context); @@ -94,7 +89,7 @@ boolean validateNonMedicinalSupplyActivityProductInstanceTypeCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateNonMedicinalSupplyActivityId(DiagnosticChain diagnostics, Map context); @@ -118,7 +113,7 @@ boolean validateNonMedicinalSupplyActivityProductInstanceTypeCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (( not self.effectiveTime->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (( not self.effectiveTime->isEmpty()) )'" * @generated */ boolean validateNonMedicinalSupplyActivityEffectiveTime(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ boolean validateNonMedicinalSupplyActivityProductInstanceTypeCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ProductInstance))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ProductInstance))'" * @generated */ boolean validateNonMedicinalSupplyActivityProductInstance(DiagnosticChain diagnostics, Map context); @@ -151,7 +146,7 @@ boolean validateNonMedicinalSupplyActivityProductInstanceTypeCode(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ProductInstance))->asSequence()->any(true).oclAsType(consol::ProductInstance)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ProductInstance))->asSequence()->any(true).oclAsType(consol::ProductInstance)'" * @generated */ ProductInstance getProductInstance(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NonMedicinalSupplyActivity2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NonMedicinalSupplyActivity2.java index e4cfea8a65..49aa8618e2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NonMedicinalSupplyActivity2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NonMedicinalSupplyActivity2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +26,7 @@ public interface NonMedicinalSupplyActivity2 extends NonMedicinalSupplyActivity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instruction2))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instruction2))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateNonMedicinalSupplyActivity2Instruction2InversionInd(DiagnosticChain diagnostics, @@ -43,7 +39,7 @@ boolean validateNonMedicinalSupplyActivity2Instruction2InversionInd(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.50\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.50\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateNonMedicinalSupplyActivity2TemplateId(DiagnosticChain diagnostics, Map context); @@ -67,7 +63,7 @@ boolean validateNonMedicinalSupplyActivity2Instruction2InversionInd(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateNonMedicinalSupplyActivity2Instruction2(DiagnosticChain diagnostics, Map context); @@ -76,7 +72,7 @@ boolean validateNonMedicinalSupplyActivity2Instruction2InversionInd(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" * @generated */ Instruction2 getInstruction2(); @@ -85,7 +81,7 @@ boolean validateNonMedicinalSupplyActivity2Instruction2InversionInd(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ProductInstance))->asSequence()->any(true).oclAsType(consol::ProductInstance)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ProductInstance))->asSequence()->any(true).oclAsType(consol::ProductInstance)'" * @generated */ ProductInstance getConsolProductInstance(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NumberOfPressureUlcersObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NumberOfPressureUlcersObservation.java index 804f704b88..07de5d661c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NumberOfPressureUlcersObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NumberOfPressureUlcersObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -34,7 +29,7 @@ public interface NumberOfPressureUlcersObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.76\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.76\')'" * @generated */ boolean validateNumberOfPressureUlcersObservationTemplateId(DiagnosticChain diagnostics, @@ -72,7 +67,7 @@ boolean validateNumberOfPressureUlcersObservationClassCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateNumberOfPressureUlcersObservationId(DiagnosticChain diagnostics, Map context); @@ -147,7 +142,7 @@ boolean validateNumberOfPressureUlcersObservationEffectiveTime(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::INT)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::INT)))'" * @generated */ boolean validateNumberOfPressureUlcersObservationValue(DiagnosticChain diagnostics, Map context); @@ -159,7 +154,7 @@ boolean validateNumberOfPressureUlcersObservationEffectiveTime(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateNumberOfPressureUlcersObservationAuthor(DiagnosticChain diagnostics, Map context); @@ -171,7 +166,7 @@ boolean validateNumberOfPressureUlcersObservationEffectiveTime(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->size() = 1'" * @generated */ boolean validateNumberOfPressureUlcersObservationEntryRelationship(DiagnosticChain diagnostics, @@ -184,7 +179,7 @@ boolean validateNumberOfPressureUlcersObservationEntryRelationship(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" * @generated */ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservationClassCode(DiagnosticChain diagnostics, @@ -197,7 +192,7 @@ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservationCla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::EVN)'" * @generated */ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservationMoodCode(DiagnosticChain diagnostics, @@ -210,7 +205,7 @@ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservationMoo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'421076008\' or value.code = \'420324007\' or value.code = \'421927004\' or value.code = \'420597008\' or value.code = \'421594008\'))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'421076008\' or value.code = \'420324007\' or value.code = \'421927004\' or value.code = \'420597008\' or value.code = \'421594008\'))))'" * @generated */ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservationValue(DiagnosticChain diagnostics, @@ -223,7 +218,7 @@ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservationVal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::CD))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::CD))))'" * @generated */ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservationValueP(DiagnosticChain diagnostics, @@ -236,7 +231,7 @@ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservationVal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateNumberOfPressureUlcersObservationEntryRelationshipTypeCode(DiagnosticChain diagnostics, @@ -249,7 +244,7 @@ boolean validateNumberOfPressureUlcersObservationEntryRelationshipTypeCode(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" * @generated */ boolean validateNumberOfPressureUlcersObservationEntryRelationshipObservation(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NumberOfPressureUlcersObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NumberOfPressureUlcersObservation2.java index ef2d548d4c..dd4d2f63c9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NumberOfPressureUlcersObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NumberOfPressureUlcersObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -33,7 +29,7 @@ public interface NumberOfPressureUlcersObservation2 extends NumberOfPressureUlce * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.76\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.76\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateNumberOfPressureUlcersObservation2TemplateId(DiagnosticChain diagnostics, @@ -46,7 +42,7 @@ boolean validateNumberOfPressureUlcersObservation2TemplateId(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75277-4\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'75277-4\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateNumberOfPressureUlcersObservation2CDTranslation(DiagnosticChain diagnostics, @@ -59,7 +55,7 @@ boolean validateNumberOfPressureUlcersObservation2CDTranslation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateNumberOfPressureUlcersObservation2CDTranslationP(DiagnosticChain diagnostics, @@ -72,7 +68,7 @@ boolean validateNumberOfPressureUlcersObservation2CDTranslationP(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateNumberOfPressureUlcersObservation2EntryRelationshipObservationCodeP(DiagnosticChain diagnostics, @@ -85,7 +81,7 @@ boolean validateNumberOfPressureUlcersObservation2EntryRelationshipObservationCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'ASSERTION\' and value.codeSystem = \'2.16.840.1.113883.5.4\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'ASSERTION\' and value.codeSystem = \'2.16.840.1.113883.5.4\'))'" * @generated */ boolean validateNumberOfPressureUlcersObservation2EntryRelationshipObservationCode(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionAssessment.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionAssessment.java index 834ef7c080..d231c2bda8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionAssessment.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionAssessment.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface NutritionAssessment extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.oclIsTypeOf(datatypes::CD) implies (val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | val.oclIsTypeOf(datatypes::CD) implies (val.isNullFlavorDefined() or val.oclAsType(datatypes::CD).codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validateNutritionAssessmentValueOfTypeCDIsFromSnomed(DiagnosticChain diagnostics, @@ -45,7 +40,7 @@ boolean validateNutritionAssessmentValueOfTypeCDIsFromSnomed(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.138\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.138\')'" * @generated */ boolean validateNutritionAssessmentTemplateId(DiagnosticChain diagnostics, Map context); @@ -81,7 +76,7 @@ boolean validateNutritionAssessmentValueOfTypeCDIsFromSnomed(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateNutritionAssessmentId(DiagnosticChain diagnostics, Map context); @@ -153,7 +148,7 @@ boolean validateNutritionAssessmentValueOfTypeCDIsFromSnomed(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validateNutritionAssessmentValue(DiagnosticChain diagnostics, Map context); @@ -165,7 +160,7 @@ boolean validateNutritionAssessmentValueOfTypeCDIsFromSnomed(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateNutritionAssessmentAuthorParticipation(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionRecommendation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionRecommendation.java index 6e6791ee83..37cec87292 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionRecommendation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionRecommendation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface NutritionRecommendation extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.130\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.130\')'" * @generated */ boolean validateNutritionRecommendationTemplateId(DiagnosticChain diagnostics, Map context); @@ -141,7 +136,7 @@ public interface NutritionRecommendation extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.encounter.oclIsUndefined() and entryRelationship.encounter.oclIsKindOf(consol::PlannedEncounter2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.encounter.oclIsUndefined() and entryRelationship.encounter.oclIsKindOf(consol::PlannedEncounter2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateNutritionRecommendationPlannedEncounter2(DiagnosticChain diagnostics, Map context); @@ -153,7 +148,7 @@ public interface NutritionRecommendation extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateNutritionRecommendationPlannedMedicationActivity2(DiagnosticChain diagnostics, @@ -166,7 +161,7 @@ boolean validateNutritionRecommendationPlannedMedicationActivity2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PlannedObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PlannedObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagnostics, @@ -179,7 +174,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::PlannedProcedure2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::PlannedProcedure2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateNutritionRecommendationPlannedProcedure2(DiagnosticChain diagnostics, Map context); @@ -191,7 +186,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::PlannedSupply2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::PlannedSupply2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateNutritionRecommendationPlannedSupply2(DiagnosticChain diagnostics, Map context); @@ -203,7 +198,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateNutritionRecommendationPlannedAct2(DiagnosticChain diagnostics, Map context); @@ -212,7 +207,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::PlannedEncounter2)).oclAsType(consol::PlannedEncounter2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::PlannedEncounter2)).oclAsType(consol::PlannedEncounter2)'" * @generated */ EList getPlannedEncounter2s(); @@ -221,7 +216,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2)).oclAsType(consol::PlannedMedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2)).oclAsType(consol::PlannedMedicationActivity2)'" * @generated */ EList getPlannedMedicationActivity2s(); @@ -230,7 +225,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PlannedObservation2)).oclAsType(consol::PlannedObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PlannedObservation2)).oclAsType(consol::PlannedObservation2)'" * @generated */ EList getPlannedObservation2s(); @@ -239,7 +234,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlannedProcedure2)).oclAsType(consol::PlannedProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlannedProcedure2)).oclAsType(consol::PlannedProcedure2)'" * @generated */ EList getPlannedProcedure2s(); @@ -248,7 +243,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::PlannedSupply2)).oclAsType(consol::PlannedSupply2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::PlannedSupply2)).oclAsType(consol::PlannedSupply2)'" * @generated */ EList getPlannedSupply2s(); @@ -257,7 +252,7 @@ boolean validateNutritionRecommendationPlannedObservation2(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedAct2)).oclAsType(consol::PlannedAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedAct2)).oclAsType(consol::PlannedAct2)'" * @generated */ EList getPlannedAct2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionSection.java index 01ac250074..aae788f287 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface NutritionSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.57\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.57\')'" * @generated */ boolean validateNutritionSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface NutritionSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::NutritionalStatusObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::NutritionalStatusObservation))'" * @generated */ boolean validateNutritionSectionNutritionalStatusObservation(DiagnosticChain diagnostics, @@ -103,7 +98,7 @@ boolean validateNutritionSectionNutritionalStatusObservation(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionalStatusObservation)).oclAsType(consol::NutritionalStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionalStatusObservation)).oclAsType(consol::NutritionalStatusObservation)'" * @generated */ EList getNutritionalStatusObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionalStatusObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionalStatusObservation.java index 9b50763453..4bd73d3642 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionalStatusObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/NutritionalStatusObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -33,7 +28,7 @@ public interface NutritionalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.124\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.124\')'" * @generated */ boolean validateNutritionalStatusObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface NutritionalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateNutritionalStatusObservationId(DiagnosticChain diagnostics, Map context); @@ -141,7 +136,7 @@ public interface NutritionalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateNutritionalStatusObservationValue(DiagnosticChain diagnostics, Map context); @@ -153,7 +148,7 @@ public interface NutritionalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateNutritionalStatusObservationValueP(DiagnosticChain diagnostics, Map context); @@ -165,7 +160,7 @@ public interface NutritionalStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionAssessment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionAssessment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateNutritionalStatusObservationNutritionAssessment(DiagnosticChain diagnostics, @@ -175,7 +170,7 @@ boolean validateNutritionalStatusObservationNutritionAssessment(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionAssessment)).oclAsType(consol::NutritionAssessment)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionAssessment)).oclAsType(consol::NutritionAssessment)'" * @generated */ EList getNutritionAssessments(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ObjectiveSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ObjectiveSection.java index 5ecaea30b8..524e4d7b0d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ObjectiveSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ObjectiveSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface ObjectiveSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.2.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.2.1\')'" * @generated */ boolean validateObjectiveSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ObserverContext.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ObserverContext.java index 8ef8956149..b44ceec018 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ObserverContext.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ObserverContext.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Author; /** @@ -33,7 +28,7 @@ public interface ObserverContext extends Author { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.4\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.4\')'" * @generated */ boolean validateObserverContextTemplateId(DiagnosticChain diagnostics, Map context); @@ -45,7 +40,7 @@ public interface ObserverContext extends Author { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor))'" * @generated */ boolean validateObserverContextAssignedAuthor(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNote.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNote.java index 94ca961243..606d3900df 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNote.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNote.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -46,7 +42,7 @@ public interface OperativeNote extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateOperativeNoteDocumentationOf(DiagnosticChain diagnostics, Map context); @@ -58,7 +54,7 @@ public interface OperativeNote extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection))'" * @generated */ boolean validateOperativeNoteAnesthesiaSection(DiagnosticChain diagnostics, Map context); @@ -70,7 +66,7 @@ public interface OperativeNote extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection))'" * @generated */ boolean validateOperativeNoteComplicationsSection(DiagnosticChain diagnostics, Map context); @@ -82,7 +78,7 @@ public interface OperativeNote extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostoperativeDiagnosisSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostoperativeDiagnosisSection))'" * @generated */ boolean validateOperativeNotePostoperativeDiagnosisSection(DiagnosticChain diagnostics, @@ -95,7 +91,7 @@ boolean validateOperativeNotePostoperativeDiagnosisSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PreoperativeDiagnosisSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PreoperativeDiagnosisSection))'" * @generated */ boolean validateOperativeNotePreoperativeDiagnosisSection(DiagnosticChain diagnostics, Map context); @@ -107,7 +103,7 @@ boolean validateOperativeNotePostoperativeDiagnosisSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))'" * @generated */ boolean validateOperativeNoteProcedureEstimatedBloodLossSection(DiagnosticChain diagnostics, @@ -120,7 +116,7 @@ boolean validateOperativeNoteProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection))'" * @generated */ boolean validateOperativeNoteProcedureFindingsSection(DiagnosticChain diagnostics, Map context); @@ -132,7 +128,7 @@ boolean validateOperativeNoteProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))'" * @generated */ boolean validateOperativeNoteProcedureSpecimensTakenSection(DiagnosticChain diagnostics, @@ -145,7 +141,7 @@ boolean validateOperativeNoteProcedureSpecimensTakenSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))'" * @generated */ boolean validateOperativeNoteProcedureDescriptionSection(DiagnosticChain diagnostics, Map context); @@ -157,7 +153,7 @@ boolean validateOperativeNoteProcedureSpecimensTakenSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))'" * @generated */ boolean validateOperativeNoteProcedureImplantsSection(DiagnosticChain diagnostics, Map context); @@ -169,7 +165,7 @@ boolean validateOperativeNoteProcedureSpecimensTakenSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteFluidSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteFluidSection))'" * @generated */ boolean validateOperativeNoteOperativeNoteFluidSection(DiagnosticChain diagnostics, Map context); @@ -181,7 +177,7 @@ boolean validateOperativeNoteProcedureSpecimensTakenSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteSurgicalProcedureSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteSurgicalProcedureSection))'" * @generated */ boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection(DiagnosticChain diagnostics, @@ -194,7 +190,7 @@ boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" * @generated */ boolean validateOperativeNotePlanOfCareSection(DiagnosticChain diagnostics, Map context); @@ -206,7 +202,7 @@ boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection))'" * @generated */ boolean validateOperativeNotePlannedProcedureSection(DiagnosticChain diagnostics, Map context); @@ -218,7 +214,7 @@ boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))'" * @generated */ boolean validateOperativeNoteProcedureDispositionSection(DiagnosticChain diagnostics, Map context); @@ -230,7 +226,7 @@ boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection))'" * @generated */ boolean validateOperativeNoteProcedureIndicationsSection(DiagnosticChain diagnostics, Map context); @@ -242,7 +238,7 @@ boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SurgicalDrainsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SurgicalDrainsSection))'" * @generated */ boolean validateOperativeNoteSurgicalDrainsSection(DiagnosticChain diagnostics, Map context); @@ -254,7 +250,7 @@ boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntityCode( @@ -267,7 +263,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssigned * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntityCodeP( @@ -280,7 +276,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssigned * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PPRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PPRF)'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerTypeCode(DiagnosticChain diagnostics, @@ -293,7 +289,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerTypeCode * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -306,7 +302,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssigned * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.104\' or code.codeSystem = \'2.16.840.1.113883.6.12\' or code.codeSystem = \'2.16.840.1.113883.6.96\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.104\' or code.codeSystem = \'2.16.840.1.113883.6.12\' or code.codeSystem = \'2.16.840.1.113883.6.96\')'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventProcedureCodes(DiagnosticChain diagnostics, @@ -319,7 +315,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventProcedureCodes(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.low.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.low.oclIsUndefined())'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeHasLow(DiagnosticChain diagnostics, @@ -332,7 +328,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeHasLow(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth(DiagnosticChain diagnostics, @@ -345,7 +341,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeHasHighWhen * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeNoHighIfWidth(DiagnosticChain diagnostics, @@ -358,7 +354,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeNoHighIfWid * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 8) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 8))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 8) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 8))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheDay(DiagnosticChain diagnostics, @@ -371,7 +367,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheDay(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 12) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 12))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 12) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 12))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheMinute(DiagnosticChain diagnostics, @@ -384,7 +380,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheMinute(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 14) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 14))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 14) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 14))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheSecond(DiagnosticChain diagnostics, @@ -397,7 +393,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheSecond(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() and effectiveTime.low.value.size() > 8 implies effectiveTime.low.value.size() >= 15) and (not effectiveTime.high.value.oclIsUndefined() and effectiveTime.high.value.size() > 8 implies effectiveTime.high.value.size() >= 15))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() and effectiveTime.low.value.size() > 8 implies effectiveTime.low.value.size() >= 15) and (not effectiveTime.high.value.oclIsUndefined() and effectiveTime.high.value.size() > 8 implies effectiveTime.high.value.size() >= 15))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventIfMorePreciseThanDayIncludeTimeZoneOffset( @@ -410,7 +406,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventIfMorePreciseThanDayIncl * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventCode(DiagnosticChain diagnostics, @@ -423,7 +419,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTime(DiagnosticChain diagnostics, @@ -436,7 +432,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTime(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->size() = 1)'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(DiagnosticChain diagnostics, @@ -449,7 +445,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateOperativeNoteDocumentationOfServiceEvent(DiagnosticChain diagnostics, Map context); @@ -458,7 +454,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection))->asSequence()->any(true).oclAsType(consol::AnesthesiaSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection))->asSequence()->any(true).oclAsType(consol::AnesthesiaSection)'" * @generated */ AnesthesiaSection getAnesthesiaSection(); @@ -467,7 +463,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection))->asSequence()->any(true).oclAsType(consol::ComplicationsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection))->asSequence()->any(true).oclAsType(consol::ComplicationsSection)'" * @generated */ ComplicationsSection getComplicationsSection(); @@ -476,7 +472,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostoperativeDiagnosisSection))->asSequence()->any(true).oclAsType(consol::PostoperativeDiagnosisSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostoperativeDiagnosisSection))->asSequence()->any(true).oclAsType(consol::PostoperativeDiagnosisSection)'" * @generated */ PostoperativeDiagnosisSection getPostoperativeDiagnosisSection(); @@ -485,7 +481,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PreoperativeDiagnosisSection))->asSequence()->any(true).oclAsType(consol::PreoperativeDiagnosisSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PreoperativeDiagnosisSection))->asSequence()->any(true).oclAsType(consol::PreoperativeDiagnosisSection)'" * @generated */ PreoperativeDiagnosisSection getPreoperativeDiagnosisSection(); @@ -494,7 +490,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))->asSequence()->any(true).oclAsType(consol::ProcedureEstimatedBloodLossSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))->asSequence()->any(true).oclAsType(consol::ProcedureEstimatedBloodLossSection)'" * @generated */ ProcedureEstimatedBloodLossSection getProcedureEstimatedBloodLossSection(); @@ -503,7 +499,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection))->asSequence()->any(true).oclAsType(consol::ProcedureFindingsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection))->asSequence()->any(true).oclAsType(consol::ProcedureFindingsSection)'" * @generated */ ProcedureFindingsSection getProcedureFindingsSection(); @@ -512,7 +508,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))->asSequence()->any(true).oclAsType(consol::ProcedureSpecimensTakenSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))->asSequence()->any(true).oclAsType(consol::ProcedureSpecimensTakenSection)'" * @generated */ ProcedureSpecimensTakenSection getProcedureSpecimensTakenSection(); @@ -521,7 +517,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDescriptionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDescriptionSection)'" * @generated */ ProcedureDescriptionSection getProcedureDescriptionSection(); @@ -530,7 +526,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))->asSequence()->any(true).oclAsType(consol::ProcedureImplantsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))->asSequence()->any(true).oclAsType(consol::ProcedureImplantsSection)'" * @generated */ ProcedureImplantsSection getProcedureImplantsSection(); @@ -539,7 +535,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteFluidSection))->asSequence()->any(true).oclAsType(consol::OperativeNoteFluidSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteFluidSection))->asSequence()->any(true).oclAsType(consol::OperativeNoteFluidSection)'" * @generated */ OperativeNoteFluidSection getOperativeNoteFluidSection(); @@ -548,7 +544,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteSurgicalProcedureSection))->asSequence()->any(true).oclAsType(consol::OperativeNoteSurgicalProcedureSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteSurgicalProcedureSection))->asSequence()->any(true).oclAsType(consol::OperativeNoteSurgicalProcedureSection)'" * @generated */ OperativeNoteSurgicalProcedureSection getOperativeNoteSurgicalProcedureSection(); @@ -557,7 +553,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" * @generated */ PlanOfCareSection getPlanOfCareSection(); @@ -566,7 +562,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection))->asSequence()->any(true).oclAsType(consol::PlannedProcedureSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection))->asSequence()->any(true).oclAsType(consol::PlannedProcedureSection)'" * @generated */ PlannedProcedureSection getPlannedProcedureSection(); @@ -575,7 +571,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDispositionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDispositionSection)'" * @generated */ ProcedureDispositionSection getProcedureDispositionSection(); @@ -584,7 +580,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection))->asSequence()->any(true).oclAsType(consol::ProcedureIndicationsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection))->asSequence()->any(true).oclAsType(consol::ProcedureIndicationsSection)'" * @generated */ ProcedureIndicationsSection getProcedureIndicationsSection(); @@ -593,7 +589,7 @@ boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SurgicalDrainsSection))->asSequence()->any(true).oclAsType(consol::SurgicalDrainsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SurgicalDrainsSection))->asSequence()->any(true).oclAsType(consol::SurgicalDrainsSection)'" * @generated */ SurgicalDrainsSection getSurgicalDrainsSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNote2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNote2.java index 91ef0ca48e..98f84b594e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNote2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNote2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -63,7 +59,7 @@ public interface OperativeNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateOperativeNote2DocumentationOf(DiagnosticChain diagnostics, Map context); @@ -75,7 +71,7 @@ public interface OperativeNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->one(authorization : cda::Authorization | not authorization.oclIsUndefined() and authorization.oclIsKindOf(cda::Authorization))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->one(authorization : cda::Authorization | not authorization.oclIsUndefined() and authorization.oclIsKindOf(cda::Authorization))'" * @generated */ boolean validateOperativeNote2Authorization(DiagnosticChain diagnostics, Map context); @@ -87,7 +83,7 @@ public interface OperativeNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection2))'" * @generated */ boolean validateOperativeNote2AnesthesiaSection2(DiagnosticChain diagnostics, Map context); @@ -99,7 +95,7 @@ public interface OperativeNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection2))'" * @generated */ boolean validateOperativeNote2ComplicationsSection2(DiagnosticChain diagnostics, Map context); @@ -111,7 +107,7 @@ public interface OperativeNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PreoperativeDiagnosisSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PreoperativeDiagnosisSection2))'" * @generated */ boolean validateOperativeNote2PreoperativeDiagnosisSection2(DiagnosticChain diagnostics, @@ -124,7 +120,7 @@ boolean validateOperativeNote2PreoperativeDiagnosisSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))'" * @generated */ boolean validateOperativeNote2ProcedureEstimatedBloodLossSection(DiagnosticChain diagnostics, @@ -137,7 +133,7 @@ boolean validateOperativeNote2ProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection2))'" * @generated */ boolean validateOperativeNote2ProcedureFindingsSection2(DiagnosticChain diagnostics, Map context); @@ -149,7 +145,7 @@ boolean validateOperativeNote2ProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))'" * @generated */ boolean validateOperativeNote2ProcedureSpecimensTakenSection(DiagnosticChain diagnostics, @@ -162,7 +158,7 @@ boolean validateOperativeNote2ProcedureSpecimensTakenSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))'" * @generated */ boolean validateOperativeNote2ProcedureDescriptionSection(DiagnosticChain diagnostics, Map context); @@ -174,7 +170,7 @@ boolean validateOperativeNote2ProcedureSpecimensTakenSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostoperativeDiagnosisSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostoperativeDiagnosisSection))'" * @generated */ boolean validateOperativeNote2PostoperativeDiagnosisSection(DiagnosticChain diagnostics, @@ -187,7 +183,7 @@ boolean validateOperativeNote2PostoperativeDiagnosisSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))'" * @generated */ boolean validateOperativeNote2ProcedureImplantsSection(DiagnosticChain diagnostics, Map context); @@ -199,7 +195,7 @@ boolean validateOperativeNote2PostoperativeDiagnosisSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteFluidSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteFluidSection))'" * @generated */ boolean validateOperativeNote2OperativeNoteFluidSection(DiagnosticChain diagnostics, Map context); @@ -211,7 +207,7 @@ boolean validateOperativeNote2PostoperativeDiagnosisSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteSurgicalProcedureSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteSurgicalProcedureSection))'" * @generated */ boolean validateOperativeNote2OperativeNoteSurgicalProcedureSection(DiagnosticChain diagnostics, @@ -224,7 +220,7 @@ boolean validateOperativeNote2OperativeNoteSurgicalProcedureSection(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateOperativeNote2PlanOfTreatmentSection2(DiagnosticChain diagnostics, Map context); @@ -236,7 +232,7 @@ boolean validateOperativeNote2OperativeNoteSurgicalProcedureSection(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection2))'" * @generated */ boolean validateOperativeNote2PlannedProcedureSection2(DiagnosticChain diagnostics, Map context); @@ -248,7 +244,7 @@ boolean validateOperativeNote2OperativeNoteSurgicalProcedureSection(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))'" * @generated */ boolean validateOperativeNote2ProcedureDispositionSection(DiagnosticChain diagnostics, Map context); @@ -260,7 +256,7 @@ boolean validateOperativeNote2OperativeNoteSurgicalProcedureSection(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection2))'" * @generated */ boolean validateOperativeNote2ProcedureIndicationsSection2(DiagnosticChain diagnostics, @@ -273,7 +269,7 @@ boolean validateOperativeNote2ProcedureIndicationsSection2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SurgicalDrainsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SurgicalDrainsSection))'" * @generated */ boolean validateOperativeNote2SurgicalDrainsSection(DiagnosticChain diagnostics, Map context); @@ -285,7 +281,7 @@ boolean validateOperativeNote2ProcedureIndicationsSection2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow(DiagnosticChain diagnostics, @@ -298,7 +294,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntityCode(DiagnosticChain diagnostics, @@ -311,7 +307,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -324,7 +320,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PPRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PPRF)'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerTypeCode(DiagnosticChain diagnostics, @@ -337,7 +333,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerTypeCode(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -350,7 +346,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCode( @@ -363,7 +359,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCodeP( @@ -376,7 +372,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::SPRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::SPRF)'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsTypeCode(DiagnosticChain diagnostics, @@ -389,7 +385,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsType * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntity( @@ -402,7 +398,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth( @@ -415,7 +411,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTimeHasHighWhe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTimeNoHighIfWidth(DiagnosticChain diagnostics, @@ -428,7 +424,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTimeNoHighIfWi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.104\' or code.codeSystem = \'2.16.840.1.113883.6.12\' or code.codeSystem = \'2.16.840.1.113883.6.96\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.104\' or code.codeSystem = \'2.16.840.1.113883.6.12\' or code.codeSystem = \'2.16.840.1.113883.6.96\')'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventProcedureCodes(DiagnosticChain diagnostics, @@ -441,7 +437,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventProcedureCodes(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTime(DiagnosticChain diagnostics, @@ -454,7 +450,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTime(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventCode(DiagnosticChain diagnostics, @@ -467,7 +463,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventCode(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->notEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->notEmpty())'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformer(DiagnosticChain diagnostics, @@ -480,7 +476,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformer(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->notEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->notEmpty())'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistants(DiagnosticChain diagnostics, @@ -493,7 +489,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistants(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateOperativeNote2DocumentationOfServiceEvent(DiagnosticChain diagnostics, Map context); @@ -505,7 +501,7 @@ boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistants(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClass::CONS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClass::CONS)'" * @generated */ boolean validateOperativeNote2AuthorizationConsentClassCode(DiagnosticChain diagnostics, @@ -518,7 +514,7 @@ boolean validateOperativeNote2AuthorizationConsentClassCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject(isDefined(\'moodCode\') and moodCode=vocab::ActMood::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject(isDefined(\'moodCode\') and moodCode=vocab::ActMood::EVN)'" * @generated */ boolean validateOperativeNote2AuthorizationConsentMoodCode(DiagnosticChain diagnostics, @@ -531,7 +527,7 @@ boolean validateOperativeNote2AuthorizationConsentMoodCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" * @generated */ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain diagnostics, @@ -544,7 +540,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::AUTH)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::AUTH)'" * @generated */ boolean validateOperativeNote2AuthorizationTypeCode(DiagnosticChain diagnostics, Map context); @@ -556,7 +552,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(consent->one(consent : cda::Consent | not consent.oclIsUndefined() and consent.oclIsKindOf(cda::Consent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(consent->one(consent : cda::Consent | not consent.oclIsUndefined() and consent.oclIsKindOf(cda::Consent)))'" * @generated */ boolean validateOperativeNote2AuthorizationConsent(DiagnosticChain diagnostics, Map context); @@ -565,7 +561,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection2))->asSequence()->any(true).oclAsType(consol::AnesthesiaSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection2))->asSequence()->any(true).oclAsType(consol::AnesthesiaSection2)'" * @generated */ AnesthesiaSection2 getAnesthesiaSection2(); @@ -574,7 +570,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection2))->asSequence()->any(true).oclAsType(consol::ComplicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection2))->asSequence()->any(true).oclAsType(consol::ComplicationsSection2)'" * @generated */ ComplicationsSection2 getComplicationsSection2(); @@ -583,7 +579,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PreoperativeDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::PreoperativeDiagnosisSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PreoperativeDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::PreoperativeDiagnosisSection2)'" * @generated */ PreoperativeDiagnosisSection2 getPreoperativeDiagnosisSection2(); @@ -592,7 +588,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))->asSequence()->any(true).oclAsType(consol::ProcedureEstimatedBloodLossSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))->asSequence()->any(true).oclAsType(consol::ProcedureEstimatedBloodLossSection)'" * @generated */ ProcedureEstimatedBloodLossSection getProcedureEstimatedBloodLossSection(); @@ -601,7 +597,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection2))->asSequence()->any(true).oclAsType(consol::ProcedureFindingsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection2))->asSequence()->any(true).oclAsType(consol::ProcedureFindingsSection2)'" * @generated */ ProcedureFindingsSection2 getProcedureFindingsSection2(); @@ -610,7 +606,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))->asSequence()->any(true).oclAsType(consol::ProcedureSpecimensTakenSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))->asSequence()->any(true).oclAsType(consol::ProcedureSpecimensTakenSection)'" * @generated */ ProcedureSpecimensTakenSection getProcedureSpecimensTakenSection(); @@ -619,7 +615,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDescriptionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDescriptionSection)'" * @generated */ ProcedureDescriptionSection getProcedureDescriptionSection(); @@ -628,7 +624,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostoperativeDiagnosisSection))->asSequence()->any(true).oclAsType(consol::PostoperativeDiagnosisSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostoperativeDiagnosisSection))->asSequence()->any(true).oclAsType(consol::PostoperativeDiagnosisSection)'" * @generated */ PostoperativeDiagnosisSection getPostoperativeDiagnosisSection(); @@ -637,7 +633,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))->asSequence()->any(true).oclAsType(consol::ProcedureImplantsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))->asSequence()->any(true).oclAsType(consol::ProcedureImplantsSection)'" * @generated */ ProcedureImplantsSection getProcedureImplantsSection(); @@ -646,7 +642,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteFluidSection))->asSequence()->any(true).oclAsType(consol::OperativeNoteFluidSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteFluidSection))->asSequence()->any(true).oclAsType(consol::OperativeNoteFluidSection)'" * @generated */ OperativeNoteFluidSection getOperativeNoteFluidSection(); @@ -655,7 +651,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteSurgicalProcedureSection))->asSequence()->any(true).oclAsType(consol::OperativeNoteSurgicalProcedureSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::OperativeNoteSurgicalProcedureSection))->asSequence()->any(true).oclAsType(consol::OperativeNoteSurgicalProcedureSection)'" * @generated */ OperativeNoteSurgicalProcedureSection getOperativeNoteSurgicalProcedureSection(); @@ -664,7 +660,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -673,7 +669,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection2))->asSequence()->any(true).oclAsType(consol::PlannedProcedureSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection2))->asSequence()->any(true).oclAsType(consol::PlannedProcedureSection2)'" * @generated */ PlannedProcedureSection2 getPlannedProcedureSection2(); @@ -682,7 +678,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDispositionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDispositionSection)'" * @generated */ ProcedureDispositionSection getProcedureDispositionSection(); @@ -691,7 +687,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection2))->asSequence()->any(true).oclAsType(consol::ProcedureIndicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection2))->asSequence()->any(true).oclAsType(consol::ProcedureIndicationsSection2)'" * @generated */ ProcedureIndicationsSection2 getProcedureIndicationsSection2(); @@ -700,7 +696,7 @@ boolean validateOperativeNote2AuthorizationConsentStatusCode(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SurgicalDrainsSection))->asSequence()->any(true).oclAsType(consol::SurgicalDrainsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SurgicalDrainsSection))->asSequence()->any(true).oclAsType(consol::SurgicalDrainsSection)'" * @generated */ SurgicalDrainsSection getSurgicalDrainsSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNoteFluidSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNoteFluidSection.java index 03a13021a2..78e4d75b45 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNoteFluidSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNoteFluidSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface OperativeNoteFluidSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.7.12\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.7.12\')'" * @generated */ boolean validateOperativeNoteFluidSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNoteSurgicalProcedureSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNoteSurgicalProcedureSection.java index 2184174eb7..a8a807ec75 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNoteSurgicalProcedureSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OperativeNoteSurgicalProcedureSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface OperativeNoteSurgicalProcedureSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.7.14\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.7.14\')'" * @generated */ boolean validateOperativeNoteSurgicalProcedureSectionTemplateId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OutcomeObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OutcomeObservation.java index 26527f5cbe..bd62b077df 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OutcomeObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/OutcomeObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -34,7 +29,7 @@ public interface OutcomeObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::ProgressTowardGoalObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::ProgressTowardGoalObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateOutcomeObservationProgTowardGoalObsInversionIndIsTrue(DiagnosticChain diagnostics, @@ -47,7 +42,7 @@ boolean validateOutcomeObservationProgTowardGoalObsInversionIndIsTrue(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.144\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.144\')'" * @generated */ boolean validateOutcomeObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -83,7 +78,7 @@ boolean validateOutcomeObservationProgTowardGoalObsInversionIndIsTrue(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateOutcomeObservationId(DiagnosticChain diagnostics, Map context); @@ -119,7 +114,7 @@ boolean validateOutcomeObservationProgTowardGoalObsInversionIndIsTrue(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" * @generated */ boolean validateOutcomeObservationValue(DiagnosticChain diagnostics, Map context); @@ -131,7 +126,7 @@ boolean validateOutcomeObservationProgTowardGoalObsInversionIndIsTrue(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::GEVL)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::GEVL)'" * @generated */ boolean validateOutcomeObservationEntryReferenceGoalObs(DiagnosticChain diagnostics, Map context); @@ -143,7 +138,7 @@ boolean validateOutcomeObservationProgTowardGoalObsInversionIndIsTrue(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateOutcomeObservationEntryReferenceInterventionAct(DiagnosticChain diagnostics, @@ -156,7 +151,7 @@ boolean validateOutcomeObservationEntryReferenceInterventionAct(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateOutcomeObservationAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -168,7 +163,7 @@ boolean validateOutcomeObservationEntryReferenceInterventionAct(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProgressTowardGoalObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProgressTowardGoalObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" * @generated */ boolean validateOutcomeObservationProgressTowardGoalObservation(DiagnosticChain diagnostics, @@ -181,7 +176,7 @@ boolean validateOutcomeObservationProgressTowardGoalObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" * @generated */ boolean validateOutcomeObservationReference(DiagnosticChain diagnostics, Map context); @@ -193,7 +188,7 @@ boolean validateOutcomeObservationProgressTowardGoalObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(rim::ActRelationship))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(rim::ActRelationship))'" * @generated */ boolean validateOutcomeObservationEntryRelationship(DiagnosticChain diagnostics, Map context); @@ -205,7 +200,7 @@ boolean validateOutcomeObservationProgressTowardGoalObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" * @generated */ boolean validateOutcomeObservationReferenceTypeCode(DiagnosticChain diagnostics, Map context); @@ -217,7 +212,7 @@ boolean validateOutcomeObservationProgressTowardGoalObservation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" * @generated */ boolean validateOutcomeObservationReferenceExternalDocumentReference(DiagnosticChain diagnostics, @@ -227,7 +222,7 @@ boolean validateOutcomeObservationReferenceExternalDocumentReference(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getEntryReferenceGoalObss(); @@ -236,7 +231,7 @@ boolean validateOutcomeObservationReferenceExternalDocumentReference(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getEntryReferenceInterventionActs(); @@ -245,7 +240,7 @@ boolean validateOutcomeObservationReferenceExternalDocumentReference(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProgressTowardGoalObservation))->asSequence()->any(true).oclAsType(consol::ProgressTowardGoalObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProgressTowardGoalObservation))->asSequence()->any(true).oclAsType(consol::ProgressTowardGoalObservation)'" * @generated */ ProgressTowardGoalObservation getProgressTowardGoalObservation(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PatientReferralAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PatientReferralAct.java index 0e0a96c06e..65e2ec0b0e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PatientReferralAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PatientReferralAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -37,7 +32,7 @@ public interface PatientReferralAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.140\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.140\')'" * @generated */ boolean validatePatientReferralActTemplateId(DiagnosticChain diagnostics, Map context); @@ -85,7 +80,7 @@ public interface PatientReferralAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePatientReferralActId(DiagnosticChain diagnostics, Map context); @@ -169,7 +164,7 @@ public interface PatientReferralAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->notEmpty()'" * @generated */ boolean validatePatientReferralActEntryRelationship(DiagnosticChain diagnostics, Map context); @@ -181,7 +176,7 @@ public interface PatientReferralAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePatientReferralActAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -193,7 +188,7 @@ public interface PatientReferralAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePatientReferralActIndication2(DiagnosticChain diagnostics, Map context); @@ -205,7 +200,7 @@ public interface PatientReferralAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" * @generated */ boolean validatePatientReferralActParticipant(DiagnosticChain diagnostics, Map context); @@ -217,7 +212,7 @@ public interface PatientReferralAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationClassCode(DiagnosticChain diagnostics, @@ -230,7 +225,7 @@ boolean validatePatientReferralActEntryRelationshipObservationClassCode(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::RQO)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::RQO)'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationMoodCode(DiagnosticChain diagnostics, @@ -243,7 +238,7 @@ boolean validatePatientReferralActEntryRelationshipObservationMoodCode(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationCodeP(DiagnosticChain diagnostics, @@ -256,7 +251,7 @@ boolean validatePatientReferralActEntryRelationshipObservationCodeP(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'ASSERTION\' and value.codeSystem = \'2.16.840.1.113883.5.4\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'ASSERTION\' and value.codeSystem = \'2.16.840.1.113883.5.4\'))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationCode(DiagnosticChain diagnostics, @@ -269,7 +264,7 @@ boolean validatePatientReferralActEntryRelationshipObservationCode(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined() and statusCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = statusCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'completed\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined() and statusCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = statusCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'completed\'))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationStatusCode(DiagnosticChain diagnostics, @@ -282,7 +277,7 @@ boolean validatePatientReferralActEntryRelationshipObservationStatusCode(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationStatusCodeP(DiagnosticChain diagnostics, @@ -295,7 +290,7 @@ boolean validatePatientReferralActEntryRelationshipObservationStatusCodeP(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((priorityCode.oclIsUndefined() or priorityCode.isNullFlavorUndefined()) implies (not priorityCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((priorityCode.oclIsUndefined() or priorityCode.isNullFlavorUndefined()) implies (not priorityCode.oclIsUndefined()))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationPriorityCodeP(DiagnosticChain diagnostics, @@ -308,7 +303,7 @@ boolean validatePatientReferralActEntryRelationshipObservationPriorityCodeP(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((priorityCode.oclIsUndefined() or priorityCode.isNullFlavorUndefined()) implies (not priorityCode.oclIsUndefined() and priorityCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = priorityCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.7\' and (value.code = \'A\' or value.code = \'CR\' or value.code = \'CS\' or value.code = \'CSP\' or value.code = \'CSR\' or value.code = \'EL\' or value.code = \'EM\' or value.code = \'P\' or value.code = \'PRN\' or value.code = \'R\' or value.code = \'RR\' or value.code = \'S\' or value.code = \'T\' or value.code = \'UD\' or value.code = \'UR\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((priorityCode.oclIsUndefined() or priorityCode.isNullFlavorUndefined()) implies (not priorityCode.oclIsUndefined() and priorityCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = priorityCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.7\' and (value.code = \'A\' or value.code = \'CR\' or value.code = \'CS\' or value.code = \'CSP\' or value.code = \'CSR\' or value.code = \'EL\' or value.code = \'EM\' or value.code = \'P\' or value.code = \'PRN\' or value.code = \'R\' or value.code = \'RR\' or value.code = \'S\' or value.code = \'T\' or value.code = \'UD\' or value.code = \'UR\')))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationPriorityCode(DiagnosticChain diagnostics, @@ -321,7 +316,7 @@ boolean validatePatientReferralActEntryRelationshipObservationPriorityCode(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'370985002\' or value.code = \'170941001\' or value.code = \'170935008\' or value.code = \'268528005\' or value.code = \'170939002\' or value.code = \'268529002\' or value.code = \'170936009\' or value.code = \'170937000\' or value.code = \'170940000\'))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'370985002\' or value.code = \'170941001\' or value.code = \'170935008\' or value.code = \'268528005\' or value.code = \'170939002\' or value.code = \'268529002\' or value.code = \'170936009\' or value.code = \'170937000\' or value.code = \'170940000\'))))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationValue(DiagnosticChain diagnostics, @@ -334,7 +329,7 @@ boolean validatePatientReferralActEntryRelationshipObservationValue(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::CD))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ).observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::CD))))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservationValueP(DiagnosticChain diagnostics, @@ -347,7 +342,7 @@ boolean validatePatientReferralActEntryRelationshipObservationValueP(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePatientReferralActEntryRelationshipTypeCode(DiagnosticChain diagnostics, @@ -360,7 +355,7 @@ boolean validatePatientReferralActEntryRelationshipTypeCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::SUBJ)->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" * @generated */ boolean validatePatientReferralActEntryRelationshipObservation(DiagnosticChain diagnostics, @@ -373,7 +368,7 @@ boolean validatePatientReferralActEntryRelationshipObservation(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePatientReferralActParticipantParticipantRoleCodeP(DiagnosticChain diagnostics, @@ -386,7 +381,7 @@ boolean validatePatientReferralActParticipantParticipantRoleCodeP(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validatePatientReferralActParticipantParticipantRoleCode(DiagnosticChain diagnostics, @@ -399,7 +394,7 @@ boolean validatePatientReferralActParticipantParticipantRoleCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::REFT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::REFT)'" * @generated */ boolean validatePatientReferralActParticipantTypeCode(DiagnosticChain diagnostics, Map context); @@ -411,7 +406,7 @@ boolean validatePatientReferralActParticipantParticipantRoleCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validatePatientReferralActParticipantParticipantRole(DiagnosticChain diagnostics, @@ -421,7 +416,7 @@ boolean validatePatientReferralActParticipantParticipantRole(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getIndication2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PayersSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PayersSection.java index 45bcfcaaa5..5eca40386a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PayersSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PayersSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -55,7 +50,7 @@ public interface PayersSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.18\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.18\')'" * @generated */ boolean validatePayersSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -115,7 +110,7 @@ public interface PayersSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::CoverageActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::CoverageActivity))'" * @generated */ boolean validatePayersSectionCoverageActivity(DiagnosticChain diagnostics, Map context); @@ -124,7 +119,7 @@ public interface PayersSection extends Section { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::CoverageActivity)).oclAsType(consol::CoverageActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::CoverageActivity)).oclAsType(consol::CoverageActivity)'" * @generated */ EList getCoverageActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PayersSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PayersSection2.java index 6747d1d3d2..05d4ae501e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PayersSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PayersSection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface PayersSection2 extends PayersSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.18\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.18\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePayersSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface PayersSection2 extends PayersSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::CoverageActivity2)).oclAsType(consol::CoverageActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::CoverageActivity2)).oclAsType(consol::CoverageActivity2)'" * @generated */ EList getConsolCoverageActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalExamSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalExamSection.java index e3769c0c68..1c49749111 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalExamSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalExamSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -38,7 +33,7 @@ public interface PhysicalExamSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.2.10\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.2.10\')'" * @generated */ boolean validatePhysicalExamSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -98,7 +93,7 @@ public interface PhysicalExamSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::PressureUlcerObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::PressureUlcerObservation))'" * @generated */ boolean validatePhysicalExamSectionPressureUlcerObservation(DiagnosticChain diagnostics, @@ -111,7 +106,7 @@ boolean validatePhysicalExamSectionPressureUlcerObservation(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation))'" * @generated */ boolean validatePhysicalExamSectionNumberOfPressureUlcersObservation(DiagnosticChain diagnostics, @@ -124,7 +119,7 @@ boolean validatePhysicalExamSectionNumberOfPressureUlcersObservation(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::HighestPressureUlcerStage))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::HighestPressureUlcerStage))'" * @generated */ boolean validatePhysicalExamSectionHighestPressureUlcerStage(DiagnosticChain diagnostics, @@ -134,7 +129,7 @@ boolean validatePhysicalExamSectionHighestPressureUlcerStage(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PressureUlcerObservation)).oclAsType(consol::PressureUlcerObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PressureUlcerObservation)).oclAsType(consol::PressureUlcerObservation)'" * @generated */ EList getPressureUlcerObservations(); @@ -143,7 +138,7 @@ boolean validatePhysicalExamSectionHighestPressureUlcerStage(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation)).oclAsType(consol::NumberOfPressureUlcersObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation)).oclAsType(consol::NumberOfPressureUlcersObservation)'" * @generated */ EList getNumberOfPressureUlcersObservations(); @@ -152,7 +147,7 @@ boolean validatePhysicalExamSectionHighestPressureUlcerStage(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage)).oclAsType(consol::HighestPressureUlcerStage)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage)).oclAsType(consol::HighestPressureUlcerStage)'" * @generated */ EList getHighestPressureUlcerStages(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalExamSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalExamSection2.java index 06cd37dc54..a586c05f1e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalExamSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalExamSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -33,7 +29,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.2.10\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.2.10\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePhysicalExamSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -45,7 +41,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::LongitudinalCareWoundObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::LongitudinalCareWoundObservation))'" * @generated */ boolean validatePhysicalExamSection2WoundObservation(DiagnosticChain diagnostics, Map context); @@ -57,7 +53,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies component->exists(component : cda::Component5 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component5))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies component->exists(component : cda::Component5 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component5))'" * @generated */ boolean validatePhysicalExamSection2Component(DiagnosticChain diagnostics, Map context); @@ -69,7 +65,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).section->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.1\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).section->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.1\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validatePhysicalExamSection2ComponentSectionCode(DiagnosticChain diagnostics, Map context); @@ -81,7 +77,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).section->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).section->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePhysicalExamSection2ComponentSectionCodeP(DiagnosticChain diagnostics, Map context); @@ -93,7 +89,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).section->excluding(null)->reject((title.oclIsUndefined() or title.isNullFlavorUndefined()) implies (not title.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).section->excluding(null)->reject((title.oclIsUndefined() or title.isNullFlavorUndefined()) implies (not title.oclIsUndefined()))'" * @generated */ boolean validatePhysicalExamSection2ComponentSectionTitle(DiagnosticChain diagnostics, Map context); @@ -105,7 +101,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).section->excluding(null)->reject(not text.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).section->excluding(null)->reject(not text.oclIsUndefined())'" * @generated */ boolean validatePhysicalExamSection2ComponentSectionText(DiagnosticChain diagnostics, Map context); @@ -117,7 +113,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null)->reject(section->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(cda::Section)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null)->reject(section->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(cda::Section)))'" * @generated */ boolean validatePhysicalExamSection2ComponentSection(DiagnosticChain diagnostics, Map context); @@ -126,7 +122,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::LongitudinalCareWoundObservation)).oclAsType(consol::LongitudinalCareWoundObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::LongitudinalCareWoundObservation)).oclAsType(consol::LongitudinalCareWoundObservation)'" * @generated */ EList getWoundObservations(); @@ -135,7 +131,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PressureUlcerObservation)).oclAsType(consol::PressureUlcerObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PressureUlcerObservation)).oclAsType(consol::PressureUlcerObservation)'" * @generated */ EList getConsolPressureUlcerObservations(); @@ -144,7 +140,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage)).oclAsType(consol::HighestPressureUlcerStage)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HighestPressureUlcerStage)).oclAsType(consol::HighestPressureUlcerStage)'" * @generated */ EList getConsolHighestPressureUlcerStages(); @@ -153,7 +149,7 @@ public interface PhysicalExamSection2 extends PhysicalExamSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation)).oclAsType(consol::NumberOfPressureUlcersObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NumberOfPressureUlcersObservation)).oclAsType(consol::NumberOfPressureUlcersObservation)'" * @generated */ EList getConsolNumberOfPressureUlcersObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalFindingsOfSkinSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalFindingsOfSkinSection.java index d3efc6a4e2..66769d9594 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalFindingsOfSkinSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicalFindingsOfSkinSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface PhysicalFindingsOfSkinSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.62\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.62\')'" * @generated */ boolean validatePhysicalFindingsOfSkinSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface PhysicalFindingsOfSkinSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::LongitudinalCareWoundObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::LongitudinalCareWoundObservation))'" * @generated */ boolean validatePhysicalFindingsOfSkinSectionWoundObservation(DiagnosticChain diagnostics, @@ -103,7 +98,7 @@ boolean validatePhysicalFindingsOfSkinSectionWoundObservation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::LongitudinalCareWoundObservation)).oclAsType(consol::LongitudinalCareWoundObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::LongitudinalCareWoundObservation)).oclAsType(consol::LongitudinalCareWoundObservation)'" * @generated */ EList getWoundObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianReadingStudyPerformer.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianReadingStudyPerformer.java index ab19008db8..962aef8451 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianReadingStudyPerformer.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianReadingStudyPerformer.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Performer1; /** @@ -33,7 +28,7 @@ public interface PhysicianReadingStudyPerformer extends Performer1 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.1\')'" * @generated */ boolean validatePhysicianReadingStudyPerformerTemplateId(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface PhysicianReadingStudyPerformer extends Performer1 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity))'" * @generated */ boolean validatePhysicianReadingStudyPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -82,7 +77,7 @@ boolean validatePhysicianReadingStudyPerformerAssignedEntity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 8) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 8) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 8))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 8) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 8) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 8))))'" * @generated */ boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS( @@ -95,7 +90,7 @@ boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 12) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 12) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 12))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 12) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 12) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 12))))'" * @generated */ boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS( @@ -108,7 +103,7 @@ boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 14) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 14) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 14))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.time->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ((not value.oclIsUndefined() implies value.size() >= 14) and ((not low.value.oclIsUndefined() and low.isNullFlavorUndefined() implies low.value.size() >= 14) and (not high.value.oclIsUndefined() and high.isNullFlavorUndefined() implies high.value.size() >= 14))))'" * @generated */ boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS( @@ -121,7 +116,7 @@ boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.time->excluding(null)->select(isNullFlavorUndefined())->reject((not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15) and ((not low.value.oclIsUndefined() and low.value.size() > 8 implies low.value.size() >= 15) and (not high.value.oclIsUndefined() and high.value.size() > 8 implies high.value.size() >= 15)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.time->excluding(null)->select(isNullFlavorUndefined())->reject((not value.oclIsUndefined() and value.size() > 8 implies value.size() >= 15) and ((not low.value.oclIsUndefined() and low.value.size() > 8 implies low.value.size() >= 15) and (not high.value.oclIsUndefined() and high.value.size() > 8 implies high.value.size() >= 15)))'" * @generated */ boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS( @@ -134,7 +129,7 @@ boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(code.codeSystem = \'1.2.840.10008.2.16.4\' or code.codeSystem = \'2.16.840.1.113883.6.101\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(code.codeSystem = \'1.2.840.10008.2.16.4\' or code.codeSystem = \'2.16.840.1.113883.6.101\')'" * @generated */ boolean validatePhysicianReadingStudyPerformerAssignedEntityHasDICOM(DiagnosticChain diagnostics, @@ -147,7 +142,7 @@ boolean validatePhysicianReadingStudyPerformerAssignedEntityHasDICOM(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(not assignedPerson->isEmpty() or not representedOrganization->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(not assignedPerson->isEmpty() or not representedOrganization->isEmpty())'" * @generated */ boolean validatePhysicianReadingStudyPerformerAssignedEntityHasAssignedPersonOrRepresentedOrganization( @@ -160,7 +155,7 @@ boolean validatePhysicianReadingStudyPerformerAssignedEntityHasAssignedPersonOrR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validatePhysicianReadingStudyPerformerAssignedEntityHasNationalProviderId(DiagnosticChain diagnostics, @@ -173,7 +168,7 @@ boolean validatePhysicianReadingStudyPerformerAssignedEntityHasNationalProviderI * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validatePhysicianReadingStudyPerformerAssignedEntityId(DiagnosticChain diagnostics, @@ -186,7 +181,7 @@ boolean validatePhysicianReadingStudyPerformerAssignedEntityId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePhysicianReadingStudyPerformerAssignedEntityCode(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianReadingStudyPerformer2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianReadingStudyPerformer2.java index 0bfe93f578..8239caefc8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianReadingStudyPerformer2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianReadingStudyPerformer2.java @@ -2,12 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -28,7 +26,7 @@ public interface PhysicianReadingStudyPerformer2 extends PhysicianReadingStudyPe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.1\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.1\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePhysicianReadingStudyPerformer2TemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianofRecordParticipant.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianofRecordParticipant.java index 47f3ef12a9..a5571a67bc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianofRecordParticipant.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianofRecordParticipant.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.EncounterParticipant; /** @@ -34,7 +29,7 @@ public interface PhysicianofRecordParticipant extends EncounterParticipant { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.2\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.2\')'" * @generated */ boolean validatePhysicianofRecordParticipantTemplateId(DiagnosticChain diagnostics, Map context); @@ -58,7 +53,7 @@ public interface PhysicianofRecordParticipant extends EncounterParticipant { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity))'" * @generated */ boolean validatePhysicianofRecordParticipantAssignedEntity(DiagnosticChain diagnostics, @@ -71,7 +66,7 @@ boolean validatePhysicianofRecordParticipantAssignedEntity(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null).assignedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validatePhysicianofRecordParticipantAssignedEntityAssignedPersonName(DiagnosticChain diagnostics, @@ -84,7 +79,7 @@ boolean validatePhysicianofRecordParticipantAssignedEntityAssignedPersonName(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(code.codeSystem = \'1.2.840.10008.2.16.4\' or code.codeSystem = \'2.16.840.1.113883.6.101\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(code.codeSystem = \'1.2.840.10008.2.16.4\' or code.codeSystem = \'2.16.840.1.113883.6.101\')'" * @generated */ boolean validatePhysicianofRecordParticipantAssignedEntityHasDICOMOrNUCCCode(DiagnosticChain diagnostics, @@ -97,7 +92,7 @@ boolean validatePhysicianofRecordParticipantAssignedEntityHasDICOMOrNUCCCode(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(id->exists( root=\'2.16.840.1.113883.4.6\' ))'" * @generated */ boolean validatePhysicianofRecordParticipantAssignedEntityHasNationalProviderId(DiagnosticChain diagnostics, @@ -110,7 +105,7 @@ boolean validatePhysicianofRecordParticipantAssignedEntityHasNationalProviderId( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePhysicianofRecordParticipantAssignedEntityCode(DiagnosticChain diagnostics, @@ -123,7 +118,7 @@ boolean validatePhysicianofRecordParticipantAssignedEntityCode(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validatePhysicianofRecordParticipantAssignedEntityId(DiagnosticChain diagnostics, @@ -136,7 +131,7 @@ boolean validatePhysicianofRecordParticipantAssignedEntityId(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validatePhysicianofRecordParticipantAssignedEntityAssignedPerson(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianofRecordParticipant2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianofRecordParticipant2.java index 930e82d1bf..4e44c08e08 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianofRecordParticipant2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PhysicianofRecordParticipant2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -33,7 +29,7 @@ public interface PhysicianofRecordParticipant2 extends PhysicianofRecordParticip * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.2\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.2\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePhysicianofRecordParticipant2TemplateId(DiagnosticChain diagnostics, Map context); @@ -45,7 +41,7 @@ public interface PhysicianofRecordParticipant2 extends PhysicianofRecordParticip * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validatePhysicianofRecordParticipant2AssignedEntityRepresentedOrganizationName(DiagnosticChain diagnostics, @@ -58,7 +54,7 @@ boolean validatePhysicianofRecordParticipant2AssignedEntityRepresentedOrganizati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validatePhysicianofRecordParticipant2AssignedEntityRepresentedOrganization(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityAct.java index 153e06171c..39ac9f47eb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityAct.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -32,7 +27,7 @@ public interface PlanOfCareActivityAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.39\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.39\')'" * @generated */ boolean validatePlanOfCareActivityActTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface PlanOfCareActivityAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlanOfCareActivityActId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityEncounter.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityEncounter.java index 92a133721d..bc04279ad1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityEncounter.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityEncounter.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Encounter; /** @@ -32,7 +27,7 @@ public interface PlanOfCareActivityEncounter extends Encounter { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.40\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.40\')'" * @generated */ boolean validatePlanOfCareActivityEncounterTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface PlanOfCareActivityEncounter extends Encounter { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlanOfCareActivityEncounterId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityObservation.java index 54f4872deb..46b74106f4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface PlanOfCareActivityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.44\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.44\')'" * @generated */ boolean validatePlanOfCareActivityObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface PlanOfCareActivityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlanOfCareActivityObservationId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityProcedure.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityProcedure.java index ef7f250fae..c600dd2e74 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityProcedure.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivityProcedure.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Procedure; /** @@ -32,7 +27,7 @@ public interface PlanOfCareActivityProcedure extends Procedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.41\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.41\')'" * @generated */ boolean validatePlanOfCareActivityProcedureTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface PlanOfCareActivityProcedure extends Procedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlanOfCareActivityProcedureId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivitySubstanceAdministration.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivitySubstanceAdministration.java index cd33a62455..44b6387842 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivitySubstanceAdministration.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivitySubstanceAdministration.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.SubstanceAdministration; /** @@ -32,7 +27,7 @@ public interface PlanOfCareActivitySubstanceAdministration extends SubstanceAdmi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.42\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.42\')'" * @generated */ boolean validatePlanOfCareActivitySubstanceAdministrationTemplateId(DiagnosticChain diagnostics, @@ -71,7 +66,7 @@ boolean validatePlanOfCareActivitySubstanceAdministrationMoodCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlanOfCareActivitySubstanceAdministrationId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivitySupply.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivitySupply.java index 352362c203..a13cc26e66 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivitySupply.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareActivitySupply.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Supply; /** @@ -32,7 +27,7 @@ public interface PlanOfCareActivitySupply extends Supply { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.43\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.43\')'" * @generated */ boolean validatePlanOfCareActivitySupplyTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface PlanOfCareActivitySupply extends Supply { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlanOfCareActivitySupplyId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareSection.java index 0b528e56d0..72d8ce1a71 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfCareSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -37,7 +32,7 @@ public interface PlanOfCareSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.10\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.10\')'" * @generated */ boolean validatePlanOfCareSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -97,7 +92,7 @@ public interface PlanOfCareSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PlanOfCareActivityAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PlanOfCareActivityAct))'" * @generated */ boolean validatePlanOfCareSectionPlanOfCareActivityAct(DiagnosticChain diagnostics, Map context); @@ -109,7 +104,7 @@ public interface PlanOfCareSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.encounter.oclIsUndefined() and entry.encounter.oclIsKindOf(consol::PlanOfCareActivityEncounter))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.encounter.oclIsUndefined() and entry.encounter.oclIsKindOf(consol::PlanOfCareActivityEncounter))'" * @generated */ boolean validatePlanOfCareSectionPlanOfCareActivityEncounter(DiagnosticChain diagnostics, @@ -122,7 +117,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivityEncounter(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::PlanOfCareActivityObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::PlanOfCareActivityObservation))'" * @generated */ boolean validatePlanOfCareSectionPlanOfCareActivityObservation(DiagnosticChain diagnostics, @@ -135,7 +130,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivityObservation(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::PlanOfCareActivityProcedure))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::PlanOfCareActivityProcedure))'" * @generated */ boolean validatePlanOfCareSectionPlanOfCareActivityProcedure(DiagnosticChain diagnostics, @@ -148,7 +143,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivityProcedure(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::PlanOfCareActivitySubstanceAdministration))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::PlanOfCareActivitySubstanceAdministration))'" * @generated */ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(DiagnosticChain diagnostics, @@ -161,7 +156,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.supply.oclIsUndefined() and entry.supply.oclIsKindOf(consol::PlanOfCareActivitySupply))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.supply.oclIsUndefined() and entry.supply.oclIsKindOf(consol::PlanOfCareActivitySupply))'" * @generated */ boolean validatePlanOfCareSectionPlanOfCareActivitySupply(DiagnosticChain diagnostics, Map context); @@ -173,7 +168,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::Instructions))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::Instructions))'" * @generated */ boolean validatePlanOfCareSectionInstructions(DiagnosticChain diagnostics, Map context); @@ -182,7 +177,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlanOfCareActivityAct)).oclAsType(consol::PlanOfCareActivityAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlanOfCareActivityAct)).oclAsType(consol::PlanOfCareActivityAct)'" * @generated */ EList getPlanOfCareActivityActs(); @@ -191,7 +186,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::PlanOfCareActivityEncounter)).oclAsType(consol::PlanOfCareActivityEncounter)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::PlanOfCareActivityEncounter)).oclAsType(consol::PlanOfCareActivityEncounter)'" * @generated */ EList getPlanOfCareActivityEncounters(); @@ -200,7 +195,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PlanOfCareActivityObservation)).oclAsType(consol::PlanOfCareActivityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PlanOfCareActivityObservation)).oclAsType(consol::PlanOfCareActivityObservation)'" * @generated */ EList getPlanOfCareActivityObservations(); @@ -209,7 +204,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlanOfCareActivityProcedure)).oclAsType(consol::PlanOfCareActivityProcedure)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlanOfCareActivityProcedure)).oclAsType(consol::PlanOfCareActivityProcedure)'" * @generated */ EList getPlanOfCareActivityProcedures(); @@ -218,7 +213,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlanOfCareActivitySubstanceAdministration)).oclAsType(consol::PlanOfCareActivitySubstanceAdministration)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlanOfCareActivitySubstanceAdministration)).oclAsType(consol::PlanOfCareActivitySubstanceAdministration)'" * @generated */ EList getPlanOfCareActivitySubstanceAdministrations(); @@ -227,7 +222,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::PlanOfCareActivitySupply)).oclAsType(consol::PlanOfCareActivitySupply)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::PlanOfCareActivitySupply)).oclAsType(consol::PlanOfCareActivitySupply)'" * @generated */ EList getPlanOfCareActivitySupplies(); @@ -236,7 +231,7 @@ boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions)).oclAsType(consol::Instructions)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions)).oclAsType(consol::Instructions)'" * @generated */ EList getInstructionss(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfTreatmentSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfTreatmentSection2.java index a0d5804bb8..62c3f61d0f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfTreatmentSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlanOfTreatmentSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface PlanOfTreatmentSection2 extends PlanOfCareSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.10\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.10\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePlanOfTreatmentSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface PlanOfTreatmentSection2 extends PlanOfCareSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HandoffCommunicationParticipants))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::HandoffCommunicationParticipants))'" * @generated */ boolean validatePlanOfTreatmentSection2HandoffCommunication(DiagnosticChain diagnostics, @@ -56,7 +52,7 @@ boolean validatePlanOfTreatmentSection2HandoffCommunication(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::NutritionRecommendation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::NutritionRecommendation))'" * @generated */ boolean validatePlanOfTreatmentSection2NutritionRecommendation(DiagnosticChain diagnostics, @@ -69,7 +65,7 @@ boolean validatePlanOfTreatmentSection2NutritionRecommendation(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::PlannedImmunizationActivity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.substanceAdministration.oclIsUndefined() and entry.substanceAdministration.oclIsKindOf(consol::PlannedImmunizationActivity))'" * @generated */ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticChain diagnostics, @@ -82,7 +78,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::GoalObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::GoalObservation))'" * @generated */ boolean validatePlanOfTreatmentSection2GoalObservation(DiagnosticChain diagnostics, Map context); @@ -91,7 +87,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PlannedObservation2)).oclAsType(consol::PlannedObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PlannedObservation2)).oclAsType(consol::PlannedObservation2)'" * @generated */ EList getConsolPlannedObservation2s(); @@ -100,7 +96,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::PlannedEncounter2)).oclAsType(consol::PlannedEncounter2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::PlannedEncounter2)).oclAsType(consol::PlannedEncounter2)'" * @generated */ EList getConsolPlannedEncounter2s(); @@ -109,7 +105,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedAct2)).oclAsType(consol::PlannedAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedAct2)).oclAsType(consol::PlannedAct2)'" * @generated */ EList getConsolPlannedAct2s(); @@ -118,7 +114,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlannedProcedure2)).oclAsType(consol::PlannedProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlannedProcedure2)).oclAsType(consol::PlannedProcedure2)'" * @generated */ EList getConsolPlannedProcedure2s(); @@ -127,7 +123,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2)).oclAsType(consol::PlannedMedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2)).oclAsType(consol::PlannedMedicationActivity2)'" * @generated */ EList getConsolPlannedMedicationActivity2s(); @@ -136,7 +132,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::PlannedSupply2)).oclAsType(consol::PlannedSupply2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::PlannedSupply2)).oclAsType(consol::PlannedSupply2)'" * @generated */ EList getConsolPlannedSupply2s(); @@ -145,7 +141,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getConsolInstruction2s(); @@ -154,7 +150,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HandoffCommunicationParticipants)).oclAsType(consol::HandoffCommunicationParticipants)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HandoffCommunicationParticipants)).oclAsType(consol::HandoffCommunicationParticipants)'" * @generated */ EList getHandoffCommunications(); @@ -163,7 +159,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::NutritionRecommendation)).oclAsType(consol::NutritionRecommendation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::NutritionRecommendation)).oclAsType(consol::NutritionRecommendation)'" * @generated */ EList getNutritionRecommendations(); @@ -172,7 +168,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedImmunizationActivity)).oclAsType(consol::PlannedImmunizationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedImmunizationActivity)).oclAsType(consol::PlannedImmunizationActivity)'" * @generated */ EList getPlannedImmunizationActivities(); @@ -181,7 +177,7 @@ boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::GoalObservation)).oclAsType(consol::GoalObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::GoalObservation)).oclAsType(consol::GoalObservation)'" * @generated */ EList getGoalObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedAct2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedAct2.java index ac76646e9b..715c6aeda6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedAct2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedAct2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -43,7 +39,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.39\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.39\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePlannedAct2TemplateId(DiagnosticChain diagnostics, Map context); @@ -103,7 +99,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePlannedAct2Indication2(DiagnosticChain diagnostics, Map context); @@ -115,7 +111,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePlannedAct2Instruction2(DiagnosticChain diagnostics, Map context); @@ -127,7 +123,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedAct2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -139,7 +135,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" * @generated */ boolean validatePlannedAct2Performer(DiagnosticChain diagnostics, Map context); @@ -151,7 +147,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedAct2PriorityPreference(DiagnosticChain diagnostics, Map context); @@ -160,7 +156,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getIndication2s(); @@ -169,7 +165,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getInstruction2s(); @@ -178,7 +174,7 @@ public interface PlannedAct2 extends PlanOfCareActivityAct { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedCoverage.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedCoverage.java index dbed6663d8..db244764af 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedCoverage.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedCoverage.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -34,7 +29,7 @@ public interface PlannedCoverage extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.129\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.129\')'" * @generated */ boolean validatePlannedCoverageTemplateId(DiagnosticChain diagnostics, Map context); @@ -70,7 +65,7 @@ public interface PlannedCoverage extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlannedCoverageId(DiagnosticChain diagnostics, Map context); @@ -130,7 +125,7 @@ public interface PlannedCoverage extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))'" * @generated */ boolean validatePlannedCoverageEntryRelationship(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface PlannedCoverage extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedCoverageAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ public interface PlannedCoverage extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject(classCode=vocab::x_ActClassDocumentEntryAct::ACT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject(classCode=vocab::x_ActClassDocumentEntryAct::ACT)'" * @generated */ boolean validatePlannedCoverageEntryRelationshipActClassCode(DiagnosticChain diagnostics, @@ -167,7 +162,7 @@ boolean validatePlannedCoverageEntryRelationshipActClassCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject(moodCode=vocab::x_DocumentActMood::INT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject(moodCode=vocab::x_DocumentActMood::INT)'" * @generated */ boolean validatePlannedCoverageEntryRelationshipActMoodCode(DiagnosticChain diagnostics, @@ -180,7 +175,7 @@ boolean validatePlannedCoverageEntryRelationshipActMoodCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validatePlannedCoverageEntryRelationshipActId(DiagnosticChain diagnostics, Map context); @@ -192,7 +187,7 @@ boolean validatePlannedCoverageEntryRelationshipActMoodCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePlannedCoverageEntryRelationshipActCodeP(DiagnosticChain diagnostics, Map context); @@ -204,7 +199,7 @@ boolean validatePlannedCoverageEntryRelationshipActMoodCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.3.221.5\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.3.221.5\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validatePlannedCoverageEntryRelationshipActCode(DiagnosticChain diagnostics, Map context); @@ -216,7 +211,7 @@ boolean validatePlannedCoverageEntryRelationshipActMoodCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined() and statusCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = statusCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'active\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined() and statusCode.oclIsKindOf(datatypes::CS) and \r\nlet value : datatypes::CS = statusCode.oclAsType(datatypes::CS) in \r\nvalue.code = \'active\'))'" * @generated */ boolean validatePlannedCoverageEntryRelationshipActStatusCode(DiagnosticChain diagnostics, @@ -229,7 +224,7 @@ boolean validatePlannedCoverageEntryRelationshipActStatusCode(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null).act->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" * @generated */ boolean validatePlannedCoverageEntryRelationshipActStatusCodeP(DiagnosticChain diagnostics, @@ -242,7 +237,7 @@ boolean validatePlannedCoverageEntryRelationshipActStatusCodeP(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validatePlannedCoverageEntryRelationshipTypeCode(DiagnosticChain diagnostics, Map context); @@ -254,7 +249,7 @@ boolean validatePlannedCoverageEntryRelationshipActStatusCodeP(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject(act->one(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(cda::Act)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->reject(act->one(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(cda::Act)))'" * @generated */ boolean validatePlannedCoverageEntryRelationshipAct(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedEncounter2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedEncounter2.java index 3cf1e583d9..3a5f1abcd5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedEncounter2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedEncounter2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface PlannedEncounter2 extends PlanOfCareActivityEncounter { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsTypeOf(consol::ServiceDeliveryLocation))->forAll(pars : cda::Participant2 | pars.typeCode=vocab::ParticipationType::LOC)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsTypeOf(consol::ServiceDeliveryLocation))->forAll(pars : cda::Participant2 | pars.typeCode=vocab::ParticipationType::LOC)'" * @generated */ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(DiagnosticChain diagnostics, @@ -45,7 +41,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.40\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.40\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePlannedEncounter2TemplateId(DiagnosticChain diagnostics, Map context); @@ -117,7 +113,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" * @generated */ boolean validatePlannedEncounter2Performer(DiagnosticChain diagnostics, Map context); @@ -129,7 +125,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" * @generated */ boolean validatePlannedEncounter2ServiceDeliveryLocation(DiagnosticChain diagnostics, Map context); @@ -141,7 +137,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedEncounter2PriorityPreference(DiagnosticChain diagnostics, Map context); @@ -153,7 +149,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePlannedEncounter2Indication2(DiagnosticChain diagnostics, Map context); @@ -165,7 +161,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedEncounter2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -177,7 +173,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(rim::Role)))'" * @generated */ boolean validatePlannedEncounter2PerformerAssignedEntity(DiagnosticChain diagnostics, Map context); @@ -186,7 +182,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" * @generated */ EList getServiceDeliveryLocations(); @@ -195,7 +191,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference))->asSequence()->any(true).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference))->asSequence()->any(true).oclAsType(consol::PriorityPreference)'" * @generated */ PriorityPreference getPriorityPreference(); @@ -204,7 +200,7 @@ boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode(Diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getIndication2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedImmunizationActivity.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedImmunizationActivity.java index 8f9577606a..13e48d7349 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedImmunizationActivity.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedImmunizationActivity.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.SubstanceAdministration; /** @@ -37,7 +32,7 @@ public interface PlannedImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.120\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.120\')'" * @generated */ boolean validatePlannedImmunizationActivityTemplateId(DiagnosticChain diagnostics, Map context); @@ -85,7 +80,7 @@ public interface PlannedImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlannedImmunizationActivityId(DiagnosticChain diagnostics, Map context); @@ -121,7 +116,7 @@ public interface PlannedImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (self.effectiveTime->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (self.effectiveTime->size() = 1)'" * @generated */ boolean validatePlannedImmunizationActivityEffectiveTime(DiagnosticChain diagnostics, Map context); @@ -169,7 +164,7 @@ public interface PlannedImmunizationActivity extends SubstanceAdministration { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.approachSiteCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.approachSiteCode->isEmpty())'" * @generated */ boolean validatePlannedImmunizationActivityApproachSiteCodeP(DiagnosticChain diagnostics, @@ -182,7 +177,7 @@ boolean validatePlannedImmunizationActivityApproachSiteCodeP(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.approachSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.approachSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validatePlannedImmunizationActivityApproachSiteCode(DiagnosticChain diagnostics, @@ -207,7 +202,7 @@ boolean validatePlannedImmunizationActivityApproachSiteCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" * @generated */ boolean validatePlannedImmunizationActivityPerformer(DiagnosticChain diagnostics, Map context); @@ -219,7 +214,7 @@ boolean validatePlannedImmunizationActivityApproachSiteCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedImmunizationActivityAuthorParticipation(DiagnosticChain diagnostics, @@ -232,7 +227,7 @@ boolean validatePlannedImmunizationActivityAuthorParticipation(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain diagnostics, @@ -245,7 +240,7 @@ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePlannedImmunizationActivityIndication2(DiagnosticChain diagnostics, Map context); @@ -257,7 +252,7 @@ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePlannedImmunizationActivityInstruction2(DiagnosticChain diagnostics, Map context); @@ -269,7 +264,7 @@ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->exists(precondition : cda::Precondition | not precondition.oclIsUndefined() and precondition.oclIsKindOf(cda::Precondition))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->exists(precondition : cda::Precondition | not precondition.oclIsUndefined() and precondition.oclIsKindOf(cda::Precondition))'" * @generated */ boolean validatePlannedImmunizationActivityPrecondition(DiagnosticChain diagnostics, Map context); @@ -281,7 +276,7 @@ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" * @generated */ boolean validatePlannedImmunizationActivityConsumable(DiagnosticChain diagnostics, Map context); @@ -293,7 +288,7 @@ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" * @generated */ boolean validatePlannedImmunizationActivityCETranslationP(DiagnosticChain diagnostics, Map context); @@ -305,7 +300,7 @@ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined())) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.routeCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined())) )))'" * @generated */ boolean validatePlannedImmunizationActivityCETranslation(DiagnosticChain diagnostics, Map context); @@ -317,7 +312,7 @@ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.doseQuantity->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not unit.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.doseQuantity->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not unit.oclIsUndefined() )))'" * @generated */ boolean validatePlannedImmunizationActivityIVLPQUnit(DiagnosticChain diagnostics, Map context); @@ -329,7 +324,7 @@ boolean validatePlannedImmunizationActivityPriorityPreference(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(consol::ImmunizationMedicationInformation2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(consol::ImmunizationMedicationInformation2)))'" * @generated */ boolean validatePlannedImmunizationActivityConsumableImmunizationMedicationInformation2(DiagnosticChain diagnostics, @@ -342,7 +337,7 @@ boolean validatePlannedImmunizationActivityConsumableImmunizationMedicationInfor * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::PRCN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::PRCN)'" * @generated */ boolean validatePlannedImmunizationActivityPreconditionTypeCode(DiagnosticChain diagnostics, @@ -355,7 +350,7 @@ boolean validatePlannedImmunizationActivityPreconditionTypeCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(criterion->one(criterion : cda::Criterion | not criterion.oclIsUndefined() and criterion.oclIsKindOf(consol::PreconditionForSubstanceAdministration2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(criterion->one(criterion : cda::Criterion | not criterion.oclIsUndefined() and criterion.oclIsKindOf(consol::PreconditionForSubstanceAdministration2)))'" * @generated */ boolean validatePlannedImmunizationActivityPreconditionPreconditionForSubstanceAdministration2( @@ -365,7 +360,7 @@ boolean validatePlannedImmunizationActivityPreconditionPreconditionForSubstanceA * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); @@ -374,7 +369,7 @@ boolean validatePlannedImmunizationActivityPreconditionPreconditionForSubstanceA * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getIndication2s(); @@ -383,7 +378,7 @@ boolean validatePlannedImmunizationActivityPreconditionPreconditionForSubstanceA * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getInstruction2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedInterventionAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedInterventionAct.java index b39949fee9..8a9c8d9a4a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedInterventionAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedInterventionAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -34,7 +29,7 @@ public interface PlannedInterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.146\' and id.extension = \'2015-08-01\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.146\' and id.extension = \'2015-08-01\')'" * @generated */ boolean validatePlannedInterventionActTemplateId(DiagnosticChain diagnostics, Map context); @@ -82,7 +77,7 @@ public interface PlannedInterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePlannedInterventionActId(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ public interface PlannedInterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedInterventionActAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -166,7 +161,7 @@ public interface PlannedInterventionAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AdvanceDirectiveObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AdvanceDirectiveObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActAdvanceDirectiveObservation2(DiagnosticChain diagnostics, @@ -179,7 +174,7 @@ boolean validatePlannedInterventionActAdvanceDirectiveObservation2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActImmunizationActivity2(DiagnosticChain diagnostics, @@ -192,7 +187,7 @@ boolean validatePlannedInterventionActImmunizationActivity2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActMedicationActivity2(DiagnosticChain diagnostics, Map context); @@ -204,7 +199,7 @@ boolean validatePlannedInterventionActImmunizationActivity2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::ProcedureActivityAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::ProcedureActivityAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActProcedureActivityAct2(DiagnosticChain diagnostics, @@ -217,7 +212,7 @@ boolean validatePlannedInterventionActProcedureActivityAct2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::InterventionAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::InterventionAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActInterventionAct(DiagnosticChain diagnostics, Map context); @@ -229,7 +224,7 @@ boolean validatePlannedInterventionActProcedureActivityAct2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProcedureActivityObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProcedureActivityObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActProcedureActivityObservation2(DiagnosticChain diagnostics, @@ -242,7 +237,7 @@ boolean validatePlannedInterventionActProcedureActivityObservation2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::ProcedureActivityProcedure2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActProcedureActivityProcedure2(DiagnosticChain diagnostics, @@ -255,7 +250,7 @@ boolean validatePlannedInterventionActProcedureActivityProcedure2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.encounter.oclIsUndefined() and entryRelationship.encounter.oclIsKindOf(consol::EncounterActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.encounter.oclIsUndefined() and entryRelationship.encounter.oclIsKindOf(consol::EncounterActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActEncounterActivity2(DiagnosticChain diagnostics, Map context); @@ -267,7 +262,7 @@ boolean validatePlannedInterventionActProcedureActivityProcedure2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActInstruction2(DiagnosticChain diagnostics, Map context); @@ -279,7 +274,7 @@ boolean validatePlannedInterventionActProcedureActivityProcedure2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActNonMedicinalSupplyActivity2(DiagnosticChain diagnostics, @@ -292,7 +287,7 @@ boolean validatePlannedInterventionActNonMedicinalSupplyActivity2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActPlannedAct2(DiagnosticChain diagnostics, Map context); @@ -304,7 +299,7 @@ boolean validatePlannedInterventionActNonMedicinalSupplyActivity2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.encounter.oclIsUndefined() and entryRelationship.encounter.oclIsKindOf(consol::PlannedEncounter2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.encounter.oclIsUndefined() and entryRelationship.encounter.oclIsKindOf(consol::PlannedEncounter2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActPlannedEncounter2(DiagnosticChain diagnostics, Map context); @@ -316,7 +311,7 @@ boolean validatePlannedInterventionActNonMedicinalSupplyActivity2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PlannedObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PlannedObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActPlannedObservation2(DiagnosticChain diagnostics, Map context); @@ -328,7 +323,7 @@ boolean validatePlannedInterventionActNonMedicinalSupplyActivity2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::PlannedProcedure2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::PlannedProcedure2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActPlannedProcedure2(DiagnosticChain diagnostics, Map context); @@ -340,7 +335,7 @@ boolean validatePlannedInterventionActNonMedicinalSupplyActivity2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActPlannedMedicationActivity2(DiagnosticChain diagnostics, @@ -353,7 +348,7 @@ boolean validatePlannedInterventionActPlannedMedicationActivity2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::PlannedSupply2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.supply.oclIsUndefined() and entryRelationship.supply.oclIsKindOf(consol::PlannedSupply2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActPlannedSupply2(DiagnosticChain diagnostics, Map context); @@ -365,7 +360,7 @@ boolean validatePlannedInterventionActPlannedMedicationActivity2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::NutritionRecommendation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::NutritionRecommendation))'" * @generated */ boolean validatePlannedInterventionActNutritionRecommendation(DiagnosticChain diagnostics, @@ -378,7 +373,7 @@ boolean validatePlannedInterventionActNutritionRecommendation(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActEntryReferenceDocInstance(DiagnosticChain diagnostics, @@ -391,7 +386,7 @@ boolean validatePlannedInterventionActEntryReferenceDocInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePlannedInterventionActEntryReferenceGoalObs(DiagnosticChain diagnostics, @@ -404,7 +399,7 @@ boolean validatePlannedInterventionActEntryReferenceGoalObs(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::HandoffCommunicationParticipants) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::HandoffCommunicationParticipants) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActHandoffCommunicationParticipants(DiagnosticChain diagnostics, @@ -417,7 +412,7 @@ boolean validatePlannedInterventionActHandoffCommunicationParticipants(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::PlannedImmunizationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::PlannedImmunizationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedInterventionActPlannedImmunizationActivity(DiagnosticChain diagnostics, @@ -430,7 +425,7 @@ boolean validatePlannedInterventionActPlannedImmunizationActivity(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" * @generated */ boolean validatePlannedInterventionActReference(DiagnosticChain diagnostics, Map context); @@ -442,7 +437,7 @@ boolean validatePlannedInterventionActPlannedImmunizationActivity(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" * @generated */ boolean validatePlannedInterventionActReferenceTypeCode(DiagnosticChain diagnostics, Map context); @@ -454,7 +449,7 @@ boolean validatePlannedInterventionActPlannedImmunizationActivity(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" * @generated */ boolean validatePlannedInterventionActReferenceExternalDocumentReference(DiagnosticChain diagnostics, @@ -464,7 +459,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)).oclAsType(consol::AdvanceDirectiveObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AdvanceDirectiveObservation2)).oclAsType(consol::AdvanceDirectiveObservation2)'" * @generated */ EList getAdvanceDirectiveObservation2s(); @@ -473,7 +468,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2)).oclAsType(consol::ImmunizationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::ImmunizationActivity2)).oclAsType(consol::ImmunizationActivity2)'" * @generated */ EList getImmunizationActivity2s(); @@ -482,7 +477,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getMedicationActivity2s(); @@ -491,7 +486,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct2)).oclAsType(consol::ProcedureActivityAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct2)).oclAsType(consol::ProcedureActivityAct2)'" * @generated */ EList getProcedureActivityAct2s(); @@ -500,7 +495,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::InterventionAct)).oclAsType(consol::InterventionAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::InterventionAct)).oclAsType(consol::InterventionAct)'" * @generated */ EList getInterventionActs(); @@ -509,7 +504,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation2)).oclAsType(consol::ProcedureActivityObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation2)).oclAsType(consol::ProcedureActivityObservation2)'" * @generated */ EList getProcedureActivityObservation2s(); @@ -518,7 +513,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" * @generated */ EList getProcedureActivityProcedure2s(); @@ -527,7 +522,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivity2)).oclAsType(consol::EncounterActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::EncounterActivity2)).oclAsType(consol::EncounterActivity2)'" * @generated */ EList getEncounterActivity2s(); @@ -536,7 +531,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getInstruction2s(); @@ -545,7 +540,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::NonMedicinalSupplyActivity2)).oclAsType(consol::NonMedicinalSupplyActivity2)'" * @generated */ EList getNonMedicinalSupplyActivity2s(); @@ -554,7 +549,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedAct2)).oclAsType(consol::PlannedAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedAct2)).oclAsType(consol::PlannedAct2)'" * @generated */ EList getPlannedAct2s(); @@ -563,7 +558,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::PlannedEncounter2)).oclAsType(consol::PlannedEncounter2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getEncounters()->select(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(consol::PlannedEncounter2)).oclAsType(consol::PlannedEncounter2)'" * @generated */ EList getPlannedEncounter2s(); @@ -572,7 +567,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PlannedObservation2)).oclAsType(consol::PlannedObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PlannedObservation2)).oclAsType(consol::PlannedObservation2)'" * @generated */ EList getPlannedObservation2s(); @@ -581,7 +576,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlannedProcedure2)).oclAsType(consol::PlannedProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlannedProcedure2)).oclAsType(consol::PlannedProcedure2)'" * @generated */ EList getPlannedProcedure2s(); @@ -590,7 +585,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2)).oclAsType(consol::PlannedMedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedMedicationActivity2)).oclAsType(consol::PlannedMedicationActivity2)'" * @generated */ EList getPlannedMedicationActivity2s(); @@ -599,7 +594,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::PlannedSupply2)).oclAsType(consol::PlannedSupply2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSupplies()->select(supply : cda::Supply | not supply.oclIsUndefined() and supply.oclIsKindOf(consol::PlannedSupply2)).oclAsType(consol::PlannedSupply2)'" * @generated */ EList getPlannedSupply2s(); @@ -608,7 +603,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::NutritionRecommendation)).oclAsType(consol::NutritionRecommendation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::NutritionRecommendation)).oclAsType(consol::NutritionRecommendation)'" * @generated */ EList getNutritionRecommendations(); @@ -617,7 +612,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getEntryReferenceDocInstances(); @@ -626,7 +621,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getEntryReferenceGoalObss(); @@ -635,7 +630,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HandoffCommunicationParticipants)).oclAsType(consol::HandoffCommunicationParticipants)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HandoffCommunicationParticipants)).oclAsType(consol::HandoffCommunicationParticipants)'" * @generated */ EList getHandoffCommunicationParticipantss(); @@ -644,7 +639,7 @@ boolean validatePlannedInterventionActReferenceExternalDocumentReference(Diagnos * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedImmunizationActivity)).oclAsType(consol::PlannedImmunizationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::PlannedImmunizationActivity)).oclAsType(consol::PlannedImmunizationActivity)'" * @generated */ EList getPlannedImmunizationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedMedicationActivity2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedMedicationActivity2.java index 12ec61dab8..34652f1ff7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedMedicationActivity2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedMedicationActivity2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -36,7 +32,7 @@ public interface PlannedMedicationActivity2 extends PlanOfCareActivitySubstanceA * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->size() = 1 xor self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::SXCM_TS))->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->size() = 1 xor self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::SXCM_TS))->size() = 1'" * @generated */ boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSorTS(DiagnosticChain diagnostics, @@ -49,7 +45,7 @@ boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSorTS(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).low->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).low->size() = 1)'" * @generated */ boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSLow(DiagnosticChain diagnostics, @@ -62,7 +58,7 @@ boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSLow(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).high->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).high->size() = 1)'" * @generated */ boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSHigh(DiagnosticChain diagnostics, @@ -75,7 +71,7 @@ boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSHigh(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).low->size() = 1) ) and ( self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::SXCM_TS))->forAll( eff | eff.oclAsType(datatypes:: SXCM_TS).value->size() = 1 or eff.oclAsType(datatypes::SXCM_TS).isNullFlavorDefined()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::IVL_TS))->forAll( eff | eff.oclAsType(datatypes::IVL_TS).low->size() = 1) ) and ( self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::SXCM_TS))->forAll( eff | eff.oclAsType(datatypes:: SXCM_TS).value->size() = 1 or eff.oclAsType(datatypes::SXCM_TS).isNullFlavorDefined()) )'" * @generated */ boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSLowXorValue(DiagnosticChain diagnostics, @@ -88,7 +84,7 @@ boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSLowXorValue(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::PIVL_TS) or ef.oclIsTypeOf(datatypes::EIVL_TS))->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->select(ef | ef.oclIsTypeOf(datatypes::PIVL_TS) or ef.oclIsTypeOf(datatypes::EIVL_TS))->size() = 1'" * @generated */ boolean validatePlannedMedicationActivity2EffectiveTimePIVLTS(DiagnosticChain diagnostics, @@ -101,7 +97,7 @@ boolean validatePlannedMedicationActivity2EffectiveTimePIVLTS(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.42\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.42\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePlannedMedicationActivity2TemplateId(DiagnosticChain diagnostics, Map context); @@ -173,7 +169,7 @@ boolean validatePlannedMedicationActivity2EffectiveTimePIVLTS(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.approachSiteCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.approachSiteCode->isEmpty())'" * @generated */ boolean validatePlannedMedicationActivity2ApproachSiteCodeP(DiagnosticChain diagnostics, @@ -186,7 +182,7 @@ boolean validatePlannedMedicationActivity2ApproachSiteCodeP(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.approachSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.approachSiteCode->isEmpty() or self.approachSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.approachSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validatePlannedMedicationActivity2ApproachSiteCode(DiagnosticChain diagnostics, @@ -261,7 +257,7 @@ boolean validatePlannedMedicationActivity2AdministrationUnitCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" * @generated */ boolean validatePlannedMedicationActivity2Performer(DiagnosticChain diagnostics, Map context); @@ -273,7 +269,7 @@ boolean validatePlannedMedicationActivity2AdministrationUnitCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedMedicationActivity2AuthorParticipation(DiagnosticChain diagnostics, @@ -286,7 +282,7 @@ boolean validatePlannedMedicationActivity2AuthorParticipation(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedMedicationActivity2PriorityPreference(DiagnosticChain diagnostics, @@ -299,7 +295,7 @@ boolean validatePlannedMedicationActivity2PriorityPreference(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePlannedMedicationActivity2Indication2(DiagnosticChain diagnostics, Map context); @@ -311,7 +307,7 @@ boolean validatePlannedMedicationActivity2PriorityPreference(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePlannedMedicationActivity2Instruction2(DiagnosticChain diagnostics, Map context); @@ -323,7 +319,7 @@ boolean validatePlannedMedicationActivity2PriorityPreference(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->one(consumable : cda::Consumable | not consumable.oclIsUndefined() and consumable.oclIsKindOf(cda::Consumable))'" * @generated */ boolean validatePlannedMedicationActivity2Consumable(DiagnosticChain diagnostics, Map context); @@ -335,7 +331,7 @@ boolean validatePlannedMedicationActivity2PriorityPreference(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->exists(precondition : cda::Precondition | not precondition.oclIsUndefined() and precondition.oclIsKindOf(cda::Precondition))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->exists(precondition : cda::Precondition | not precondition.oclIsUndefined() and precondition.oclIsKindOf(cda::Precondition))'" * @generated */ boolean validatePlannedMedicationActivity2Precondition(DiagnosticChain diagnostics, Map context); @@ -347,7 +343,7 @@ boolean validatePlannedMedicationActivity2PriorityPreference(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.priorityCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.priorityCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" * @generated */ boolean validatePlannedMedicationActivity2CETranslationP(DiagnosticChain diagnostics, Map context); @@ -359,7 +355,7 @@ boolean validatePlannedMedicationActivity2PriorityPreference(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.priorityCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined())) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.priorityCode->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined())) )))'" * @generated */ boolean validatePlannedMedicationActivity2CETranslation(DiagnosticChain diagnostics, Map context); @@ -371,7 +367,7 @@ boolean validatePlannedMedicationActivity2PriorityPreference(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.doseQuantity->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not unit.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.doseQuantity->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not unit.oclIsUndefined() )))'" * @generated */ boolean validatePlannedMedicationActivity2IVLPQdoseQuantityUnit(DiagnosticChain diagnostics, @@ -384,7 +380,7 @@ boolean validatePlannedMedicationActivity2IVLPQdoseQuantityUnit(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.doseQuantity->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not unit.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.doseQuantity->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not unit.oclIsUndefined() )))'" * @generated */ boolean validatePlannedMedicationActivity2IVLPQrateQuantityUnit(DiagnosticChain diagnostics, @@ -397,7 +393,7 @@ boolean validatePlannedMedicationActivity2IVLPQrateQuantityUnit(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(consol::MedicationInformation2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.consumable->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(consol::MedicationInformation2)))'" * @generated */ boolean validatePlannedMedicationActivity2ConsumableMedicationInformation2(DiagnosticChain diagnostics, @@ -410,7 +406,7 @@ boolean validatePlannedMedicationActivity2ConsumableMedicationInformation2(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::PRCN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::PRCN)'" * @generated */ boolean validatePlannedMedicationActivity2PreconditionTypeCode(DiagnosticChain diagnostics, @@ -423,7 +419,7 @@ boolean validatePlannedMedicationActivity2PreconditionTypeCode(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(criterion->one(criterion : cda::Criterion | not criterion.oclIsUndefined() and criterion.oclIsKindOf(consol::PreconditionForSubstanceAdministration2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.precondition->excluding(null)->reject(criterion->one(criterion : cda::Criterion | not criterion.oclIsUndefined() and criterion.oclIsKindOf(consol::PreconditionForSubstanceAdministration2)))'" * @generated */ boolean validatePlannedMedicationActivity2PreconditionPreconditionForSubstanceAdministration2( @@ -433,7 +429,7 @@ boolean validatePlannedMedicationActivity2PreconditionPreconditionForSubstanceAd * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); @@ -442,7 +438,7 @@ boolean validatePlannedMedicationActivity2PreconditionPreconditionForSubstanceAd * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getIndication2s(); @@ -451,7 +447,7 @@ boolean validatePlannedMedicationActivity2PreconditionPreconditionForSubstanceAd * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getInstruction2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedObservation2.java index 0a7af41eb8..fb9c2d523e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedObservation2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.44\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.44\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePlannedObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -103,7 +99,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" * @generated */ boolean validatePlannedObservation2Value(DiagnosticChain diagnostics, Map context); @@ -115,7 +111,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" * @generated */ boolean validatePlannedObservation2MethodCode(DiagnosticChain diagnostics, Map context); @@ -127,7 +123,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" * @generated */ boolean validatePlannedObservation2TargetSiteCodeP(DiagnosticChain diagnostics, Map context); @@ -139,7 +135,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validatePlannedObservation2TargetSiteCode(DiagnosticChain diagnostics, Map context); @@ -151,7 +147,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" * @generated */ boolean validatePlannedObservation2Performer(DiagnosticChain diagnostics, Map context); @@ -163,7 +159,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedObservation2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -175,7 +171,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedObservation2PriorityPreference(DiagnosticChain diagnostics, Map context); @@ -187,7 +183,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePlannedObservation2Indication2(DiagnosticChain diagnostics, Map context); @@ -199,7 +195,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePlannedObservation2Instruction2(DiagnosticChain diagnostics, Map context); @@ -211,7 +207,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedCoverage) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedCoverage) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validatePlannedObservation2PlannedCoverage(DiagnosticChain diagnostics, Map context); @@ -220,7 +216,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); @@ -229,7 +225,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getIndication2s(); @@ -238,7 +234,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getInstruction2s(); @@ -247,7 +243,7 @@ public interface PlannedObservation2 extends PlanOfCareActivityObservation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedCoverage)).oclAsType(consol::PlannedCoverage)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedCoverage)).oclAsType(consol::PlannedCoverage)'" * @generated */ EList getPlannedCoverages(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedure2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedure2.java index f26c352ae2..bc09988d6e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedure2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedure2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -55,7 +51,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instruction2))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instruction2))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validatePlannedProcedure2Instruction2InversionInd(DiagnosticChain diagnostics, Map context); @@ -67,7 +63,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.41\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.41\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePlannedProcedure2TemplateId(DiagnosticChain diagnostics, Map context); @@ -127,7 +123,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (not self.methodCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (not self.methodCode->isEmpty())'" * @generated */ boolean validatePlannedProcedure2MethodCode(DiagnosticChain diagnostics, Map context); @@ -139,7 +135,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" * @generated */ boolean validatePlannedProcedure2TargetSiteCodeP(DiagnosticChain diagnostics, Map context); @@ -151,7 +147,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validatePlannedProcedure2TargetSiteCode(DiagnosticChain diagnostics, Map context); @@ -163,7 +159,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" * @generated */ boolean validatePlannedProcedure2Performer(DiagnosticChain diagnostics, Map context); @@ -175,7 +171,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedProcedure2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -187,7 +183,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedProcedure2PriorityPreference(DiagnosticChain diagnostics, Map context); @@ -199,7 +195,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePlannedProcedure2Indication2(DiagnosticChain diagnostics, Map context); @@ -211,7 +207,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePlannedProcedure2Instruction2(DiagnosticChain diagnostics, Map context); @@ -223,7 +219,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedCoverage) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedCoverage) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validatePlannedProcedure2PlannedCoverage(DiagnosticChain diagnostics, Map context); @@ -232,7 +228,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); @@ -241,7 +237,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getIndication2s(); @@ -250,7 +246,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getInstruction2s(); @@ -259,7 +255,7 @@ public interface PlannedProcedure2 extends PlanOfCareActivityProcedure { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedCoverage)).oclAsType(consol::PlannedCoverage)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedCoverage)).oclAsType(consol::PlannedCoverage)'" * @generated */ EList getPlannedCoverages(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedureSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedureSection.java index 37fee3a22a..407cb5ac6f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedureSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedureSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface PlannedProcedureSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.30\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.30\')'" * @generated */ boolean validatePlannedProcedureSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface PlannedProcedureSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::PlanOfCareActivityProcedure))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::PlanOfCareActivityProcedure))'" * @generated */ boolean validatePlannedProcedureSectionPlanOfCareActivityProcedure(DiagnosticChain diagnostics, @@ -103,7 +98,7 @@ boolean validatePlannedProcedureSectionPlanOfCareActivityProcedure(DiagnosticCha * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlanOfCareActivityProcedure)).oclAsType(consol::PlanOfCareActivityProcedure)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlanOfCareActivityProcedure)).oclAsType(consol::PlanOfCareActivityProcedure)'" * @generated */ EList getPlanOfCareActivityProcedures(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedureSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedureSection2.java index a10b8fbc38..7ff3650e41 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedureSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedProcedureSection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface PlannedProcedureSection2 extends PlannedProcedureSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.30\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.30\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePlannedProcedureSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface PlannedProcedureSection2 extends PlannedProcedureSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlannedProcedure2)).oclAsType(consol::PlannedProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::PlannedProcedure2)).oclAsType(consol::PlannedProcedure2)'" * @generated */ EList getConsolPlannedProcedure2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedSupply2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedSupply2.java index 1eb6d640e5..e21b1a2476 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedSupply2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PlannedSupply2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -33,7 +29,7 @@ public interface PlannedSupply2 extends PlanOfCareActivitySupply { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( (not product.oclIsUndefined() or participant->size() > 0) and ( (product.manufacturedProduct.oclIsTypeOf(consol::MedicationInformation2)) or (product.manufacturedProduct.oclIsTypeOf(consol::ImmunizationMedicationInformation2)) or (participant.participantRole->select(oclIsTypeOf(consol::ProductInstance))->size() = 1) )) implies ( (product.manufacturedProduct.oclIsTypeOf(consol::MedicationInformation2)) xor (product.manufacturedProduct.oclIsTypeOf(consol::ImmunizationMedicationInformation2)) xor (participant.participantRole->select(oclIsTypeOf(consol::ProductInstance))->size() = 1) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='( (not product.oclIsUndefined() or participant->size() > 0) and ( (product.manufacturedProduct.oclIsTypeOf(consol::MedicationInformation2)) or (product.manufacturedProduct.oclIsTypeOf(consol::ImmunizationMedicationInformation2)) or (participant.participantRole->select(oclIsTypeOf(consol::ProductInstance))->size() = 1) )) implies ( (product.manufacturedProduct.oclIsTypeOf(consol::MedicationInformation2)) xor (product.manufacturedProduct.oclIsTypeOf(consol::ImmunizationMedicationInformation2)) xor (participant.participantRole->select(oclIsTypeOf(consol::ProductInstance))->size() = 1) )'" * @generated */ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain diagnostics, @@ -46,7 +42,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.43\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.43\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePlannedSupply2TemplateId(DiagnosticChain diagnostics, Map context); @@ -82,7 +78,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (( not self.effectiveTime->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.effectiveTime->isEmpty() or self.effectiveTime->exists(element | element.isNullFlavorUndefined())) implies (( not self.effectiveTime->isEmpty()) )'" * @generated */ boolean validatePlannedSupply2EffectiveTime(DiagnosticChain diagnostics, Map context); @@ -118,7 +114,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.product->one(product : cda::Product | not product.oclIsUndefined() and product.oclIsKindOf(cda::Product))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.product->one(product : cda::Product | not product.oclIsUndefined() and product.oclIsKindOf(cda::Product))'" * @generated */ boolean validatePlannedSupply2Product(DiagnosticChain diagnostics, Map context); @@ -130,7 +126,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(rim::Participation))'" * @generated */ boolean validatePlannedSupply2Performer(DiagnosticChain diagnostics, Map context); @@ -142,7 +138,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePlannedSupply2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -154,7 +150,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ProductInstance))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->one(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ProductInstance))'" * @generated */ boolean validatePlannedSupply2ProductInstance(DiagnosticChain diagnostics, Map context); @@ -166,7 +162,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePlannedSupply2PriorityPreference(DiagnosticChain diagnostics, Map context); @@ -178,7 +174,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validatePlannedSupply2Indication2(DiagnosticChain diagnostics, Map context); @@ -190,7 +186,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instruction2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePlannedSupply2Instruction2(DiagnosticChain diagnostics, Map context); @@ -202,7 +198,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedCoverage) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PlannedCoverage) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validatePlannedSupply2PlannedCoverage(DiagnosticChain diagnostics, Map context); @@ -214,7 +210,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.product->one(product : cda::Product | not product.oclIsUndefined() and product.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.product->one(product : cda::Product | not product.oclIsUndefined() and product.oclIsKindOf(rim::Participation))'" * @generated */ boolean validatePlannedSupply2ProductRecommended(DiagnosticChain diagnostics, Map context); @@ -226,7 +222,7 @@ boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.product->excluding(null).manufacturedProduct->excluding(null)->reject(oclIsTypeOf(consol::MedicationInformation2) xor oclIsTypeOf(consol::ImmunizationMedicationInformation2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.product->excluding(null).manufacturedProduct->excluding(null)->reject(oclIsTypeOf(consol::MedicationInformation2) xor oclIsTypeOf(consol::ImmunizationMedicationInformation2))'" * @generated */ boolean validatePlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2(DiagnosticChain diagnostics, @@ -239,7 +235,7 @@ boolean validatePlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2 * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.product->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(cda::ManufacturedProduct)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.product->excluding(null)->reject(manufacturedProduct->one(manufacturedProduct : cda::ManufacturedProduct | not manufacturedProduct.oclIsUndefined() and manufacturedProduct.oclIsKindOf(cda::ManufacturedProduct)))'" * @generated */ boolean validatePlannedSupply2ProductManufacturedProduct(DiagnosticChain diagnostics, Map context); @@ -248,7 +244,7 @@ boolean validatePlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2 * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ProductInstance))->asSequence()->any(true).oclAsType(consol::ProductInstance)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ProductInstance))->asSequence()->any(true).oclAsType(consol::ProductInstance)'" * @generated */ ProductInstance getProductInstance(); @@ -257,7 +253,7 @@ boolean validatePlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2 * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); @@ -266,7 +262,7 @@ boolean validatePlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2 * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getIndication2s(); @@ -275,7 +271,7 @@ boolean validatePlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2 * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2)).oclAsType(consol::Instruction2)'" * @generated */ EList getInstruction2s(); @@ -284,7 +280,7 @@ boolean validatePlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2 * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedCoverage)).oclAsType(consol::PlannedCoverage)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PlannedCoverage)).oclAsType(consol::PlannedCoverage)'" * @generated */ EList getPlannedCoverages(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PolicyActivity.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PolicyActivity.java index 28789cca50..e9e675f60d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PolicyActivity.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PolicyActivity.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -43,7 +38,7 @@ public interface PolicyActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.61\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.61\')'" * @generated */ boolean validatePolicyActivityTemplateId(DiagnosticChain diagnostics, Map context); @@ -79,7 +74,7 @@ public interface PolicyActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePolicyActivityId(DiagnosticChain diagnostics, Map context); @@ -127,7 +122,7 @@ public interface PolicyActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->select(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->select(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->size() = 1'" * @generated */ boolean validatePolicyActivityPayer(DiagnosticChain diagnostics, Map context); @@ -139,7 +134,7 @@ public interface PolicyActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->select(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->select(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->size() = 1'" * @generated */ boolean validatePolicyActivityGuarantor(DiagnosticChain diagnostics, Map context); @@ -151,7 +146,7 @@ public interface PolicyActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))->select(typeCode=vocab::ParticipationType::COV)->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))->select(typeCode=vocab::ParticipationType::COV)->size() = 1'" * @generated */ boolean validatePolicyActivityCoverage(DiagnosticChain diagnostics, Map context); @@ -163,7 +158,7 @@ public interface PolicyActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))->select(typeCode=vocab::ParticipationType::HLD)->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))->select(typeCode=vocab::ParticipationType::HLD)->size() = 1'" * @generated */ boolean validatePolicyActivityHolder(DiagnosticChain diagnostics, Map context); @@ -175,7 +170,7 @@ public interface PolicyActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->notEmpty()'" * @generated */ boolean validatePolicyActivityEntryRelationship(DiagnosticChain diagnostics, Map context); @@ -187,7 +182,7 @@ public interface PolicyActivity extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -200,7 +195,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -213,7 +208,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -226,7 +221,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -239,7 +234,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -252,7 +247,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -265,7 +260,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -278,7 +273,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -291,7 +286,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -304,7 +299,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -317,7 +312,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganizationName(DiagnosticChain diagnostics, @@ -330,7 +325,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganizationName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityId(DiagnosticChain diagnostics, Map context); @@ -342,7 +337,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganizationName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -355,7 +350,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityCodeP(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.110\' and (value.code = \'AFFL\' or value.code = \'AGNT\' or value.code = \'CIT\' or value.code = \'CRINV\' or value.code = \'CRSPNSR\' or value.code = \'SPNSR\' or value.code = \'COVPTY\' or value.code = \'EMP\' or value.code = \'GUAR\' or value.code = \'INVSBJ\' or value.code = \'PAYOR\' or value.code = \'LIC\' or value.code = \'PAT\' or value.code = \'PAYEE\' or value.code = \'POLHOLD\' or value.code = \'QUAL\' or value.code = \'STD\' or value.code = \'UNDWRT\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.110\' and (value.code = \'AFFL\' or value.code = \'AGNT\' or value.code = \'CIT\' or value.code = \'CRINV\' or value.code = \'CRSPNSR\' or value.code = \'SPNSR\' or value.code = \'COVPTY\' or value.code = \'EMP\' or value.code = \'GUAR\' or value.code = \'INVSBJ\' or value.code = \'PAYOR\' or value.code = \'LIC\' or value.code = \'PAT\' or value.code = \'PAYEE\' or value.code = \'POLHOLD\' or value.code = \'QUAL\' or value.code = \'STD\' or value.code = \'UNDWRT\')))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityCode(DiagnosticChain diagnostics, @@ -368,7 +363,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityAddr(DiagnosticChain diagnostics, @@ -381,7 +376,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityAddr(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityTelecom(DiagnosticChain diagnostics, @@ -394,7 +389,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityTelecom(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganization(DiagnosticChain diagnostics, @@ -407,7 +402,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganization(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))'" * @generated */ boolean validatePolicyActivityPayerTemplateId(DiagnosticChain diagnostics, Map context); @@ -419,7 +414,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganization(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->reject(isDefined(\'typeCode\') and typeCode=vocab::ParticipationPhysicalPerformer::PRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->reject(isDefined(\'typeCode\') and typeCode=vocab::ParticipationPhysicalPerformer::PRF)'" * @generated */ boolean validatePolicyActivityPayerTypeCode(DiagnosticChain diagnostics, Map context); @@ -431,7 +426,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganization(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\'))->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validatePolicyActivityPayerPayerAssignedEntity(DiagnosticChain diagnostics, Map context); @@ -443,7 +438,7 @@ boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganization(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -456,7 +451,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -469,7 +464,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -482,7 +477,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -495,7 +490,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -508,7 +503,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -521,7 +516,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -534,7 +529,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -547,7 +542,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -560,7 +555,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -573,7 +568,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConst * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((performer.assignedEntity.assignedPerson->exists(not oclIsUndefined()) and performer.assignedEntity.assignedPerson.name->size() >0) or (performer.assignedEntity.representedOrganization->exists(not oclIsUndefined()) and performer.assignedEntity.representedOrganization.name->size() >0 ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((performer.assignedEntity.assignedPerson->exists(not oclIsUndefined()) and performer.assignedEntity.assignedPerson.name->size() >0) or (performer.assignedEntity.representedOrganization->exists(not oclIsUndefined()) and performer.assignedEntity.representedOrganization.name->size() >0 ))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityPersonNameAndOrOrgName(DiagnosticChain diagnostics, @@ -586,7 +581,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityPersonNameAndOrOrg * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.code = \'GUAR\' and value.codeSystem = \'2.16.840.1.113883.5.110\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.code = \'GUAR\' and value.codeSystem = \'2.16.840.1.113883.5.110\'))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCode(DiagnosticChain diagnostics, @@ -599,7 +594,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCode(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -612,7 +607,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCodeP(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityAddr(DiagnosticChain diagnostics, @@ -625,7 +620,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityAddr(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTelecom(DiagnosticChain diagnostics, @@ -638,7 +633,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTelecom(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))'" * @generated */ boolean validatePolicyActivityGuarantorTemplateId(DiagnosticChain diagnostics, Map context); @@ -650,7 +645,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTelecom(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validatePolicyActivityGuarantorTime(DiagnosticChain diagnostics, Map context); @@ -662,7 +657,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTelecom(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->reject(typeCode=vocab::ParticipationPhysicalPerformer::PRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->reject(typeCode=vocab::ParticipationPhysicalPerformer::PRF)'" * @generated */ boolean validatePolicyActivityGuarantorTypeCode(DiagnosticChain diagnostics, Map context); @@ -674,7 +669,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTelecom(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\'))->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validatePolicyActivityGuarantorGuarantorAssignedEntity(DiagnosticChain diagnostics, @@ -687,7 +682,7 @@ boolean validatePolicyActivityGuarantorGuarantorAssignedEntity(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -700,7 +695,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -713,7 +708,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -726,7 +721,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUseP( @@ -739,7 +734,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUse( @@ -752,7 +747,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressCountry( @@ -765,7 +760,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressState( @@ -778,7 +773,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressCity( @@ -791,7 +786,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -804,7 +799,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -817,7 +812,7 @@ boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSReal * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).playingEntity->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (name->size() = 1))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityName(DiagnosticChain diagnostics, @@ -830,7 +825,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleId(DiagnosticChain diagnostics, Map context); @@ -842,7 +837,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and (value.code = \'FAMDEP\' or value.code = \'FSTUD\' or value.code = \'HANDIC\' or value.code = \'INJ\' or value.code = \'PSTUD\' or value.code = \'SELF\' or value.code = \'SPON\' or value.code = \'STUD\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and (value.code = \'FAMDEP\' or value.code = \'FSTUD\' or value.code = \'HANDIC\' or value.code = \'INJ\' or value.code = \'PSTUD\' or value.code = \'SELF\' or value.code = \'SPON\' or value.code = \'STUD\')))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleCode(DiagnosticChain diagnostics, Map context); @@ -854,7 +849,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleCodeP(DiagnosticChain diagnostics, Map context); @@ -866,7 +861,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleAddr(DiagnosticChain diagnostics, Map context); @@ -878,7 +873,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(DiagnosticChain diagnostics, @@ -891,7 +886,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(not time.oclIsUndefined() implies not time.low.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(not time.oclIsUndefined() implies not time.low.oclIsUndefined())'" * @generated */ boolean validatePolicyActivityCoverageLowTime(DiagnosticChain diagnostics, Map context); @@ -903,7 +898,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(not time.oclIsUndefined() implies not time.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(not time.oclIsUndefined() implies not time.high.oclIsUndefined())'" * @generated */ boolean validatePolicyActivityCoverageHighTime(DiagnosticChain diagnostics, Map context); @@ -915,7 +910,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.89\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.89\'))'" * @generated */ boolean validatePolicyActivityCoverageTemplateId(DiagnosticChain diagnostics, Map context); @@ -927,7 +922,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(typeCode=vocab::ParticipationType::COV)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(typeCode=vocab::ParticipationType::COV)'" * @generated */ boolean validatePolicyActivityCoverageTypeCode(DiagnosticChain diagnostics, Map context); @@ -939,7 +934,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validatePolicyActivityCoverageTime(DiagnosticChain diagnostics, Map context); @@ -951,7 +946,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV)->select(typeCode=vocab::ParticipationType::COV)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validatePolicyActivityCoverageCoverageRole(DiagnosticChain diagnostics, Map context); @@ -963,7 +958,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -976,7 +971,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -989,7 +984,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -1002,7 +997,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUseP( @@ -1015,7 +1010,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUse(DiagnosticChain diagnostics, @@ -1028,7 +1023,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressCountry( @@ -1041,7 +1036,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressState( @@ -1054,7 +1049,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressCity( @@ -1067,7 +1062,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -1080,7 +1075,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -1093,7 +1088,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleId(DiagnosticChain diagnostics, Map context); @@ -1105,7 +1100,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD).participantRole->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (( not addr->isEmpty()) ))'" * @generated */ boolean validatePolicyActivityHolderHolderRoleAddr(DiagnosticChain diagnostics, Map context); @@ -1117,7 +1112,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD)->select(typeCode=vocab::ParticipationType::HLD)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.90\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD)->select(typeCode=vocab::ParticipationType::HLD)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.90\'))'" * @generated */ boolean validatePolicyActivityHolderTemplateId(DiagnosticChain diagnostics, Map context); @@ -1129,7 +1124,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD)->select(typeCode=vocab::ParticipationType::HLD)->reject(typeCode=vocab::ParticipationType::HLD)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD)->select(typeCode=vocab::ParticipationType::HLD)->reject(typeCode=vocab::ParticipationType::HLD)'" * @generated */ boolean validatePolicyActivityHolderTypeCode(DiagnosticChain diagnostics, Map context); @@ -1141,7 +1136,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD)->select(typeCode=vocab::ParticipationType::HLD)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD)->select(typeCode=vocab::ParticipationType::HLD)->reject((time.oclIsUndefined() or time.isNullFlavorUndefined()) implies (not time.oclIsUndefined()))'" * @generated */ boolean validatePolicyActivityHolderTime(DiagnosticChain diagnostics, Map context); @@ -1153,7 +1148,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD)->select(typeCode=vocab::ParticipationType::HLD)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::HLD)->select(typeCode=vocab::ParticipationType::HLD)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validatePolicyActivityHolderHolderRole(DiagnosticChain diagnostics, Map context); @@ -1165,7 +1160,7 @@ boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAdd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->reject(act->one(a : cda::Act | a.oclIsTypeOf(consol::AuthorizationActivity) or (a.classCode=vocab::x_ActClassDocumentEntryAct::ACT and a.moodCode=vocab::x_DocumentActMood::DEF)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->reject(act->one(a : cda::Act | a.oclIsTypeOf(consol::AuthorizationActivity) or (a.classCode=vocab::x_ActClassDocumentEntryAct::ACT and a.moodCode=vocab::x_DocumentActMood::DEF)))'" * @generated */ boolean validatePolicyActivityEntryRelationshipTargetActActivity(DiagnosticChain diagnostics, @@ -1178,7 +1173,7 @@ boolean validatePolicyActivityEntryRelationshipTargetActActivity(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->reject(act->select(a : cda::Act | a.classCode=vocab::x_ActClassDocumentEntryAct::ACT and (a.moodCode=vocab::x_DocumentActMood::DEF))->forAll(id->size() > 0 and text->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->reject(act->select(a : cda::Act | a.classCode=vocab::x_ActClassDocumentEntryAct::ACT and (a.moodCode=vocab::x_DocumentActMood::DEF))->forAll(id->size() > 0 and text->size() = 1))'" * @generated */ boolean validatePolicyActivityEntryRelationshipDescriptionCoveragePlan(DiagnosticChain diagnostics, @@ -1191,7 +1186,7 @@ boolean validatePolicyActivityEntryRelationshipDescriptionCoveragePlan(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePolicyActivityEntryRelationshipTypeCode(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PolicyActivity2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PolicyActivity2.java index af3ab4d19b..f543c6fcea 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PolicyActivity2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PolicyActivity2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -38,7 +34,7 @@ public interface PolicyActivity2 extends PolicyActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.61\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.61\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePolicyActivity2TemplateId(DiagnosticChain diagnostics, Map context); @@ -62,7 +58,7 @@ public interface PolicyActivity2 extends PolicyActivity { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -75,7 +71,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -88,7 +84,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -101,7 +97,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -114,7 +110,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -127,7 +123,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -140,7 +136,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -153,7 +149,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -166,7 +162,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -179,7 +175,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.87\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -192,7 +188,7 @@ boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsU * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -205,7 +201,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -218,7 +214,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -231,7 +227,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -244,7 +240,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -257,7 +253,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -270,7 +266,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -283,7 +279,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -296,7 +292,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -309,7 +305,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->select(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.88\')).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -322,7 +318,7 @@ boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderCons * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" * @generated */ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityDateOfBirthInSDTCbirthTime( @@ -335,7 +331,7 @@ boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityDateOfBir * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).playingEntity->excluding(null)->reject((sDTCBirthTime.oclIsUndefined() or sDTCBirthTime.isNullFlavorUndefined()) implies (not sDTCBirthTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::COV).participantRole->excluding(null).playingEntity->excluding(null)->reject((sDTCBirthTime.oclIsUndefined() or sDTCBirthTime.isNullFlavorUndefined()) implies (not sDTCBirthTime.oclIsUndefined()))'" * @generated */ boolean validatePolicyActivity2CoverageCoverageRoleCoveragePlayingEntitySDTCBirthTime(DiagnosticChain diagnostics, @@ -348,7 +344,7 @@ boolean validatePolicyActivity2CoverageCoverageRoleCoveragePlayingEntitySDTCBirt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty() and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.3.221.5\' and not value.code.oclIsUndefined())) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty() and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.3.221.5\' and not value.code.oclIsUndefined())) )))'" * @generated */ boolean validatePolicyActivity2CDTranslation(DiagnosticChain diagnostics, Map context); @@ -360,7 +356,7 @@ boolean validatePolicyActivity2CoverageCoverageRoleCoveragePlayingEntitySDTCBirt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" * @generated */ boolean validatePolicyActivity2CDTranslationP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostoperativeDiagnosisSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostoperativeDiagnosisSection.java index 7493db2cdd..af4ad50eb3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostoperativeDiagnosisSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostoperativeDiagnosisSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface PostoperativeDiagnosisSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.35\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.35\')'" * @generated */ boolean validatePostoperativeDiagnosisSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosis.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosis.java index c8765c42d6..e2860e9c75 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosis.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosis.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface PostprocedureDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.51\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.51\')'" * @generated */ boolean validatePostprocedureDiagnosisTemplateId(DiagnosticChain diagnostics, Map context); @@ -81,7 +76,7 @@ public interface PostprocedureDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePostprocedureDiagnosisProblemObservation(DiagnosticChain diagnostics, Map context); @@ -90,7 +85,7 @@ public interface PostprocedureDiagnosis extends Act { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosis2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosis2.java index 7779ff4cb5..8497a05e2e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosis2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosis2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface PostprocedureDiagnosis2 extends PostprocedureDiagnosis { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.51\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.51\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePostprocedureDiagnosis2TemplateId(DiagnosticChain diagnostics, Map context); @@ -52,7 +48,7 @@ public interface PostprocedureDiagnosis2 extends PostprocedureDiagnosis { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosisSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosisSection.java index 4d58774844..29e4ea50d1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosisSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosisSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface PostprocedureDiagnosisSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.36\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.36\')'" * @generated */ boolean validatePostprocedureDiagnosisSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -92,7 +87,7 @@ public interface PostprocedureDiagnosisSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PostprocedureDiagnosis))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PostprocedureDiagnosis))'" * @generated */ boolean validatePostprocedureDiagnosisSectionPostprocedureDiagnosis(DiagnosticChain diagnostics, @@ -102,7 +97,7 @@ boolean validatePostprocedureDiagnosisSectionPostprocedureDiagnosis(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PostprocedureDiagnosis))->asSequence()->any(true).oclAsType(consol::PostprocedureDiagnosis)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PostprocedureDiagnosis))->asSequence()->any(true).oclAsType(consol::PostprocedureDiagnosis)'" * @generated */ PostprocedureDiagnosis getPostprocedureDiagnosis(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosisSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosisSection2.java index 9585297263..2875d075d4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosisSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PostprocedureDiagnosisSection2.java @@ -2,12 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -28,7 +26,7 @@ public interface PostprocedureDiagnosisSection2 extends PostprocedureDiagnosisSe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.36\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.36\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePostprocedureDiagnosisSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -37,7 +35,7 @@ public interface PostprocedureDiagnosisSection2 extends PostprocedureDiagnosisSe * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PostprocedureDiagnosis2))->asSequence()->any(true).oclAsType(consol::PostprocedureDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PostprocedureDiagnosis2))->asSequence()->any(true).oclAsType(consol::PostprocedureDiagnosis2)'" * @generated */ PostprocedureDiagnosis2 getConsolPostprocedureDiagnosis2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreconditionForSubstanceAdministration.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreconditionForSubstanceAdministration.java index 967e82f792..ee20cbe2a1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreconditionForSubstanceAdministration.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreconditionForSubstanceAdministration.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Criterion; /** @@ -32,7 +27,7 @@ public interface PreconditionForSubstanceAdministration extends Criterion { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.25\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.25\')'" * @generated */ boolean validatePreconditionForSubstanceAdministrationTemplateId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreconditionForSubstanceAdministration2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreconditionForSubstanceAdministration2.java index 10af5e7592..a9edff92cb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreconditionForSubstanceAdministration2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreconditionForSubstanceAdministration2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +26,7 @@ public interface PreconditionForSubstanceAdministration2 extends PreconditionFor * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.25\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.25\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePreconditionForSubstanceAdministration2TemplateId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PregnancyObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PregnancyObservation.java index 7ae3fd29d5..118f4cd784 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PregnancyObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PregnancyObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface PregnancyObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.15.3.8\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.15.3.8\')'" * @generated */ boolean validatePregnancyObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -104,7 +99,7 @@ public interface PregnancyObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'77386006\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'77386006\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validatePregnancyObservationValue(DiagnosticChain diagnostics, Map context); @@ -116,7 +111,7 @@ public interface PregnancyObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validatePregnancyObservationValueP(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface PregnancyObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::EstimatedDateOfDelivery) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::EstimatedDateOfDelivery) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validatePregnancyObservationEstimatedDateOfDelivery(DiagnosticChain diagnostics, @@ -150,7 +145,7 @@ boolean validatePregnancyObservationEstimatedDateOfDelivery(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::EstimatedDateOfDelivery))->asSequence()->any(true).oclAsType(consol::EstimatedDateOfDelivery)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::EstimatedDateOfDelivery))->asSequence()->any(true).oclAsType(consol::EstimatedDateOfDelivery)'" * @generated */ EstimatedDateOfDelivery getEstimatedDateOfDelivery(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosis.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosis.java index 27fb9a9920..a1b6884693 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosis.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosis.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface PreoperativeDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.65\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.65\')'" * @generated */ boolean validatePreoperativeDiagnosisTemplateId(DiagnosticChain diagnostics, Map context); @@ -81,7 +76,7 @@ public interface PreoperativeDiagnosis extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validatePreoperativeDiagnosisProblemObservation(DiagnosticChain diagnostics, Map context); @@ -90,7 +85,7 @@ public interface PreoperativeDiagnosis extends Act { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosis2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosis2.java index 4ac1c4075d..5aaa2d6a59 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosis2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosis2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface PreoperativeDiagnosis2 extends PreoperativeDiagnosis { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.65\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.65\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePreoperativeDiagnosis2TemplateId(DiagnosticChain diagnostics, Map context); @@ -52,7 +48,7 @@ public interface PreoperativeDiagnosis2 extends PreoperativeDiagnosis { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosisSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosisSection.java index f7d879df37..d8201e90aa 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosisSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosisSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface PreoperativeDiagnosisSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.34\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.34\')'" * @generated */ boolean validatePreoperativeDiagnosisSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -92,7 +87,7 @@ public interface PreoperativeDiagnosisSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PreoperativeDiagnosis))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PreoperativeDiagnosis))'" * @generated */ boolean validatePreoperativeDiagnosisSectionPreoperativeDiagnosis(DiagnosticChain diagnostics, @@ -102,7 +97,7 @@ boolean validatePreoperativeDiagnosisSectionPreoperativeDiagnosis(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PreoperativeDiagnosis))->asSequence()->any(true).oclAsType(consol::PreoperativeDiagnosis)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PreoperativeDiagnosis))->asSequence()->any(true).oclAsType(consol::PreoperativeDiagnosis)'" * @generated */ PreoperativeDiagnosis getPreoperativeDiagnosis(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosisSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosisSection2.java index 4e4c759985..57e5abec94 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosisSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PreoperativeDiagnosisSection2.java @@ -2,12 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -28,7 +26,7 @@ public interface PreoperativeDiagnosisSection2 extends PreoperativeDiagnosisSect * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.34\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.34\' and id.extension.oclIsUndefined())'" * @generated */ boolean validatePreoperativeDiagnosisSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -37,7 +35,7 @@ public interface PreoperativeDiagnosisSection2 extends PreoperativeDiagnosisSect * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PreoperativeDiagnosis2))->asSequence()->any(true).oclAsType(consol::PreoperativeDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PreoperativeDiagnosis2))->asSequence()->any(true).oclAsType(consol::PreoperativeDiagnosis2)'" * @generated */ PreoperativeDiagnosis2 getConsolPreoperativeDiagnosis2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PressureUlcerObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PressureUlcerObservation.java index 19e9838c4f..55bcbd3346 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PressureUlcerObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PressureUlcerObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -38,7 +33,7 @@ public interface PressureUlcerObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validatePressureUlcerObservationHasTextReference(DiagnosticChain diagnostics, Map context); @@ -50,7 +45,7 @@ public interface PressureUlcerObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validatePressureUlcerObservationTextReferenceValue(DiagnosticChain diagnostics, @@ -76,7 +71,7 @@ boolean validatePressureUlcerObservationHasTextReferenceValue(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | not val.isNullFlavorUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | not val.isNullFlavorUndefined())'" * @generated */ boolean validatePressureUlcerObservationValueNullFlavor(DiagnosticChain diagnostics, Map context); @@ -88,7 +83,7 @@ boolean validatePressureUlcerObservationHasTextReferenceValue(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode->forAll(qualifier->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode->forAll(qualifier->size() = 1)'" * @generated */ boolean validatePressureUlcerObservationTargetSiteQualifier(DiagnosticChain diagnostics, @@ -101,7 +96,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifier(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode.qualifier->forAll(name->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode.qualifier->forAll(name->size() = 1)'" * @generated */ boolean validatePressureUlcerObservationTargetSiteQualifierName(DiagnosticChain diagnostics, @@ -114,7 +109,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierName(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode.qualifier->forAll(name->size() = 1 and name.code=\'272741003\' and name.codeSystem = \'2.16.840.1.113883.6.96\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode.qualifier->forAll(name->size() = 1 and name.code=\'272741003\' and name.codeSystem = \'2.16.840.1.113883.6.96\')'" * @generated */ boolean validatePressureUlcerObservationTargetSiteQualifierNameCode(DiagnosticChain diagnostics, @@ -127,7 +122,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierNameCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode.qualifier->forAll(value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode.qualifier->forAll(value->size() = 1)'" * @generated */ boolean validatePressureUlcerObservationTargetSiteQualifierValue(DiagnosticChain diagnostics, @@ -140,7 +135,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValue(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode.qualifier->forAll((value.isNullFlavorDefined()) or (value->size() = 1 and not value.code.oclIsUndefined() and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.targetSiteCode.qualifier->forAll((value.isNullFlavorDefined()) or (value->size() = 1 and not value.code.oclIsUndefined() and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticChain diagnostics, @@ -153,7 +148,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.70\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.70\')'" * @generated */ boolean validatePressureUlcerObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -201,7 +196,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePressureUlcerObservationId(DiagnosticChain diagnostics, Map context); @@ -273,7 +268,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'421076008\' or value.code = \'420324007\' or value.code = \'421927004\' or value.code = \'420597008\' or value.code = \'421594008\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'421076008\' or value.code = \'420324007\' or value.code = \'421927004\' or value.code = \'420597008\' or value.code = \'421594008\')))'" * @generated */ boolean validatePressureUlcerObservationValue(DiagnosticChain diagnostics, Map context); @@ -285,7 +280,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validatePressureUlcerObservationValueP(DiagnosticChain diagnostics, Map context); @@ -297,7 +292,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" * @generated */ boolean validatePressureUlcerObservationTargetSiteCodeP(DiagnosticChain diagnostics, Map context); @@ -309,7 +304,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'79951008\' or value.code = \'23747009\' or value.code = \'76552005\' or value.code = \'45980000\' or value.code = \'74757004\' or value.code = \'51027004\' or value.code = \'304037003\' or value.code = \'286591006\' or value.code = \'49812005\' or value.code = \'29850006\' or value.code = \'22180002\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'79951008\' or value.code = \'23747009\' or value.code = \'76552005\' or value.code = \'45980000\' or value.code = \'74757004\' or value.code = \'51027004\' or value.code = \'304037003\' or value.code = \'286591006\' or value.code = \'49812005\' or value.code = \'29850006\' or value.code = \'22180002\')))'" * @generated */ boolean validatePressureUlcerObservationTargetSiteCode(DiagnosticChain diagnostics, Map context); @@ -321,7 +316,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->size() = 1'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship(DiagnosticChain diagnostics, Map context); @@ -333,7 +328,7 @@ boolean validatePressureUlcerObservationTargetSiteQualifierValueCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->size() = 1'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship2(DiagnosticChain diagnostics, @@ -346,7 +341,7 @@ boolean validatePressureUlcerObservationEntryRelationship2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->size() = 1'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship3(DiagnosticChain diagnostics, @@ -359,7 +354,7 @@ boolean validatePressureUlcerObservationEntryRelationship3(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship1Observation1ClassCode(DiagnosticChain diagnostics, @@ -372,7 +367,7 @@ boolean validatePressureUlcerObservationEntryRelationship1Observation1ClassCode( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::EVN)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship1Observation1MoodCode(DiagnosticChain diagnostics, @@ -385,7 +380,7 @@ boolean validatePressureUlcerObservationEntryRelationship1Observation1MoodCode(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship1Observation1CodeP(DiagnosticChain diagnostics, @@ -398,7 +393,7 @@ boolean validatePressureUlcerObservationEntryRelationship1Observation1CodeP(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'401238003\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'401238003\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship1Observation1Code(DiagnosticChain diagnostics, @@ -411,7 +406,7 @@ boolean validatePressureUlcerObservationEntryRelationship1Observation1Code(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::PQ))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\').observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::PQ))))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship1Observation1Value(DiagnosticChain diagnostics, @@ -424,7 +419,7 @@ boolean validatePressureUlcerObservationEntryRelationship1Observation1Value(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship1TypeCode(DiagnosticChain diagnostics, @@ -437,7 +432,7 @@ boolean validatePressureUlcerObservationEntryRelationship1TypeCode(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401238003\')->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship1Observation1(DiagnosticChain diagnostics, @@ -450,7 +445,7 @@ boolean validatePressureUlcerObservationEntryRelationship1Observation1(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship2Observation2ClassCode(DiagnosticChain diagnostics, @@ -463,7 +458,7 @@ boolean validatePressureUlcerObservationEntryRelationship2Observation2ClassCode( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::EVN)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship2Observation2MoodCode(DiagnosticChain diagnostics, @@ -476,7 +471,7 @@ boolean validatePressureUlcerObservationEntryRelationship2Observation2MoodCode(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship2Observation2CodeP(DiagnosticChain diagnostics, @@ -489,7 +484,7 @@ boolean validatePressureUlcerObservationEntryRelationship2Observation2CodeP(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'401239006\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'401239006\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship2Observation2Code(DiagnosticChain diagnostics, @@ -502,7 +497,7 @@ boolean validatePressureUlcerObservationEntryRelationship2Observation2Code(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::PQ))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\').observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::PQ))))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship2Observation2Value(DiagnosticChain diagnostics, @@ -515,7 +510,7 @@ boolean validatePressureUlcerObservationEntryRelationship2Observation2Value(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship2TypeCode(DiagnosticChain diagnostics, @@ -528,7 +523,7 @@ boolean validatePressureUlcerObservationEntryRelationship2TypeCode(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'401239006\')->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship2Observation2(DiagnosticChain diagnostics, @@ -541,7 +536,7 @@ boolean validatePressureUlcerObservationEntryRelationship2Observation2(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject(classCode=vocab::ActClassObservation::OBS)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship3Observation3ClassCode(DiagnosticChain diagnostics, @@ -554,7 +549,7 @@ boolean validatePressureUlcerObservationEntryRelationship3Observation3ClassCode( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject(moodCode=vocab::x_ActMoodDocumentObservation::EVN)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship3Observation3MoodCode(DiagnosticChain diagnostics, @@ -567,7 +562,7 @@ boolean validatePressureUlcerObservationEntryRelationship3Observation3MoodCode(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship3Observation3CodeP(DiagnosticChain diagnostics, @@ -580,7 +575,7 @@ boolean validatePressureUlcerObservationEntryRelationship3Observation3CodeP(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'425094009\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = code.oclAsType(datatypes::CD) in \r\nvalue.code = \'425094009\' and value.codeSystem = \'2.16.840.1.113883.6.96\'))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship3Observation3Code(DiagnosticChain diagnostics, @@ -593,7 +588,7 @@ boolean validatePressureUlcerObservationEntryRelationship3Observation3Code(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::PQ))))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\').observation->excluding(null)->reject((value->isEmpty() or value->exists(element | element.isNullFlavorUndefined())) implies (value->size() = 1 and value->forAll(element | element.oclIsTypeOf(datatypes::PQ))))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship3Observation3Value(DiagnosticChain diagnostics, @@ -606,7 +601,7 @@ boolean validatePressureUlcerObservationEntryRelationship3Observation3Value(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship3TypeCode(DiagnosticChain diagnostics, @@ -619,7 +614,7 @@ boolean validatePressureUlcerObservationEntryRelationship3TypeCode(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and observation.code.code=\'425094009\')->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(cda::Observation)))'" * @generated */ boolean validatePressureUlcerObservationEntryRelationship3Observation3(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PriorityPreference.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PriorityPreference.java index d3cf4ef78f..45b2e1d77f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PriorityPreference.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PriorityPreference.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface PriorityPreference extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.143\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.143\')'" * @generated */ boolean validatePriorityPreferenceTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface PriorityPreference extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validatePriorityPreferenceId(DiagnosticChain diagnostics, Map context); @@ -116,7 +111,7 @@ public interface PriorityPreference extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'394849002\' or value.code = \'394848005\' or value.code = \'441808003\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'394849002\' or value.code = \'394848005\' or value.code = \'441808003\')))'" * @generated */ boolean validatePriorityPreferenceValue(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface PriorityPreference extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validatePriorityPreferenceValueP(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface PriorityPreference extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validatePriorityPreferenceAuthorParticipation(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemConcernAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemConcernAct.java index cc3e093aa1..3aa7f1f92a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemConcernAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemConcernAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -57,7 +52,7 @@ public interface ProblemConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.3\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.3\')'" * @generated */ boolean validateProblemConcernActTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface ProblemConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateProblemConcernActId(DiagnosticChain diagnostics, Map context); @@ -153,7 +148,7 @@ public interface ProblemConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateProblemConcernActProblemObservation(DiagnosticChain diagnostics, Map context); @@ -162,7 +157,7 @@ public interface ProblemConcernAct extends Act { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemConcernAct2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemConcernAct2.java index 6dd7380c29..d7bf5b7394 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemConcernAct2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemConcernAct2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface ProblemConcernAct2 extends ProblemConcernAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.3\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.3\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateProblemConcernAct2TemplateId(DiagnosticChain diagnostics, Map context); @@ -55,7 +51,7 @@ public interface ProblemConcernAct2 extends ProblemConcernAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateProblemConcernAct2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -67,7 +63,7 @@ public interface ProblemConcernAct2 extends ProblemConcernAct { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateProblemConcernAct2PriorityPreference(DiagnosticChain diagnostics, Map context); @@ -76,7 +72,7 @@ public interface ProblemConcernAct2 extends ProblemConcernAct { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); @@ -85,7 +81,7 @@ public interface ProblemConcernAct2 extends ProblemConcernAct { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemObservation.java index 972068bf15..3db6b743dc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateProblemObservationHasTextReference(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateProblemObservationTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -92,7 +87,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | not val.isNullFlavorUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->forAll(val | not val.isNullFlavorUndefined())'" * @generated */ boolean validateProblemObservationValueNullFlavor(DiagnosticChain diagnostics, Map context); @@ -104,7 +99,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | not er.observation.oclIsUndefined() and er.observation.oclIsKindOf(consol::AgeObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | not er.observation.oclIsUndefined() and er.observation.oclIsKindOf(consol::AgeObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateProblemObservationAgeObservationInversion(DiagnosticChain diagnostics, Map context); @@ -116,7 +111,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).translation->size()>0'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).translation->size()>0'" * @generated */ boolean validateProblemObservationValueTranslation(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).translation->size()>0 implies self.value.oclAsType(datatypes::CD).translation->forAll(code->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value.oclAsType(datatypes::CD).translation->size()>0 implies self.value.oclAsType(datatypes::CD).translation->forAll(code->size() = 1)'" * @generated */ boolean validateProblemObservationValueTranslationCode(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.4\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.4\')'" * @generated */ boolean validateProblemObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -188,7 +183,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateProblemObservationId(DiagnosticChain diagnostics, Map context); @@ -260,7 +255,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateProblemObservationValue(DiagnosticChain diagnostics, Map context); @@ -272,7 +267,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateProblemObservationValueP(DiagnosticChain diagnostics, Map context); @@ -284,7 +279,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AgeObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AgeObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateProblemObservationAgeObservation(DiagnosticChain diagnostics, Map context); @@ -296,7 +291,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::HealthStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::HealthStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateProblemObservationHealthStatusObservation(DiagnosticChain diagnostics, Map context); @@ -308,7 +303,7 @@ public interface ProblemObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemStatus) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemStatus) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateProblemObservationProblemStatus(DiagnosticChain diagnostics, Map context); @@ -317,7 +312,7 @@ public interface ProblemObservation extends Observation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AgeObservation))->asSequence()->any(true).oclAsType(consol::AgeObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AgeObservation))->asSequence()->any(true).oclAsType(consol::AgeObservation)'" * @generated */ AgeObservation getAgeObservation(); @@ -326,7 +321,7 @@ public interface ProblemObservation extends Observation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation))->asSequence()->any(true).oclAsType(consol::HealthStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation))->asSequence()->any(true).oclAsType(consol::HealthStatusObservation)'" * @generated */ HealthStatusObservation getHealthStatusObservation(); @@ -335,7 +330,7 @@ public interface ProblemObservation extends Observation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemStatus))->asSequence()->any(true).oclAsType(consol::ProblemStatus)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemStatus))->asSequence()->any(true).oclAsType(consol::ProblemStatus)'" * @generated */ ProblemStatus getProblemStatus(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemObservation2.java index e770acbdef..cb5420fd60 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemObservation2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -45,7 +41,7 @@ public interface ProblemObservation2 extends ProblemObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='code.codeSystem = \'2.16.840.1.113883.6.96\' implies code.translation->size() >= 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='code.codeSystem = \'2.16.840.1.113883.6.96\' implies code.translation->size() >= 1'" * @generated */ boolean validateProblemObservation2IfSnomedRequireTranslation(DiagnosticChain diagnostics, @@ -58,7 +54,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslation(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='code.codeSystem = \'2.16.840.1.113883.6.96\' and code.translation->size() >= 1 implies code.translation->forAll(trans : datatypes::CD | trans.codeSystem = \'2.16.840.1.113883.6.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='code.codeSystem = \'2.16.840.1.113883.6.96\' and code.translation->size() >= 1 implies code.translation->forAll(trans : datatypes::CD | trans.codeSystem = \'2.16.840.1.113883.6.1\')'" * @generated */ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(DiagnosticChain diagnostics, @@ -71,7 +67,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.4\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.4\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateProblemObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -95,7 +91,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PrognosisObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PrognosisObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateProblemObservation2PrognosisObservation(DiagnosticChain diagnostics, Map context); @@ -107,7 +103,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateProblemObservation2PriorityPreference(DiagnosticChain diagnostics, Map context); @@ -119,7 +115,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateProblemObservation2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -131,7 +127,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((qualifier->isEmpty() or qualifier->exists(element | element.isNullFlavorUndefined())) implies (not qualifier->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((qualifier->isEmpty() or qualifier->exists(element | element.isNullFlavorUndefined())) implies (not qualifier->isEmpty()) )))'" * @generated */ boolean validateProblemObservation2CDQualifier(DiagnosticChain diagnostics, Map context); @@ -143,7 +139,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" * @generated */ boolean validateProblemObservation2CDCode(DiagnosticChain diagnostics, Map context); @@ -155,7 +151,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty() and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nnot value.codeSystem.oclIsUndefined() or not value.codeSystemName.oclIsUndefined())) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty() and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nnot value.codeSystem.oclIsUndefined() or not value.codeSystemName.oclIsUndefined())) )))'" * @generated */ boolean validateProblemObservation2CDCodeTranslation(DiagnosticChain diagnostics, Map context); @@ -167,7 +163,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" * @generated */ boolean validateProblemObservation2CDCodeTranslationP(DiagnosticChain diagnostics, Map context); @@ -176,7 +172,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PrognosisObservation))->asSequence()->any(true).oclAsType(consol::PrognosisObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PrognosisObservation))->asSequence()->any(true).oclAsType(consol::PrognosisObservation)'" * @generated */ PrognosisObservation getPrognosisObservation(); @@ -185,7 +181,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferences(); @@ -194,7 +190,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation))->asSequence()->any(true).oclAsType(consol::HealthStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation))->asSequence()->any(true).oclAsType(consol::HealthStatusObservation)'" * @generated */ HealthStatusObservation getConsolHealthStatusObservation(); @@ -203,7 +199,7 @@ boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemStatus2))->asSequence()->any(true).oclAsType(consol::ProblemStatus2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemStatus2))->asSequence()->any(true).oclAsType(consol::ProblemStatus2)'" * @generated */ ProblemStatus2 getConsolProblemStatus(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSection.java index ac02594ebc..4bcd9e99fa 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSection.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -25,7 +21,7 @@ public interface ProblemSection extends ProblemSectionEntriesOptional { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct)).oclAsType(consol::ProblemConcernAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct)).oclAsType(consol::ProblemConcernAct)'" * @generated */ EList getConsolProblemConcerns(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSection2.java index 0b56f19fa2..66409ec2ba 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -63,7 +59,7 @@ public interface ProblemSection2 extends ProblemSectionEntriesOptional2 { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation2))->asSequence()->any(true).oclAsType(consol::HealthStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation2))->asSequence()->any(true).oclAsType(consol::HealthStatusObservation2)'" * @generated */ HealthStatusObservation2 getConsolHealthStatusObservation2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSectionEntriesOptional.java index e40e7ea71b..8f32ff056e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface ProblemSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.5\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.5\')'" * @generated */ boolean validateProblemSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface ProblemSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::ProblemConcernAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::ProblemConcernAct))'" * @generated */ boolean validateProblemSectionEntriesOptionalProblemConcern(DiagnosticChain diagnostics, @@ -103,7 +98,7 @@ boolean validateProblemSectionEntriesOptionalProblemConcern(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct)).oclAsType(consol::ProblemConcernAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct)).oclAsType(consol::ProblemConcernAct)'" * @generated */ EList getProblemConcerns(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSectionEntriesOptional2.java index e86bf04204..cd2d3eb79b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemSectionEntriesOptional2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface ProblemSectionEntriesOptional2 extends ProblemSectionEntriesOpt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::HealthStatusObservation2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->one(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::HealthStatusObservation2))'" * @generated */ boolean validateProblemSectionEntriesOptional2HealthStatusObservation2(DiagnosticChain diagnostics, @@ -41,7 +37,7 @@ boolean validateProblemSectionEntriesOptional2HealthStatusObservation2(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct2)).oclAsType(consol::ProblemConcernAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct2)).oclAsType(consol::ProblemConcernAct2)'" * @generated */ EList getConsolProblemConcernAct2s(); @@ -50,7 +46,7 @@ boolean validateProblemSectionEntriesOptional2HealthStatusObservation2(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation2))->asSequence()->any(true).oclAsType(consol::HealthStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::HealthStatusObservation2))->asSequence()->any(true).oclAsType(consol::HealthStatusObservation2)'" * @generated */ HealthStatusObservation2 getHealthStatusObservation2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemStatus.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemStatus.java index e8fbb366b6..e0d5cd89a0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemStatus.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemStatus.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface ProblemStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateProblemStatusTextReference(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface ProblemStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateProblemStatusReferenceValue(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface ProblemStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.6\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.6\')'" * @generated */ boolean validateProblemStatusTemplateId(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface ProblemStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'55561003\' or value.code = \'73425007\' or value.code = \'413322009\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'55561003\' or value.code = \'73425007\' or value.code = \'413322009\')))'" * @generated */ boolean validateProblemStatusValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemStatus2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemStatus2.java index ac2e38bf6c..a91c6ceaa2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemStatus2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProblemStatus2.java @@ -2,12 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -28,7 +26,7 @@ public interface ProblemStatus2 extends ProblemStatus { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.6\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.6\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateProblemStatus2TemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityAct.java index 0af5f86f84..d94dcf63f8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -50,7 +45,7 @@ public interface ProcedureActivityAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.code.originalText.oclIsUndefined() implies self.code.originalText->one(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.code.originalText.oclIsUndefined() implies self.code.originalText->one(reference->size() = 1)'" * @generated */ boolean validateProcedureActivityActOriginalTextReference(DiagnosticChain diagnostics, Map context); @@ -62,7 +57,7 @@ public interface ProcedureActivityAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.originalText.reference->size() = 1 implies self.code.originalText.reference.value->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.originalText.reference->size() = 1 implies self.code.originalText.reference.value->size() = 1'" * @generated */ boolean validateProcedureActivityActOriginalTextReferenceValue(DiagnosticChain diagnostics, @@ -99,7 +94,7 @@ boolean validateProcedureActivityActOriginalTextReferenceValue(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)'" * @generated */ boolean validateProcedureActivityActServiceDeliveryLocationTypeCode(DiagnosticChain diagnostics, @@ -112,7 +107,7 @@ boolean validateProcedureActivityActServiceDeliveryLocationTypeCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.encounter->size() > 0)->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.encounter->size() > 0)->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateProcedureActivityActEncounterInversion(DiagnosticChain diagnostics, Map context); @@ -124,7 +119,7 @@ boolean validateProcedureActivityActServiceDeliveryLocationTypeCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateProcedureActivityActInstructionsInversion(DiagnosticChain diagnostics, Map context); @@ -136,7 +131,7 @@ boolean validateProcedureActivityActServiceDeliveryLocationTypeCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.12\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.12\')'" * @generated */ boolean validateProcedureActivityActTemplateId(DiagnosticChain diagnostics, Map context); @@ -172,7 +167,7 @@ boolean validateProcedureActivityActServiceDeliveryLocationTypeCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateProcedureActivityActId(DiagnosticChain diagnostics, Map context); @@ -244,7 +239,7 @@ boolean validateProcedureActivityActServiceDeliveryLocationTypeCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" * @generated */ boolean validateProcedureActivityActPerformer(DiagnosticChain diagnostics, Map context); @@ -256,7 +251,7 @@ boolean validateProcedureActivityActServiceDeliveryLocationTypeCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" * @generated */ boolean validateProcedureActivityActServiceDeliveryLocation(DiagnosticChain diagnostics, @@ -269,7 +264,7 @@ boolean validateProcedureActivityActServiceDeliveryLocation(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateProcedureActivityActInstructions(DiagnosticChain diagnostics, Map context); @@ -281,7 +276,7 @@ boolean validateProcedureActivityActServiceDeliveryLocation(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateProcedureActivityActIndication(DiagnosticChain diagnostics, Map context); @@ -293,7 +288,7 @@ boolean validateProcedureActivityActServiceDeliveryLocation(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateProcedureActivityActMedicationActivity(DiagnosticChain diagnostics, Map context); @@ -305,7 +300,7 @@ boolean validateProcedureActivityActServiceDeliveryLocation(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->notEmpty()'" * @generated */ boolean validateProcedureActivityActEntryRelationship(DiagnosticChain diagnostics, Map context); @@ -317,7 +312,7 @@ boolean validateProcedureActivityActServiceDeliveryLocation(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationId( @@ -330,7 +325,7 @@ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEnt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationName( @@ -343,7 +338,7 @@ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEnt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationTelecom( @@ -356,7 +351,7 @@ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEnt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationAddr( @@ -369,7 +364,7 @@ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEnt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityId(DiagnosticChain diagnostics, @@ -382,7 +377,7 @@ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEnt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityAddr(DiagnosticChain diagnostics, @@ -395,7 +390,7 @@ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEnt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityTelecom( @@ -408,7 +403,7 @@ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEnt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityRepresentedOrganization( @@ -421,7 +416,7 @@ boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEnt * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateProcedureActivityActProcedureActPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -434,7 +429,7 @@ boolean validateProcedureActivityActProcedureActPerformerAssignedEntity(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(classCode=vocab::ActClass::ENC)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(classCode=vocab::ActClass::ENC)'" * @generated */ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterClassCode(DiagnosticChain diagnostics, @@ -447,7 +442,7 @@ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterClassC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(moodCode=vocab::x_DocumentEncounterMood::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(moodCode=vocab::x_DocumentEncounterMood::EVN)'" * @generated */ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterMoodCode(DiagnosticChain diagnostics, @@ -460,7 +455,7 @@ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterMoodCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterId(DiagnosticChain diagnostics, @@ -473,7 +468,7 @@ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterId(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(not inversionInd.oclIsUndefined() and inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(not inversionInd.oclIsUndefined() and inversionInd=true)'" * @generated */ boolean validateProcedureActivityActEntryRelationshipInversionInd(DiagnosticChain diagnostics, @@ -486,7 +481,7 @@ boolean validateProcedureActivityActEntryRelationshipInversionInd(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateProcedureActivityActEntryRelationshipTypeCode(DiagnosticChain diagnostics, @@ -499,7 +494,7 @@ boolean validateProcedureActivityActEntryRelationshipTypeCode(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(encounter->one(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(encounter->one(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)))'" * @generated */ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounter(DiagnosticChain diagnostics, @@ -509,7 +504,7 @@ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounter(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" * @generated */ EList getServiceDeliveryLocations(); @@ -518,7 +513,7 @@ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounter(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" * @generated */ Instructions getInstructions(); @@ -527,7 +522,7 @@ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounter(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" * @generated */ EList getIndications(); @@ -536,7 +531,7 @@ boolean validateProcedureActivityActEntryRelationshipProcedureActEncounter(Diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityAct2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityAct2.java index df58e9abda..70efbf406f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityAct2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityAct2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -47,7 +43,7 @@ boolean validateProcedureActivityAct2CodeSuggestedCodeSystems(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.12\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.12\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateProcedureActivityAct2TemplateId(DiagnosticChain diagnostics, Map context); @@ -71,7 +67,7 @@ boolean validateProcedureActivityAct2CodeSuggestedCodeSystems(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateProcedureActivityAct2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -80,7 +76,7 @@ boolean validateProcedureActivityAct2CodeSuggestedCodeSystems(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" * @generated */ Instruction2 getConsolInstruction2(); @@ -89,7 +85,7 @@ boolean validateProcedureActivityAct2CodeSuggestedCodeSystems(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getConsolIndication2s(); @@ -98,7 +94,7 @@ boolean validateProcedureActivityAct2CodeSuggestedCodeSystems(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityObservation.java index 61b5796274..e24c0c44db 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -64,7 +59,7 @@ boolean validateProcedureActivityObservationCodeOriginalText(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.code.originalText.oclIsUndefined() implies self.code.originalText->one(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.code.originalText.oclIsUndefined() implies self.code.originalText->one(reference->size() = 1)'" * @generated */ boolean validateProcedureActivityObservationOriginalTextReference(DiagnosticChain diagnostics, @@ -77,7 +72,7 @@ boolean validateProcedureActivityObservationOriginalTextReference(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.originalText.reference->size() = 1 implies self.code.originalText.reference.value->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.originalText.reference->size() = 1 implies self.code.originalText.reference.value->size() = 1'" * @generated */ boolean validateProcedureActivityObservationOriginalTextReferenceValue(DiagnosticChain diagnostics, @@ -103,7 +98,7 @@ boolean validateProcedureActivityObservationReferenceValue(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.encounter->size() > 0)->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.encounter->size() > 0)->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateProcedureActivityObservationEncounterInversion(DiagnosticChain diagnostics, @@ -116,7 +111,7 @@ boolean validateProcedureActivityObservationEncounterInversion(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)'" * @generated */ boolean validateProcedureActivityObservationServiceDeliveryLocationTypeCode(DiagnosticChain diagnostics, @@ -129,7 +124,7 @@ boolean validateProcedureActivityObservationServiceDeliveryLocationTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateProcedureActivityObservationInstructionsInversion(DiagnosticChain diagnostics, @@ -142,7 +137,7 @@ boolean validateProcedureActivityObservationInstructionsInversion(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.13\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.13\')'" * @generated */ boolean validateProcedureActivityObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -178,7 +173,7 @@ boolean validateProcedureActivityObservationInstructionsInversion(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateProcedureActivityObservationId(DiagnosticChain diagnostics, Map context); @@ -250,7 +245,7 @@ boolean validateProcedureActivityObservationInstructionsInversion(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validateProcedureActivityObservationValue(DiagnosticChain diagnostics, Map context); @@ -262,7 +257,7 @@ boolean validateProcedureActivityObservationInstructionsInversion(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" * @generated */ boolean validateProcedureActivityObservationMethodCode(DiagnosticChain diagnostics, Map context); @@ -274,7 +269,7 @@ boolean validateProcedureActivityObservationInstructionsInversion(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" * @generated */ boolean validateProcedureActivityObservationTargetSiteCodeP(DiagnosticChain diagnostics, @@ -287,7 +282,7 @@ boolean validateProcedureActivityObservationTargetSiteCodeP(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateProcedureActivityObservationTargetSiteCode(DiagnosticChain diagnostics, @@ -300,7 +295,7 @@ boolean validateProcedureActivityObservationTargetSiteCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" * @generated */ boolean validateProcedureActivityObservationPerformer(DiagnosticChain diagnostics, Map context); @@ -312,7 +307,7 @@ boolean validateProcedureActivityObservationTargetSiteCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" * @generated */ boolean validateProcedureActivityObservationServiceDeliveryLocation(DiagnosticChain diagnostics, @@ -325,7 +320,7 @@ boolean validateProcedureActivityObservationServiceDeliveryLocation(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateProcedureActivityObservationInstructions(DiagnosticChain diagnostics, Map context); @@ -337,7 +332,7 @@ boolean validateProcedureActivityObservationServiceDeliveryLocation(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateProcedureActivityObservationIndication(DiagnosticChain diagnostics, Map context); @@ -349,7 +344,7 @@ boolean validateProcedureActivityObservationServiceDeliveryLocation(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateProcedureActivityObservationMedicationActivity(DiagnosticChain diagnostics, @@ -362,7 +357,7 @@ boolean validateProcedureActivityObservationMedicationActivity(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->notEmpty()'" * @generated */ boolean validateProcedureActivityObservationEntryRelationship(DiagnosticChain diagnostics, @@ -375,7 +370,7 @@ boolean validateProcedureActivityObservationEntryRelationship(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityProcedureObservationRepresentedOrganizationId( @@ -388,7 +383,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityProcedureObservationRepresentedOrganizationName( @@ -401,7 +396,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityProcedureObservationRepresentedOrganizationTelecom( @@ -414,7 +409,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityProcedureObservationRepresentedOrganizationAddr( @@ -427,7 +422,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityId( @@ -440,7 +435,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityAddr( @@ -453,7 +448,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityTelecom( @@ -466,7 +461,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityRepresentedOrganization( @@ -479,7 +474,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerProcedu * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateProcedureActivityObservationProcedureObservationPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -492,7 +487,7 @@ boolean validateProcedureActivityObservationProcedureObservationPerformerAssigne * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(classCode=vocab::ActClass::ENC)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(classCode=vocab::ActClass::ENC)'" * @generated */ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservationEncounterClassCode( @@ -505,7 +500,7 @@ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(moodCode=vocab::x_DocumentEncounterMood::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(moodCode=vocab::x_DocumentEncounterMood::EVN)'" * @generated */ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservationEncounterMoodCode( @@ -518,7 +513,7 @@ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservationEncounterId( @@ -531,7 +526,7 @@ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservatio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(not inversionInd.oclIsUndefined() and inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(not inversionInd.oclIsUndefined() and inversionInd=true)'" * @generated */ boolean validateProcedureActivityObservationEntryRelationshipInversionInd(DiagnosticChain diagnostics, @@ -544,7 +539,7 @@ boolean validateProcedureActivityObservationEntryRelationshipInversionInd(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateProcedureActivityObservationEntryRelationshipTypeCode(DiagnosticChain diagnostics, @@ -557,7 +552,7 @@ boolean validateProcedureActivityObservationEntryRelationshipTypeCode(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(encounter->one(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(encounter->one(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)))'" * @generated */ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservationEncounter( @@ -567,7 +562,7 @@ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservatio * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" * @generated */ EList getServiceDeliveryLocations(); @@ -576,7 +571,7 @@ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservatio * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" * @generated */ Instructions getInstructions(); @@ -585,7 +580,7 @@ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservatio * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" * @generated */ EList getIndications(); @@ -594,7 +589,7 @@ boolean validateProcedureActivityObservationEntryRelationshipProcedureObservatio * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityObservation2.java index 36b3cb1292..063c4b2d0b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityObservation2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -47,7 +43,7 @@ boolean validateProcedureActivityObservation2CodeSuggestedCodeSystems(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.13\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.13\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateProcedureActivityObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -71,7 +67,7 @@ boolean validateProcedureActivityObservation2CodeSuggestedCodeSystems(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateProcedureActivityObservation2AuthorParticipation(DiagnosticChain diagnostics, @@ -84,7 +80,7 @@ boolean validateProcedureActivityObservation2AuthorParticipation(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateProcedureActivityObservation2ReactionObservation2(DiagnosticChain diagnostics, @@ -97,7 +93,7 @@ boolean validateProcedureActivityObservation2ReactionObservation2(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (isDefined(\'nullFlavor\') )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.value->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (isDefined(\'nullFlavor\') )))'" * @generated */ boolean validateProcedureActivityObservation2ANYNullFlavor(DiagnosticChain diagnostics, @@ -107,7 +103,7 @@ boolean validateProcedureActivityObservation2ANYNullFlavor(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getConsolIndication2s(); @@ -116,7 +112,7 @@ boolean validateProcedureActivityObservation2ANYNullFlavor(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); @@ -125,7 +121,7 @@ boolean validateProcedureActivityObservation2ANYNullFlavor(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" * @generated */ Instruction2 getConsolInstruction2(); @@ -134,7 +130,7 @@ boolean validateProcedureActivityObservation2ANYNullFlavor(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" * @generated */ EList getReactionObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityProcedure.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityProcedure.java index 3cdf7c1751..29c72a5c53 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityProcedure.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityProcedure.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Procedure; /** @@ -64,7 +59,7 @@ boolean validateProcedureActivityProcedureCodeOriginalText(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.code.originalText.oclIsUndefined() implies self.code.originalText->one(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.code.originalText.oclIsUndefined() implies self.code.originalText->one(reference->size() = 1)'" * @generated */ boolean validateProcedureActivityProcedureOriginalTextReference(DiagnosticChain diagnostics, @@ -77,7 +72,7 @@ boolean validateProcedureActivityProcedureOriginalTextReference(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.originalText.reference->size() = 1 implies self.code.originalText.reference.value->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.originalText.reference->size() = 1 implies self.code.originalText.reference.value->size() = 1'" * @generated */ boolean validateProcedureActivityProcedureOriginalTextReferenceValue(DiagnosticChain diagnostics, @@ -102,7 +97,7 @@ boolean validateProcedureActivityProcedureOriginalTextReferenceValue(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.encounter->size() > 0)->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.encounter->size() > 0)->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateProcedureActivityProcedureEncounterInversion(DiagnosticChain diagnostics, @@ -115,7 +110,7 @@ boolean validateProcedureActivityProcedureEncounterInversion(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ProductInstance))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::DEV)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ProductInstance))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::DEV)'" * @generated */ boolean validateProcedureActivityProcedureProductInstanceTypeCode(DiagnosticChain diagnostics, @@ -128,7 +123,7 @@ boolean validateProcedureActivityProcedureProductInstanceTypeCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)'" * @generated */ boolean validateProcedureActivityProcedureServiceDeliveryLocationTypeCode(DiagnosticChain diagnostics, @@ -141,7 +136,7 @@ boolean validateProcedureActivityProcedureServiceDeliveryLocationTypeCode(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.act.oclIsTypeOf(consol::Instructions))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain diagnostics, @@ -154,7 +149,7 @@ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.14\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.14\')'" * @generated */ boolean validateProcedureActivityProcedureTemplateId(DiagnosticChain diagnostics, Map context); @@ -190,7 +185,7 @@ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateProcedureActivityProcedureId(DiagnosticChain diagnostics, Map context); @@ -262,7 +257,7 @@ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" * @generated */ boolean validateProcedureActivityProcedureMethodCode(DiagnosticChain diagnostics, Map context); @@ -274,7 +269,7 @@ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (not self.targetSiteCode->isEmpty())'" * @generated */ boolean validateProcedureActivityProcedureTargetSiteCodeP(DiagnosticChain diagnostics, Map context); @@ -286,7 +281,7 @@ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (self.targetSiteCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateProcedureActivityProcedureTargetSiteCode(DiagnosticChain diagnostics, Map context); @@ -298,7 +293,7 @@ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::Indication) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateProcedureActivityProcedureIndication(DiagnosticChain diagnostics, Map context); @@ -310,7 +305,7 @@ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.specimen->exists(specimen : cda::Specimen | not specimen.oclIsUndefined() and specimen.oclIsKindOf(cda::Specimen))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.specimen->exists(specimen : cda::Specimen | not specimen.oclIsUndefined() and specimen.oclIsKindOf(cda::Specimen))'" * @generated */ boolean validateProcedureActivityProcedureSpecimen(DiagnosticChain diagnostics, Map context); @@ -322,7 +317,7 @@ boolean validateProcedureActivityProcedureInstructionsInversion(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))'" * @generated */ boolean validateProcedureActivityProcedureServiceDeliveryLocation(DiagnosticChain diagnostics, @@ -335,7 +330,7 @@ boolean validateProcedureActivityProcedureServiceDeliveryLocation(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->exists(performer : cda::Performer2 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer2))'" * @generated */ boolean validateProcedureActivityProcedurePerformer(DiagnosticChain diagnostics, Map context); @@ -347,7 +342,7 @@ boolean validateProcedureActivityProcedureServiceDeliveryLocation(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateProcedureActivityProcedureMedicationActivity(DiagnosticChain diagnostics, @@ -360,7 +355,7 @@ boolean validateProcedureActivityProcedureMedicationActivity(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::Instructions) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateProcedureActivityProcedurePatientInstruction(DiagnosticChain diagnostics, @@ -373,7 +368,7 @@ boolean validateProcedureActivityProcedurePatientInstruction(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ProductInstance))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.participantRole.oclIsUndefined() and participant.participantRole.oclIsKindOf(consol::ProductInstance))'" * @generated */ boolean validateProcedureActivityProcedureProductInstance(DiagnosticChain diagnostics, Map context); @@ -385,7 +380,7 @@ boolean validateProcedureActivityProcedurePatientInstruction(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(cda::EntryRelationship))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->notEmpty()'" * @generated */ boolean validateProcedureActivityProcedureEntryRelationship(DiagnosticChain diagnostics, @@ -398,7 +393,7 @@ boolean validateProcedureActivityProcedureEntryRelationship(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.specimen->excluding(null)->reject(specimenRole->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.specimen->excluding(null)->reject(specimenRole->size() = 1)'" * @generated */ boolean validateProcedureActivityProcedureProcedureSpecimenSpecimenRole(DiagnosticChain diagnostics, @@ -411,7 +406,7 @@ boolean validateProcedureActivityProcedureProcedureSpecimenSpecimenRole(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.specimen->excluding(null)->reject(specimenRole.id->size() > 0)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.specimen->excluding(null)->reject(specimenRole.id->size() > 0)'" * @generated */ boolean validateProcedureActivityProcedureProcedureSpecimenSpecimentRoleId(DiagnosticChain diagnostics, @@ -424,7 +419,7 @@ boolean validateProcedureActivityProcedureProcedureSpecimenSpecimentRoleId(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityProcedureActivityRepresentedOrganizationId( @@ -437,7 +432,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureAct * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (not name->isEmpty()))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityProcedureActivityRepresentedOrganizationName( @@ -450,7 +445,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureAct * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityProcedureActivityRepresentedOrganizationTelecom( @@ -463,7 +458,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureAct * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null).representedOrganization->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityProcedureActivityRepresentedOrganizationAddr( @@ -476,7 +471,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureAct * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityId( @@ -489,7 +484,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureAct * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityAddr( @@ -502,7 +497,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureAct * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityTelecom( @@ -515,7 +510,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureAct * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null).assignedEntity->excluding(null)->reject(representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(cda::Organization)))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityRepresentedOrganization( @@ -528,7 +523,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerProcedureAct * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateProcedureActivityProcedureProcedureActivityPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -541,7 +536,7 @@ boolean validateProcedureActivityProcedureProcedureActivityPerformerAssignedEnti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(classCode=vocab::ActClass::ENC)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(classCode=vocab::ActClass::ENC)'" * @generated */ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEncounterClassCode( @@ -554,7 +549,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEnco * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(moodCode=vocab::x_DocumentEncounterMood::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject(moodCode=vocab::x_DocumentEncounterMood::EVN)'" * @generated */ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEncounterMoodCode( @@ -567,7 +562,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEnco * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)).encounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEncounterId(DiagnosticChain diagnostics, @@ -580,7 +575,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEnco * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(not inversionInd.oclIsUndefined() and inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(not inversionInd.oclIsUndefined() and inversionInd=true)'" * @generated */ boolean validateProcedureActivityProcedureEntryRelationshipInversionInd(DiagnosticChain diagnostics, @@ -593,7 +588,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipInversionInd(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateProcedureActivityProcedureEntryRelationshipTypeCode(DiagnosticChain diagnostics, @@ -606,7 +601,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipTypeCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(encounter->one(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->excluding(null)->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->select(typeCode=vocab::x_ActRelationshipEntryRelationship::COMP and not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter))->reject(encounter->one(encounter : cda::Encounter | not encounter.oclIsUndefined() and encounter.oclIsKindOf(cda::Encounter)))'" * @generated */ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEncounter(DiagnosticChain diagnostics, @@ -616,7 +611,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEnco * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" * @generated */ EList getIndications(); @@ -625,7 +620,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEnco * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ServiceDeliveryLocation)).oclAsType(consol::ServiceDeliveryLocation)'" * @generated */ EList getServiceDeliveryLocations(); @@ -634,7 +629,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEnco * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); @@ -643,7 +638,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEnco * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instructions))->asSequence()->any(true).oclAsType(consol::Instructions)'" * @generated */ Instructions getPatientInstruction(); @@ -652,7 +647,7 @@ boolean validateProcedureActivityProcedureEntryRelationshipProcedureActivityEnco * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ProductInstance)).oclAsType(consol::ProductInstance)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getParticipantRoles()->select(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(consol::ProductInstance)).oclAsType(consol::ProductInstance)'" * @generated */ EList getProductInstances(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityProcedure2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityProcedure2.java index 095cb607a2..c6b626b73a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityProcedure2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureActivityProcedure2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -46,7 +42,7 @@ boolean validateProcedureActivityProcedure2CodeSuggestedCodeSystems(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.14\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.14\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateProcedureActivityProcedure2TemplateId(DiagnosticChain diagnostics, Map context); @@ -70,7 +66,7 @@ boolean validateProcedureActivityProcedure2CodeSuggestedCodeSystems(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateProcedureActivityProcedure2AuthorParticipation(DiagnosticChain diagnostics, @@ -83,7 +79,7 @@ boolean validateProcedureActivityProcedure2AuthorParticipation(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateProcedureActivityProcedure2ReactionObservation2(DiagnosticChain diagnostics, @@ -93,7 +89,7 @@ boolean validateProcedureActivityProcedure2ReactionObservation2(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getConsolIndication2s(); @@ -102,7 +98,7 @@ boolean validateProcedureActivityProcedure2ReactionObservation2(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); @@ -111,7 +107,7 @@ boolean validateProcedureActivityProcedure2ReactionObservation2(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::Instruction2))->asSequence()->any(true).oclAsType(consol::Instruction2)'" * @generated */ Instruction2 getConsolInstruction2(); @@ -120,7 +116,7 @@ boolean validateProcedureActivityProcedure2ReactionObservation2(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" * @generated */ EList getReactionObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureContext.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureContext.java index 46fbd98ff3..cf55e0fa04 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureContext.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureContext.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -32,7 +27,7 @@ public interface ProcedureContext extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.effectiveTime.oclIsUndefined() implies self.effectiveTime.value->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.effectiveTime.oclIsUndefined() implies self.effectiveTime.value->size() = 1'" * @generated */ boolean validateProcedureContextEffectiveTimeValue(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface ProcedureContext extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.5\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.5\')'" * @generated */ boolean validateProcedureContextTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureDescriptionSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureDescriptionSection.java index 6c53c4e0b0..1a0423504c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureDescriptionSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureDescriptionSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface ProcedureDescriptionSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.27\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.27\')'" * @generated */ boolean validateProcedureDescriptionSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureDispositionSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureDispositionSection.java index 331841aa86..88e6e01b0a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureDispositionSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureDispositionSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface ProcedureDispositionSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.18.2.12\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.18.2.12\')'" * @generated */ boolean validateProcedureDispositionSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureEstimatedBloodLossSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureEstimatedBloodLossSection.java index b9cfe655b2..7207574308 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureEstimatedBloodLossSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureEstimatedBloodLossSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface ProcedureEstimatedBloodLossSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.18.2.9\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.18.2.9\')'" * @generated */ boolean validateProcedureEstimatedBloodLossSectionTemplateId(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureFindingsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureFindingsSection.java index e6eed5e182..04ae06e5e2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureFindingsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureFindingsSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface ProcedureFindingsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.28\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.28\')'" * @generated */ boolean validateProcedureFindingsSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface ProcedureFindingsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProblemObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProblemObservation))'" * @generated */ boolean validateProcedureFindingsSectionProblemObservation(DiagnosticChain diagnostics, @@ -103,7 +98,7 @@ boolean validateProcedureFindingsSectionProblemObservation(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation)).oclAsType(consol::ProblemObservation)'" * @generated */ EList getProblemObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureFindingsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureFindingsSection2.java index 4e7936fe79..262ae33031 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureFindingsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureFindingsSection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface ProcedureFindingsSection2 extends ProcedureFindingsSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.28\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.28\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateProcedureFindingsSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface ProcedureFindingsSection2 extends ProcedureFindingsSection { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getConsolProblemObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureImplantsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureImplantsSection.java index c3e3f16e65..0166e4c4ea 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureImplantsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureImplantsSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface ProcedureImplantsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.40\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.40\')'" * @generated */ boolean validateProcedureImplantsSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureIndicationsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureIndicationsSection.java index 4c7b9d9215..3441a25f7f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureIndicationsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureIndicationsSection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface ProcedureIndicationsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.29\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.29\')'" * @generated */ boolean validateProcedureIndicationsSectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface ProcedureIndicationsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::Indication))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::Indication))'" * @generated */ boolean validateProcedureIndicationsSectionIndication(DiagnosticChain diagnostics, Map context); @@ -102,7 +97,7 @@ public interface ProcedureIndicationsSection extends Section { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication)).oclAsType(consol::Indication)'" * @generated */ EList getIndications(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureIndicationsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureIndicationsSection2.java index 668bfa6f3c..e91ab3fa77 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureIndicationsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureIndicationsSection2.java @@ -2,14 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; + import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +27,7 @@ public interface ProcedureIndicationsSection2 extends ProcedureIndicationsSectio * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.29\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.29\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateProcedureIndicationsSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -39,7 +36,7 @@ public interface ProcedureIndicationsSection2 extends ProcedureIndicationsSectio * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::Indication2)).oclAsType(consol::Indication2)'" * @generated */ EList getConsolIndication2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureNote.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureNote.java index 1e8ae1462f..7e58a9af27 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureNote.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureNote.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -39,7 +35,7 @@ public interface ProcedureNote extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateProcedureNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( @@ -52,7 +48,7 @@ boolean validateProcedureNoteHasAnAssementAndPlanSectionOrIndividualAssementAndP * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateProcedureNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent( @@ -65,7 +61,7 @@ boolean validateProcedureNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAss * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( @@ -78,7 +74,7 @@ boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChief * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->forAll(section : cda::Section | not section.title.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->forAll(section : cda::Section | not section.title.oclIsUndefined())'" * @generated */ boolean validateProcedureNoteSectionTitles(DiagnosticChain diagnostics, Map context); @@ -102,7 +98,7 @@ boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChief * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateProcedureNoteComponentOf(DiagnosticChain diagnostics, Map context); @@ -114,7 +110,7 @@ boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChief * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateProcedureNoteAssessmentSection(DiagnosticChain diagnostics, Map context); @@ -126,7 +122,7 @@ boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChief * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" * @generated */ boolean validateProcedureNotePlanOfCareSection(DiagnosticChain diagnostics, Map context); @@ -138,7 +134,7 @@ boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChief * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateProcedureNoteAssessmentAndPlanSection(DiagnosticChain diagnostics, Map context); @@ -150,7 +146,7 @@ boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChief * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection))'" * @generated */ boolean validateProcedureNoteComplicationsSection(DiagnosticChain diagnostics, Map context); @@ -162,7 +158,7 @@ boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChief * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostprocedureDiagnosisSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostprocedureDiagnosisSection))'" * @generated */ boolean validateProcedureNotePostprocedureDiagnosisSection(DiagnosticChain diagnostics, @@ -175,7 +171,7 @@ boolean validateProcedureNotePostprocedureDiagnosisSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))'" * @generated */ boolean validateProcedureNoteProcedureDescriptionSection(DiagnosticChain diagnostics, Map context); @@ -187,7 +183,7 @@ boolean validateProcedureNotePostprocedureDiagnosisSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection))'" * @generated */ boolean validateProcedureNoteProcedureIndicationsSection(DiagnosticChain diagnostics, Map context); @@ -199,7 +195,7 @@ boolean validateProcedureNotePostprocedureDiagnosisSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" * @generated */ boolean validateProcedureNoteAllergiesSectionEntriesOptional(DiagnosticChain diagnostics, @@ -212,7 +208,7 @@ boolean validateProcedureNoteAllergiesSectionEntriesOptional(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection))'" * @generated */ boolean validateProcedureNoteAnesthesiaSection(DiagnosticChain diagnostics, Map context); @@ -224,7 +220,7 @@ boolean validateProcedureNoteAllergiesSectionEntriesOptional(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateProcedureNoteChiefComplaintSection(DiagnosticChain diagnostics, Map context); @@ -236,7 +232,7 @@ boolean validateProcedureNoteAllergiesSectionEntriesOptional(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateProcedureNoteChiefComplaintAndReasonForVisitSection(DiagnosticChain diagnostics, @@ -249,7 +245,7 @@ boolean validateProcedureNoteChiefComplaintAndReasonForVisitSection(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" * @generated */ boolean validateProcedureNoteFamilyHistorySection(DiagnosticChain diagnostics, Map context); @@ -261,7 +257,7 @@ boolean validateProcedureNoteChiefComplaintAndReasonForVisitSection(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))'" * @generated */ boolean validateProcedureNoteHistoryOfPastIllnessSection(DiagnosticChain diagnostics, Map context); @@ -273,7 +269,7 @@ boolean validateProcedureNoteChiefComplaintAndReasonForVisitSection(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateProcedureNoteHistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -286,7 +282,7 @@ boolean validateProcedureNoteHistoryOfPresentIllnessSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalHistorySection))'" * @generated */ boolean validateProcedureNoteMedicalHistorySection(DiagnosticChain diagnostics, Map context); @@ -298,7 +294,7 @@ boolean validateProcedureNoteHistoryOfPresentIllnessSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))'" * @generated */ boolean validateProcedureNoteMedicationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -311,7 +307,7 @@ boolean validateProcedureNoteMedicationsSectionEntriesOptional(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsAdministeredSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsAdministeredSection))'" * @generated */ boolean validateProcedureNoteMedicationsAdministeredSection(DiagnosticChain diagnostics, @@ -324,7 +320,7 @@ boolean validateProcedureNoteMedicationsAdministeredSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))'" * @generated */ boolean validateProcedureNotePhysicalExamSection(DiagnosticChain diagnostics, Map context); @@ -336,7 +332,7 @@ boolean validateProcedureNoteMedicationsAdministeredSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection))'" * @generated */ boolean validateProcedureNotePlannedProcedureSection(DiagnosticChain diagnostics, Map context); @@ -348,7 +344,7 @@ boolean validateProcedureNoteMedicationsAdministeredSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))'" * @generated */ boolean validateProcedureNoteProcedureDispositionSection(DiagnosticChain diagnostics, Map context); @@ -360,7 +356,7 @@ boolean validateProcedureNoteMedicationsAdministeredSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))'" * @generated */ boolean validateProcedureNoteProcedureEstimatedBloodLossSection(DiagnosticChain diagnostics, @@ -373,7 +369,7 @@ boolean validateProcedureNoteProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection))'" * @generated */ boolean validateProcedureNoteProcedureFindingsSection(DiagnosticChain diagnostics, Map context); @@ -385,7 +381,7 @@ boolean validateProcedureNoteProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))'" * @generated */ boolean validateProcedureNoteProcedureImplantsSection(DiagnosticChain diagnostics, Map context); @@ -397,7 +393,7 @@ boolean validateProcedureNoteProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))'" * @generated */ boolean validateProcedureNoteProcedureSpecimensTakenSection(DiagnosticChain diagnostics, @@ -410,7 +406,7 @@ boolean validateProcedureNoteProcedureSpecimensTakenSection(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))'" * @generated */ boolean validateProcedureNoteProceduresSectionEntriesOptional(DiagnosticChain diagnostics, @@ -423,7 +419,7 @@ boolean validateProcedureNoteProceduresSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateProcedureNoteReasonForVisitSection(DiagnosticChain diagnostics, Map context); @@ -435,7 +431,7 @@ boolean validateProcedureNoteProceduresSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateProcedureNoteReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -447,7 +443,7 @@ boolean validateProcedureNoteProceduresSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))'" * @generated */ boolean validateProcedureNoteSocialHistorySection(DiagnosticChain diagnostics, Map context); @@ -459,7 +455,7 @@ boolean validateProcedureNoteProceduresSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateProcedureNoteParticipant1(DiagnosticChain diagnostics, Map context); @@ -471,7 +467,7 @@ boolean validateProcedureNoteProceduresSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateProcedureNoteDocumentationOf(DiagnosticChain diagnostics, Map context); @@ -483,7 +479,7 @@ boolean validateProcedureNoteProceduresSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null).healthCareFacility->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null).healthCareFacility->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateProcedureNoteComponentOfEncompassingEncounter5LocationHealthCareFacilityId( @@ -496,7 +492,7 @@ boolean validateProcedureNoteComponentOfEncompassingEncounter5LocationHealthCare * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null)->reject(healthCareFacility->exists(healthCareFacility : cda::HealthCareFacility | not healthCareFacility.oclIsUndefined() and healthCareFacility.oclIsKindOf(cda::HealthCareFacility)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null)->reject(healthCareFacility->exists(healthCareFacility : cda::HealthCareFacility | not healthCareFacility.oclIsUndefined() and healthCareFacility.oclIsKindOf(cda::HealthCareFacility)))'" * @generated */ boolean validateProcedureNoteComponentOfEncompassingEncounter5LocationHealthCareFacility( @@ -509,7 +505,7 @@ boolean validateProcedureNoteComponentOfEncompassingEncounter5LocationHealthCare * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->select(typeCode = vocab::x_EncounterParticipant::REF)->select(typeCode = vocab::x_EncounterParticipant::REF)->reject(typeCode=vocab::x_EncounterParticipant::REF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->select(typeCode = vocab::x_EncounterParticipant::REF)->select(typeCode = vocab::x_EncounterParticipant::REF)->reject(typeCode=vocab::x_EncounterParticipant::REF)'" * @generated */ boolean validateProcedureNoteComponentOfEncompassingEncounter5EncounterParticipantTypeCode( @@ -522,7 +518,7 @@ boolean validateProcedureNoteComponentOfEncompassingEncounter5EncounterParticipa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNoteComponentOfEncompassingEncounter5Code(DiagnosticChain diagnostics, @@ -535,7 +531,7 @@ boolean validateProcedureNoteComponentOfEncompassingEncounter5Code(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->exists(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(cda::Location)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->exists(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(cda::Location)))'" * @generated */ boolean validateProcedureNoteComponentOfEncompassingEncounter5Location(DiagnosticChain diagnostics, @@ -548,7 +544,7 @@ boolean validateProcedureNoteComponentOfEncompassingEncounter5Location(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->select(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant))->select(typeCode = vocab::x_EncounterParticipant::REF)->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->select(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant))->select(typeCode = vocab::x_EncounterParticipant::REF)->size() = 1)'" * @generated */ boolean validateProcedureNoteComponentOfEncompassingEncounter5EncounterParticipant(DiagnosticChain diagnostics, @@ -561,7 +557,7 @@ boolean validateProcedureNoteComponentOfEncompassingEncounter5EncounterParticipa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateProcedureNoteComponentOfEncompassingEncounter5(DiagnosticChain diagnostics, @@ -574,7 +570,7 @@ boolean validateProcedureNoteComponentOfEncompassingEncounter5(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntityCodeP( @@ -587,7 +583,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssigne * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntityCode( @@ -600,7 +596,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssigne * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PPRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PPRF)'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerTypeCode(DiagnosticChain diagnostics, @@ -613,7 +609,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerTypeCod * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -626,7 +622,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssigne * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.104\' or code.codeSystem = \'2.16.840.1.113883.6.12\' or code.codeSystem = \'2.16.840.1.113883.6.96\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.104\' or code.codeSystem = \'2.16.840.1.113883.6.12\' or code.codeSystem = \'2.16.840.1.113883.6.96\')'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1ProcedureCodes(DiagnosticChain diagnostics, @@ -639,7 +635,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1ProcedureCodes(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.low.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.low.oclIsUndefined())'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeHasLow(DiagnosticChain diagnostics, @@ -652,7 +648,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeHasLow(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeHasHighWhenNoWidth( @@ -665,7 +661,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeHasHighWhe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeNoHighIfWidth(DiagnosticChain diagnostics, @@ -678,7 +674,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeNoHighIfWi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 8) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 8))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 8) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 8))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheDay(DiagnosticChain diagnostics, @@ -691,7 +687,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheDay(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 12) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 12))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 12) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 12))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheMinute(DiagnosticChain diagnostics, @@ -704,7 +700,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheMinute(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 14) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 14))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 14) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 14))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheSecond(DiagnosticChain diagnostics, @@ -717,7 +713,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheSecond(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() and effectiveTime.low.value.size() > 8 implies effectiveTime.low.value.size() >= 15) and (not effectiveTime.high.value.oclIsUndefined() and effectiveTime.high.value.size() > 8 implies effectiveTime.high.value.size() >= 15))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() and effectiveTime.low.value.size() > 8 implies effectiveTime.low.value.size() >= 15) and (not effectiveTime.high.value.oclIsUndefined() and effectiveTime.high.value.size() > 8 implies effectiveTime.high.value.size() >= 15))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1IfMorePreciseThanDayIncludeTimeZoneOffset( @@ -730,7 +726,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1IfMorePreciseThanDayInc * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1Code(DiagnosticChain diagnostics, @@ -743,7 +739,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1Code(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTime(DiagnosticChain diagnostics, @@ -756,7 +752,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTime(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->size() = 1)'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(DiagnosticChain diagnostics, @@ -769,7 +765,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateProcedureNoteDocumentationOfServiceEvent1(DiagnosticChain diagnostics, Map context); @@ -778,7 +774,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -787,7 +783,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" * @generated */ PlanOfCareSection getPlanOfCareSection(); @@ -796,7 +792,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection)'" * @generated */ AssessmentAndPlanSection getAssessmentAndPlanSection(); @@ -805,7 +801,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection))->asSequence()->any(true).oclAsType(consol::ComplicationsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection))->asSequence()->any(true).oclAsType(consol::ComplicationsSection)'" * @generated */ ComplicationsSection getComplicationsSection(); @@ -814,7 +810,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostprocedureDiagnosisSection))->asSequence()->any(true).oclAsType(consol::PostprocedureDiagnosisSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostprocedureDiagnosisSection))->asSequence()->any(true).oclAsType(consol::PostprocedureDiagnosisSection)'" * @generated */ PostprocedureDiagnosisSection getPostprocedureDiagnosisSection(); @@ -823,7 +819,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDescriptionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDescriptionSection)'" * @generated */ ProcedureDescriptionSection getProcedureDescriptionSection(); @@ -832,7 +828,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection))->asSequence()->any(true).oclAsType(consol::ProcedureIndicationsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection))->asSequence()->any(true).oclAsType(consol::ProcedureIndicationsSection)'" * @generated */ ProcedureIndicationsSection getProcedureIndicationsSection(); @@ -841,7 +837,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" * @generated */ AllergiesSectionEntriesOptional getAllergiesSectionEntriesOptional(); @@ -850,7 +846,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection))->asSequence()->any(true).oclAsType(consol::AnesthesiaSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection))->asSequence()->any(true).oclAsType(consol::AnesthesiaSection)'" * @generated */ AnesthesiaSection getAnesthesiaSection(); @@ -859,7 +855,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -868,7 +864,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" * @generated */ ChiefComplaintAndReasonForVisitSection getChiefComplaintAndReasonForVisitSection(); @@ -877,7 +873,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" * @generated */ FamilyHistorySection getFamilyHistorySection(); @@ -886,7 +882,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection)'" * @generated */ HistoryOfPastIllnessSection getHistoryOfPastIllnessSection(); @@ -895,7 +891,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -904,7 +900,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalHistorySection))->asSequence()->any(true).oclAsType(consol::MedicalHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalHistorySection))->asSequence()->any(true).oclAsType(consol::MedicalHistorySection)'" * @generated */ MedicalHistorySection getMedicalHistorySection(); @@ -913,7 +909,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional)'" * @generated */ MedicationsSectionEntriesOptional getMedicationsSectionEntriesOptional(); @@ -922,7 +918,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsAdministeredSection))->asSequence()->any(true).oclAsType(consol::MedicationsAdministeredSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsAdministeredSection))->asSequence()->any(true).oclAsType(consol::MedicationsAdministeredSection)'" * @generated */ MedicationsAdministeredSection getMedicationsAdministeredSection(); @@ -931,7 +927,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection)'" * @generated */ PhysicalExamSection getPhysicalExamSection(); @@ -940,7 +936,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection))->asSequence()->any(true).oclAsType(consol::PlannedProcedureSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection))->asSequence()->any(true).oclAsType(consol::PlannedProcedureSection)'" * @generated */ PlannedProcedureSection getPlannedProcedureSection(); @@ -949,7 +945,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDispositionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDispositionSection)'" * @generated */ ProcedureDispositionSection getProcedureDispositionSection(); @@ -958,7 +954,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))->asSequence()->any(true).oclAsType(consol::ProcedureEstimatedBloodLossSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))->asSequence()->any(true).oclAsType(consol::ProcedureEstimatedBloodLossSection)'" * @generated */ ProcedureEstimatedBloodLossSection getProcedureEstimatedBloodLossSection(); @@ -967,7 +963,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection))->asSequence()->any(true).oclAsType(consol::ProcedureFindingsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection))->asSequence()->any(true).oclAsType(consol::ProcedureFindingsSection)'" * @generated */ ProcedureFindingsSection getProcedureFindingsSection(); @@ -976,7 +972,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))->asSequence()->any(true).oclAsType(consol::ProcedureImplantsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))->asSequence()->any(true).oclAsType(consol::ProcedureImplantsSection)'" * @generated */ ProcedureImplantsSection getProcedureImplantsSection(); @@ -985,7 +981,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))->asSequence()->any(true).oclAsType(consol::ProcedureSpecimensTakenSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))->asSequence()->any(true).oclAsType(consol::ProcedureSpecimensTakenSection)'" * @generated */ ProcedureSpecimensTakenSection getProcedureSpecimensTakenSection(); @@ -994,7 +990,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional)'" * @generated */ ProceduresSectionEntriesOptional getProceduresSectionEntriesOptional(); @@ -1003,7 +999,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" * @generated */ ReasonForVisitSection getReasonForVisitSection(); @@ -1012,7 +1008,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -1021,7 +1017,7 @@ boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(Diagno * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection))->asSequence()->any(true).oclAsType(consol::SocialHistorySection)'" * @generated */ SocialHistorySection getSocialHistorySection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureNote2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureNote2.java index 3d73eaefd8..6532e891f6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureNote2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureNote2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -46,7 +42,7 @@ public interface ProcedureNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateProcedureNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( @@ -59,7 +55,7 @@ boolean validateProcedureNote2HasAnAssementAndPlanSection2OrBothAssementSectionA * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateProcedureNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent( @@ -72,7 +68,7 @@ boolean validateProcedureNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPl * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReasonForVisitSection( @@ -109,7 +105,7 @@ boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReaso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::IND)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::IND)->notEmpty()'" * @generated */ boolean validateProcedureNote2Participant(DiagnosticChain diagnostics, Map context); @@ -121,7 +117,7 @@ boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReaso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateProcedureNote2DocumentationOf(DiagnosticChain diagnostics, Map context); @@ -133,7 +129,7 @@ boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReaso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->one(authorization : cda::Authorization | not authorization.oclIsUndefined() and authorization.oclIsKindOf(cda::Authorization))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->one(authorization : cda::Authorization | not authorization.oclIsUndefined() and authorization.oclIsKindOf(cda::Authorization))'" * @generated */ boolean validateProcedureNote2Authorization(DiagnosticChain diagnostics, Map context); @@ -145,7 +141,7 @@ boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReaso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateProcedureNote2ComponentOf(DiagnosticChain diagnostics, Map context); @@ -157,7 +153,7 @@ boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReaso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection2))'" * @generated */ boolean validateProcedureNote2ComplicationsSection2(DiagnosticChain diagnostics, Map context); @@ -169,7 +165,7 @@ boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReaso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))'" * @generated */ boolean validateProcedureNote2ProcedureDescriptionSection(DiagnosticChain diagnostics, Map context); @@ -181,7 +177,7 @@ boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReaso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection2))'" * @generated */ boolean validateProcedureNote2ProcedureIndicationsSection2(DiagnosticChain diagnostics, @@ -194,7 +190,7 @@ boolean validateProcedureNote2ProcedureIndicationsSection2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostprocedureDiagnosisSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostprocedureDiagnosisSection2))'" * @generated */ boolean validateProcedureNote2PostprocedureDiagnosisSection2(DiagnosticChain diagnostics, @@ -207,7 +203,7 @@ boolean validateProcedureNote2PostprocedureDiagnosisSection2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateProcedureNote2AssessmentSection(DiagnosticChain diagnostics, Map context); @@ -219,7 +215,7 @@ boolean validateProcedureNote2PostprocedureDiagnosisSection2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateProcedureNote2AssessmentAndPlanSection2(DiagnosticChain diagnostics, Map context); @@ -231,7 +227,7 @@ boolean validateProcedureNote2PostprocedureDiagnosisSection2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateProcedureNote2PlanOfTreatmentSection2(DiagnosticChain diagnostics, Map context); @@ -243,7 +239,7 @@ boolean validateProcedureNote2PostprocedureDiagnosisSection2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))'" * @generated */ boolean validateProcedureNote2AllergiesSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -256,7 +252,7 @@ boolean validateProcedureNote2AllergiesSectionEntriesOptional2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection2))'" * @generated */ boolean validateProcedureNote2AnesthesiaSection2(DiagnosticChain diagnostics, Map context); @@ -268,7 +264,7 @@ boolean validateProcedureNote2AllergiesSectionEntriesOptional2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateProcedureNote2ChiefComplaintSection(DiagnosticChain diagnostics, Map context); @@ -280,7 +276,7 @@ boolean validateProcedureNote2AllergiesSectionEntriesOptional2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))'" * @generated */ boolean validateProcedureNote2ChiefComplaintAndReasonForVisitSection(DiagnosticChain diagnostics, @@ -293,7 +289,7 @@ boolean validateProcedureNote2ChiefComplaintAndReasonForVisitSection(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" * @generated */ boolean validateProcedureNote2FamilyHistorySection2(DiagnosticChain diagnostics, Map context); @@ -305,7 +301,7 @@ boolean validateProcedureNote2ChiefComplaintAndReasonForVisitSection(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" * @generated */ boolean validateProcedureNote2HistoryOfPastIllnessSection2(DiagnosticChain diagnostics, @@ -318,7 +314,7 @@ boolean validateProcedureNote2HistoryOfPastIllnessSection2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateProcedureNote2HistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -331,7 +327,7 @@ boolean validateProcedureNote2HistoryOfPresentIllnessSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalHistorySection))'" * @generated */ boolean validateProcedureNote2MedicalHistorySection(DiagnosticChain diagnostics, Map context); @@ -343,7 +339,7 @@ boolean validateProcedureNote2HistoryOfPresentIllnessSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))'" * @generated */ boolean validateProcedureNote2MedicationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -356,7 +352,7 @@ boolean validateProcedureNote2MedicationsSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsAdministeredSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsAdministeredSection2))'" * @generated */ boolean validateProcedureNote2MedicationsAdministeredSection2(DiagnosticChain diagnostics, @@ -369,7 +365,7 @@ boolean validateProcedureNote2MedicationsAdministeredSection2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" * @generated */ boolean validateProcedureNote2PhysicalExamSection2(DiagnosticChain diagnostics, Map context); @@ -381,7 +377,7 @@ boolean validateProcedureNote2MedicationsAdministeredSection2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection2))'" * @generated */ boolean validateProcedureNote2PlannedProcedureSection2(DiagnosticChain diagnostics, Map context); @@ -393,7 +389,7 @@ boolean validateProcedureNote2MedicationsAdministeredSection2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))'" * @generated */ boolean validateProcedureNote2ProcedureDispositionSection(DiagnosticChain diagnostics, Map context); @@ -405,7 +401,7 @@ boolean validateProcedureNote2MedicationsAdministeredSection2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))'" * @generated */ boolean validateProcedureNote2ProcedureEstimatedBloodLossSection(DiagnosticChain diagnostics, @@ -418,7 +414,7 @@ boolean validateProcedureNote2ProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection2))'" * @generated */ boolean validateProcedureNote2ProcedureFindingsSection2(DiagnosticChain diagnostics, Map context); @@ -430,7 +426,7 @@ boolean validateProcedureNote2ProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))'" * @generated */ boolean validateProcedureNote2ProcedureImplantsSection(DiagnosticChain diagnostics, Map context); @@ -442,7 +438,7 @@ boolean validateProcedureNote2ProcedureEstimatedBloodLossSection(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))'" * @generated */ boolean validateProcedureNote2ProcedureSpecimensTakenSection(DiagnosticChain diagnostics, @@ -455,7 +451,7 @@ boolean validateProcedureNote2ProcedureSpecimensTakenSection(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" * @generated */ boolean validateProcedureNote2ProceduresSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -468,7 +464,7 @@ boolean validateProcedureNote2ProceduresSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))'" * @generated */ boolean validateProcedureNote2ReasonForVisitSection(DiagnosticChain diagnostics, Map context); @@ -480,7 +476,7 @@ boolean validateProcedureNote2ProceduresSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateProcedureNote2ReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -492,7 +488,7 @@ boolean validateProcedureNote2ProceduresSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" * @generated */ boolean validateProcedureNote2SocialHistorySection2(DiagnosticChain diagnostics, Map context); @@ -504,7 +500,7 @@ boolean validateProcedureNote2ProceduresSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(classCode=vocab::RoleClassAssociative::PROV)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(classCode=vocab::RoleClassAssociative::PROV)'" * @generated */ boolean validateProcedureNote2ParticipantAssociatedEntityClassCode(DiagnosticChain diagnostics, @@ -517,7 +513,7 @@ boolean validateProcedureNote2ParticipantAssociatedEntityClassCode(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateProcedureNote2ParticipantAssociatedEntityAssociatedPerson(DiagnosticChain diagnostics, @@ -530,7 +526,7 @@ boolean validateProcedureNote2ParticipantAssociatedEntityAssociatedPerson(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject(typeCode=vocab::ParticipationType::IND)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject(typeCode=vocab::ParticipationType::IND)'" * @generated */ boolean validateProcedureNote2ParticipantTypeCode(DiagnosticChain diagnostics, Map context); @@ -542,7 +538,7 @@ boolean validateProcedureNote2ParticipantAssociatedEntityAssociatedPerson(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.code = \'PCP\' and value.codeSystem = \'2.16.840.1.113883.5.88\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.code = \'PCP\' and value.codeSystem = \'2.16.840.1.113883.5.88\'))'" * @generated */ boolean validateProcedureNote2ParticipantFunctionCode(DiagnosticChain diagnostics, Map context); @@ -554,7 +550,7 @@ boolean validateProcedureNote2ParticipantAssociatedEntityAssociatedPerson(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2ParticipantFunctionCodeP(DiagnosticChain diagnostics, Map context); @@ -566,7 +562,7 @@ boolean validateProcedureNote2ParticipantAssociatedEntityAssociatedPerson(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateProcedureNote2ParticipantAssociatedEntity(DiagnosticChain diagnostics, Map context); @@ -578,7 +574,7 @@ boolean validateProcedureNote2ParticipantAssociatedEntityAssociatedPerson(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow(DiagnosticChain diagnostics, @@ -591,7 +587,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -604,7 +600,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntityCode(DiagnosticChain diagnostics, @@ -617,7 +613,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PPRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PPRF)'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerTypeCode(DiagnosticChain diagnostics, @@ -630,7 +626,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerTypeCode(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntity(DiagnosticChain diagnostics, @@ -643,7 +639,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCodeP( @@ -656,7 +652,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCode( @@ -669,7 +665,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::SPRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->reject(typeCode=vocab::x_ServiceEventPerformer::SPRF)'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsTypeCode(DiagnosticChain diagnostics, @@ -682,7 +678,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsType * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntity( @@ -695,7 +691,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth( @@ -708,7 +704,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTimeHasHighWhe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTimeNoHighIfWidth(DiagnosticChain diagnostics, @@ -721,7 +717,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTimeNoHighIfWi * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.104\' or code.codeSystem = \'2.16.840.1.113883.6.12\' or code.codeSystem = \'2.16.840.1.113883.6.96\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(code.codeSystem = \'2.16.840.1.113883.6.104\' or code.codeSystem = \'2.16.840.1.113883.6.12\' or code.codeSystem = \'2.16.840.1.113883.6.96\')'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventProcedureCodes(DiagnosticChain diagnostics, @@ -734,7 +730,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventProcedureCodes(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTime(DiagnosticChain diagnostics, @@ -747,7 +743,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTime(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventCode(DiagnosticChain diagnostics, @@ -760,7 +756,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventCode(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->notEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PPRF)->notEmpty())'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformer(DiagnosticChain diagnostics, @@ -773,7 +769,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformer(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->notEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::SPRF)->notEmpty())'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistants(DiagnosticChain diagnostics, @@ -786,7 +782,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistants(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateProcedureNote2DocumentationOfServiceEvent(DiagnosticChain diagnostics, Map context); @@ -798,7 +794,7 @@ boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistants(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClass::CONS)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClass::CONS)'" * @generated */ boolean validateProcedureNote2AuthorizationConsentClassCode(DiagnosticChain diagnostics, @@ -811,7 +807,7 @@ boolean validateProcedureNote2AuthorizationConsentClassCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject(isDefined(\'moodCode\') and moodCode=vocab::ActMood::EVN)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject(isDefined(\'moodCode\') and moodCode=vocab::ActMood::EVN)'" * @generated */ boolean validateProcedureNote2AuthorizationConsentMoodCode(DiagnosticChain diagnostics, @@ -824,7 +820,7 @@ boolean validateProcedureNote2AuthorizationConsentMoodCode(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null).consent->excluding(null)->reject((statusCode.oclIsUndefined() or statusCode.isNullFlavorUndefined()) implies (not statusCode.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2AuthorizationConsentStatusCode(DiagnosticChain diagnostics, @@ -837,7 +833,7 @@ boolean validateProcedureNote2AuthorizationConsentStatusCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::AUTH)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(isDefined(\'typeCode\') and typeCode=vocab::ActRelationshipType::AUTH)'" * @generated */ boolean validateProcedureNote2AuthorizationTypeCode(DiagnosticChain diagnostics, Map context); @@ -849,7 +845,7 @@ boolean validateProcedureNote2AuthorizationConsentStatusCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(consent->one(consent : cda::Consent | not consent.oclIsUndefined() and consent.oclIsKindOf(cda::Consent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authorization->excluding(null)->reject(consent->one(consent : cda::Consent | not consent.oclIsUndefined() and consent.oclIsKindOf(cda::Consent)))'" * @generated */ boolean validateProcedureNote2AuthorizationConsent(DiagnosticChain diagnostics, Map context); @@ -861,7 +857,7 @@ boolean validateProcedureNote2AuthorizationConsentStatusCode(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(typeCode=vocab::x_EncounterParticipant::REF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).encounterParticipant->excluding(null)->reject(typeCode=vocab::x_EncounterParticipant::REF)'" * @generated */ boolean validateProcedureNote2ComponentOfEncompassingEncounterEncounterParticipantTypeCode( @@ -874,7 +870,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounterEncounterParticipa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null).healthCareFacility->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null).healthCareFacility->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateProcedureNote2ComponentOfEncompassingEncounterLocationHealthCareFacilityId( @@ -887,7 +883,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounterLocationHealthCare * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null)->reject(healthCareFacility->one(healthCareFacility : cda::HealthCareFacility | not healthCareFacility.oclIsUndefined() and healthCareFacility.oclIsKindOf(cda::HealthCareFacility)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null)->reject(healthCareFacility->one(healthCareFacility : cda::HealthCareFacility | not healthCareFacility.oclIsUndefined() and healthCareFacility.oclIsKindOf(cda::HealthCareFacility)))'" * @generated */ boolean validateProcedureNote2ComponentOfEncompassingEncounterLocationHealthCareFacility( @@ -900,7 +896,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounterLocationHealthCare * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateProcedureNote2ComponentOfEncompassingEncounterId(DiagnosticChain diagnostics, @@ -913,7 +909,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounterId(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateProcedureNote2ComponentOfEncompassingEncounterCode(DiagnosticChain diagnostics, @@ -926,7 +922,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounterCode(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(encounterParticipant->one(encounterParticipant : cda::EncounterParticipant | not encounterParticipant.oclIsUndefined() and encounterParticipant.oclIsKindOf(cda::EncounterParticipant)))'" * @generated */ boolean validateProcedureNote2ComponentOfEncompassingEncounterEncounterParticipant(DiagnosticChain diagnostics, @@ -939,7 +935,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounterEncounterParticipa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->exists(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(cda::Location)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->exists(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(cda::Location)))'" * @generated */ boolean validateProcedureNote2ComponentOfEncompassingEncounterLocation(DiagnosticChain diagnostics, @@ -952,7 +948,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounterLocation(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -962,7 +958,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection2))->asSequence()->any(true).oclAsType(consol::ComplicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ComplicationsSection2))->asSequence()->any(true).oclAsType(consol::ComplicationsSection2)'" * @generated */ ComplicationsSection2 getComplicationsSection2(); @@ -971,7 +967,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDescriptionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDescriptionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDescriptionSection)'" * @generated */ ProcedureDescriptionSection getProcedureDescriptionSection(); @@ -980,7 +976,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection2))->asSequence()->any(true).oclAsType(consol::ProcedureIndicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureIndicationsSection2))->asSequence()->any(true).oclAsType(consol::ProcedureIndicationsSection2)'" * @generated */ ProcedureIndicationsSection2 getProcedureIndicationsSection2(); @@ -989,7 +985,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostprocedureDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::PostprocedureDiagnosisSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PostprocedureDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::PostprocedureDiagnosisSection2)'" * @generated */ PostprocedureDiagnosisSection2 getPostprocedureDiagnosisSection2(); @@ -998,7 +994,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -1007,7 +1003,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" * @generated */ AssessmentAndPlanSection2 getAssessmentAndPlanSection2(); @@ -1016,7 +1012,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -1025,7 +1021,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional2)'" * @generated */ AllergiesSectionEntriesOptional2 getAllergiesSectionEntriesOptional2(); @@ -1034,7 +1030,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection2))->asSequence()->any(true).oclAsType(consol::AnesthesiaSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AnesthesiaSection2))->asSequence()->any(true).oclAsType(consol::AnesthesiaSection2)'" * @generated */ AnesthesiaSection2 getAnesthesiaSection2(); @@ -1043,7 +1039,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -1052,7 +1048,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintAndReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintAndReasonForVisitSection)'" * @generated */ ChiefComplaintAndReasonForVisitSection getChiefComplaintAndReasonForVisitSection(); @@ -1061,7 +1057,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" * @generated */ FamilyHistorySection2 getFamilyHistorySection2(); @@ -1070,7 +1066,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" * @generated */ HistoryOfPastIllnessSection2 getHistoryOfPastIllnessSection2(); @@ -1079,7 +1075,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -1088,7 +1084,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalHistorySection))->asSequence()->any(true).oclAsType(consol::MedicalHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalHistorySection))->asSequence()->any(true).oclAsType(consol::MedicalHistorySection)'" * @generated */ MedicalHistorySection getMedicalHistorySection(); @@ -1097,7 +1093,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional2)'" * @generated */ MedicationsSectionEntriesOptional2 getMedicationsSectionEntriesOptional2(); @@ -1106,7 +1102,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsAdministeredSection2))->asSequence()->any(true).oclAsType(consol::MedicationsAdministeredSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsAdministeredSection2))->asSequence()->any(true).oclAsType(consol::MedicationsAdministeredSection2)'" * @generated */ MedicationsAdministeredSection2 getMedicationsAdministeredSection2(); @@ -1115,7 +1111,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" * @generated */ PhysicalExamSection2 getPhysicalExamSection2(); @@ -1124,7 +1120,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection2))->asSequence()->any(true).oclAsType(consol::PlannedProcedureSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlannedProcedureSection2))->asSequence()->any(true).oclAsType(consol::PlannedProcedureSection2)'" * @generated */ PlannedProcedureSection2 getPlannedProcedureSection2(); @@ -1133,7 +1129,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDispositionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureDispositionSection))->asSequence()->any(true).oclAsType(consol::ProcedureDispositionSection)'" * @generated */ ProcedureDispositionSection getProcedureDispositionSection(); @@ -1142,7 +1138,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))->asSequence()->any(true).oclAsType(consol::ProcedureEstimatedBloodLossSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureEstimatedBloodLossSection))->asSequence()->any(true).oclAsType(consol::ProcedureEstimatedBloodLossSection)'" * @generated */ ProcedureEstimatedBloodLossSection getProcedureEstimatedBloodLossSection(); @@ -1151,7 +1147,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection2))->asSequence()->any(true).oclAsType(consol::ProcedureFindingsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureFindingsSection2))->asSequence()->any(true).oclAsType(consol::ProcedureFindingsSection2)'" * @generated */ ProcedureFindingsSection2 getProcedureFindingsSection2(); @@ -1160,7 +1156,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))->asSequence()->any(true).oclAsType(consol::ProcedureImplantsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureImplantsSection))->asSequence()->any(true).oclAsType(consol::ProcedureImplantsSection)'" * @generated */ ProcedureImplantsSection getProcedureImplantsSection(); @@ -1169,7 +1165,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))->asSequence()->any(true).oclAsType(consol::ProcedureSpecimensTakenSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProcedureSpecimensTakenSection))->asSequence()->any(true).oclAsType(consol::ProcedureSpecimensTakenSection)'" * @generated */ ProcedureSpecimensTakenSection getProcedureSpecimensTakenSection(); @@ -1178,7 +1174,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" * @generated */ ProceduresSectionEntriesOptional2 getProceduresSectionEntriesOptional2(); @@ -1187,7 +1183,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForVisitSection))->asSequence()->any(true).oclAsType(consol::ReasonForVisitSection)'" * @generated */ ReasonForVisitSection getReasonForVisitSection(); @@ -1196,7 +1192,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -1205,7 +1201,7 @@ boolean validateProcedureNote2ComponentOfEncompassingEncounter(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" * @generated */ SocialHistorySection2 getSocialHistorySection2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureSpecimensTakenSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureSpecimensTakenSection.java index 0fa4692510..31ffc0dd0c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureSpecimensTakenSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProcedureSpecimensTakenSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface ProcedureSpecimensTakenSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.31\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.31\')'" * @generated */ boolean validateProcedureSpecimensTakenSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSection.java index 46aad74b2f..389cca7d98 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSection.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -36,7 +32,7 @@ public interface ProceduresSection extends ProceduresSectionEntriesOptional { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies self.getActs()->exists(a : cda::Act | a.oclIsKindOf(consol::ProcedureActivityAct)) or self.getObservations()->exists(o : cda::Observation | o.oclIsKindOf(consol::ProcedureActivityObservation)) or self.getProcedures()->exists(p : cda::Procedure | p.oclIsKindOf(consol::ProcedureActivityProcedure))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies self.getActs()->exists(a : cda::Act | a.oclIsKindOf(consol::ProcedureActivityAct)) or self.getObservations()->exists(o : cda::Observation | o.oclIsKindOf(consol::ProcedureActivityObservation)) or self.getProcedures()->exists(p : cda::Procedure | p.oclIsKindOf(consol::ProcedureActivityProcedure))'" * @generated */ boolean validateProceduresSectionHasProcedureActivity(DiagnosticChain diagnostics, Map context); @@ -60,7 +56,7 @@ public interface ProceduresSection extends ProceduresSectionEntriesOptional { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::ProcedureActivityProcedure))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::ProcedureActivityProcedure))'" * @generated */ boolean validateProceduresSectionProcedureActivityProcedure(DiagnosticChain diagnostics, @@ -73,7 +69,7 @@ boolean validateProceduresSectionProcedureActivityProcedure(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProcedureActivityObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProcedureActivityObservation))'" * @generated */ boolean validateProceduresSectionProcedureActivityObservation(DiagnosticChain diagnostics, @@ -86,7 +82,7 @@ boolean validateProceduresSectionProcedureActivityObservation(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::ProcedureActivityAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::ProcedureActivityAct))'" * @generated */ boolean validateProceduresSectionProcedureActivityAct(DiagnosticChain diagnostics, Map context); @@ -95,7 +91,7 @@ boolean validateProceduresSectionProcedureActivityObservation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure)).oclAsType(consol::ProcedureActivityProcedure)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure)).oclAsType(consol::ProcedureActivityProcedure)'" * @generated */ EList getConsolProcedureActivityProcedures(); @@ -104,7 +100,7 @@ boolean validateProceduresSectionProcedureActivityObservation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation)).oclAsType(consol::ProcedureActivityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation)).oclAsType(consol::ProcedureActivityObservation)'" * @generated */ EList getConsolProcedureActivityObservations(); @@ -113,7 +109,7 @@ boolean validateProceduresSectionProcedureActivityObservation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct)).oclAsType(consol::ProcedureActivityAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct)).oclAsType(consol::ProcedureActivityAct)'" * @generated */ EList getConsolProcedureActivityActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSection2.java index e3b90d6488..9df5032678 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface ProceduresSection2 extends ProceduresSectionEntriesOptional2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies self.getActs()->exists(a : cda::Act | a.oclIsKindOf(consol::ProcedureActivityAct)) or self.getObservations()->exists(o : cda::Observation | o.oclIsKindOf(consol::ProcedureActivityObservation)) or self.getProcedures()->exists(p : cda::Procedure | p.oclIsKindOf(consol::ProcedureActivityProcedure))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies self.getActs()->exists(a : cda::Act | a.oclIsKindOf(consol::ProcedureActivityAct)) or self.getObservations()->exists(o : cda::Observation | o.oclIsKindOf(consol::ProcedureActivityObservation)) or self.getProcedures()->exists(p : cda::Procedure | p.oclIsKindOf(consol::ProcedureActivityProcedure))'" * @generated */ boolean validateProceduresSection2HasProcedureActivity(DiagnosticChain diagnostics, Map context); @@ -79,7 +75,7 @@ public interface ProceduresSection2 extends ProceduresSectionEntriesOptional2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.oclIsUndefined() and entry.oclIsKindOf(cda::Entry))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.oclIsUndefined() and entry.oclIsKindOf(cda::Entry))'" * @generated */ boolean validateProceduresSection2Entry(DiagnosticChain diagnostics, Map context); @@ -91,7 +87,7 @@ public interface ProceduresSection2 extends ProceduresSectionEntriesOptional2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(act->one(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(act->one(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct2)))'" * @generated */ boolean validateProceduresSection2EntryProcedureActivityAct2(DiagnosticChain diagnostics, @@ -104,7 +100,7 @@ boolean validateProceduresSection2EntryProcedureActivityAct2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(observation->one(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation2)))'" * @generated */ boolean validateProceduresSection2EntryProcedureActivityObservation2(DiagnosticChain diagnostics, @@ -117,7 +113,7 @@ boolean validateProceduresSection2EntryProcedureActivityObservation2(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(procedure->one(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entry->excluding(null)->reject(procedure->one(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)))'" * @generated */ boolean validateProceduresSection2EntryProcedureActivityProcedure2(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSectionEntriesOptional.java index eb1e09a8a6..b7e504039f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -38,7 +33,7 @@ public interface ProceduresSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.7\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.7\')'" * @generated */ boolean validateProceduresSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, @@ -99,7 +94,7 @@ boolean validateProceduresSectionEntriesOptionalTemplateId(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::ProcedureActivityProcedure))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.procedure.oclIsUndefined() and entry.procedure.oclIsKindOf(consol::ProcedureActivityProcedure))'" * @generated */ boolean validateProceduresSectionEntriesOptionalProcedureActivityProcedure(DiagnosticChain diagnostics, @@ -112,7 +107,7 @@ boolean validateProceduresSectionEntriesOptionalProcedureActivityProcedure(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProcedureActivityObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::ProcedureActivityObservation))'" * @generated */ boolean validateProceduresSectionEntriesOptionalProcedureActivityObservation(DiagnosticChain diagnostics, @@ -125,7 +120,7 @@ boolean validateProceduresSectionEntriesOptionalProcedureActivityObservation(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::ProcedureActivityAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::ProcedureActivityAct))'" * @generated */ boolean validateProceduresSectionEntriesOptionalProcedureActivityAct(DiagnosticChain diagnostics, @@ -135,7 +130,7 @@ boolean validateProceduresSectionEntriesOptionalProcedureActivityAct(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure)).oclAsType(consol::ProcedureActivityProcedure)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure)).oclAsType(consol::ProcedureActivityProcedure)'" * @generated */ EList getProcedureActivityProcedures(); @@ -144,7 +139,7 @@ boolean validateProceduresSectionEntriesOptionalProcedureActivityAct(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation)).oclAsType(consol::ProcedureActivityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation)).oclAsType(consol::ProcedureActivityObservation)'" * @generated */ EList getProcedureActivityObservations(); @@ -153,7 +148,7 @@ boolean validateProceduresSectionEntriesOptionalProcedureActivityAct(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct)).oclAsType(consol::ProcedureActivityAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct)).oclAsType(consol::ProcedureActivityAct)'" * @generated */ EList getProcedureActivityActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSectionEntriesOptional2.java index 56155e4f63..428b78280f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProceduresSectionEntriesOptional2.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -25,7 +21,7 @@ public interface ProceduresSectionEntriesOptional2 extends ProceduresSectionEntr * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" * @generated */ EList getConsolProcedureActivityProcedure2s(); @@ -34,7 +30,7 @@ public interface ProceduresSectionEntriesOptional2 extends ProceduresSectionEntr * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation2)).oclAsType(consol::ProcedureActivityObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProcedureActivityObservation2)).oclAsType(consol::ProcedureActivityObservation2)'" * @generated */ EList getConsolProcedureActivityObservation2s(); @@ -43,7 +39,7 @@ public interface ProceduresSectionEntriesOptional2 extends ProceduresSectionEntr * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct2)).oclAsType(consol::ProcedureActivityAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProcedureActivityAct2)).oclAsType(consol::ProcedureActivityAct2)'" * @generated */ EList getConsolProcedureActivityAct2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProductInstance.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProductInstance.java index 36d5586a2e..299bfa2baa 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProductInstance.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProductInstance.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.ParticipantRole; /** @@ -40,7 +35,7 @@ public interface ProductInstance extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.37\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.37\')'" * @generated */ boolean validateProductInstanceTemplateId(DiagnosticChain diagnostics, Map context); @@ -64,7 +59,7 @@ public interface ProductInstance extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateProductInstanceId(DiagnosticChain diagnostics, Map context); @@ -76,7 +71,7 @@ public interface ProductInstance extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.scopingEntity->one(scopingEntity : cda::Entity | not scopingEntity.oclIsUndefined() and scopingEntity.oclIsKindOf(cda::Entity))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.scopingEntity->one(scopingEntity : cda::Entity | not scopingEntity.oclIsUndefined() and scopingEntity.oclIsKindOf(cda::Entity))'" * @generated */ boolean validateProductInstanceScopingEntity(DiagnosticChain diagnostics, Map context); @@ -88,7 +83,7 @@ public interface ProductInstance extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingDevice->one(playingDevice : cda::Device | not playingDevice.oclIsUndefined() and playingDevice.oclIsKindOf(cda::Device))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingDevice->one(playingDevice : cda::Device | not playingDevice.oclIsUndefined() and playingDevice.oclIsKindOf(cda::Device))'" * @generated */ boolean validateProductInstancePlayingDevice(DiagnosticChain diagnostics, Map context); @@ -100,7 +95,7 @@ public interface ProductInstance extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.scopingEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.scopingEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateProductInstanceScopingEntityId(DiagnosticChain diagnostics, Map context); @@ -112,7 +107,7 @@ public interface ProductInstance extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingDevice->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingDevice->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateProductInstancePlayingDeviceCode(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PrognosisObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PrognosisObservation.java index 1975e165c2..f61997cc4f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PrognosisObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PrognosisObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface PrognosisObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.113\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.113\')'" * @generated */ boolean validatePrognosisObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface PrognosisObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validatePrognosisObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressNote.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressNote.java index 30f5f14865..bba78c4e14 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressNote.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressNote.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -36,7 +32,7 @@ public interface ProgressNote extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateProgressNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( @@ -49,7 +45,7 @@ boolean validateProgressNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPl * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent( @@ -74,7 +70,7 @@ boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAsse * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateProgressNoteDocumentationOf(DiagnosticChain diagnostics, Map context); @@ -86,7 +82,7 @@ boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAsse * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateProgressNoteComponentOf(DiagnosticChain diagnostics, Map context); @@ -98,7 +94,7 @@ boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAsse * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateProgressNoteAssessmentSection(DiagnosticChain diagnostics, Map context); @@ -110,7 +106,7 @@ boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAsse * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))'" * @generated */ boolean validateProgressNotePlanOfCareSection(DiagnosticChain diagnostics, Map context); @@ -122,7 +118,7 @@ boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAsse * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))'" * @generated */ boolean validateProgressNoteAssessmentAndPlanSection(DiagnosticChain diagnostics, Map context); @@ -134,7 +130,7 @@ boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAsse * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))'" * @generated */ boolean validateProgressNoteAllergiesSectionEntriesOptional(DiagnosticChain diagnostics, @@ -147,7 +143,7 @@ boolean validateProgressNoteAllergiesSectionEntriesOptional(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateProgressNoteChiefComplaintSection(DiagnosticChain diagnostics, Map context); @@ -159,7 +155,7 @@ boolean validateProgressNoteAllergiesSectionEntriesOptional(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection))'" * @generated */ boolean validateProgressNoteInterventionsSection(DiagnosticChain diagnostics, Map context); @@ -171,7 +167,7 @@ boolean validateProgressNoteAllergiesSectionEntriesOptional(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))'" * @generated */ boolean validateProgressNoteMedicationsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -184,7 +180,7 @@ boolean validateProgressNoteMedicationsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ObjectiveSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ObjectiveSection))'" * @generated */ boolean validateProgressNoteObjectiveSection(DiagnosticChain diagnostics, Map context); @@ -196,7 +192,7 @@ boolean validateProgressNoteMedicationsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))'" * @generated */ boolean validateProgressNotePhysicalExamSection(DiagnosticChain diagnostics, Map context); @@ -208,7 +204,7 @@ boolean validateProgressNoteMedicationsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))'" * @generated */ boolean validateProgressNoteProblemSectionEntriesOptional(DiagnosticChain diagnostics, Map context); @@ -220,7 +216,7 @@ boolean validateProgressNoteMedicationsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))'" * @generated */ boolean validateProgressNoteResultsSectionEntriesOptional(DiagnosticChain diagnostics, Map context); @@ -232,7 +228,7 @@ boolean validateProgressNoteMedicationsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateProgressNoteReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -244,7 +240,7 @@ boolean validateProgressNoteMedicationsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SubjectiveSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SubjectiveSection))'" * @generated */ boolean validateProgressNoteSubjectiveSection(DiagnosticChain diagnostics, Map context); @@ -256,7 +252,7 @@ boolean validateProgressNoteMedicationsSectionEntriesOptional(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))'" * @generated */ boolean validateProgressNoteVitalSignsSectionEntriesOptional(DiagnosticChain diagnostics, @@ -269,7 +265,7 @@ boolean validateProgressNoteVitalSignsSectionEntriesOptional(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection))'" * @generated */ boolean validateProgressNoteInstructionsSection(DiagnosticChain diagnostics, Map context); @@ -281,7 +277,7 @@ boolean validateProgressNoteVitalSignsSectionEntriesOptional(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(effectiveTime->forAll(not low.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(effectiveTime->forAll(not low.oclIsUndefined()))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTimeLow(DiagnosticChain diagnostics, @@ -294,7 +290,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTimeLow(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(effectiveTime->forAll(width.oclIsUndefined() implies not high.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(effectiveTime->forAll(width.oclIsUndefined() implies not high.oclIsUndefined()))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTimeHigh(DiagnosticChain diagnostics, @@ -307,7 +303,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTimeHigh(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 8) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 8))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 8) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 8))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheDay(DiagnosticChain diagnostics, @@ -320,7 +316,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheDay(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 12) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 12))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 12) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 12))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheMinute(DiagnosticChain diagnostics, @@ -333,7 +329,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheMinute(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 14) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 14))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() implies effectiveTime.low.value.size() >= 14) and (not effectiveTime.high.value.oclIsUndefined() implies effectiveTime.high.value.size() >= 14))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheSecond(DiagnosticChain diagnostics, @@ -346,7 +342,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheSecond(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() and effectiveTime.low.value.size() > 8 implies effectiveTime.low.value.size() >= 15) and (not effectiveTime.high.value.oclIsUndefined() and effectiveTime.high.value.size() > 8 implies effectiveTime.high.value.size() >= 15))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((not effectiveTime.low.value.oclIsUndefined() and effectiveTime.low.value.size() > 8 implies effectiveTime.low.value.size() >= 15) and (not effectiveTime.high.value.oclIsUndefined() and effectiveTime.high.value.size() > 8 implies effectiveTime.high.value.size() >= 15))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2IfMorePreciseThanDayIncludeTimeZoneOffset( @@ -359,7 +355,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2IfMorePreciseThanDayIncl * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.3.1\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.3.1\'))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2TemplateId(DiagnosticChain diagnostics, @@ -372,7 +368,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2TemplateId(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2ClassCode(DiagnosticChain diagnostics, @@ -385,7 +381,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2ClassCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTime(DiagnosticChain diagnostics, @@ -398,7 +394,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTime(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateProgressNoteDocumentationOfServiceEvent2(DiagnosticChain diagnostics, Map context); @@ -410,7 +406,7 @@ boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTime(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null).healthCareFacility->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null).healthCareFacility->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6LocationHealthCareFacility1Id( @@ -423,7 +419,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6LocationHealthCareF * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null)->reject(healthCareFacility->one(healthCareFacility : cda::HealthCareFacility | not healthCareFacility.oclIsUndefined() and healthCareFacility.oclIsKindOf(cda::HealthCareFacility)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null)->reject(healthCareFacility->one(healthCareFacility : cda::HealthCareFacility | not healthCareFacility.oclIsUndefined() and healthCareFacility.oclIsKindOf(cda::HealthCareFacility)))'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6LocationHealthCareFacility(DiagnosticChain diagnostics, @@ -436,7 +432,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6LocationHealthCareF * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 8)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 8)'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheDay(DiagnosticChain diagnostics, @@ -449,7 +445,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheDay(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 12)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 12)'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheMinute(DiagnosticChain diagnostics, @@ -462,7 +458,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheMinute( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 14)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() implies effectiveTime.value.size() >= 14)'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheSecond(DiagnosticChain diagnostics, @@ -475,7 +471,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheSecond( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() and effectiveTime.value.size() > 8 implies effectiveTime.value.size() >= 15)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(not effectiveTime.value.oclIsUndefined() and effectiveTime.value.size() > 8 implies effectiveTime.value.size() >= 15)'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6IfMorePreciseThanDayIncludeTimeZoneOffset( @@ -488,7 +484,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6IfMorePreciseThanDa * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6EffectiveTime(DiagnosticChain diagnostics, @@ -501,7 +497,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6EffectiveTime(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6Id(DiagnosticChain diagnostics, @@ -514,7 +510,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6Id(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->one(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(cda::Location)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->one(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(cda::Location)))'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6Location(DiagnosticChain diagnostics, @@ -527,7 +523,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6Location(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain diagnostics, @@ -537,7 +533,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -546,7 +542,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfCareSection))->asSequence()->any(true).oclAsType(consol::PlanOfCareSection)'" * @generated */ PlanOfCareSection getPlanOfCareSection(); @@ -555,7 +551,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection)'" * @generated */ AssessmentAndPlanSection getAssessmentAndPlanSection(); @@ -564,7 +560,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional)'" * @generated */ AllergiesSectionEntriesOptional getAllergiesSectionEntriesOptional(); @@ -573,7 +569,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -582,7 +578,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection))->asSequence()->any(true).oclAsType(consol::InterventionsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection))->asSequence()->any(true).oclAsType(consol::InterventionsSection)'" * @generated */ InterventionsSection getInterventionsSection(); @@ -591,7 +587,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional)'" * @generated */ MedicationsSectionEntriesOptional getMedicationsSectionEntriesOptional(); @@ -600,7 +596,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ObjectiveSection))->asSequence()->any(true).oclAsType(consol::ObjectiveSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ObjectiveSection))->asSequence()->any(true).oclAsType(consol::ObjectiveSection)'" * @generated */ ObjectiveSection getObjectiveSection(); @@ -609,7 +605,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection)'" * @generated */ PhysicalExamSection getPhysicalExamSection(); @@ -618,7 +614,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional)'" * @generated */ ProblemSectionEntriesOptional getProblemSectionEntriesOptional(); @@ -627,7 +623,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional)'" * @generated */ ResultsSectionEntriesOptional getResultsSectionEntriesOptional(); @@ -636,7 +632,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -645,7 +641,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SubjectiveSection))->asSequence()->any(true).oclAsType(consol::SubjectiveSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SubjectiveSection))->asSequence()->any(true).oclAsType(consol::SubjectiveSection)'" * @generated */ SubjectiveSection getSubjectiveSection(); @@ -654,7 +650,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional)'" * @generated */ VitalSignsSectionEntriesOptional getVitalSignsSectionEntriesOptional(); @@ -663,7 +659,7 @@ boolean validateProgressNoteComponentOfEncompassingEncounter6(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection))->asSequence()->any(true).oclAsType(consol::InstructionsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection))->asSequence()->any(true).oclAsType(consol::InstructionsSection)'" * @generated */ InstructionsSection getInstructionsSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressNote2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressNote2.java index 504834688c..ba5b06e726 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressNote2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressNote2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -38,7 +34,7 @@ public interface ProgressNote2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateProgressNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( @@ -51,7 +47,7 @@ boolean validateProgressNote2HasAnAssementAndPlanSection2OrBothAssementSectionAn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent( @@ -88,7 +84,7 @@ boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateProgressNote2DocumentationOf(DiagnosticChain diagnostics, Map context); @@ -100,7 +96,7 @@ boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->one(componentOf : cda::Component1 | not componentOf.oclIsUndefined() and componentOf.oclIsKindOf(cda::Component1))'" * @generated */ boolean validateProgressNote2ComponentOf(DiagnosticChain diagnostics, Map context); @@ -112,7 +108,7 @@ boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateProgressNote2AssessmentSection(DiagnosticChain diagnostics, Map context); @@ -124,7 +120,7 @@ boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateProgressNote2PlanOfTreatmentSection2(DiagnosticChain diagnostics, Map context); @@ -136,7 +132,7 @@ boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateProgressNote2AssessmentAndPlanSection2(DiagnosticChain diagnostics, Map context); @@ -148,7 +144,7 @@ boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))'" * @generated */ boolean validateProgressNote2AllergiesSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -161,7 +157,7 @@ boolean validateProgressNote2AllergiesSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))'" * @generated */ boolean validateProgressNote2ChiefComplaintSection(DiagnosticChain diagnostics, Map context); @@ -173,7 +169,7 @@ boolean validateProgressNote2AllergiesSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection2))'" * @generated */ boolean validateProgressNote2InterventionsSection2(DiagnosticChain diagnostics, Map context); @@ -185,7 +181,7 @@ boolean validateProgressNote2AllergiesSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection2))'" * @generated */ boolean validateProgressNote2InstructionsSection2(DiagnosticChain diagnostics, Map context); @@ -197,7 +193,7 @@ boolean validateProgressNote2AllergiesSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))'" * @generated */ boolean validateProgressNote2MedicationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -210,7 +206,7 @@ boolean validateProgressNote2MedicationsSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ObjectiveSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ObjectiveSection))'" * @generated */ boolean validateProgressNote2ObjectiveSection(DiagnosticChain diagnostics, Map context); @@ -222,7 +218,7 @@ boolean validateProgressNote2MedicationsSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" * @generated */ boolean validateProgressNote2PhysicalExamSection2(DiagnosticChain diagnostics, Map context); @@ -234,7 +230,7 @@ boolean validateProgressNote2MedicationsSectionEntriesOptional2(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))'" * @generated */ boolean validateProgressNote2ProblemSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -247,7 +243,7 @@ boolean validateProgressNote2ProblemSectionEntriesOptional2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional2))'" * @generated */ boolean validateProgressNote2ResultsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -260,7 +256,7 @@ boolean validateProgressNote2ResultsSectionEntriesOptional2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateProgressNote2ReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -272,7 +268,7 @@ boolean validateProgressNote2ResultsSectionEntriesOptional2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SubjectiveSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SubjectiveSection))'" * @generated */ boolean validateProgressNote2SubjectiveSection(DiagnosticChain diagnostics, Map context); @@ -284,7 +280,7 @@ boolean validateProgressNote2ResultsSectionEntriesOptional2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))'" * @generated */ boolean validateProgressNote2VitalSignsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -297,7 +293,7 @@ boolean validateProgressNote2VitalSignsSectionEntriesOptional2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" * @generated */ boolean validateProgressNote2NutritionSection(DiagnosticChain diagnostics, Map context); @@ -309,7 +305,7 @@ boolean validateProgressNote2VitalSignsSectionEntriesOptional2(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateProgressNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow(DiagnosticChain diagnostics, @@ -322,7 +318,7 @@ boolean validateProgressNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(not effectiveTime.width.oclIsUndefined() xor not effectiveTime.high.oclIsUndefined())'" * @generated */ boolean validateProgressNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth(DiagnosticChain diagnostics, @@ -335,7 +331,7 @@ boolean validateProgressNote2DocumentationOfServiceEventEffectiveTimeHasHighWhen * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.3.1\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.3.1\'))'" * @generated */ boolean validateProgressNote2DocumentationOfServiceEventTemplateId(DiagnosticChain diagnostics, @@ -348,7 +344,7 @@ boolean validateProgressNote2DocumentationOfServiceEventTemplateId(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" * @generated */ boolean validateProgressNote2DocumentationOfServiceEventClassCode(DiagnosticChain diagnostics, @@ -361,7 +357,7 @@ boolean validateProgressNote2DocumentationOfServiceEventClassCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateProgressNote2DocumentationOfServiceEventEffectiveTime(DiagnosticChain diagnostics, @@ -374,7 +370,7 @@ boolean validateProgressNote2DocumentationOfServiceEventEffectiveTime(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateProgressNote2DocumentationOfServiceEvent(DiagnosticChain diagnostics, Map context); @@ -386,7 +382,7 @@ boolean validateProgressNote2DocumentationOfServiceEventEffectiveTime(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateProgressNote2ComponentOfEncompassingEncounterUSRealmDateAndTimeDTLow(DiagnosticChain diagnostics, @@ -399,7 +395,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounterUSRealmDateAndTimeD * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null).healthCareFacility->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null).healthCareFacility->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateProgressNote2ComponentOfEncompassingEncounterLocationHealthCareFacilityId( @@ -412,7 +408,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounterLocationHealthCareF * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null)->reject(healthCareFacility->one(healthCareFacility : cda::HealthCareFacility | not healthCareFacility.oclIsUndefined() and healthCareFacility.oclIsKindOf(cda::HealthCareFacility)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null).location->excluding(null)->reject(healthCareFacility->one(healthCareFacility : cda::HealthCareFacility | not healthCareFacility.oclIsUndefined() and healthCareFacility.oclIsKindOf(cda::HealthCareFacility)))'" * @generated */ boolean validateProgressNote2ComponentOfEncompassingEncounterLocationHealthCareFacility(DiagnosticChain diagnostics, @@ -425,7 +421,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounterLocationHealthCareF * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateProgressNote2ComponentOfEncompassingEncounterId(DiagnosticChain diagnostics, @@ -438,7 +434,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounterId(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject((effectiveTime.oclIsUndefined() or effectiveTime.isNullFlavorUndefined()) implies (not effectiveTime.oclIsUndefined()))'" * @generated */ boolean validateProgressNote2ComponentOfEncompassingEncounterEffectiveTime(DiagnosticChain diagnostics, @@ -451,7 +447,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounterEffectiveTime(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->one(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(cda::Location)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null).encompassingEncounter->excluding(null)->reject(location->one(location : cda::Location | not location.oclIsUndefined() and location.oclIsKindOf(cda::Location)))'" * @generated */ boolean validateProgressNote2ComponentOfEncompassingEncounterLocation(DiagnosticChain diagnostics, @@ -464,7 +460,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounterLocation(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.componentOf->excluding(null)->reject(encompassingEncounter->one(encompassingEncounter : cda::EncompassingEncounter | not encompassingEncounter.oclIsUndefined() and encompassingEncounter.oclIsKindOf(cda::EncompassingEncounter)))'" * @generated */ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain diagnostics, @@ -474,7 +470,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -483,7 +479,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -492,7 +488,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" * @generated */ AssessmentAndPlanSection2 getAssessmentAndPlanSection2(); @@ -501,7 +497,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AllergiesSectionEntriesOptional2)'" * @generated */ AllergiesSectionEntriesOptional2 getAllergiesSectionEntriesOptional2(); @@ -510,7 +506,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ChiefComplaintSection))->asSequence()->any(true).oclAsType(consol::ChiefComplaintSection)'" * @generated */ ChiefComplaintSection getChiefComplaintSection(); @@ -519,7 +515,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection2))->asSequence()->any(true).oclAsType(consol::InterventionsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InterventionsSection2))->asSequence()->any(true).oclAsType(consol::InterventionsSection2)'" * @generated */ InterventionsSection2 getInterventionsSection2(); @@ -528,7 +524,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection2))->asSequence()->any(true).oclAsType(consol::InstructionsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::InstructionsSection2))->asSequence()->any(true).oclAsType(consol::InstructionsSection2)'" * @generated */ InstructionsSection2 getInstructionsSection2(); @@ -537,7 +533,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::MedicationsSectionEntriesOptional2)'" * @generated */ MedicationsSectionEntriesOptional2 getMedicationsSectionEntriesOptional2(); @@ -546,7 +542,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ObjectiveSection))->asSequence()->any(true).oclAsType(consol::ObjectiveSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ObjectiveSection))->asSequence()->any(true).oclAsType(consol::ObjectiveSection)'" * @generated */ ObjectiveSection getObjectiveSection(); @@ -555,7 +551,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" * @generated */ PhysicalExamSection2 getPhysicalExamSection2(); @@ -564,7 +560,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProblemSectionEntriesOptional2)'" * @generated */ ProblemSectionEntriesOptional2 getProblemSectionEntriesOptional2(); @@ -573,7 +569,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ResultsSectionEntriesOptional2)'" * @generated */ ResultsSectionEntriesOptional2 getResultsSectionEntriesOptional2(); @@ -582,7 +578,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -591,7 +587,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SubjectiveSection))->asSequence()->any(true).oclAsType(consol::SubjectiveSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SubjectiveSection))->asSequence()->any(true).oclAsType(consol::SubjectiveSection)'" * @generated */ SubjectiveSection getSubjectiveSection(); @@ -600,7 +596,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::VitalSignsSectionEntriesOptional2)'" * @generated */ VitalSignsSectionEntriesOptional2 getVitalSignsSectionEntriesOptional2(); @@ -609,7 +605,7 @@ boolean validateProgressNote2ComponentOfEncompassingEncounter(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" * @generated */ NutritionSection getNutritionSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressTowardGoalObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressTowardGoalObservation.java index 2f344144e5..13659cd6a5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressTowardGoalObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ProgressTowardGoalObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface ProgressTowardGoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.110\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.110\')'" * @generated */ boolean validateProgressTowardGoalObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface ProgressTowardGoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateProgressTowardGoalObservationId(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface ProgressTowardGoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'390801001\' or value.code = \'390802008\' or value.code = \'706905005\' or value.code = \'706906006\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'390801001\' or value.code = \'390802008\' or value.code = \'706905005\' or value.code = \'706906006\')))'" * @generated */ boolean validateProgressTowardGoalObservationValue(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface ProgressTowardGoalObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateProgressTowardGoalObservationValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PurposeofReferenceObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PurposeofReferenceObservation.java index 351600c2fd..e1c5a8d58d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PurposeofReferenceObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/PurposeofReferenceObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -45,7 +40,7 @@ boolean validatePurposeofReferenceObservationCodeCodeSystem(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.9\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.9\')'" * @generated */ boolean validatePurposeofReferenceObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ boolean validatePurposeofReferenceObservationCodeCodeSystem(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'1.2.840.10008.2.16.4\' and (value.code = \'121079\' or value.code = \'121080\' or value.code = \'121112\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'1.2.840.10008.2.16.4\' and (value.code = \'121079\' or value.code = \'121080\' or value.code = \'121112\')))'" * @generated */ boolean validatePurposeofReferenceObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/QuantityMeasurementObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/QuantityMeasurementObservation.java index 7778c27e80..ff8658e285 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/QuantityMeasurementObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/QuantityMeasurementObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -59,7 +54,7 @@ boolean validateQuantityMeasurementObservationCodeCodeSystemDICOM(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.14\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.14\')'" * @generated */ boolean validateQuantityMeasurementObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -120,7 +115,7 @@ boolean validateQuantityMeasurementObservationEffectiveTime(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::PQ)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::PQ)))'" * @generated */ boolean validateQuantityMeasurementObservationValue(DiagnosticChain diagnostics, Map context); @@ -132,7 +127,7 @@ boolean validateQuantityMeasurementObservationEffectiveTime(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" * @generated */ boolean validateQuantityMeasurementObservationSOPInstanceObservation(DiagnosticChain diagnostics, @@ -142,7 +137,7 @@ boolean validateQuantityMeasurementObservationSOPInstanceObservation(DiagnosticC * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" * @generated */ EList getSOPInstanceObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReactionObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReactionObservation.java index b19f9afeb9..281a86b2e9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReactionObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReactionObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -33,7 +28,7 @@ public interface ReactionObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateReactionObservationTextReference(DiagnosticChain diagnostics, Map context); @@ -45,7 +40,7 @@ public interface ReactionObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateReactionObservationTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface ReactionObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::SeverityObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::SeverityObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateReactionObservationSeverityObservationInversionInd(DiagnosticChain diagnostics, @@ -106,7 +101,7 @@ boolean validateReactionObservationSeverityObservationInversionInd(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.procedure.oclIsTypeOf(consol::ProcedureActivityProcedure))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.procedure.oclIsTypeOf(consol::ProcedureActivityProcedure))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateReactionObservationProcedureActivityProcedureInversionInd(DiagnosticChain diagnostics, @@ -119,7 +114,7 @@ boolean validateReactionObservationProcedureActivityProcedureInversionInd(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.substanceAdministration.oclIsTypeOf(consol::MedicationActivity))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.substanceAdministration.oclIsTypeOf(consol::MedicationActivity))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateReactionObservationMedicationActivityInversionInd(DiagnosticChain diagnostics, @@ -132,7 +127,7 @@ boolean validateReactionObservationMedicationActivityInversionInd(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.9\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.9\')'" * @generated */ boolean validateReactionObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -168,7 +163,7 @@ boolean validateReactionObservationMedicationActivityInversionInd(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (self.id->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (self.id->size() = 1)'" * @generated */ boolean validateReactionObservationId(DiagnosticChain diagnostics, Map context); @@ -228,7 +223,7 @@ boolean validateReactionObservationMedicationActivityInversionInd(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateReactionObservationValue(DiagnosticChain diagnostics, Map context); @@ -240,7 +235,7 @@ boolean validateReactionObservationMedicationActivityInversionInd(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateReactionObservationValueP(DiagnosticChain diagnostics, Map context); @@ -252,7 +247,7 @@ boolean validateReactionObservationMedicationActivityInversionInd(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SeverityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SeverityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateReactionObservationSeverityObservation(DiagnosticChain diagnostics, Map context); @@ -264,7 +259,7 @@ boolean validateReactionObservationMedicationActivityInversionInd(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::ProcedureActivityProcedure) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.procedure.oclIsUndefined() and entryRelationship.procedure.oclIsKindOf(consol::ProcedureActivityProcedure) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateReactionObservationProcedureActivityProcedure(DiagnosticChain diagnostics, @@ -277,7 +272,7 @@ boolean validateReactionObservationProcedureActivityProcedure(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.substanceAdministration.oclIsUndefined() and entryRelationship.substanceAdministration.oclIsKindOf(consol::MedicationActivity) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateReactionObservationMedicationActivity(DiagnosticChain diagnostics, Map context); @@ -286,7 +281,7 @@ boolean validateReactionObservationProcedureActivityProcedure(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation))->asSequence()->any(true).oclAsType(consol::SeverityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation))->asSequence()->any(true).oclAsType(consol::SeverityObservation)'" * @generated */ SeverityObservation getSeverityObservation(); @@ -295,7 +290,7 @@ boolean validateReactionObservationProcedureActivityProcedure(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure)).oclAsType(consol::ProcedureActivityProcedure)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure)).oclAsType(consol::ProcedureActivityProcedure)'" * @generated */ EList getProcedureActivityProcedures(); @@ -304,7 +299,7 @@ boolean validateReactionObservationProcedureActivityProcedure(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity)).oclAsType(consol::MedicationActivity)'" * @generated */ EList getMedicationActivities(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReactionObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReactionObservation2.java index f96d086221..c7afb15d09 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReactionObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReactionObservation2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -43,7 +39,7 @@ public interface ReactionObservation2 extends ReactionObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.9\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.9\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateReactionObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -76,7 +72,7 @@ public interface ReactionObservation2 extends ReactionObservation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getProcedures()->select(procedure : cda::Procedure | not procedure.oclIsUndefined() and procedure.oclIsKindOf(consol::ProcedureActivityProcedure2)).oclAsType(consol::ProcedureActivityProcedure2)'" * @generated */ EList getConsolProcedureActivityProcedure2s(); @@ -85,7 +81,7 @@ public interface ReactionObservation2 extends ReactionObservation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getSubstanceAdministrations()->select(substanceAdministration : cda::SubstanceAdministration | not substanceAdministration.oclIsUndefined() and substanceAdministration.oclIsKindOf(consol::MedicationActivity2)).oclAsType(consol::MedicationActivity2)'" * @generated */ EList getConsolMedicationActivity2s(); @@ -94,7 +90,7 @@ public interface ReactionObservation2 extends ReactionObservation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation2))->asSequence()->any(true).oclAsType(consol::SeverityObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation2))->asSequence()->any(true).oclAsType(consol::SeverityObservation2)'" * @generated */ SeverityObservation2 getConsolSeverityObservation2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForReferralSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForReferralSection.java index 50c7689b50..91865eff74 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForReferralSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForReferralSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface ReasonForReferralSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.1\')'" * @generated */ boolean validateReasonForReferralSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForReferralSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForReferralSection2.java index d3d7498c7f..1e925c85ee 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForReferralSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForReferralSection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface ReasonForReferralSection2 extends ReasonForReferralSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.1\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.1\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateReasonForReferralSection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface ReasonForReferralSection2 extends ReasonForReferralSection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PatientReferralAct))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.act.oclIsUndefined() and entry.act.oclIsKindOf(consol::PatientReferralAct))'" * @generated */ boolean validateReasonForReferralSection2PatientReferralAct(DiagnosticChain diagnostics, @@ -53,7 +49,7 @@ boolean validateReasonForReferralSection2PatientReferralAct(DiagnosticChain diag * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PatientReferralAct)).oclAsType(consol::PatientReferralAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PatientReferralAct)).oclAsType(consol::PatientReferralAct)'" * @generated */ EList getPatientReferralActs(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForVisitSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForVisitSection.java index dfe6788fe8..e4d62ca7bb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForVisitSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReasonForVisitSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface ReasonForVisitSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.12\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.12\')'" * @generated */ boolean validateReasonForVisitSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReferencedFramesObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReferencedFramesObservation.java index 1b2e61179e..5c7d7efb64 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReferencedFramesObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReferencedFramesObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface ReferencedFramesObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.10\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.10\')'" * @generated */ boolean validateReferencedFramesObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -80,7 +75,7 @@ public interface ReferencedFramesObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::BoundaryObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::BoundaryObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateReferencedFramesObservationBoundaryObservation(DiagnosticChain diagnostics, @@ -90,7 +85,7 @@ boolean validateReferencedFramesObservationBoundaryObservation(DiagnosticChain d * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::BoundaryObservation))->asSequence()->any(true).oclAsType(consol::BoundaryObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::BoundaryObservation))->asSequence()->any(true).oclAsType(consol::BoundaryObservation)'" * @generated */ BoundaryObservation getBoundaryObservation(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReferralNote.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReferralNote.java index 135ff536e5..85b38c2d54 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReferralNote.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReferralNote.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -39,7 +35,7 @@ public interface ReferralNote extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateReferralNoteHasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( @@ -52,7 +48,7 @@ boolean validateReferralNoteHasAnAssementAndPlanSection2OrBothAssementSectionAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateReferralNoteDoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent( @@ -89,7 +85,7 @@ boolean validateReferralNoteDoesNotHaveAssementAndPlanSection2WhenAssementAndPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->one(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->one(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" * @generated */ boolean validateReferralNoteInformationRecipient(DiagnosticChain diagnostics, Map context); @@ -101,7 +97,7 @@ boolean validateReferralNoteDoesNotHaveAssementAndPlanSection2WhenAssementAndPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode=vocab::ParticipationType::IND)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode=vocab::ParticipationType::IND)->notEmpty()'" * @generated */ boolean validateReferralNoteParticipantCaregiver(DiagnosticChain diagnostics, Map context); @@ -113,7 +109,7 @@ boolean validateReferralNoteDoesNotHaveAssementAndPlanSection2WhenAssementAndPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode=vocab::ParticipationType::CALLBCK)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode=vocab::ParticipationType::CALLBCK)->notEmpty()'" * @generated */ boolean validateReferralNoteParticipantCallbackContact(DiagnosticChain diagnostics, Map context); @@ -125,7 +121,7 @@ boolean validateReferralNoteDoesNotHaveAssementAndPlanSection2WhenAssementAndPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateReferralNotePlanOfTreatmentSection2(DiagnosticChain diagnostics, Map context); @@ -137,7 +133,7 @@ boolean validateReferralNoteDoesNotHaveAssementAndPlanSection2WhenAssementAndPla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))'" * @generated */ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -150,7 +146,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateReferralNoteHistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -163,7 +159,7 @@ boolean validateReferralNoteHistoryOfPresentIllnessSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection2))'" * @generated */ boolean validateReferralNoteImmunizationsSection2(DiagnosticChain diagnostics, Map context); @@ -175,7 +171,7 @@ boolean validateReferralNoteHistoryOfPresentIllnessSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))'" * @generated */ boolean validateReferralNoteProblemSection2(DiagnosticChain diagnostics, Map context); @@ -187,7 +183,7 @@ boolean validateReferralNoteHistoryOfPresentIllnessSection(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))'" * @generated */ boolean validateReferralNoteProceduresSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -200,7 +196,7 @@ boolean validateReferralNoteProceduresSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))'" * @generated */ boolean validateReferralNoteResultsSection2(DiagnosticChain diagnostics, Map context); @@ -212,7 +208,7 @@ boolean validateReferralNoteProceduresSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateReferralNoteReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -224,7 +220,7 @@ boolean validateReferralNoteProceduresSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" * @generated */ boolean validateReferralNoteSocialHistorySection2(DiagnosticChain diagnostics, Map context); @@ -236,7 +232,7 @@ boolean validateReferralNoteProceduresSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))'" * @generated */ boolean validateReferralNoteVitalSignsSection2(DiagnosticChain diagnostics, Map context); @@ -248,7 +244,7 @@ boolean validateReferralNoteProceduresSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" * @generated */ boolean validateReferralNoteFunctionalStatusSection2(DiagnosticChain diagnostics, Map context); @@ -260,7 +256,7 @@ boolean validateReferralNoteProceduresSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" * @generated */ boolean validateReferralNotePhysicalExamSection2(DiagnosticChain diagnostics, Map context); @@ -272,7 +268,7 @@ boolean validateReferralNoteProceduresSectionEntriesOptional2(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))'" * @generated */ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(DiagnosticChain diagnostics, @@ -285,7 +281,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" * @generated */ boolean validateReferralNoteNutritionSection(DiagnosticChain diagnostics, Map context); @@ -297,7 +293,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))'" * @generated */ boolean validateReferralNoteMentalStatusSection(DiagnosticChain diagnostics, Map context); @@ -309,7 +305,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))'" * @generated */ boolean validateReferralNoteMedicalEquipmentSection2(DiagnosticChain diagnostics, Map context); @@ -321,7 +317,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))'" * @generated */ boolean validateReferralNoteAllergiesSection2(DiagnosticChain diagnostics, Map context); @@ -333,7 +329,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateReferralNoteAssessmentSection(DiagnosticChain diagnostics, Map context); @@ -345,7 +341,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateReferralNoteAssessmentAndPlanSection2(DiagnosticChain diagnostics, Map context); @@ -357,7 +353,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" * @generated */ boolean validateReferralNoteHistoryOfPastIllnessSection2(DiagnosticChain diagnostics, Map context); @@ -369,7 +365,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" * @generated */ boolean validateReferralNoteGeneralStatusSection(DiagnosticChain diagnostics, Map context); @@ -381,7 +377,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))'" * @generated */ boolean validateReferralNoteMedicationsSection2(DiagnosticChain diagnostics, Map context); @@ -393,7 +389,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection2))'" * @generated */ boolean validateReferralNoteReasonForReferralSection2(DiagnosticChain diagnostics, Map context); @@ -405,7 +401,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))'" * @generated */ boolean validateReferralNoteFamilyHistorySection2(DiagnosticChain diagnostics, Map context); @@ -417,7 +413,7 @@ boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).informationRecipient->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).informationRecipient->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateReferralNoteInformationRecipientIntendedRecipientPersonName(DiagnosticChain diagnostics, @@ -430,7 +426,7 @@ boolean validateReferralNoteInformationRecipientIntendedRecipientPersonName(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateReferralNoteInformationRecipientIntendedRecipientAddr(DiagnosticChain diagnostics, @@ -443,7 +439,7 @@ boolean validateReferralNoteInformationRecipientIntendedRecipientAddr(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (not telecom->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (not telecom->isEmpty()))'" * @generated */ boolean validateReferralNoteInformationRecipientIntendedRecipientTelecom(DiagnosticChain diagnostics, @@ -456,7 +452,7 @@ boolean validateReferralNoteInformationRecipientIntendedRecipientTelecom(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(informationRecipient->one(informationRecipient : cda::Person | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject(informationRecipient->one(informationRecipient : cda::Person | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateReferralNoteInformationRecipientIntendedRecipientInformationRecipient(DiagnosticChain diagnostics, @@ -469,7 +465,7 @@ boolean validateReferralNoteInformationRecipientIntendedRecipientInformationReci * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(cda::IntendedRecipient)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(cda::IntendedRecipient)))'" * @generated */ boolean validateReferralNoteInformationRecipientIntendedRecipient(DiagnosticChain diagnostics, @@ -482,7 +478,7 @@ boolean validateReferralNoteInformationRecipientIntendedRecipient(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateReferralNoteParticipantCaregiverAssociatedEntityAssociatedPersonName(DiagnosticChain diagnostics, @@ -495,7 +491,7 @@ boolean validateReferralNoteParticipantCaregiverAssociatedEntityAssociatedPerson * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(isDefined(\'classCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(isDefined(\'classCode\'))'" * @generated */ boolean validateReferralNoteParticipantCaregiverAssociatedEntityClassCodeP(DiagnosticChain diagnostics, @@ -508,7 +504,7 @@ boolean validateReferralNoteParticipantCaregiverAssociatedEntityClassCodeP(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(not classCode.oclIsUndefined() and classCode.oclIsKindOf(vocab::RoleClassAssociative) and \r\nlet value : vocab::RoleClassAssociative = classCode.oclAsType(vocab::RoleClassAssociative) in \r\nvalue = vocab::RoleClassAssociative::PRS or value = vocab::RoleClassAssociative::NOK or value = vocab::RoleClassAssociative::CAREGIVER or value = vocab::RoleClassAssociative::AGNT or value = vocab::RoleClassAssociative::GUAR or value = vocab::RoleClassAssociative::ECON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(not classCode.oclIsUndefined() and classCode.oclIsKindOf(vocab::RoleClassAssociative) and \r\nlet value : vocab::RoleClassAssociative = classCode.oclAsType(vocab::RoleClassAssociative) in \r\nvalue = vocab::RoleClassAssociative::PRS or value = vocab::RoleClassAssociative::NOK or value = vocab::RoleClassAssociative::CAREGIVER or value = vocab::RoleClassAssociative::AGNT or value = vocab::RoleClassAssociative::GUAR or value = vocab::RoleClassAssociative::ECON)'" * @generated */ boolean validateReferralNoteParticipantCaregiverAssociatedEntityClassCode(DiagnosticChain diagnostics, @@ -521,7 +517,7 @@ boolean validateReferralNoteParticipantCaregiverAssociatedEntityClassCode(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateReferralNoteParticipantCaregiverAssociatedEntityAssociatedPerson(DiagnosticChain diagnostics, @@ -534,7 +530,7 @@ boolean validateReferralNoteParticipantCaregiverAssociatedEntityAssociatedPerson * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND)->select(typeCode=vocab::ParticipationType::IND)->reject(typeCode=vocab::ParticipationType::IND)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND)->select(typeCode=vocab::ParticipationType::IND)->reject(typeCode=vocab::ParticipationType::IND)'" * @generated */ boolean validateReferralNoteParticipantCaregiverTypeCode(DiagnosticChain diagnostics, Map context); @@ -546,7 +542,7 @@ boolean validateReferralNoteParticipantCaregiverAssociatedEntityAssociatedPerson * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND)->select(typeCode=vocab::ParticipationType::IND)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::IND)->select(typeCode=vocab::ParticipationType::IND)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateReferralNoteParticipantCaregiverAssociatedEntity(DiagnosticChain diagnostics, @@ -559,7 +555,7 @@ boolean validateReferralNoteParticipantCaregiverAssociatedEntity(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAssociatedPersonName( @@ -572,7 +568,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAssociated * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityId(DiagnosticChain diagnostics, @@ -585,7 +581,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityId(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAddr(DiagnosticChain diagnostics, @@ -598,7 +594,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAddr(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityTelecom(DiagnosticChain diagnostics, @@ -611,7 +607,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityTelecom(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(classCode=vocab::RoleClassAssociative::ASSIGNED)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(classCode=vocab::RoleClassAssociative::ASSIGNED)'" * @generated */ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityClassCode(DiagnosticChain diagnostics, @@ -624,7 +620,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityClassCode( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAssociatedPerson(DiagnosticChain diagnostics, @@ -637,7 +633,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAssociated * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(scopingOrganization->one(scopingOrganization : cda::Organization | not scopingOrganization.oclIsUndefined() and scopingOrganization.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(scopingOrganization->one(scopingOrganization : cda::Organization | not scopingOrganization.oclIsUndefined() and scopingOrganization.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityScopingOrganization( @@ -650,7 +646,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntityScopingOrg * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK)->select(typeCode=vocab::ParticipationType::CALLBCK)->reject(typeCode=vocab::ParticipationType::CALLBCK)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK)->select(typeCode=vocab::ParticipationType::CALLBCK)->reject(typeCode=vocab::ParticipationType::CALLBCK)'" * @generated */ boolean validateReferralNoteParticipantCallbackContactTypeCode(DiagnosticChain diagnostics, @@ -663,7 +659,7 @@ boolean validateReferralNoteParticipantCallbackContactTypeCode(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK)->select(typeCode=vocab::ParticipationType::CALLBCK)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode=vocab::ParticipationType::CALLBCK)->select(typeCode=vocab::ParticipationType::CALLBCK)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(DiagnosticChain diagnostics, @@ -673,7 +669,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -682,7 +678,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSectionEntriesOptional2)'" * @generated */ AdvanceDirectivesSectionEntriesOptional2 getAdvanceDirectivesSectionEntriesOptional2(); @@ -691,7 +687,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -700,7 +696,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSection2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSection2)'" * @generated */ ImmunizationsSection2 getImmunizationsSection2(); @@ -709,7 +705,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))->asSequence()->any(true).oclAsType(consol::ProblemSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))->asSequence()->any(true).oclAsType(consol::ProblemSection2)'" * @generated */ ProblemSection2 getProblemSection2(); @@ -718,7 +714,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ProceduresSectionEntriesOptional2)'" * @generated */ ProceduresSectionEntriesOptional2 getProceduresSectionEntriesOptional2(); @@ -727,7 +723,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))->asSequence()->any(true).oclAsType(consol::ResultsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))->asSequence()->any(true).oclAsType(consol::ResultsSection2)'" * @generated */ ResultsSection2 getResultsSection2(); @@ -736,7 +732,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -745,7 +741,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" * @generated */ SocialHistorySection2 getSocialHistorySection2(); @@ -754,7 +750,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))->asSequence()->any(true).oclAsType(consol::VitalSignsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))->asSequence()->any(true).oclAsType(consol::VitalSignsSection2)'" * @generated */ VitalSignsSection2 getVitalSignsSection2(); @@ -763,7 +759,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" * @generated */ FunctionalStatusSection2 getFunctionalStatusSection2(); @@ -772,7 +768,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" * @generated */ PhysicalExamSection2 getPhysicalExamSection2(); @@ -781,7 +777,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSectionEntriesOptional2)'" * @generated */ AdvanceDirectivesSectionEntriesOptional2 getAdvanceDirectivesSectionEntriesOptional2b(); @@ -790,7 +786,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" * @generated */ NutritionSection getNutritionSection(); @@ -799,7 +795,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))->asSequence()->any(true).oclAsType(consol::MentalStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))->asSequence()->any(true).oclAsType(consol::MentalStatusSection)'" * @generated */ MentalStatusSection getMentalStatusSection(); @@ -808,7 +804,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection2)'" * @generated */ MedicalEquipmentSection2 getMedicalEquipmentSection2(); @@ -817,7 +813,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))->asSequence()->any(true).oclAsType(consol::AllergiesSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))->asSequence()->any(true).oclAsType(consol::AllergiesSection2)'" * @generated */ AllergiesSection2 getAllergiesSection2(); @@ -826,7 +822,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -835,7 +831,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" * @generated */ AssessmentAndPlanSection2 getAssessmentAndPlanSection2(); @@ -844,7 +840,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" * @generated */ HistoryOfPastIllnessSection2 getHistoryOfPastIllnessSection2(); @@ -853,7 +849,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" * @generated */ GeneralStatusSection getGeneralStatusSection(); @@ -862,7 +858,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))->asSequence()->any(true).oclAsType(consol::MedicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))->asSequence()->any(true).oclAsType(consol::MedicationsSection2)'" * @generated */ MedicationsSection2 getMedicationsSection2(); @@ -871,7 +867,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection2))->asSequence()->any(true).oclAsType(consol::ReasonForReferralSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection2))->asSequence()->any(true).oclAsType(consol::ReasonForReferralSection2)'" * @generated */ ReasonForReferralSection2 getReasonForReferralSection2(); @@ -880,7 +876,7 @@ boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(Diagnosti * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection2))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection2)'" * @generated */ FamilyHistorySection2 getFamilyHistorySection2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultObservation.java index 520a4a4f7a..bdddd77a35 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateResultObservationTextReference(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateResultObservationReferenceValue(DiagnosticChain diagnostics, Map context); @@ -80,7 +75,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->forAll(range : cda::ReferenceRange | range.observationRange.code.code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->forAll(range : cda::ReferenceRange | range.observationRange.code.code.oclIsUndefined())'" * @generated */ boolean validateResultObservationNoObservationRangeCode(DiagnosticChain diagnostics, Map context); @@ -92,7 +87,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->size()<2'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->size()<2'" * @generated */ boolean validateResultObservationAuthorMultiplicity(DiagnosticChain diagnostics, Map context); @@ -104,7 +99,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.2\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.2\')'" * @generated */ boolean validateResultObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateResultObservationId(DiagnosticChain diagnostics, Map context); @@ -212,7 +207,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1)'" * @generated */ boolean validateResultObservationValue(DiagnosticChain diagnostics, Map context); @@ -224,7 +219,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (not self.interpretationCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (not self.interpretationCode->isEmpty())'" * @generated */ boolean validateResultObservationInterpretationCode(DiagnosticChain diagnostics, Map context); @@ -236,7 +231,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" * @generated */ boolean validateResultObservationMethodCode(DiagnosticChain diagnostics, Map context); @@ -248,7 +243,7 @@ public interface ResultObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.targetSiteCode->isEmpty()) and self.targetSiteCode->forAll(element | element.oclIsTypeOf(datatypes::CE)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.targetSiteCode->isEmpty()) and self.targetSiteCode->forAll(element | element.oclIsTypeOf(datatypes::CE)))'" * @generated */ boolean validateResultObservationTargetSiteCode(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultObservation2.java index 4b88c5a820..4ae74e1d16 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface ResultObservation2 extends ResultObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.2\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.2\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateResultObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -56,7 +52,7 @@ public interface ResultObservation2 extends ResultObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (not self.interpretationCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (not self.interpretationCode->isEmpty())'" * @generated */ boolean validateResultObservationInterpretationCodeP(DiagnosticChain diagnostics, Map context); @@ -68,7 +64,7 @@ public interface ResultObservation2 extends ResultObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateResultObservation2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -80,7 +76,7 @@ public interface ResultObservation2 extends ResultObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->exists(referenceRange : cda::ReferenceRange | not referenceRange.oclIsUndefined() and referenceRange.oclIsKindOf(cda::ReferenceRange))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->exists(referenceRange : cda::ReferenceRange | not referenceRange.oclIsUndefined() and referenceRange.oclIsKindOf(cda::ReferenceRange))'" * @generated */ boolean validateResultObservation2ReferenceRange(DiagnosticChain diagnostics, Map context); @@ -92,7 +88,7 @@ public interface ResultObservation2 extends ResultObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject((value.oclIsUndefined() or value.isNullFlavorUndefined()) implies (not value.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject((value.oclIsUndefined() or value.isNullFlavorUndefined()) implies (not value.oclIsUndefined()))'" * @generated */ boolean validateResultObservation2ReferenceRangeObservationRangeValue(DiagnosticChain diagnostics, @@ -105,7 +101,7 @@ boolean validateResultObservation2ReferenceRangeObservationRangeValue(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null).observationRange->excluding(null)->reject(code.oclIsUndefined())'" * @generated */ boolean validateResultObservation2ReferenceRangeObservationRangeCode(DiagnosticChain diagnostics, @@ -118,7 +114,7 @@ boolean validateResultObservation2ReferenceRangeObservationRangeCode(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null)->reject(observationRange->one(observationRange : cda::ObservationRange | not observationRange.oclIsUndefined() and observationRange.oclIsKindOf(cda::ObservationRange)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.referenceRange->excluding(null)->reject(observationRange->one(observationRange : cda::ObservationRange | not observationRange.oclIsUndefined() and observationRange.oclIsKindOf(cda::ObservationRange)))'" * @generated */ boolean validateResultObservation2ReferenceRangeObservationRange(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultOrganizer.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultOrganizer.java index af021aa44a..1e9b3e5ac2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultOrganizer.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultOrganizer.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Organizer; /** @@ -57,7 +52,7 @@ public interface ResultOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.1\')'" * @generated */ boolean validateResultOrganizerTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface ResultOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateResultOrganizerId(DiagnosticChain diagnostics, Map context); @@ -141,7 +136,7 @@ public interface ResultOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::ResultObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::ResultObservation))'" * @generated */ boolean validateResultOrganizerResultObservation(DiagnosticChain diagnostics, Map context); @@ -150,7 +145,7 @@ public interface ResultOrganizer extends Organizer { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ResultObservation)).oclAsType(consol::ResultObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ResultObservation)).oclAsType(consol::ResultObservation)'" * @generated */ EList getResultObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultOrganizer2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultOrganizer2.java index 24b2ecf696..1aaf70b4e5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultOrganizer2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultOrganizer2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface ResultOrganizer2 extends ResultOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.1\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.1\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateResultOrganizer2TemplateId(DiagnosticChain diagnostics, Map context); @@ -56,7 +52,7 @@ public interface ResultOrganizer2 extends ResultOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateResultOrganizer2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -68,7 +64,7 @@ public interface ResultOrganizer2 extends ResultOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateResultOrganizer2IVLTSLow(DiagnosticChain diagnostics, Map context); @@ -80,7 +76,7 @@ public interface ResultOrganizer2 extends ResultOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateResultOrganizer2IVLTSHigh(DiagnosticChain diagnostics, Map context); @@ -89,7 +85,7 @@ public interface ResultOrganizer2 extends ResultOrganizer { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ResultObservation2)).oclAsType(consol::ResultObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ResultObservation2)).oclAsType(consol::ResultObservation2)'" * @generated */ EList getConsolResultObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSection.java index af4a46fe66..d868bb47a2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSection.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -43,7 +39,7 @@ public interface ResultsSection extends ResultsSectionEntriesOptional { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::ResultOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::ResultOrganizer))'" * @generated */ boolean validateResultsSectionResultOrganizer(DiagnosticChain diagnostics, Map context); @@ -52,7 +48,7 @@ public interface ResultsSection extends ResultsSectionEntriesOptional { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer)).oclAsType(consol::ResultOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer)).oclAsType(consol::ResultOrganizer)'" * @generated */ EList getConsolResultOrganizers(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSection2.java index 1b3ab26a1c..c9ab4c2436 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSectionEntriesOptional.java index d2c8bfe38f..854d2305ee 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -46,7 +41,7 @@ public interface ResultsSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.3\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.3\')'" * @generated */ boolean validateResultsSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, Map context); @@ -106,7 +101,7 @@ public interface ResultsSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::ResultOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::ResultOrganizer))'" * @generated */ boolean validateResultsSectionEntriesOptionalResultOrganizer(DiagnosticChain diagnostics, @@ -116,7 +111,7 @@ boolean validateResultsSectionEntriesOptionalResultOrganizer(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer)).oclAsType(consol::ResultOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer)).oclAsType(consol::ResultOrganizer)'" * @generated */ EList getResultOrganizers(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSectionEntriesOptional2.java index f8574b6d1c..66cfdd6187 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ResultsSectionEntriesOptional2.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -25,7 +21,7 @@ public interface ResultsSectionEntriesOptional2 extends ResultsSectionEntriesOpt * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer2)).oclAsType(consol::ResultOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer2)).oclAsType(consol::ResultOrganizer2)'" * @generated */ EList getConsolResultOrganizer2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReviewOfSystemsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReviewOfSystemsSection.java index 1cdc82987f..ce334055d1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReviewOfSystemsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ReviewOfSystemsSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -36,7 +31,7 @@ public interface ReviewOfSystemsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.18\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'1.3.6.1.4.1.19376.1.5.3.1.3.18\')'" * @generated */ boolean validateReviewOfSystemsSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/RiskConcernAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/RiskConcernAct.java index 3c3678c8e7..cc1690f1c8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/RiskConcernAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/RiskConcernAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -34,7 +29,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.136\' and id.extension = \'2015-08-01\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.136\' and id.extension = \'2015-08-01\')'" * @generated */ boolean validateRiskConcernActTemplateId(DiagnosticChain diagnostics, Map context); @@ -70,7 +65,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateRiskConcernActId(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateRiskConcernActAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActProblemObservation2(DiagnosticChain diagnostics, Map context); @@ -166,7 +161,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActAllergyObservation2(DiagnosticChain diagnostics, Map context); @@ -178,7 +173,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActEntryReferenceRelatesTo(DiagnosticChain diagnostics, Map context); @@ -190,7 +185,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateRiskConcernActEntryReferenceHasComponent(DiagnosticChain diagnostics, Map context); @@ -202,7 +197,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActAssessmentScaleObservation(DiagnosticChain diagnostics, Map context); @@ -214,7 +209,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::MentalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::MentalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActMentalStatusObservation2(DiagnosticChain diagnostics, Map context); @@ -226,7 +221,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SelfCareActivities) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SelfCareActivities) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActSelfCareActivities(DiagnosticChain diagnostics, Map context); @@ -238,7 +233,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::MentalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::MentalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActMentalStatusObservation2B(DiagnosticChain diagnostics, Map context); @@ -250,7 +245,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActSmokingStatusMeaningfulUse2(DiagnosticChain diagnostics, Map context); @@ -262,7 +257,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EncounterDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EncounterDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActEncounterDiagnosis2(DiagnosticChain diagnostics, Map context); @@ -274,7 +269,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.organizer.oclIsUndefined() and entryRelationship.organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.organizer.oclIsUndefined() and entryRelationship.organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActFamilyHistoryOrganizer2(DiagnosticChain diagnostics, Map context); @@ -286,7 +281,7 @@ public interface RiskConcernAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::FunctionalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::FunctionalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagnostics, @@ -299,7 +294,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActHospitalAdmissionDiagnosis2(DiagnosticChain diagnostics, Map context); @@ -311,7 +306,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::MentalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::MentalStatusObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActMentalStatusObservation2C(DiagnosticChain diagnostics, Map context); @@ -323,7 +318,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionAssessment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionAssessment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActNutritionAssessment(DiagnosticChain diagnostics, Map context); @@ -335,7 +330,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionAssessment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionAssessment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActNutritionAssessmentB(DiagnosticChain diagnostics, Map context); @@ -347,7 +342,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PostprocedureDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PostprocedureDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActPostprocedureDiagnosis2(DiagnosticChain diagnostics, Map context); @@ -359,7 +354,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PregnancyObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PregnancyObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActPregnancyObservation(DiagnosticChain diagnostics, Map context); @@ -371,7 +366,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PreoperativeDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::PreoperativeDiagnosis2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActPreoperativeDiagnosis2(DiagnosticChain diagnostics, Map context); @@ -383,7 +378,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActReactionObservation2(DiagnosticChain diagnostics, Map context); @@ -395,7 +390,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ResultObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ResultObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActResultObservation2(DiagnosticChain diagnostics, Map context); @@ -407,7 +402,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SensoryStatus) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SensoryStatus) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActSensoryStatus(DiagnosticChain diagnostics, Map context); @@ -419,7 +414,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SocialHistoryObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SocialHistoryObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActSocialHistoryObservation2(DiagnosticChain diagnostics, Map context); @@ -431,7 +426,7 @@ boolean validateRiskConcernActFunctionalStatusObservation2(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SubstanceOrDeviceAllergyObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SubstanceOrDeviceAllergyObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticChain diagnostics, @@ -444,7 +439,7 @@ boolean validateRiskConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::TobaccoUse2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::TobaccoUse2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActTobaccoUse2(DiagnosticChain diagnostics, Map context); @@ -456,7 +451,7 @@ boolean validateRiskConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::VitalSignObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::VitalSignObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActVitalSignObservation2(DiagnosticChain diagnostics, Map context); @@ -468,7 +463,7 @@ boolean validateRiskConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::LongitudinalCareWoundObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::LongitudinalCareWoundObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActWoundObservation(DiagnosticChain diagnostics, Map context); @@ -480,7 +475,7 @@ boolean validateRiskConcernActSubstanceOrDeviceAllergyObservation2(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ProblemObservation2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" * @generated */ boolean validateRiskConcernActProblemObservation2HasSupport(DiagnosticChain diagnostics, @@ -493,7 +488,7 @@ boolean validateRiskConcernActProblemObservation2HasSupport(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CaregiverCharacteristics) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActCaregiverCharacteristics(DiagnosticChain diagnostics, Map context); @@ -505,7 +500,7 @@ boolean validateRiskConcernActProblemObservation2HasSupport(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CulturalAndReligiousObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CulturalAndReligiousObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActCulturalAndReligiousObservation(DiagnosticChain diagnostics, @@ -518,7 +513,7 @@ boolean validateRiskConcernActCulturalAndReligiousObservation(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActCharacteristicsOfHomeEnvironment(DiagnosticChain diagnostics, @@ -531,7 +526,7 @@ boolean validateRiskConcernActCharacteristicsOfHomeEnvironment(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionalStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::NutritionalStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagnostics, @@ -544,7 +539,7 @@ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.organizer.oclIsUndefined() and entryRelationship.organizer.oclIsKindOf(consol::ResultOrganizer2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.organizer.oclIsUndefined() and entryRelationship.organizer.oclIsKindOf(consol::ResultOrganizer2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActResultOrganizer2(DiagnosticChain diagnostics, Map context); @@ -556,7 +551,7 @@ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActPriorityPreferencePatient(DiagnosticChain diagnostics, Map context); @@ -568,7 +563,7 @@ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PriorityPreference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActPriorityPreferenceProvider(DiagnosticChain diagnostics, Map context); @@ -580,7 +575,7 @@ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::ProblemConcernAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::ProblemConcernAct2) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActProblemConcernAct2(DiagnosticChain diagnostics, Map context); @@ -592,7 +587,7 @@ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::EntryReference) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR)'" * @generated */ boolean validateRiskConcernActEntryReferenceHealthConcern(DiagnosticChain diagnostics, Map context); @@ -604,7 +599,7 @@ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->exists(reference : cda::Reference | not reference.oclIsUndefined() and reference.oclIsKindOf(cda::Reference))'" * @generated */ boolean validateRiskConcernActReference(DiagnosticChain diagnostics, Map context); @@ -616,7 +611,7 @@ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(typeCode=vocab::x_ActRelationshipExternalReference::REFR)'" * @generated */ boolean validateRiskConcernActReferenceTypeCode(DiagnosticChain diagnostics, Map context); @@ -628,7 +623,7 @@ boolean validateRiskConcernActNutritionalStatusObservation(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.reference->excluding(null)->reject(externalDocument->one(externalDocument : cda::ExternalDocument | not externalDocument.oclIsUndefined() and externalDocument.oclIsKindOf(consol::ExternalDocumentReference)))'" * @generated */ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain diagnostics, @@ -638,7 +633,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getProblemObservation2s(); @@ -647,7 +642,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyObservation2)).oclAsType(consol::AllergyObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyObservation2)).oclAsType(consol::AllergyObservation2)'" * @generated */ EList getAllergyObservation2s(); @@ -656,7 +651,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getEntryReferenceRelatesTos(); @@ -665,7 +660,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getEntryReferenceHasComponents(); @@ -674,7 +669,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); @@ -683,7 +678,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" * @generated */ EList getMentalStatusObservation2s(); @@ -692,7 +687,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SelfCareActivities)).oclAsType(consol::SelfCareActivities)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SelfCareActivities)).oclAsType(consol::SelfCareActivities)'" * @generated */ EList getSelfCareActivitiess(); @@ -701,7 +696,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" * @generated */ EList getMentalStatusObservation2Bs(); @@ -710,7 +705,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2)).oclAsType(consol::SmokingStatusMeaningfulUse2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2)).oclAsType(consol::SmokingStatusMeaningfulUse2)'" * @generated */ EList getSmokingStatusMeaningfulUse2s(); @@ -719,7 +714,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EncounterDiagnosis2)).oclAsType(consol::EncounterDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EncounterDiagnosis2)).oclAsType(consol::EncounterDiagnosis2)'" * @generated */ EList getEncounterDiagnosis2s(); @@ -728,7 +723,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2)).oclAsType(consol::FamilyHistoryOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::FamilyHistoryOrganizer2)).oclAsType(consol::FamilyHistoryOrganizer2)'" * @generated */ EList getFamilyHistoryOrganizer2s(); @@ -737,7 +732,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusObservation2)).oclAsType(consol::FunctionalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::FunctionalStatusObservation2)).oclAsType(consol::FunctionalStatusObservation2)'" * @generated */ EList getFunctionalStatusObservation2s(); @@ -746,7 +741,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2)).oclAsType(consol::HospitalAdmissionDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::HospitalAdmissionDiagnosis2)).oclAsType(consol::HospitalAdmissionDiagnosis2)'" * @generated */ EList getHospitalAdmissionDiagnosis2s(); @@ -755,7 +750,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::MentalStatusObservation2)).oclAsType(consol::MentalStatusObservation2)'" * @generated */ EList getMentalStatusObservation2Cs(); @@ -764,7 +759,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionAssessment)).oclAsType(consol::NutritionAssessment)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionAssessment)).oclAsType(consol::NutritionAssessment)'" * @generated */ EList getNutritionAssessments(); @@ -773,7 +768,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionAssessment)).oclAsType(consol::NutritionAssessment)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionAssessment)).oclAsType(consol::NutritionAssessment)'" * @generated */ EList getNutritionAssessmentBs(); @@ -782,7 +777,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PostprocedureDiagnosis2)).oclAsType(consol::PostprocedureDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PostprocedureDiagnosis2)).oclAsType(consol::PostprocedureDiagnosis2)'" * @generated */ EList getPostprocedureDiagnosis2s(); @@ -791,7 +786,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PregnancyObservation)).oclAsType(consol::PregnancyObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PregnancyObservation)).oclAsType(consol::PregnancyObservation)'" * @generated */ EList getPregnancyObservations(); @@ -800,7 +795,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PreoperativeDiagnosis2)).oclAsType(consol::PreoperativeDiagnosis2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::PreoperativeDiagnosis2)).oclAsType(consol::PreoperativeDiagnosis2)'" * @generated */ EList getPreoperativeDiagnosis2s(); @@ -809,7 +804,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" * @generated */ EList getReactionObservation2s(); @@ -818,7 +813,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ResultObservation2)).oclAsType(consol::ResultObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ResultObservation2)).oclAsType(consol::ResultObservation2)'" * @generated */ EList getResultObservation2s(); @@ -827,7 +822,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SensoryStatus)).oclAsType(consol::SensoryStatus)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SensoryStatus)).oclAsType(consol::SensoryStatus)'" * @generated */ EList getSensoryStatuss(); @@ -836,7 +831,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SocialHistoryObservation2)).oclAsType(consol::SocialHistoryObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SocialHistoryObservation2)).oclAsType(consol::SocialHistoryObservation2)'" * @generated */ EList getSocialHistoryObservation2s(); @@ -845,7 +840,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SubstanceOrDeviceAllergyObservation2)).oclAsType(consol::SubstanceOrDeviceAllergyObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SubstanceOrDeviceAllergyObservation2)).oclAsType(consol::SubstanceOrDeviceAllergyObservation2)'" * @generated */ EList getSubstanceOrDeviceAllergyObservation2s(); @@ -854,7 +849,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::TobaccoUse2)).oclAsType(consol::TobaccoUse2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::TobaccoUse2)).oclAsType(consol::TobaccoUse2)'" * @generated */ EList getTobaccoUse2s(); @@ -863,7 +858,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::VitalSignObservation2)).oclAsType(consol::VitalSignObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::VitalSignObservation2)).oclAsType(consol::VitalSignObservation2)'" * @generated */ EList getVitalSignObservation2s(); @@ -872,7 +867,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::LongitudinalCareWoundObservation)).oclAsType(consol::LongitudinalCareWoundObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::LongitudinalCareWoundObservation)).oclAsType(consol::LongitudinalCareWoundObservation)'" * @generated */ EList getWoundObservations(); @@ -881,7 +876,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ProblemObservation2)).oclAsType(consol::ProblemObservation2)'" * @generated */ EList getProblemObservation2HasSupports(); @@ -890,7 +885,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ EList getCaregiverCharacteristicss(); @@ -899,7 +894,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CulturalAndReligiousObservation)).oclAsType(consol::CulturalAndReligiousObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CulturalAndReligiousObservation)).oclAsType(consol::CulturalAndReligiousObservation)'" * @generated */ EList getCulturalAndReligiousObservations(); @@ -908,7 +903,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment)).oclAsType(consol::CharacteristicsOfHomeEnvironment)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment)).oclAsType(consol::CharacteristicsOfHomeEnvironment)'" * @generated */ EList getCharacteristicsOfHomeEnvironments(); @@ -917,7 +912,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionalStatusObservation)).oclAsType(consol::NutritionalStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::NutritionalStatusObservation)).oclAsType(consol::NutritionalStatusObservation)'" * @generated */ EList getNutritionalStatusObservations(); @@ -926,7 +921,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer2)).oclAsType(consol::ResultOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::ResultOrganizer2)).oclAsType(consol::ResultOrganizer2)'" * @generated */ EList getResultOrganizer2s(); @@ -935,7 +930,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferencePatients(); @@ -944,7 +939,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PriorityPreference)).oclAsType(consol::PriorityPreference)'" * @generated */ EList getPriorityPreferenceProviders(); @@ -953,7 +948,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct2)).oclAsType(consol::ProblemConcernAct2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::ProblemConcernAct2)).oclAsType(consol::ProblemConcernAct2)'" * @generated */ EList getProblemConcernAct2s(); @@ -962,7 +957,7 @@ boolean validateRiskConcernActReferenceExternalDocumentReference(DiagnosticChain * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::EntryReference)).oclAsType(consol::EntryReference)'" * @generated */ EList getEntryReferenceHealthConcerns(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SOPInstanceObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SOPInstanceObservation.java index 6b6803e468..1329ccdd8d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SOPInstanceObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SOPInstanceObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -82,7 +77,7 @@ boolean validateSOPInstanceObservationEffectiveTimeHasValue(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text.reference->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text.reference->size() = 1'" * @generated */ boolean validateSOPInstanceObservationTextReference(DiagnosticChain diagnostics, Map context); @@ -94,7 +89,7 @@ boolean validateSOPInstanceObservationEffectiveTimeHasValue(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text.reference.value->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text.reference.value->size() = 1'" * @generated */ boolean validateSOPInstanceObservationTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -106,7 +101,7 @@ boolean validateSOPInstanceObservationEffectiveTimeHasValue(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.8\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.8\')'" * @generated */ boolean validateSOPInstanceObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ boolean validateSOPInstanceObservationEffectiveTimeHasValue(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateSOPInstanceObservationId(DiagnosticChain diagnostics, Map context); @@ -202,7 +197,7 @@ boolean validateSOPInstanceObservationEffectiveTimeHasValue(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateSOPInstanceObservationSOPInstanceObservation(DiagnosticChain diagnostics, @@ -215,7 +210,7 @@ boolean validateSOPInstanceObservationSOPInstanceObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PurposeofReferenceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::PurposeofReferenceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)'" * @generated */ boolean validateSOPInstanceObservationPurposeofReferenceObservation(DiagnosticChain diagnostics, @@ -228,7 +223,7 @@ boolean validateSOPInstanceObservationPurposeofReferenceObservation(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReferencedFramesObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReferencedFramesObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateSOPInstanceObservationReferencedFramesObservation(DiagnosticChain diagnostics, @@ -238,7 +233,7 @@ boolean validateSOPInstanceObservationReferencedFramesObservation(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" * @generated */ EList getSOPInstanceObservations(); @@ -247,7 +242,7 @@ boolean validateSOPInstanceObservationReferencedFramesObservation(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PurposeofReferenceObservation)).oclAsType(consol::PurposeofReferenceObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PurposeofReferenceObservation)).oclAsType(consol::PurposeofReferenceObservation)'" * @generated */ EList getPurposeofReferenceObservations(); @@ -256,7 +251,7 @@ boolean validateSOPInstanceObservationReferencedFramesObservation(DiagnosticChai * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReferencedFramesObservation)).oclAsType(consol::ReferencedFramesObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReferencedFramesObservation)).oclAsType(consol::ReferencedFramesObservation)'" * @generated */ EList getReferencedFramesObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SelfCareActivities.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SelfCareActivities.java index 4b57e4d802..7b0838b0b4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SelfCareActivities.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SelfCareActivities.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface SelfCareActivities extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.128\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.128\')'" * @generated */ boolean validateSelfCareActivitiesTemplateId(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface SelfCareActivities extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'371150009\' or value.code = \'371153006\' or value.code = \'371155004\' or value.code = \'371152001\' or value.code = \'371154000\' or value.code = \'371151008\' or value.code = \'371156003\' or value.code = \'371157007\' or value.code = \'385640009\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'371150009\' or value.code = \'371153006\' or value.code = \'371155004\' or value.code = \'371152001\' or value.code = \'371154000\' or value.code = \'371151008\' or value.code = \'371156003\' or value.code = \'371157007\' or value.code = \'385640009\')))'" * @generated */ boolean validateSelfCareActivitiesValue(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface SelfCareActivities extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateSelfCareActivitiesValueP(DiagnosticChain diagnostics, Map context); @@ -152,7 +147,7 @@ public interface SelfCareActivities extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateSelfCareActivitiesAuthorParticipation(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SensoryStatus.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SensoryStatus.java index 2d0ccf5075..1053c3e690 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SensoryStatus.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SensoryStatus.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -34,7 +29,7 @@ public interface SensoryStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.127\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.127\')'" * @generated */ boolean validateSensoryStatusTemplateId(DiagnosticChain diagnostics, Map context); @@ -130,7 +125,7 @@ public interface SensoryStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateSensoryStatusValue(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface SensoryStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateSensoryStatusValueP(DiagnosticChain diagnostics, Map context); @@ -154,7 +149,7 @@ public interface SensoryStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AssessmentScaleObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateSensoryStatusAssessmentScaleObservation(DiagnosticChain diagnostics, Map context); @@ -166,7 +161,7 @@ public interface SensoryStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateSensoryStatusAuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -178,7 +173,7 @@ public interface SensoryStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateSensoryStatusIVLTSLow(DiagnosticChain diagnostics, Map context); @@ -190,7 +185,7 @@ public interface SensoryStatus extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateSensoryStatusIVLTSHigh(DiagnosticChain diagnostics, Map context); @@ -199,7 +194,7 @@ public interface SensoryStatus extends Observation { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AssessmentScaleObservation)).oclAsType(consol::AssessmentScaleObservation)'" * @generated */ EList getAssessmentScaleObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeriesAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeriesAct.java index b517f11940..c78658449a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeriesAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeriesAct.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -33,7 +28,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->forAll( not root.oclIsUndefined() )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->forAll( not root.oclIsUndefined() )'" * @generated */ boolean validateSeriesActIdHasRoot(DiagnosticChain diagnostics, Map context); @@ -45,7 +40,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->forAll( extension.oclIsUndefined() )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->forAll( extension.oclIsUndefined() )'" * @generated */ boolean validateSeriesActIdNoExtension(DiagnosticChain diagnostics, Map context); @@ -57,7 +52,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.qualifier->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.qualifier->size() = 1'" * @generated */ boolean validateSeriesActCodeQualifier(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.qualifier.name->one(name : datatypes::CV | name.code = \'121139\' and name.codeSystem = \'1.2.840.10008.2.16.4\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.qualifier.name->one(name : datatypes::CV | name.code = \'121139\' and name.codeSystem = \'1.2.840.10008.2.16.4\')'" * @generated */ boolean validateSeriesActCodeQualifierCode(DiagnosticChain diagnostics, Map context); @@ -81,7 +76,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.qualifier.value->one(val | not val.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.qualifier.value->one(val | not val.oclIsUndefined())'" * @generated */ boolean validateSeriesActCodeQualifierValue(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.qualifier.value->one(val | (not val.oclIsUndefined() or val.isNullFlavorUndefined()) implies val.oclIsKindOf(datatypes::ANY) and val.codeSystem = \'1.2.840.10008.2.16.4\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code.qualifier.value->one(val | (not val.oclIsUndefined() or val.isNullFlavorUndefined()) implies val.oclIsKindOf(datatypes::ANY) and val.codeSystem = \'1.2.840.10008.2.16.4\')'" * @generated */ boolean validateSeriesActCodeQualifierValueCode(DiagnosticChain diagnostics, Map context); @@ -105,7 +100,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.63\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.63\')'" * @generated */ boolean validateSeriesActTemplateId(DiagnosticChain diagnostics, Map context); @@ -165,7 +160,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateSeriesActId(DiagnosticChain diagnostics, Map context); @@ -189,7 +184,7 @@ public interface SeriesAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateSeriesActSOPInstanceObservation(DiagnosticChain diagnostics, Map context); @@ -198,7 +193,7 @@ public interface SeriesAct extends Act { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" * @generated */ EList getSOPInstanceObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ServiceDeliveryLocation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ServiceDeliveryLocation.java index 574589ad53..07d6071107 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ServiceDeliveryLocation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/ServiceDeliveryLocation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.ParticipantRole; /** @@ -32,7 +27,7 @@ public interface ServiceDeliveryLocation extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingEntity->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingEntity->size() = 1'" * @generated */ boolean validateServiceDeliveryLocationHasPlayingEntity(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface ServiceDeliveryLocation extends ParticipantRole { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingEntity->size()>0 implies self.playingEntity.classCode=vocab::EntityClassRoot::PLC'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingEntity->size()>0 implies self.playingEntity.classCode=vocab::EntityClassRoot::PLC'" * @generated */ boolean validateServiceDeliveryLocationHasPlayingEntityClassCode(DiagnosticChain diagnostics, @@ -57,7 +52,7 @@ boolean validateServiceDeliveryLocationHasPlayingEntityClassCode(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingEntity->size()>0 implies self.playingEntity.name->size() = 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.playingEntity->size()>0 implies self.playingEntity.name->size() = 1'" * @generated */ boolean validateServiceDeliveryLocationHasPlayingEntityName(DiagnosticChain diagnostics, @@ -70,7 +65,7 @@ boolean validateServiceDeliveryLocationHasPlayingEntityName(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.32\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.32\')'" * @generated */ boolean validateServiceDeliveryLocationTemplateId(DiagnosticChain diagnostics, Map context); @@ -106,7 +101,7 @@ boolean validateServiceDeliveryLocationHasPlayingEntityName(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.addr->isEmpty() or self.addr->exists(element | element.isNullFlavorUndefined())) implies (not self.addr->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.addr->isEmpty() or self.addr->exists(element | element.isNullFlavorUndefined())) implies (not self.addr->isEmpty())'" * @generated */ boolean validateServiceDeliveryLocationAddr(DiagnosticChain diagnostics, Map context); @@ -118,7 +113,7 @@ boolean validateServiceDeliveryLocationHasPlayingEntityName(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.telecom->isEmpty() or self.telecom->exists(element | element.isNullFlavorUndefined())) implies (not self.telecom->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.telecom->isEmpty() or self.telecom->exists(element | element.isNullFlavorUndefined())) implies (not self.telecom->isEmpty())'" * @generated */ boolean validateServiceDeliveryLocationTelecom(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeverityObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeverityObservation.java index 3da032b2fa..ce3369505a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeverityObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeverityObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -36,7 +31,7 @@ public interface SeverityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateSeverityObservationTextReference(DiagnosticChain diagnostics, Map context); @@ -48,7 +43,7 @@ public interface SeverityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateSeverityObservationTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -72,7 +67,7 @@ public interface SeverityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.8\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.8\')'" * @generated */ boolean validateSeverityObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -144,7 +139,7 @@ public interface SeverityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'255604002\' or value.code = \'371923003\' or value.code = \'6736007\' or value.code = \'371924009\' or value.code = \'24484000\' or value.code = \'399166001\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'255604002\' or value.code = \'371923003\' or value.code = \'6736007\' or value.code = \'371924009\' or value.code = \'24484000\' or value.code = \'399166001\')))'" * @generated */ boolean validateSeverityObservationValue(DiagnosticChain diagnostics, Map context); @@ -156,7 +151,7 @@ public interface SeverityObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateSeverityObservationValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeverityObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeverityObservation2.java index 1e9d3f87a6..7847049881 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeverityObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SeverityObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +26,7 @@ public interface SeverityObservation2 extends SeverityObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.8\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.8\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateSeverityObservation2TemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SmokingStatusMeaningfulUse2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SmokingStatusMeaningfulUse2.java index df1dc1be41..649842cba2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SmokingStatusMeaningfulUse2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SmokingStatusMeaningfulUse2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface SmokingStatusMeaningfulUse2 extends SmokingStatusObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.78\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.78\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateSmokingStatusMeaningfulUse2TemplateId(DiagnosticChain diagnostics, Map context); @@ -44,7 +40,7 @@ public interface SmokingStatusMeaningfulUse2 extends SmokingStatusObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateSmokingStatusMeaningfulUse2Id(DiagnosticChain diagnostics, Map context); @@ -68,7 +64,7 @@ public interface SmokingStatusMeaningfulUse2 extends SmokingStatusObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateSmokingStatusMeaningfulUse2AuthorParticipation(DiagnosticChain diagnostics, @@ -81,7 +77,7 @@ boolean validateSmokingStatusMeaningfulUse2AuthorParticipation(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject(true)'" * @generated */ boolean validateSmokingStatusMeaningfulUse2CDCodeTermAssertionOrLoinc(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SmokingStatusObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SmokingStatusObservation.java index 8dc04b4758..1508a933a6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SmokingStatusObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SmokingStatusObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -34,7 +29,7 @@ public interface SmokingStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.78\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.78\')'" * @generated */ boolean validateSmokingStatusObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -118,7 +113,7 @@ public interface SmokingStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'449868002\' or value.code = \'428041000124106\' or value.code = \'8517006\' or value.code = \'266919005\' or value.code = \'77176002\' or value.code = \'266927001\' or value.code = \'428071000124103\' or value.code = \'428061000124105\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'449868002\' or value.code = \'428041000124106\' or value.code = \'8517006\' or value.code = \'266919005\' or value.code = \'77176002\' or value.code = \'266927001\' or value.code = \'428071000124103\' or value.code = \'428061000124105\')))'" * @generated */ boolean validateSmokingStatusObservationValue(DiagnosticChain diagnostics, Map context); @@ -130,7 +125,7 @@ public interface SmokingStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateSmokingStatusObservationValueP(DiagnosticChain diagnostics, Map context); @@ -142,7 +137,7 @@ public interface SmokingStatusObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject((code = \'ASSERTION\' and codeSystem = \'2.16.840.1.113883.5.4\') or (code = \'72166-2\' and codeSystem = \'2.16.840.1.113883.6.1\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject((code = \'ASSERTION\' and codeSystem = \'2.16.840.1.113883.5.4\') or (code = \'72166-2\' and codeSystem = \'2.16.840.1.113883.6.1\'))'" * @generated */ boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc(DiagnosticChain diagnostics, @@ -155,7 +150,7 @@ boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" * @generated */ boolean validateSmokingStatusObservationCDCode(DiagnosticChain diagnostics, Map context); @@ -167,7 +162,7 @@ boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not codeSystem.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not codeSystem.oclIsUndefined() )))'" * @generated */ boolean validateSmokingStatusObservationCDCodeSystem(DiagnosticChain diagnostics, Map context); @@ -179,7 +174,7 @@ boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (center.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (center.oclIsUndefined() )))'" * @generated */ boolean validateSmokingStatusObservationIVLTSCenter(DiagnosticChain diagnostics, Map context); @@ -191,7 +186,7 @@ boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (high.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (high.oclIsUndefined() )))'" * @generated */ boolean validateSmokingStatusObservationIVLTSHigh(DiagnosticChain diagnostics, Map context); @@ -203,7 +198,7 @@ boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (low.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (low.oclIsUndefined() )))'" * @generated */ boolean validateSmokingStatusObservationIVLTSLow(DiagnosticChain diagnostics, Map context); @@ -215,7 +210,7 @@ boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (width.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (width.oclIsUndefined() )))'" * @generated */ boolean validateSmokingStatusObservationIVLTSWidth(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistoryObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistoryObservation.java index 22495af39c..59b33c12db 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistoryObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistoryObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -68,7 +63,7 @@ public interface SocialHistoryObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.38\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.38\')'" * @generated */ boolean validateSocialHistoryObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -104,7 +99,7 @@ public interface SocialHistoryObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateSocialHistoryObservationId(DiagnosticChain diagnostics, Map context); @@ -152,7 +147,7 @@ public interface SocialHistoryObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (( not self.value->isEmpty()) )'" * @generated */ boolean validateSocialHistoryObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistoryObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistoryObservation2.java index e46ec3508f..b83c7eddf1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistoryObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistoryObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -44,7 +40,7 @@ boolean validateSocialHistoryObservation2ReferenceAttribute(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='code.codeSystem <> \'2.16.840.1.113883.6.1\' implies code.translation->size() >= 1'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='code.codeSystem <> \'2.16.840.1.113883.6.1\' implies code.translation->size() >= 1'" * @generated */ boolean validateSocialHistoryObservation2IfNotLoincRequireTranslation(DiagnosticChain diagnostics, @@ -57,7 +53,7 @@ boolean validateSocialHistoryObservation2IfNotLoincRequireTranslation(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='code.codeSystem <> \'2.16.840.1.113883.6.1\' and code.translation->size() >= 1 implies code.translation->forAll(trans : datatypes::CD | trans.codeSystem = \'2.16.840.1.113883.6.1\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='code.codeSystem <> \'2.16.840.1.113883.6.1\' and code.translation->size() >= 1 implies code.translation->forAll(trans : datatypes::CD | trans.codeSystem = \'2.16.840.1.113883.6.1\')'" * @generated */ boolean validateSocialHistoryObservation2IfNotLoincRequireTranslationFromLoinc(DiagnosticChain diagnostics, @@ -70,7 +66,7 @@ boolean validateSocialHistoryObservation2IfNotLoincRequireTranslationFromLoinc(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.38\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.38\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateSocialHistoryObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -106,7 +102,7 @@ boolean validateSocialHistoryObservation2IfNotLoincRequireTranslationFromLoinc(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateSocialHistoryObservation2AuthorParticipation(DiagnosticChain diagnostics, @@ -119,7 +115,7 @@ boolean validateSocialHistoryObservation2AuthorParticipation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty() and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nnot value.codeSystem.oclIsUndefined() or not value.codeSystemName.oclIsUndefined())) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty() and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nnot value.codeSystem.oclIsUndefined() or not value.codeSystemName.oclIsUndefined())) )))'" * @generated */ boolean validateSocialHistoryObservation2CDTranslation(DiagnosticChain diagnostics, Map context); @@ -131,7 +127,7 @@ boolean validateSocialHistoryObservation2AuthorParticipation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (( not translation->isEmpty()) ) )))'" * @generated */ boolean validateSocialHistoryObservation2CDTranslationP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistorySection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistorySection.java index 8849132f9f..e452807467 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistorySection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistorySection.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface SocialHistorySection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.17\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.17\')'" * @generated */ boolean validateSocialHistorySectionTemplateId(DiagnosticChain diagnostics, Map context); @@ -93,7 +88,7 @@ public interface SocialHistorySection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SocialHistoryObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SocialHistoryObservation))'" * @generated */ boolean validateSocialHistorySectionSocialHistoryObservation(DiagnosticChain diagnostics, @@ -106,7 +101,7 @@ boolean validateSocialHistorySectionSocialHistoryObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::PregnancyObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::PregnancyObservation))'" * @generated */ boolean validateSocialHistorySectionPregnancyObservation(DiagnosticChain diagnostics, Map context); @@ -118,7 +113,7 @@ boolean validateSocialHistorySectionSocialHistoryObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SmokingStatusObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::SmokingStatusObservation))'" * @generated */ boolean validateSocialHistorySectionSmokingStatusObservation(DiagnosticChain diagnostics, @@ -131,7 +126,7 @@ boolean validateSocialHistorySectionSmokingStatusObservation(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::TobaccoUse))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::TobaccoUse))'" * @generated */ boolean validateSocialHistorySectionTobaccoUse(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ boolean validateSocialHistorySectionSmokingStatusObservation(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SocialHistoryObservation)).oclAsType(consol::SocialHistoryObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SocialHistoryObservation)).oclAsType(consol::SocialHistoryObservation)'" * @generated */ EList getSocialHistoryObservations(); @@ -149,7 +144,7 @@ boolean validateSocialHistorySectionSmokingStatusObservation(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PregnancyObservation)).oclAsType(consol::PregnancyObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::PregnancyObservation)).oclAsType(consol::PregnancyObservation)'" * @generated */ EList getPregnancyObservations(); @@ -158,7 +153,7 @@ boolean validateSocialHistorySectionSmokingStatusObservation(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SmokingStatusObservation)).oclAsType(consol::SmokingStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SmokingStatusObservation)).oclAsType(consol::SmokingStatusObservation)'" * @generated */ EList getSmokingStatusObservations(); @@ -167,7 +162,7 @@ boolean validateSocialHistorySectionSmokingStatusObservation(DiagnosticChain dia * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::TobaccoUse)).oclAsType(consol::TobaccoUse)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::TobaccoUse)).oclAsType(consol::TobaccoUse)'" * @generated */ EList getTobaccoUses(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistorySection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistorySection2.java index e9f286f2d7..256368622f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistorySection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SocialHistorySection2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -31,7 +27,7 @@ public interface SocialHistorySection2 extends SocialHistorySection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.17\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.17\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateSocialHistorySection2TemplateId(DiagnosticChain diagnostics, Map context); @@ -43,7 +39,7 @@ public interface SocialHistorySection2 extends SocialHistorySection { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CaregiverCharacteristics))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CaregiverCharacteristics))'" * @generated */ boolean validateSocialHistorySection2CaregiverCharacteristics(DiagnosticChain diagnostics, @@ -56,7 +52,7 @@ boolean validateSocialHistorySection2CaregiverCharacteristics(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CulturalAndReligiousObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CulturalAndReligiousObservation))'" * @generated */ boolean validateSocialHistorySection2CulturalAndReligiousObservation(DiagnosticChain diagnostics, @@ -69,7 +65,7 @@ boolean validateSocialHistorySection2CulturalAndReligiousObservation(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment))'" * @generated */ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(DiagnosticChain diagnostics, @@ -82,7 +78,7 @@ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::BirthSexObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.observation.oclIsUndefined() and entry.observation.oclIsKindOf(consol::BirthSexObservation))'" * @generated */ boolean validateSocialHistorySection2BirthSexObservation(DiagnosticChain diagnostics, Map context); @@ -91,7 +87,7 @@ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SocialHistoryObservation2)).oclAsType(consol::SocialHistoryObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SocialHistoryObservation2)).oclAsType(consol::SocialHistoryObservation2)'" * @generated */ EList getConsolSocialHistoryObservation2s(); @@ -100,7 +96,7 @@ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2)).oclAsType(consol::SmokingStatusMeaningfulUse2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SmokingStatusMeaningfulUse2)).oclAsType(consol::SmokingStatusMeaningfulUse2)'" * @generated */ EList getConsolCurrentSmokingStatus2s(); @@ -109,7 +105,7 @@ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::TobaccoUse2)).oclAsType(consol::TobaccoUse2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::TobaccoUse2)).oclAsType(consol::TobaccoUse2)'" * @generated */ EList getConsolTobaccoUse2s(); @@ -118,7 +114,7 @@ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CaregiverCharacteristics)).oclAsType(consol::CaregiverCharacteristics)'" * @generated */ EList getCaregiverCharacteristicss(); @@ -127,7 +123,7 @@ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CulturalAndReligiousObservation)).oclAsType(consol::CulturalAndReligiousObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CulturalAndReligiousObservation)).oclAsType(consol::CulturalAndReligiousObservation)'" * @generated */ EList getCulturalAndReligiousObservations(); @@ -136,7 +132,7 @@ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment)).oclAsType(consol::CharacteristicsOfHomeEnvironment)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CharacteristicsOfHomeEnvironment)).oclAsType(consol::CharacteristicsOfHomeEnvironment)'" * @generated */ EList getCharacteristicsOfHomeEnvironments(); @@ -145,7 +141,7 @@ boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment(Diagnostic * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::BirthSexObservation)).oclAsType(consol::BirthSexObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::BirthSexObservation)).oclAsType(consol::BirthSexObservation)'" * @generated */ EList getBirthSexObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/StudyAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/StudyAct.java index 7957636a87..f91b3341d2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/StudyAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/StudyAct.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -32,7 +27,7 @@ public interface StudyAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->forAll( not root.oclIsUndefined() )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->forAll( not root.oclIsUndefined() )'" * @generated */ boolean validateStudyActIdsHaveRoot(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface StudyAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->forAll( extension.oclIsUndefined() )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.id->forAll( extension.oclIsUndefined() )'" * @generated */ boolean validateStudyActNoIdExtension(DiagnosticChain diagnostics, Map context); @@ -56,7 +51,7 @@ public interface StudyAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateStudyActTextReference(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface StudyAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateStudyActTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -92,7 +87,7 @@ public interface StudyAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.6\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.6\')'" * @generated */ boolean validateStudyActTemplateId(DiagnosticChain diagnostics, Map context); @@ -128,7 +123,7 @@ public interface StudyAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateStudyActId(DiagnosticChain diagnostics, Map context); @@ -176,7 +171,7 @@ public interface StudyAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::SeriesAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.act.oclIsUndefined() and entryRelationship.act.oclIsKindOf(consol::SeriesAct) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::COMP)'" * @generated */ boolean validateStudyActSeriesAct(DiagnosticChain diagnostics, Map context); @@ -185,7 +180,7 @@ public interface StudyAct extends Act { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::SeriesAct))->asSequence()->any(true).oclAsType(consol::SeriesAct)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getActs()->select(act : cda::Act | not act.oclIsUndefined() and act.oclIsKindOf(consol::SeriesAct))->asSequence()->any(true).oclAsType(consol::SeriesAct)'" * @generated */ SeriesAct getSeriesAct(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubjectiveSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubjectiveSection.java index e34392e857..acd4529963 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubjectiveSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubjectiveSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface SubjectiveSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.2.2\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.21.2.2\')'" * @generated */ boolean validateSubjectiveSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceAdministeredAct.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceAdministeredAct.java index a0aaedb5f2..91d83d5b48 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceAdministeredAct.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceAdministeredAct.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Act; /** @@ -32,7 +27,7 @@ public interface SubstanceAdministeredAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.118\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.118\')'" * @generated */ boolean validateSubstanceAdministeredActTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface SubstanceAdministeredAct extends Act { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateSubstanceAdministeredActId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceOrDeviceAllergyObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceOrDeviceAllergyObservation.java index 415a5a8f52..c665f660b8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceOrDeviceAllergyObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceOrDeviceAllergyObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -37,7 +32,7 @@ public interface SubstanceOrDeviceAllergyObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::AllergyStatusObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::AllergyStatusObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusInversionIndicator(DiagnosticChain diagnostics, @@ -50,7 +45,7 @@ boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusInversionIndicat * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::ReactionObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::ReactionObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationReactionInversionIndicator(DiagnosticChain diagnostics, @@ -63,7 +58,7 @@ boolean validateSubstanceOrDeviceAllergyObservationReactionInversionIndicator(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::SeverityObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::SeverityObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationSeverityInversionIndicator(DiagnosticChain diagnostics, @@ -76,7 +71,7 @@ boolean validateSubstanceOrDeviceAllergyObservationSeverityInversionIndicator(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.24.3.90\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.24.3.90\')'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationTemplateId(DiagnosticChain diagnostics, @@ -115,7 +110,7 @@ boolean validateSubstanceOrDeviceAllergyObservationMoodCode(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationId(DiagnosticChain diagnostics, Map context); @@ -190,7 +185,7 @@ boolean validateSubstanceOrDeviceAllergyObservationEffectiveTime(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'420134006\' or value.code = \'418038007\' or value.code = \'419511003\' or value.code = \'418471000\' or value.code = \'419199007\' or value.code = \'416098002\' or value.code = \'414285001\' or value.code = \'59037007\' or value.code = \'235719002\' or value.code = \'232347008\' or value.code = \'426232007\')))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and (value.code = \'420134006\' or value.code = \'418038007\' or value.code = \'419511003\' or value.code = \'418471000\' or value.code = \'419199007\' or value.code = \'416098002\' or value.code = \'414285001\' or value.code = \'59037007\' or value.code = \'235719002\' or value.code = \'232347008\' or value.code = \'426232007\')))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationValue(DiagnosticChain diagnostics, Map context); @@ -202,7 +197,7 @@ boolean validateSubstanceOrDeviceAllergyObservationEffectiveTime(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationValueP(DiagnosticChain diagnostics, Map context); @@ -214,7 +209,7 @@ boolean validateSubstanceOrDeviceAllergyObservationEffectiveTime(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::AllergyStatusObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusObservation(DiagnosticChain diagnostics, @@ -227,7 +222,7 @@ boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusObservation(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::MFST)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::ReactionObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::MFST)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationReactionObservation(DiagnosticChain diagnostics, @@ -240,7 +235,7 @@ boolean validateSubstanceOrDeviceAllergyObservationReactionObservation(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SeverityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SeverityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationSeverityObservation(DiagnosticChain diagnostics, @@ -253,7 +248,7 @@ boolean validateSubstanceOrDeviceAllergyObservationSeverityObservation(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant2 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant2))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipant(DiagnosticChain diagnostics, @@ -266,7 +261,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipant(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((originalText.oclIsUndefined() or originalText.isNullFlavorUndefined()) implies (not originalText.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((originalText.oclIsUndefined() or originalText.isNullFlavorUndefined()) implies (not originalText.oclIsUndefined()) )))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCEOriginalText( @@ -279,7 +274,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (not translation->isEmpty()) )))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCETranslation( @@ -292,7 +287,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.reference.value.oclIsUndefined() implies not getSection().text.getText(code.originalText.reference.value.substring(2, code.originalText.reference.value.size())).oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.reference.value.oclIsUndefined() implies not getSection().text.getText(code.originalText.reference.value.substring(2, code.originalText.reference.value.size())).oclIsUndefined())'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReferenceValue( @@ -305,7 +300,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.reference.oclIsUndefined() implies code.originalText.reference.value->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.reference.oclIsUndefined() implies code.originalText.reference.value->size() = 1)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityReferenceValue( @@ -318,7 +313,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.oclIsUndefined() implies not code.originalText.reference.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(not code.originalText.oclIsUndefined() implies not code.originalText.reference.oclIsUndefined())'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReference( @@ -331,7 +326,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(( code.oclIsUndefined() or code.isNullFlavorUndefined() ) implies ( not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and ( ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.3.26.1.5\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.88\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.4.9\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined() ) ) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(( code.oclIsUndefined() or code.isNullFlavorUndefined() ) implies ( not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and ( ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.3.26.1.5\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.88\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.4.9\' and not value.code.oclIsUndefined() ) or ( let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined() ) ) ))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCodeTerminologyValueSetGroupSRFI( @@ -344,7 +339,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::EntityClassRoot::MMAT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::EntityClassRoot::MMAT)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityClassCode( @@ -357,7 +352,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCode( @@ -370,7 +365,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::RoleClassRoot::MANU)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::RoleClassRoot::MANU)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRoleClassCode(DiagnosticChain diagnostics, @@ -383,7 +378,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRoleCla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null)->reject(playingEntity->one(playingEntity : cda::PlayingEntity | not playingEntity.oclIsUndefined() and playingEntity.oclIsKindOf(cda::PlayingEntity)))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntity( @@ -396,7 +391,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::CSM)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(typeCode=vocab::ParticipationType::CSM)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantTypeCode(DiagnosticChain diagnostics, @@ -409,7 +404,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantTypeCode(Diagnosti * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(participantRole->one(participantRole : cda::ParticipantRole | not participantRole.oclIsUndefined() and participantRole.oclIsKindOf(cda::ParticipantRole)))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRole(DiagnosticChain diagnostics, @@ -419,7 +414,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRole(Di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyStatusObservation))->asSequence()->any(true).oclAsType(consol::AllergyStatusObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyStatusObservation))->asSequence()->any(true).oclAsType(consol::AllergyStatusObservation)'" * @generated */ AllergyStatusObservation getAllergyStatusObservation(); @@ -428,7 +423,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRole(Di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation)).oclAsType(consol::ReactionObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation)).oclAsType(consol::ReactionObservation)'" * @generated */ EList getReactionObservations(); @@ -437,7 +432,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRole(Di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation))->asSequence()->any(true).oclAsType(consol::SeverityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation))->asSequence()->any(true).oclAsType(consol::SeverityObservation)'" * @generated */ SeverityObservation getSeverityObservation(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceOrDeviceAllergyObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceOrDeviceAllergyObservation2.java index 7fa2745315..afab9947fb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceOrDeviceAllergyObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SubstanceOrDeviceAllergyObservation2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -36,7 +32,7 @@ public interface SubstanceOrDeviceAllergyObservation2 extends SubstanceOrDeviceA * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::CriticalityObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->select(er : cda::EntryRelationship | er.observation.oclIsTypeOf(consol::CriticalityObservation))->forAll(ent : cda::EntryRelationship | ent.inversionInd=true)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservation2CriticalityInversionIndicator(DiagnosticChain diagnostics, @@ -49,7 +45,7 @@ boolean validateSubstanceOrDeviceAllergyObservation2CriticalityInversionIndicato * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.24.3.90\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.24.3.90\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservation2TemplateId(DiagnosticChain diagnostics, @@ -62,7 +58,7 @@ boolean validateSubstanceOrDeviceAllergyObservation2TemplateId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservation2AuthorParticipation(DiagnosticChain diagnostics, @@ -75,7 +71,7 @@ boolean validateSubstanceOrDeviceAllergyObservation2AuthorParticipation(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CriticalityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::CriticalityObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SUBJ)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservation2CriticalityObservation(DiagnosticChain diagnostics, @@ -88,7 +84,7 @@ boolean validateSubstanceOrDeviceAllergyObservation2CriticalityObservation(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((low.oclIsUndefined() or low.isNullFlavorUndefined()) implies (not low.oclIsUndefined()) )))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservation2IVLTSLow(DiagnosticChain diagnostics, @@ -101,7 +97,7 @@ boolean validateSubstanceOrDeviceAllergyObservation2IVLTSLow(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservation2IVLTSHigh(DiagnosticChain diagnostics, @@ -114,7 +110,7 @@ boolean validateSubstanceOrDeviceAllergyObservation2IVLTSHigh(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityAllergySpecificMedication( @@ -127,7 +123,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityAllergyClassMedication( @@ -140,7 +136,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).participantRole->excluding(null).playingEntity->excluding(null)->reject(true)'" * @generated */ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityAllergyFoodOtherSubstance( @@ -150,7 +146,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::ReactionObservation2)).oclAsType(consol::ReactionObservation2)'" * @generated */ EList getConsolReactionObservation2s(); @@ -159,7 +155,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation2))->asSequence()->any(true).oclAsType(consol::SeverityObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SeverityObservation2))->asSequence()->any(true).oclAsType(consol::SeverityObservation2)'" * @generated */ SeverityObservation2 getConsolSeverityObservation2(); @@ -168,7 +164,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CriticalityObservation))->asSequence()->any(true).oclAsType(consol::CriticalityObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::CriticalityObservation))->asSequence()->any(true).oclAsType(consol::CriticalityObservation)'" * @generated */ CriticalityObservation getCriticalityObservation(); @@ -177,7 +173,7 @@ boolean validateSubstanceOrDeviceAllergyObservationParticipantParticipantRolePla * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyStatusObservation2))->asSequence()->any(true).oclAsType(consol::AllergyStatusObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::AllergyStatusObservation2))->asSequence()->any(true).oclAsType(consol::AllergyStatusObservation2)'" * @generated */ AllergyStatusObservation2 getConsolAllergyStatusObservation2(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SurgicalDrainsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SurgicalDrainsSection.java index 307c6f6a59..fefc00cb30 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SurgicalDrainsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/SurgicalDrainsSection.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -32,7 +27,7 @@ public interface SurgicalDrainsSection extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.7.13\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.7.13\')'" * @generated */ boolean validateSurgicalDrainsSectionTemplateId(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TextObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TextObservation.java index 799e881400..4e200576d8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TextObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TextObservation.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -33,7 +28,7 @@ public interface TextObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateTextObservationTextReference(DiagnosticChain diagnostics, Map context); @@ -45,7 +40,7 @@ public interface TextObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateTextObservationTextReferenceValue(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface TextObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.12\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.6.2.12\')'" * @generated */ boolean validateTextObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -141,7 +136,7 @@ public interface TextObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::ED)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::ED)))'" * @generated */ boolean validateTextObservationValue(DiagnosticChain diagnostics, Map context); @@ -153,7 +148,7 @@ public interface TextObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::SOPInstanceObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" * @generated */ boolean validateTextObservationSOPInstanceObservation(DiagnosticChain diagnostics, Map context); @@ -165,7 +160,7 @@ public interface TextObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::QuantityMeasurementObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | not entryRelationship.observation.oclIsUndefined() and entryRelationship.observation.oclIsKindOf(consol::QuantityMeasurementObservation) and entryRelationship.typeCode = vocab::x_ActRelationshipEntryRelationship::SPRT)'" * @generated */ boolean validateTextObservationQuantityMeasurementObservation(DiagnosticChain diagnostics, @@ -175,7 +170,7 @@ boolean validateTextObservationQuantityMeasurementObservation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::SOPInstanceObservation)).oclAsType(consol::SOPInstanceObservation)'" * @generated */ EList getSOPInstanceObservations(); @@ -184,7 +179,7 @@ boolean validateTextObservationQuantityMeasurementObservation(DiagnosticChain di * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::QuantityMeasurementObservation)).oclAsType(consol::QuantityMeasurementObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::QuantityMeasurementObservation)).oclAsType(consol::QuantityMeasurementObservation)'" * @generated */ EList getQuantityMeasurementObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TobaccoUse.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TobaccoUse.java index dcbea5031f..26252c7e03 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TobaccoUse.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TobaccoUse.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -45,7 +40,7 @@ public interface TobaccoUse extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.85\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.85\')'" * @generated */ boolean validateTobaccoUseTemplateId(DiagnosticChain diagnostics, Map context); @@ -129,7 +124,7 @@ public interface TobaccoUse extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateTobaccoUseValue(DiagnosticChain diagnostics, Map context); @@ -141,7 +136,7 @@ public interface TobaccoUse extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateTobaccoUseValueP(DiagnosticChain diagnostics, Map context); @@ -153,7 +148,7 @@ public interface TobaccoUse extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject((code = \'ASSERTION\' and codeSystem = \'2.16.840.1.113883.5.4\') or (code = \'11367-0\' and codeSystem = \'2.16.840.1.113883.6.1\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject((code = \'ASSERTION\' and codeSystem = \'2.16.840.1.113883.5.4\') or (code = \'11367-0\' and codeSystem = \'2.16.840.1.113883.6.1\'))'" * @generated */ boolean validateTobaccoUseCDCodeTermAssertionOrLoinc(DiagnosticChain diagnostics, Map context); @@ -165,7 +160,7 @@ public interface TobaccoUse extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" * @generated */ boolean validateTobaccoUseCDCode(DiagnosticChain diagnostics, Map context); @@ -177,7 +172,7 @@ public interface TobaccoUse extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not codeSystem.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not codeSystem.oclIsUndefined() )))'" * @generated */ boolean validateTobaccoUseCDCodeSystem(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TobaccoUse2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TobaccoUse2.java index 623a73b836..6508e85273 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TobaccoUse2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TobaccoUse2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface TobaccoUse2 extends TobaccoUse { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.85\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.85\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateTobaccoUse2TemplateId(DiagnosticChain diagnostics, Map context); @@ -44,7 +40,7 @@ public interface TobaccoUse2 extends TobaccoUse { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateTobaccoUse2Id(DiagnosticChain diagnostics, Map context); @@ -68,7 +64,7 @@ public interface TobaccoUse2 extends TobaccoUse { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateTobaccoUse2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -80,7 +76,7 @@ public interface TobaccoUse2 extends TobaccoUse { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject(true)'" * @generated */ boolean validateTobaccoUse2CDCodeTermAssertionOrLoinc(DiagnosticChain diagnostics, Map context); @@ -92,7 +88,7 @@ public interface TobaccoUse2 extends TobaccoUse { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.effectiveTime->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((high.oclIsUndefined() or high.isNullFlavorUndefined()) implies (not high.oclIsUndefined()) )))'" * @generated */ boolean validateTobaccoUse2IVLTSHigh(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TransferSummary.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TransferSummary.java index 83de5e8de0..6614cf5f8b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TransferSummary.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/TransferSummary.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -39,7 +35,7 @@ public interface TransferSummary extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) and self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateTransferSummaryHasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( @@ -52,7 +48,7 @@ boolean validateTransferSummaryHasAnAssementAndPlanSection2OrBothAssementSection * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2)) or self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))) xor self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent( @@ -101,7 +97,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::IND)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::IND)->notEmpty()'" * @generated */ boolean validateTransferSummaryParticipantSupport(DiagnosticChain diagnostics, Map context); @@ -113,7 +109,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::CALLBCK)->notEmpty()'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->select(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))->select(typeCode = vocab::ParticipationType::CALLBCK)->notEmpty()'" * @generated */ boolean validateTransferSummaryParticipantCallbackContact(DiagnosticChain diagnostics, Map context); @@ -125,7 +121,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->one(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateTransferSummaryDocumentationOf(DiagnosticChain diagnostics, Map context); @@ -137,7 +133,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSection2))'" * @generated */ boolean validateTransferSummaryAdvanceDirectivesSection2(DiagnosticChain diagnostics, Map context); @@ -149,7 +145,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))'" * @generated */ boolean validateTransferSummaryAllergiesSection2(DiagnosticChain diagnostics, Map context); @@ -161,7 +157,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))'" * @generated */ boolean validateTransferSummaryPhysicalExamSection2(DiagnosticChain diagnostics, Map context); @@ -173,7 +169,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSection2))'" * @generated */ boolean validateTransferSummaryEncountersSection2(DiagnosticChain diagnostics, Map context); @@ -185,7 +181,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))'" * @generated */ boolean validateTransferSummaryFamilyHistorySection(DiagnosticChain diagnostics, Map context); @@ -197,7 +193,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))'" * @generated */ boolean validateTransferSummaryFunctionalStatusSection2(DiagnosticChain diagnostics, Map context); @@ -209,7 +205,7 @@ boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAnd * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))'" * @generated */ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -222,7 +218,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))'" * @generated */ boolean validateTransferSummaryMedicalEquipmentSection2(DiagnosticChain diagnostics, Map context); @@ -234,7 +230,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))'" * @generated */ boolean validateTransferSummaryMedicationsSection2(DiagnosticChain diagnostics, Map context); @@ -246,7 +242,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection2))'" * @generated */ boolean validateTransferSummaryPayersSection2(DiagnosticChain diagnostics, Map context); @@ -258,7 +254,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))'" * @generated */ boolean validateTransferSummaryPlanOfTreatmentSection2(DiagnosticChain diagnostics, Map context); @@ -270,7 +266,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))'" * @generated */ boolean validateTransferSummaryProblemSection2(DiagnosticChain diagnostics, Map context); @@ -282,7 +278,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection2))'" * @generated */ boolean validateTransferSummaryProceduresSection2(DiagnosticChain diagnostics, Map context); @@ -294,7 +290,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))'" * @generated */ boolean validateTransferSummaryResultsSection2(DiagnosticChain diagnostics, Map context); @@ -306,7 +302,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))'" * @generated */ boolean validateTransferSummarySocialHistorySection2(DiagnosticChain diagnostics, Map context); @@ -318,7 +314,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))'" * @generated */ boolean validateTransferSummaryVitalSignsSection2(DiagnosticChain diagnostics, Map context); @@ -330,7 +326,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))'" * @generated */ boolean validateTransferSummaryMentalStatusSection(DiagnosticChain diagnostics, Map context); @@ -342,7 +338,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))'" * @generated */ boolean validateTransferSummaryGeneralStatusSection(DiagnosticChain diagnostics, Map context); @@ -354,7 +350,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))'" * @generated */ boolean validateTransferSummaryReviewOfSystemsSection(DiagnosticChain diagnostics, Map context); @@ -366,7 +362,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))'" * @generated */ boolean validateTransferSummaryNutritionSection(DiagnosticChain diagnostics, Map context); @@ -378,7 +374,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection2))'" * @generated */ boolean validateTransferSummaryReasonForReferralSection2(DiagnosticChain diagnostics, Map context); @@ -390,7 +386,7 @@ boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))'" * @generated */ boolean validateTransferSummaryHistoryOfPastIllnessSection2(DiagnosticChain diagnostics, @@ -403,7 +399,7 @@ boolean validateTransferSummaryHistoryOfPastIllnessSection2(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))'" * @generated */ boolean validateTransferSummaryHistoryOfPresentIllnessSection(DiagnosticChain diagnostics, @@ -416,7 +412,7 @@ boolean validateTransferSummaryHistoryOfPresentIllnessSection(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))'" * @generated */ boolean validateTransferSummaryAssessmentAndPlanSection2(DiagnosticChain diagnostics, Map context); @@ -428,7 +424,7 @@ boolean validateTransferSummaryHistoryOfPresentIllnessSection(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))'" * @generated */ boolean validateTransferSummaryAssessmentSection(DiagnosticChain diagnostics, Map context); @@ -440,7 +436,7 @@ boolean validateTransferSummaryHistoryOfPresentIllnessSection(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDiagnosisSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDiagnosisSection2))'" * @generated */ boolean validateTransferSummaryDischargeDiagnosisSection2(DiagnosticChain diagnostics, Map context); @@ -452,7 +448,7 @@ boolean validateTransferSummaryHistoryOfPresentIllnessSection(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionMedicationsSectionEntriesOptional2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionMedicationsSectionEntriesOptional2))'" * @generated */ boolean validateTransferSummaryAdmissionMedicationsSectionEntriesOptional2(DiagnosticChain diagnostics, @@ -465,7 +461,7 @@ boolean validateTransferSummaryAdmissionMedicationsSectionEntriesOptional2(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionDiagnosisSection2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionDiagnosisSection2))'" * @generated */ boolean validateTransferSummaryAdmissionDiagnosisSection2(DiagnosticChain diagnostics, Map context); @@ -477,7 +473,7 @@ boolean validateTransferSummaryAdmissionMedicationsSectionEntriesOptional2(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::CourseOfCareSection))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::CourseOfCareSection))'" * @generated */ boolean validateTransferSummaryCourseOfCareSection(DiagnosticChain diagnostics, Map context); @@ -489,7 +485,7 @@ boolean validateTransferSummaryAdmissionMedicationsSectionEntriesOptional2(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateTransferSummaryParticipantSupportAssociatedEntityAssociatedPersonName(DiagnosticChain diagnostics, @@ -502,7 +498,7 @@ boolean validateTransferSummaryParticipantSupportAssociatedEntityAssociatedPerso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(isDefined(\'classCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(isDefined(\'classCode\'))'" * @generated */ boolean validateTransferSummaryParticipantSupportAssociatedEntityClassCodeP(DiagnosticChain diagnostics, @@ -515,7 +511,7 @@ boolean validateTransferSummaryParticipantSupportAssociatedEntityClassCodeP(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(not classCode.oclIsUndefined() and classCode.oclIsKindOf(vocab::RoleClassAssociative) and \r\nlet value : vocab::RoleClassAssociative = classCode.oclAsType(vocab::RoleClassAssociative) in \r\nvalue = vocab::RoleClassAssociative::PRS or value = vocab::RoleClassAssociative::NOK or value = vocab::RoleClassAssociative::CAREGIVER or value = vocab::RoleClassAssociative::AGNT or value = vocab::RoleClassAssociative::GUAR or value = vocab::RoleClassAssociative::ECON)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(not classCode.oclIsUndefined() and classCode.oclIsKindOf(vocab::RoleClassAssociative) and \r\nlet value : vocab::RoleClassAssociative = classCode.oclAsType(vocab::RoleClassAssociative) in \r\nvalue = vocab::RoleClassAssociative::PRS or value = vocab::RoleClassAssociative::NOK or value = vocab::RoleClassAssociative::CAREGIVER or value = vocab::RoleClassAssociative::AGNT or value = vocab::RoleClassAssociative::GUAR or value = vocab::RoleClassAssociative::ECON)'" * @generated */ boolean validateTransferSummaryParticipantSupportAssociatedEntityClassCode(DiagnosticChain diagnostics, @@ -528,7 +524,7 @@ boolean validateTransferSummaryParticipantSupportAssociatedEntityClassCode(Diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateTransferSummaryParticipantSupportAssociatedEntityAssociatedPerson(DiagnosticChain diagnostics, @@ -541,7 +537,7 @@ boolean validateTransferSummaryParticipantSupportAssociatedEntityAssociatedPerso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject(typeCode=vocab::ParticipationType::IND)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject(typeCode=vocab::ParticipationType::IND)'" * @generated */ boolean validateTransferSummaryParticipantSupportTypeCode(DiagnosticChain diagnostics, Map context); @@ -553,7 +549,7 @@ boolean validateTransferSummaryParticipantSupportAssociatedEntityAssociatedPerso * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::IND)->select(typeCode = vocab::ParticipationType::IND)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateTransferSummaryParticipantSupportAssociatedEntity(DiagnosticChain diagnostics, @@ -566,7 +562,7 @@ boolean validateTransferSummaryParticipantSupportAssociatedEntity(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null).associatedPerson->excluding(null)->reject((name->isEmpty() or name->exists(element | element.isNullFlavorUndefined())) implies (( not name->isEmpty()) ))'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAssociatedPersonName( @@ -579,7 +575,7 @@ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAssocia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(classCode=vocab::RoleClassAssociative::ASSIGNED)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(classCode=vocab::RoleClassAssociative::ASSIGNED)'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityClassCode(DiagnosticChain diagnostics, @@ -592,7 +588,7 @@ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityClassCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (( not id->isEmpty()) ))'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityId(DiagnosticChain diagnostics, @@ -605,7 +601,7 @@ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityId(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (not addr->isEmpty()))'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAddr(DiagnosticChain diagnostics, @@ -618,7 +614,7 @@ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAddr(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (( not telecom->isEmpty()) ))'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityTelecom(DiagnosticChain diagnostics, @@ -631,7 +627,7 @@ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityTelecom * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(associatedPerson->one(associatedPerson : cda::Person | not associatedPerson.oclIsUndefined() and associatedPerson.oclIsKindOf(cda::Person)))'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAssociatedPerson( @@ -644,7 +640,7 @@ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAssocia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(scopingOrganization->one(scopingOrganization : cda::Organization | not scopingOrganization.oclIsUndefined() and scopingOrganization.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK).associatedEntity->excluding(null)->reject(scopingOrganization->one(scopingOrganization : cda::Organization | not scopingOrganization.oclIsUndefined() and scopingOrganization.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityScopingOrganization( @@ -657,7 +653,7 @@ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityScoping * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK)->select(typeCode = vocab::ParticipationType::CALLBCK)->reject(typeCode=vocab::ParticipationType::CALLBCK)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK)->select(typeCode = vocab::ParticipationType::CALLBCK)->reject(typeCode=vocab::ParticipationType::CALLBCK)'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactTypeCode(DiagnosticChain diagnostics, @@ -670,7 +666,7 @@ boolean validateTransferSummaryParticipantCallbackContactTypeCode(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK)->select(typeCode = vocab::ParticipationType::CALLBCK)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->select(typeCode = vocab::ParticipationType::CALLBCK)->select(typeCode = vocab::ParticipationType::CALLBCK)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntity(DiagnosticChain diagnostics, @@ -683,7 +679,7 @@ boolean validateTransferSummaryParticipantCallbackContactAssociatedEntity(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PRF)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject(typeCode=vocab::x_ServiceEventPerformer::PRF)'" * @generated */ boolean validateTransferSummaryDocumentationOfServiceEventPerformerTypeCode(DiagnosticChain diagnostics, @@ -696,7 +692,7 @@ boolean validateTransferSummaryDocumentationOfServiceEventPerformerTypeCode(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" * @generated */ boolean validateTransferSummaryDocumentationOfServiceEventPerformerFunctionCodeP(DiagnosticChain diagnostics, @@ -709,7 +705,7 @@ boolean validateTransferSummaryDocumentationOfServiceEventPerformerFunctionCodeP * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateTransferSummaryDocumentationOfServiceEventPerformerFunctionCode(DiagnosticChain diagnostics, @@ -722,7 +718,7 @@ boolean validateTransferSummaryDocumentationOfServiceEventPerformerFunctionCode( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(isDefined(\'classCode\') and classCode=vocab::ActClassRoot::PCPR)'" * @generated */ boolean validateTransferSummaryDocumentationOfServiceEventClassCode(DiagnosticChain diagnostics, @@ -735,7 +731,7 @@ boolean validateTransferSummaryDocumentationOfServiceEventClassCode(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateTransferSummaryDocumentationOfServiceEventCode(DiagnosticChain diagnostics, @@ -748,7 +744,7 @@ boolean validateTransferSummaryDocumentationOfServiceEventCode(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->notEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->select(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1))->select(typeCode = vocab::x_ServiceEventPerformer::PRF)->notEmpty())'" * @generated */ boolean validateTransferSummaryDocumentationOfServiceEventPerformer1(DiagnosticChain diagnostics, @@ -761,7 +757,7 @@ boolean validateTransferSummaryDocumentationOfServiceEventPerformer1(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagnostics, @@ -771,7 +767,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSection2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdvanceDirectivesSection2))->asSequence()->any(true).oclAsType(consol::AdvanceDirectivesSection2)'" * @generated */ AdvanceDirectivesSection2 getAdvanceDirectivesSection2(); @@ -780,7 +776,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))->asSequence()->any(true).oclAsType(consol::AllergiesSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AllergiesSection2))->asSequence()->any(true).oclAsType(consol::AllergiesSection2)'" * @generated */ AllergiesSection2 getAllergiesSection2(); @@ -789,7 +785,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PhysicalExamSection2))->asSequence()->any(true).oclAsType(consol::PhysicalExamSection2)'" * @generated */ PhysicalExamSection2 getPhysicalExamSection2(); @@ -798,7 +794,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSection2))->asSequence()->any(true).oclAsType(consol::EncountersSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::EncountersSection2))->asSequence()->any(true).oclAsType(consol::EncountersSection2)'" * @generated */ EncountersSection2 getEncountersSection2(); @@ -807,7 +803,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FamilyHistorySection))->asSequence()->any(true).oclAsType(consol::FamilyHistorySection)'" * @generated */ FamilyHistorySection getFamilyHistorySection(); @@ -816,7 +812,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::FunctionalStatusSection2))->asSequence()->any(true).oclAsType(consol::FunctionalStatusSection2)'" * @generated */ FunctionalStatusSection2 getFunctionalStatusSection2(); @@ -825,7 +821,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ImmunizationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::ImmunizationsSectionEntriesOptional2)'" * @generated */ ImmunizationsSectionEntriesOptional2 getImmunizationsSectionEntriesOptional2(); @@ -834,7 +830,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicalEquipmentSection2))->asSequence()->any(true).oclAsType(consol::MedicalEquipmentSection2)'" * @generated */ MedicalEquipmentSection2 getMedicalEquipmentSection2(); @@ -843,7 +839,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))->asSequence()->any(true).oclAsType(consol::MedicationsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MedicationsSection2))->asSequence()->any(true).oclAsType(consol::MedicationsSection2)'" * @generated */ MedicationsSection2 getMedicationsSection2(); @@ -852,7 +848,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection2))->asSequence()->any(true).oclAsType(consol::PayersSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PayersSection2))->asSequence()->any(true).oclAsType(consol::PayersSection2)'" * @generated */ PayersSection2 getPayersSection2(); @@ -861,7 +857,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::PlanOfTreatmentSection2))->asSequence()->any(true).oclAsType(consol::PlanOfTreatmentSection2)'" * @generated */ PlanOfTreatmentSection2 getPlanOfTreatmentSection2(); @@ -870,7 +866,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))->asSequence()->any(true).oclAsType(consol::ProblemSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProblemSection2))->asSequence()->any(true).oclAsType(consol::ProblemSection2)'" * @generated */ ProblemSection2 getProblemSection2(); @@ -879,7 +875,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection2))->asSequence()->any(true).oclAsType(consol::ProceduresSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ProceduresSection2))->asSequence()->any(true).oclAsType(consol::ProceduresSection2)'" * @generated */ ProceduresSection2 getProceduresSection2(); @@ -888,7 +884,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))->asSequence()->any(true).oclAsType(consol::ResultsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ResultsSection2))->asSequence()->any(true).oclAsType(consol::ResultsSection2)'" * @generated */ ResultsSection2 getResultsSection2(); @@ -897,7 +893,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::SocialHistorySection2))->asSequence()->any(true).oclAsType(consol::SocialHistorySection2)'" * @generated */ SocialHistorySection2 getSocialHistorySection2(); @@ -906,7 +902,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))->asSequence()->any(true).oclAsType(consol::VitalSignsSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::VitalSignsSection2))->asSequence()->any(true).oclAsType(consol::VitalSignsSection2)'" * @generated */ VitalSignsSection2 getVitalSignsSection2(); @@ -915,7 +911,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))->asSequence()->any(true).oclAsType(consol::MentalStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::MentalStatusSection))->asSequence()->any(true).oclAsType(consol::MentalStatusSection)'" * @generated */ MentalStatusSection getMentalStatusSection(); @@ -924,7 +920,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::GeneralStatusSection))->asSequence()->any(true).oclAsType(consol::GeneralStatusSection)'" * @generated */ GeneralStatusSection getGeneralStatusSection(); @@ -933,7 +929,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReviewOfSystemsSection))->asSequence()->any(true).oclAsType(consol::ReviewOfSystemsSection)'" * @generated */ ReviewOfSystemsSection getReviewOfSystemsSection(); @@ -942,7 +938,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::NutritionSection))->asSequence()->any(true).oclAsType(consol::NutritionSection)'" * @generated */ NutritionSection getNutritionSection(); @@ -951,7 +947,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection2))->asSequence()->any(true).oclAsType(consol::ReasonForReferralSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::ReasonForReferralSection2))->asSequence()->any(true).oclAsType(consol::ReasonForReferralSection2)'" * @generated */ ReasonForReferralSection2 getReasonForReferralSection2(); @@ -960,7 +956,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPastIllnessSection2))->asSequence()->any(true).oclAsType(consol::HistoryOfPastIllnessSection2)'" * @generated */ HistoryOfPastIllnessSection2 getHistoryOfPastIllnessSection2(); @@ -969,7 +965,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::HistoryOfPresentIllnessSection))->asSequence()->any(true).oclAsType(consol::HistoryOfPresentIllnessSection)'" * @generated */ HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(); @@ -978,7 +974,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentAndPlanSection2))->asSequence()->any(true).oclAsType(consol::AssessmentAndPlanSection2)'" * @generated */ AssessmentAndPlanSection2 getAssessmentAndPlanSection2(); @@ -987,7 +983,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AssessmentSection))->asSequence()->any(true).oclAsType(consol::AssessmentSection)'" * @generated */ AssessmentSection getAssessmentSection(); @@ -996,7 +992,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::DischargeDiagnosisSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::DischargeDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::DischargeDiagnosisSection2)'" * @generated */ DischargeDiagnosisSection2 getDischargeDiagnosisSection2(); @@ -1005,7 +1001,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionMedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdmissionMedicationsSectionEntriesOptional2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionMedicationsSectionEntriesOptional2))->asSequence()->any(true).oclAsType(consol::AdmissionMedicationsSectionEntriesOptional2)'" * @generated */ AdmissionMedicationsSectionEntriesOptional2 getAdmissionMedicationsSectionEntriesOptional2(); @@ -1014,7 +1010,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::AdmissionDiagnosisSection2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::AdmissionDiagnosisSection2))->asSequence()->any(true).oclAsType(consol::AdmissionDiagnosisSection2)'" * @generated */ AdmissionDiagnosisSection2 getAdmissionDiagnosisSection2(); @@ -1023,7 +1019,7 @@ boolean validateTransferSummaryDocumentationOfServiceEvent(DiagnosticChain diagn * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::CourseOfCareSection))->asSequence()->any(true).oclAsType(consol::CourseOfCareSection)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(consol::CourseOfCareSection))->asSequence()->any(true).oclAsType(consol::CourseOfCareSection)'" * @generated */ CourseOfCareSection getCourseOfCareSection(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/USRealmHeader2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/USRealmHeader2.java index 7390683afc..f59e2ec461 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/USRealmHeader2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/USRealmHeader2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -67,7 +63,7 @@ public interface USRealmHeader2 extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.1.1\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.1.1\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateUSRealmHeader2TemplateId(DiagnosticChain diagnostics, Map context); @@ -79,7 +75,7 @@ public interface USRealmHeader2 extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject(not code.oclIsUndefined() and code.isNullFlavorUndefined() implies code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject(not code.oclIsUndefined() and code.isNullFlavorUndefined() implies code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined())'" * @generated */ boolean validateUSRealmHeader2RecordTargetPatientRolePatientGuardianCodeTerminology(DiagnosticChain diagnostics, @@ -92,7 +88,7 @@ boolean validateUSRealmHeader2RecordTargetPatientRolePatientGuardianCodeTerminol * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthTime->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() >= 10)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).birthTime->excluding(null)->select(isNullFlavorUndefined())->reject(not value.oclIsUndefined() and value.size() >= 10)'" * @generated */ boolean validateUSRealmHeader2RecordTargetPatientRolePatientTSBirthTimePreciseToMinute(DiagnosticChain diagnostics, @@ -105,7 +101,7 @@ boolean validateUSRealmHeader2RecordTargetPatientRolePatientTSBirthTimePreciseTo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((sDTCEthnicGroupCode->isEmpty() or sDTCEthnicGroupCode->exists(element | element.isNullFlavorUndefined())) implies (not sDTCEthnicGroupCode->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((sDTCEthnicGroupCode->isEmpty() or sDTCEthnicGroupCode->exists(element | element.isNullFlavorUndefined())) implies (not sDTCEthnicGroupCode->isEmpty()))'" * @generated */ boolean validateUSRealmHeader2RecordTargetPatientRolePatientSDTCEthnicGroupCodeP(DiagnosticChain diagnostics, @@ -118,7 +114,7 @@ boolean validateUSRealmHeader2RecordTargetPatientRolePatientSDTCEthnicGroupCodeP * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((sDTCEthnicGroupCode->isEmpty() or sDTCEthnicGroupCode->exists(element | element.isNullFlavorUndefined())) implies (sDTCEthnicGroupCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = element.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.238\' and not value.code.oclIsUndefined())))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject((sDTCEthnicGroupCode->isEmpty() or sDTCEthnicGroupCode->exists(element | element.isNullFlavorUndefined())) implies (sDTCEthnicGroupCode->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = element.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.238\' and not value.code.oclIsUndefined())))'" * @generated */ boolean validateUSRealmHeader2RecordTargetPatientRolePatientSDTCEthnicGroupCode(DiagnosticChain diagnostics, @@ -131,7 +127,7 @@ boolean validateUSRealmHeader2RecordTargetPatientRolePatientSDTCEthnicGroupCode( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject(not assignedPerson.oclIsUndefined() and (code.oclIsUndefined() or code.isNullFlavorUndefined()) implies not code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject(not assignedPerson.oclIsUndefined() and (code.oclIsUndefined() or code.isNullFlavorUndefined()) implies not code.oclIsUndefined())'" * @generated */ boolean validateUSRealmHeader2AuthorAssignedAuthorIfAssignedPersonThenContainsCode(DiagnosticChain diagnostics, @@ -144,7 +140,7 @@ boolean validateUSRealmHeader2AuthorAssignedAuthorIfAssignedPersonThenContainsCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject(not assignedPerson.oclIsUndefined() and (code.oclIsUndefined() or code.isNullFlavorUndefined()) implies not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject(not assignedPerson.oclIsUndefined() and (code.oclIsUndefined() or code.isNullFlavorUndefined()) implies not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and let value : datatypes::CE = code.oclAsType(datatypes::CE) in value.codeSystem = \'2.16.840.1.113883.6.101\' and not value.code.oclIsUndefined())'" * @generated */ boolean validateUSRealmHeader2AuthorAssignedAuthorCodeTerminology(DiagnosticChain diagnostics, @@ -157,7 +153,7 @@ boolean validateUSRealmHeader2AuthorAssignedAuthorCodeTerminology(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeader2InformationRecipientIntendedRecipientId(DiagnosticChain diagnostics, @@ -170,7 +166,7 @@ boolean validateUSRealmHeader2InformationRecipientIntendedRecipientId(Diagnostic * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject((sDTCSignatureText.oclIsUndefined() or sDTCSignatureText.isNullFlavorUndefined()) implies (not sDTCSignatureText.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject((sDTCSignatureText.oclIsUndefined() or sDTCSignatureText.isNullFlavorUndefined()) implies (not sDTCSignatureText.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeader2LegalAuthenticatorSDTCSignatureText(DiagnosticChain diagnostics, @@ -183,7 +179,7 @@ boolean validateUSRealmHeader2LegalAuthenticatorSDTCSignatureText(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((sDTCSignatureText.oclIsUndefined() or sDTCSignatureText.isNullFlavorUndefined()) implies (not sDTCSignatureText.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject((sDTCSignatureText.oclIsUndefined() or sDTCSignatureText.isNullFlavorUndefined()) implies (not sDTCSignatureText.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeader2AuthenticatorSDTCSignatureText(DiagnosticChain diagnostics, @@ -196,7 +192,7 @@ boolean validateUSRealmHeader2AuthenticatorSDTCSignatureText(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies ( streetAddressLine->size() >=1 and streetAddressLine->size() <=4))'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( @@ -209,7 +205,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies state->size() >= 1)'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( @@ -222,7 +218,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() and country->exists(c : datatypes::ADXP | c.getText() = \'US\') implies postalCode->size() >= 1)'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( @@ -235,7 +231,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (( not use->isEmpty()) )))'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( @@ -248,7 +244,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (use->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(vocab::PostalAddressUse) and \r\nlet value : vocab::PostalAddressUse = element.oclAsType(vocab::PostalAddressUse) in \r\nvalue = vocab::PostalAddressUse::BAD or value = vocab::PostalAddressUse::DIR or value = vocab::PostalAddressUse::H or value = vocab::PostalAddressUse::HP or value = vocab::PostalAddressUse::HV or value = vocab::PostalAddressUse::PHYS or value = vocab::PostalAddressUse::PST or value = vocab::PostalAddressUse::PUB or value = vocab::PostalAddressUse::TMP or value = vocab::PostalAddressUse::WP) )))'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( @@ -261,7 +257,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((country->isEmpty() or country->exists(element | element.isNullFlavorUndefined())) implies (( not country->isEmpty()) ) )))'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( @@ -274,7 +270,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((state->isEmpty() or state->exists(element | element.isNullFlavorUndefined())) implies (( not state->isEmpty()) ) )))'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( @@ -287,7 +283,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((city->isEmpty() or city->exists(element | element.isNullFlavorUndefined())) implies (city->size() = 1) )))'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( @@ -300,7 +296,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((postalCode->isEmpty() or postalCode->exists(element | element.isNullFlavorUndefined())) implies (( not postalCode->isEmpty()) ) )))'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( @@ -313,7 +309,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).assignedEntity->excluding(null).addr->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((streetAddressLine->isEmpty() or streetAddressLine->exists(element | element.isNullFlavorUndefined())) implies (( not streetAddressLine->isEmpty()) ) )))'" * @generated */ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( @@ -326,7 +322,7 @@ boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(true)'" * @generated */ boolean validateUSRealmHeader2GeneralHeaderConstraintsInformantAssignedEntity(DiagnosticChain diagnostics, @@ -339,7 +335,7 @@ boolean validateUSRealmHeader2GeneralHeaderConstraintsInformantAssignedEntity(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(true)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(true)'" * @generated */ boolean validateUSRealmHeader2GeneralHeaderConstraintsInformantRelatedEntity(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/USRealmHeaderPatientGeneratedDocument.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/USRealmHeaderPatientGeneratedDocument.java index 720753475a..1e7d64cca8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/USRealmHeaderPatientGeneratedDocument.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/USRealmHeaderPatientGeneratedDocument.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -61,7 +57,7 @@ public interface USRealmHeaderPatientGeneratedDocument extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->one(recordTarget : cda::RecordTarget | not recordTarget.oclIsUndefined() and recordTarget.oclIsKindOf(cda::RecordTarget))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->one(recordTarget : cda::RecordTarget | not recordTarget.oclIsUndefined() and recordTarget.oclIsKindOf(cda::RecordTarget))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTarget(DiagnosticChain diagnostics, @@ -74,7 +70,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTarget(DiagnosticChai * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthor(DiagnosticChain diagnostics, @@ -87,7 +83,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthor(DiagnosticChain diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->one(dataEnterer : cda::DataEnterer | not dataEnterer.oclIsUndefined() and dataEnterer.oclIsKindOf(cda::DataEnterer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->one(dataEnterer : cda::DataEnterer | not dataEnterer.oclIsUndefined() and dataEnterer.oclIsKindOf(cda::DataEnterer))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDataEnterer(DiagnosticChain diagnostics, @@ -100,7 +96,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDataEnterer(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->exists(informant : cda::Informant12 | not informant.oclIsUndefined() and informant.oclIsKindOf(cda::Informant12))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->exists(informant : cda::Informant12 | not informant.oclIsUndefined() and informant.oclIsKindOf(cda::Informant12))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformant(DiagnosticChain diagnostics, @@ -113,7 +109,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformant(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->one(custodian : cda::Custodian | not custodian.oclIsUndefined() and custodian.oclIsKindOf(cda::Custodian))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->one(custodian : cda::Custodian | not custodian.oclIsUndefined() and custodian.oclIsKindOf(cda::Custodian))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentCustodian(DiagnosticChain diagnostics, @@ -126,7 +122,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentCustodian(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->exists(informationRecipient : cda::InformationRecipient | not informationRecipient.oclIsUndefined() and informationRecipient.oclIsKindOf(cda::InformationRecipient))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRecipient(DiagnosticChain diagnostics, @@ -139,7 +135,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRecipient(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->one(legalAuthenticator : cda::LegalAuthenticator | not legalAuthenticator.oclIsUndefined() and legalAuthenticator.oclIsKindOf(cda::LegalAuthenticator))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->one(legalAuthenticator : cda::LegalAuthenticator | not legalAuthenticator.oclIsUndefined() and legalAuthenticator.oclIsKindOf(cda::LegalAuthenticator))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticator(DiagnosticChain diagnostics, @@ -152,7 +148,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticator(Diagnost * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->exists(authenticator : cda::Authenticator | not authenticator.oclIsUndefined() and authenticator.oclIsKindOf(cda::Authenticator))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->exists(authenticator : cda::Authenticator | not authenticator.oclIsUndefined() and authenticator.oclIsKindOf(cda::Authenticator))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticator(DiagnosticChain diagnostics, @@ -165,7 +161,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticator(DiagnosticCha * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->exists(participant : cda::Participant1 | not participant.oclIsUndefined() and participant.oclIsKindOf(cda::Participant1))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipant(DiagnosticChain diagnostics, @@ -178,7 +174,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipant(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->exists(inFulfillmentOf : cda::InFulfillmentOf | not inFulfillmentOf.oclIsUndefined() and inFulfillmentOf.oclIsKindOf(cda::InFulfillmentOf))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillmentOf(DiagnosticChain diagnostics, @@ -191,7 +187,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillmentOf(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->exists(documentationOf : cda::DocumentationOf | not documentationOf.oclIsUndefined() and documentationOf.oclIsKindOf(cda::DocumentationOf))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOf(DiagnosticChain diagnostics, @@ -204,7 +200,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOf(DiagnosticC * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientGuardianId( @@ -217,7 +213,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientGuardianCodeP( @@ -230,7 +226,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).guardian->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientGuardianCode( @@ -243,7 +239,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((preferenceInd.oclIsUndefined() or preferenceInd.isNullFlavorUndefined()) implies (not preferenceInd.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null).languageCommunication->excluding(null)->reject((preferenceInd.oclIsUndefined() or preferenceInd.isNullFlavorUndefined()) implies (not preferenceInd.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientLanguageCommunicationPreferenceInd( @@ -256,7 +252,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(languageCommunication->size() > 1 implies languageCommunication->one( langCom : cda::LanguageCommunication | langCom.preferenceInd.value))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(languageCommunication->size() > 1 implies languageCommunication->one( langCom : cda::LanguageCommunication | langCom.preferenceInd.value))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientIfMoreThanOneLangComm( @@ -269,7 +265,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(guardian->exists(guardian : cda::Guardian | not guardian.oclIsUndefined() and guardian.oclIsKindOf(cda::Guardian)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(guardian->exists(guardian : cda::Guardian | not guardian.oclIsUndefined() and guardian.oclIsKindOf(cda::Guardian)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientGuardian( @@ -282,7 +278,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(languageCommunication->exists(languageCommunication : cda::LanguageCommunication | not languageCommunication.oclIsUndefined() and languageCommunication.oclIsKindOf(cda::LanguageCommunication)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null).patient->excluding(null)->reject(languageCommunication->exists(languageCommunication : cda::LanguageCommunication | not languageCommunication.oclIsUndefined() and languageCommunication.oclIsKindOf(cda::LanguageCommunication)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientLanguageCommunication( @@ -295,7 +291,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRoleId(DiagnosticChain diagnostics, @@ -308,7 +304,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRoleId(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject(patient->one(patient : cda::Patient | not patient.oclIsUndefined() and patient.oclIsKindOf(cda::Patient)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject(patient->one(patient : cda::Patient | not patient.oclIsUndefined() and patient.oclIsKindOf(cda::Patient)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatient(DiagnosticChain diagnostics, @@ -321,7 +317,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePati * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject(providerOrganization->one(providerOrganization : cda::Organization | not providerOrganization.oclIsUndefined() and providerOrganization.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject(providerOrganization->one(providerOrganization : cda::Organization | not providerOrganization.oclIsUndefined() and providerOrganization.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRoleProviderOrganization( @@ -334,7 +330,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRoleProv * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null)->reject(patientRole->one(patientRole : cda::PatientRole | not patientRole.oclIsUndefined() and patientRole.oclIsKindOf(cda::PatientRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null)->reject(patientRole->one(patientRole : cda::PatientRole | not patientRole.oclIsUndefined() and patientRole.oclIsKindOf(cda::PatientRole)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRole(DiagnosticChain diagnostics, @@ -347,7 +343,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRole(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (codeSystem = \'2.16.840.1.113883.5.111\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (codeSystem = \'2.16.840.1.113883.5.111\'))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCECodeSystemAndTerminology( @@ -360,7 +356,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCECodeS * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCECode(DiagnosticChain diagnostics, @@ -373,7 +369,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCECode( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorId(DiagnosticChain diagnostics, @@ -386,7 +382,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorId(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCode(DiagnosticChain diagnostics, @@ -399,7 +395,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCode(Di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthor(DiagnosticChain diagnostics, @@ -412,7 +408,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthor(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -425,7 +421,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntityCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntityCode(DiagnosticChain diagnostics, @@ -438,7 +434,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntityCo * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.dataEnterer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntity(DiagnosticChain diagnostics, @@ -451,7 +447,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntity(D * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntityCodeP(DiagnosticChain diagnostics, @@ -464,7 +460,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntityCodeP * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null).relatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntityCode(DiagnosticChain diagnostics, @@ -477,7 +473,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntityCode( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(relatedEntity->one(relatedEntity : cda::RelatedEntity | not relatedEntity.oclIsUndefined() and relatedEntity.oclIsKindOf(cda::RelatedEntity)) xor assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(relatedEntity->one(relatedEntity : cda::RelatedEntity | not relatedEntity.oclIsUndefined() and relatedEntity.oclIsKindOf(cda::RelatedEntity)) xor assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformantHasRelatedEntityOrAssignedEntity( @@ -490,7 +486,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformantHasRelatedEntityOr * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(relatedEntity->one(relatedEntity : cda::RelatedEntity | not relatedEntity.oclIsUndefined() and relatedEntity.oclIsKindOf(cda::RelatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informant->excluding(null)->reject(relatedEntity->one(relatedEntity : cda::RelatedEntity | not relatedEntity.oclIsUndefined() and relatedEntity.oclIsKindOf(cda::RelatedEntity)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntity(DiagnosticChain diagnostics, @@ -503,7 +499,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntity(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodianRepresentedCustodianOrganizationId( @@ -516,7 +512,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodianR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null)->reject(representedCustodianOrganization->one(representedCustodianOrganization : cda::CustodianOrganization | not representedCustodianOrganization.oclIsUndefined() and representedCustodianOrganization.oclIsKindOf(cda::CustodianOrganization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null)->reject(representedCustodianOrganization->one(representedCustodianOrganization : cda::CustodianOrganization | not representedCustodianOrganization.oclIsUndefined() and representedCustodianOrganization.oclIsKindOf(cda::CustodianOrganization)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodianRepresentedCustodianOrganization( @@ -529,7 +525,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodianR * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null)->reject(assignedCustodian->one(assignedCustodian : cda::AssignedCustodian | not assignedCustodian.oclIsUndefined() and assignedCustodian.oclIsKindOf(cda::AssignedCustodian)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null)->reject(assignedCustodian->one(assignedCustodian : cda::AssignedCustodian | not assignedCustodian.oclIsUndefined() and assignedCustodian.oclIsKindOf(cda::AssignedCustodian)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodian(DiagnosticChain diagnostics, @@ -542,7 +538,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodian( * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).id->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not root.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null).id->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not root.oclIsUndefined() )))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntendedRecipientIIRoot( @@ -555,7 +551,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntende * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null).intendedRecipient->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntendedRecipientId( @@ -568,7 +564,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntende * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(cda::IntendedRecipient)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.informationRecipient->excluding(null)->reject(intendedRecipient->one(intendedRecipient : cda::IntendedRecipient | not intendedRecipient.oclIsUndefined() and intendedRecipient.oclIsKindOf(cda::IntendedRecipient)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntendedRecipient( @@ -581,7 +577,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntende * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (codeSystem = \'2.16.840.1.113883.5.111\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject(isNullFlavorUndefined() implies (codeSystem = \'2.16.840.1.113883.5.111\'))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntityCECodeSystemAndTerminology( @@ -594,7 +590,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedE * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null).code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not code.oclIsUndefined() )))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntityCECode( @@ -607,7 +603,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedE * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntityId(DiagnosticChain diagnostics, @@ -620,7 +616,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedE * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntityCode( @@ -633,7 +629,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedE * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.legalAuthenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntity(DiagnosticChain diagnostics, @@ -646,7 +642,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedE * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntityId(DiagnosticChain diagnostics, @@ -659,7 +655,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntityCodeP(DiagnosticChain diagnostics, @@ -672,7 +668,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntityCode(DiagnosticChain diagnostics, @@ -685,7 +681,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.authenticator->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntity(DiagnosticChain diagnostics, @@ -698,7 +694,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntityCodeP(DiagnosticChain diagnostics, @@ -711,7 +707,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null).associatedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntityCode(DiagnosticChain diagnostics, @@ -724,7 +720,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(p : cda::Participant1 | p.typeCode = vocab::ParticipationType::IND and not ( p.associatedEntity.classCode = vocab::RoleClassAssociative::PRS or p.associatedEntity.classCode = vocab::RoleClassAssociative::NOK or p.associatedEntity.classCode = vocab::RoleClassAssociative::CAREGIVER or p.associatedEntity.classCode = vocab::RoleClassAssociative::AGNT or p.associatedEntity.classCode = vocab::RoleClassAssociative::GUAR or p.associatedEntity.classCode = vocab::RoleClassAssociative::ECON or p.associatedEntity.isNullFlavorDefined() ) or p.associatedEntity.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(p : cda::Participant1 | p.typeCode = vocab::ParticipationType::IND and not ( p.associatedEntity.classCode = vocab::RoleClassAssociative::PRS or p.associatedEntity.classCode = vocab::RoleClassAssociative::NOK or p.associatedEntity.classCode = vocab::RoleClassAssociative::CAREGIVER or p.associatedEntity.classCode = vocab::RoleClassAssociative::AGNT or p.associatedEntity.classCode = vocab::RoleClassAssociative::GUAR or p.associatedEntity.classCode = vocab::RoleClassAssociative::ECON or p.associatedEntity.isNullFlavorDefined() ) or p.associatedEntity.oclIsUndefined())'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantIfTypeCodeINDThenAEClassCodeFromINDRoleclassCodes( @@ -737,7 +733,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantIfTypeCodeINDThe * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(isDefined(\'typeCode\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(isDefined(\'typeCode\'))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantTypeCode(DiagnosticChain diagnostics, @@ -750,7 +746,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantTypeCode(Diagnos * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.participant->excluding(null)->reject(associatedEntity->one(associatedEntity : cda::AssociatedEntity | not associatedEntity.oclIsUndefined() and associatedEntity.oclIsKindOf(cda::AssociatedEntity)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntity(DiagnosticChain diagnostics, @@ -763,7 +759,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntity * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null).order->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillmentOfOrderId(DiagnosticChain diagnostics, @@ -776,7 +772,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillmentOfOrderId(Diag * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.inFulfillmentOf->excluding(null)->reject(order->one(order : cda::Order | not order.oclIsUndefined() and order.oclIsKindOf(cda::Order)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillmentOfOrder(DiagnosticChain diagnostics, @@ -789,7 +785,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillmentOfOrder(Diagno * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerAssignedEntityId( @@ -802,7 +798,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerAssignedEntityCodeP( @@ -815,7 +811,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null).assignedEntity->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined() and code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = code.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.111\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerAssignedEntityCode( @@ -828,7 +824,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerFunctionCodeP( @@ -841,7 +837,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.90\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject((functionCode.oclIsUndefined() or functionCode.isNullFlavorUndefined()) implies (not functionCode.oclIsUndefined() and functionCode.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = functionCode.oclAsType(datatypes::CE) in \r\nvalue.codeSystem = \'2.16.840.1.113883.5.90\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerFunctionCode( @@ -854,7 +850,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null).performer->excluding(null)->reject(assignedEntity->one(assignedEntity : cda::AssignedEntity | not assignedEntity.oclIsUndefined() and assignedEntity.oclIsKindOf(cda::AssignedEntity)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerAssignedEntity( @@ -867,7 +863,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject((code.oclIsUndefined() or code.isNullFlavorUndefined()) implies (not code.oclIsUndefined()))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventCode(DiagnosticChain diagnostics, @@ -880,7 +876,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null).serviceEvent->excluding(null)->reject(performer->exists(performer : cda::Performer1 | not performer.oclIsUndefined() and performer.oclIsKindOf(cda::Performer1)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformer( @@ -893,7 +889,7 @@ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.documentationOf->excluding(null)->reject(serviceEvent->one(serviceEvent : cda::ServiceEvent | not serviceEvent.oclIsUndefined() and serviceEvent.oclIsKindOf(cda::ServiceEvent)))'" * @generated */ boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/UnstructuredDocument.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/UnstructuredDocument.java index 86b9975089..2423888f31 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/UnstructuredDocument.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/UnstructuredDocument.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -47,7 +43,7 @@ public interface UnstructuredDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->one(recordTarget : cda::RecordTarget | not recordTarget.oclIsUndefined() and recordTarget.oclIsKindOf(cda::RecordTarget))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->one(recordTarget : cda::RecordTarget | not recordTarget.oclIsUndefined() and recordTarget.oclIsKindOf(cda::RecordTarget))'" * @generated */ boolean validateUnstructuredDocumentRecordTarget(DiagnosticChain diagnostics, Map context); @@ -59,7 +55,7 @@ public interface UnstructuredDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(cda::Author))'" * @generated */ boolean validateUnstructuredDocumentAuthor(DiagnosticChain diagnostics, Map context); @@ -71,7 +67,7 @@ public interface UnstructuredDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->one(component : cda::Component2 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->one(component : cda::Component2 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component2))'" * @generated */ boolean validateUnstructuredDocumentComponent(DiagnosticChain diagnostics, Map context); @@ -83,7 +79,7 @@ public interface UnstructuredDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->one(custodian : cda::Custodian | not custodian.oclIsUndefined() and custodian.oclIsKindOf(cda::Custodian))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->one(custodian : cda::Custodian | not custodian.oclIsUndefined() and custodian.oclIsKindOf(cda::Custodian))'" * @generated */ boolean validateUnstructuredDocumentCustodian(DiagnosticChain diagnostics, Map context); @@ -95,7 +91,7 @@ public interface UnstructuredDocument extends GeneralHeaderConstraints { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateUnstructuredDocumentRecordTargetPatientRole2Id(DiagnosticChain diagnostics, @@ -108,7 +104,7 @@ boolean validateUnstructuredDocumentRecordTargetPatientRole2Id(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null)->reject(patientRole->one(patientRole : cda::PatientRole | not patientRole.oclIsUndefined() and patientRole.oclIsKindOf(cda::PatientRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null)->reject(patientRole->one(patientRole : cda::PatientRole | not patientRole.oclIsUndefined() and patientRole.oclIsKindOf(cda::PatientRole)))'" * @generated */ boolean validateUnstructuredDocumentRecordTargetPatientRole2(DiagnosticChain diagnostics, @@ -121,7 +117,7 @@ boolean validateUnstructuredDocumentRecordTargetPatientRole2(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((addr->isEmpty() or addr->exists(element | element.isNullFlavorUndefined())) implies (addr->size() = 1))'" * @generated */ boolean validateUnstructuredDocumentAuthorAssignedAuthor2Addr(DiagnosticChain diagnostics, @@ -134,7 +130,7 @@ boolean validateUnstructuredDocumentAuthorAssignedAuthor2Addr(DiagnosticChain di * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null).assignedAuthor->excluding(null)->reject((telecom->isEmpty() or telecom->exists(element | element.isNullFlavorUndefined())) implies (telecom->size() = 1))'" * @generated */ boolean validateUnstructuredDocumentAuthorAssignedAuthor2Telecom(DiagnosticChain diagnostics, @@ -147,7 +143,7 @@ boolean validateUnstructuredDocumentAuthorAssignedAuthor2Telecom(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->excluding(null)->reject(assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(cda::AssignedAuthor)))'" * @generated */ boolean validateUnstructuredDocumentAuthorAssignedAuthor2(DiagnosticChain diagnostics, Map context); @@ -159,7 +155,7 @@ boolean validateUnstructuredDocumentAuthorAssignedAuthor2Telecom(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((addr.oclIsUndefined() or addr.isNullFlavorUndefined()) implies (not addr.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((addr.oclIsUndefined() or addr.isNullFlavorUndefined()) implies (not addr.oclIsUndefined()))'" * @generated */ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationAddr( @@ -172,7 +168,7 @@ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganiza * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (id->size() = 1))'" * @generated */ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationId(DiagnosticChain diagnostics, @@ -185,7 +181,7 @@ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganiza * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((name.oclIsUndefined() or name.isNullFlavorUndefined()) implies (not name.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((name.oclIsUndefined() or name.isNullFlavorUndefined()) implies (not name.oclIsUndefined()))'" * @generated */ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationName( @@ -198,7 +194,7 @@ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganiza * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((telecom.oclIsUndefined() or telecom.isNullFlavorUndefined()) implies (not telecom.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null).representedCustodianOrganization->excluding(null)->reject((telecom.oclIsUndefined() or telecom.isNullFlavorUndefined()) implies (not telecom.oclIsUndefined()))'" * @generated */ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationTelecom( @@ -211,7 +207,7 @@ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganiza * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null)->reject(representedCustodianOrganization->one(representedCustodianOrganization : cda::CustodianOrganization | not representedCustodianOrganization.oclIsUndefined() and representedCustodianOrganization.oclIsKindOf(cda::CustodianOrganization)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null)->reject(representedCustodianOrganization->one(representedCustodianOrganization : cda::CustodianOrganization | not representedCustodianOrganization.oclIsUndefined() and representedCustodianOrganization.oclIsKindOf(cda::CustodianOrganization)))'" * @generated */ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganization(DiagnosticChain diagnostics, @@ -224,7 +220,7 @@ boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganiza * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null)->reject(assignedCustodian->one(assignedCustodian : cda::AssignedCustodian | not assignedCustodian.oclIsUndefined() and assignedCustodian.oclIsKindOf(cda::AssignedCustodian)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null)->reject(assignedCustodian->one(assignedCustodian : cda::AssignedCustodian | not assignedCustodian.oclIsUndefined() and assignedCustodian.oclIsKindOf(cda::AssignedCustodian)))'" * @generated */ boolean validateUnstructuredDocumentCustodianAssignedCustodian2(DiagnosticChain diagnostics, diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/UnstructuredDocument2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/UnstructuredDocument2.java index 59b9b77c53..b4fcf6c831 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/UnstructuredDocument2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/UnstructuredDocument2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -37,7 +33,7 @@ public interface UnstructuredDocument2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->exists(recordTarget : cda::RecordTarget | not recordTarget.oclIsUndefined() and recordTarget.oclIsKindOf(cda::RecordTarget))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->exists(recordTarget : cda::RecordTarget | not recordTarget.oclIsUndefined() and recordTarget.oclIsKindOf(cda::RecordTarget))'" * @generated */ boolean validateUnstructuredDocument2RecordTarget(DiagnosticChain diagnostics, Map context); @@ -49,7 +45,7 @@ public interface UnstructuredDocument2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->one(custodian : cda::Custodian | not custodian.oclIsUndefined() and custodian.oclIsKindOf(cda::Custodian))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->one(custodian : cda::Custodian | not custodian.oclIsUndefined() and custodian.oclIsKindOf(cda::Custodian))'" * @generated */ boolean validateUnstructuredDocument2Custodian(DiagnosticChain diagnostics, Map context); @@ -61,7 +57,7 @@ public interface UnstructuredDocument2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->one(component : cda::Component2 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component2))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->one(component : cda::Component2 | not component.oclIsUndefined() and component.oclIsKindOf(cda::Component2))'" * @generated */ boolean validateUnstructuredDocument2Component(DiagnosticChain diagnostics, Map context); @@ -73,7 +69,7 @@ public interface UnstructuredDocument2 extends USRealmHeader2 { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null).patientRole->excluding(null)->reject((id->isEmpty() or id->exists(element | element.isNullFlavorUndefined())) implies (not id->isEmpty()))'" * @generated */ boolean validateUnstructuredDocument2RecordTargetPatientRoleId(DiagnosticChain diagnostics, @@ -86,7 +82,7 @@ boolean validateUnstructuredDocument2RecordTargetPatientRoleId(DiagnosticChain d * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null)->reject(patientRole->one(patientRole : cda::PatientRole | not patientRole.oclIsUndefined() and patientRole.oclIsKindOf(cda::PatientRole)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.recordTarget->excluding(null)->reject(patientRole->one(patientRole : cda::PatientRole | not patientRole.oclIsUndefined() and patientRole.oclIsKindOf(cda::PatientRole)))'" * @generated */ boolean validateUnstructuredDocument2RecordTargetPatientRole(DiagnosticChain diagnostics, @@ -99,7 +95,7 @@ boolean validateUnstructuredDocument2RecordTargetPatientRole(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null)->reject(representedCustodianOrganization->one(representedCustodianOrganization : cda::CustodianOrganization | not representedCustodianOrganization.oclIsUndefined() and representedCustodianOrganization.oclIsKindOf(rim::Entity)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null).assignedCustodian->excluding(null)->reject(representedCustodianOrganization->one(representedCustodianOrganization : cda::CustodianOrganization | not representedCustodianOrganization.oclIsUndefined() and representedCustodianOrganization.oclIsKindOf(rim::Entity)))'" * @generated */ boolean validateUnstructuredDocument2CustodianAssignedCustodianRepresentedCustodianOrganization( @@ -112,7 +108,7 @@ boolean validateUnstructuredDocument2CustodianAssignedCustodianRepresentedCustod * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null)->reject(assignedCustodian->one(assignedCustodian : cda::AssignedCustodian | not assignedCustodian.oclIsUndefined() and assignedCustodian.oclIsKindOf(cda::AssignedCustodian)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.custodian->excluding(null)->reject(assignedCustodian->one(assignedCustodian : cda::AssignedCustodian | not assignedCustodian.oclIsUndefined() and assignedCustodian.oclIsKindOf(cda::AssignedCustodian)))'" * @generated */ boolean validateUnstructuredDocument2CustodianAssignedCustodian(DiagnosticChain diagnostics, @@ -125,7 +121,7 @@ boolean validateUnstructuredDocument2CustodianAssignedCustodian(DiagnosticChain * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).nonXMLBody->excluding(null).text->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not mediaType.oclIsUndefined() )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).nonXMLBody->excluding(null).text->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies (not mediaType.oclIsUndefined() )))'" * @generated */ boolean validateUnstructuredDocument2ComponentNonXMLBodyEDMediaType(DiagnosticChain diagnostics, @@ -138,7 +134,7 @@ boolean validateUnstructuredDocument2ComponentNonXMLBodyEDMediaType(DiagnosticCh * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).nonXMLBody->excluding(null)->reject(not text.reference.value.oclIsUndefined() xor ( text.isDefined(\'representation\') and text.representation = datatypes::BinaryDataEncoding::B64 and (not text.mediaType.oclIsUndefined()) ))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).nonXMLBody->excluding(null)->reject(not text.reference.value.oclIsUndefined() xor ( text.isDefined(\'representation\') and text.representation = datatypes::BinaryDataEncoding::B64 and (not text.mediaType.oclIsUndefined()) ))'" * @generated */ boolean validateUnstructuredDocument2ComponentNonXMLBodyHasReferenceOrRepresentation(DiagnosticChain diagnostics, @@ -151,7 +147,7 @@ boolean validateUnstructuredDocument2ComponentNonXMLBodyHasReferenceOrRepresenta * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).nonXMLBody->excluding(null)->reject(not text.mediaType.oclIsUndefined() implies (text.mediaType = \'application/msword\' or text.mediaType = \'application/pdf\' or text.mediaType = \'text/plain\' or text.mediaType = \'text/rtf\' or text.mediaType = \'text/html\' or text.mediaType = \'image/gif\' or text.mediaType = \'image/tiff\' or text.mediaType = \'image/jpeg\' or text.mediaType = \'image/png\'))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).nonXMLBody->excluding(null)->reject(not text.mediaType.oclIsUndefined() implies (text.mediaType = \'application/msword\' or text.mediaType = \'application/pdf\' or text.mediaType = \'text/plain\' or text.mediaType = \'text/rtf\' or text.mediaType = \'text/html\' or text.mediaType = \'image/gif\' or text.mediaType = \'image/tiff\' or text.mediaType = \'image/jpeg\' or text.mediaType = \'image/png\'))'" * @generated */ boolean validateUnstructuredDocument2ComponentNonXMLBodyMediaTypeFileFormats(DiagnosticChain diagnostics, @@ -164,7 +160,7 @@ boolean validateUnstructuredDocument2ComponentNonXMLBodyMediaTypeFileFormats(Dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).nonXMLBody->excluding(null)->reject((text.oclIsUndefined() or text.isNullFlavorUndefined()) implies (not text.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null).nonXMLBody->excluding(null)->reject((text.oclIsUndefined() or text.isNullFlavorUndefined()) implies (not text.oclIsUndefined()))'" * @generated */ boolean validateUnstructuredDocument2ComponentNonXMLBodyText(DiagnosticChain diagnostics, @@ -177,7 +173,7 @@ boolean validateUnstructuredDocument2ComponentNonXMLBodyText(DiagnosticChain dia * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null)->reject(nonXMLBody->one(nonXMLBody : cda::NonXMLBody | not nonXMLBody.oclIsUndefined() and nonXMLBody.oclIsKindOf(cda::NonXMLBody)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->excluding(null)->reject(nonXMLBody->one(nonXMLBody : cda::NonXMLBody | not nonXMLBody.oclIsUndefined() and nonXMLBody.oclIsKindOf(cda::NonXMLBody)))'" * @generated */ boolean validateUnstructuredDocument2ComponentNonXMLBody(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignObservation.java index 3fad4c9fec..08c4377d15 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not self.text.oclIsUndefined() implies self.text->forAll(reference->size() = 1)'" * @generated */ boolean validateVitalSignObservationTextReference(DiagnosticChain diagnostics, Map context); @@ -44,7 +39,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.text->forAll(reference->size() = 1) implies self.text->forAll(reference->one(value->size() = 1))'" * @generated */ boolean validateVitalSignObservationReferenceValue(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.27\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.27\')'" * @generated */ boolean validateVitalSignObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -104,7 +99,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateVitalSignObservationId(DiagnosticChain diagnostics, Map context); @@ -176,7 +171,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::PQ)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::PQ)))'" * @generated */ boolean validateVitalSignObservationValue(DiagnosticChain diagnostics, Map context); @@ -188,7 +183,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.interpretationCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.interpretationCode->isEmpty()) )'" * @generated */ boolean validateVitalSignObservationInterpretationCode(DiagnosticChain diagnostics, Map context); @@ -200,7 +195,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.methodCode->isEmpty() or self.methodCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.methodCode->isEmpty()) )'" * @generated */ boolean validateVitalSignObservationMethodCode(DiagnosticChain diagnostics, Map context); @@ -212,7 +207,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.targetSiteCode->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.targetSiteCode->isEmpty() or self.targetSiteCode->exists(element | element.isNullFlavorUndefined())) implies (( not self.targetSiteCode->isEmpty()) )'" * @generated */ boolean validateVitalSignObservationTargetSiteCode(DiagnosticChain diagnostics, Map context); @@ -236,7 +231,7 @@ public interface VitalSignObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(rim::Participation))'" * @generated */ boolean validateVitalSignObservationAuthor(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignObservation2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignObservation2.java index e88987e0f4..cccb48fa3d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignObservation2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignObservation2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -30,7 +26,7 @@ public interface VitalSignObservation2 extends VitalSignObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.27\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.27\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateVitalSignObservation2TemplateId(DiagnosticChain diagnostics, Map context); @@ -42,7 +38,7 @@ public interface VitalSignObservation2 extends VitalSignObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (not self.interpretationCode->isEmpty())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.interpretationCode->isEmpty() or self.interpretationCode->exists(element | element.isNullFlavorUndefined())) implies (not self.interpretationCode->isEmpty())'" * @generated */ boolean validateVitalSignObservationInterpretationCodeP(DiagnosticChain diagnostics, Map context); @@ -54,7 +50,7 @@ public interface VitalSignObservation2 extends VitalSignObservation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateVitalSignObservation2AuthorParticipation(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsOrganizer.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsOrganizer.java index e907c1cb39..fbb62fa4b5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsOrganizer.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsOrganizer.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Organizer; /** @@ -33,7 +28,7 @@ public interface VitalSignsOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.26\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.26\')'" * @generated */ boolean validateVitalSignsOrganizerTemplateId(DiagnosticChain diagnostics, Map context); @@ -69,7 +64,7 @@ public interface VitalSignsOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateVitalSignsOrganizerId(DiagnosticChain diagnostics, Map context); @@ -141,7 +136,7 @@ public interface VitalSignsOrganizer extends Organizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::VitalSignObservation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(consol::VitalSignObservation))'" * @generated */ boolean validateVitalSignsOrganizerVitalSignObservation(DiagnosticChain diagnostics, Map context); @@ -150,7 +145,7 @@ public interface VitalSignsOrganizer extends Organizer { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::VitalSignObservation)).oclAsType(consol::VitalSignObservation)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::VitalSignObservation)).oclAsType(consol::VitalSignObservation)'" * @generated */ EList getVitalSignObservations(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsOrganizer2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsOrganizer2.java index c076c025c6..ef5bb9d682 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsOrganizer2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsOrganizer2.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -32,7 +28,7 @@ public interface VitalSignsOrganizer2 extends VitalSignsOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.26\' and id.extension.oclIsUndefined())'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.26\' and id.extension.oclIsUndefined())'" * @generated */ boolean validateVitalSignsOrganizer2TemplateId(DiagnosticChain diagnostics, Map context); @@ -44,7 +40,7 @@ public interface VitalSignsOrganizer2 extends VitalSignsOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(consol::AuthorParticipation))'" * @generated */ boolean validateVitalSignsOrganizer2AuthorParticipation(DiagnosticChain diagnostics, Map context); @@ -56,7 +52,7 @@ public interface VitalSignsOrganizer2 extends VitalSignsOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'74728-7\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1 and translation->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.code = \'74728-7\' and value.codeSystem = \'2.16.840.1.113883.6.1\')) )))'" * @generated */ boolean validateVitalSignsOrganizer2CDTranslation(DiagnosticChain diagnostics, Map context); @@ -68,7 +64,7 @@ public interface VitalSignsOrganizer2 extends VitalSignsOrganizer { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.code->excluding(null)->select(isNullFlavorUndefined())->reject( ( isNullFlavorUndefined() implies ((translation->isEmpty() or translation->exists(element | element.isNullFlavorUndefined())) implies (translation->size() = 1) )))'" * @generated */ boolean validateVitalSignsOrganizer2CDTranslationP(DiagnosticChain diagnostics, Map context); @@ -77,7 +73,7 @@ public interface VitalSignsOrganizer2 extends VitalSignsOrganizer { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::VitalSignObservation2)).oclAsType(consol::VitalSignObservation2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getObservations()->select(observation : cda::Observation | not observation.oclIsUndefined() and observation.oclIsKindOf(consol::VitalSignObservation2)).oclAsType(consol::VitalSignObservation2)'" * @generated */ EList getConsolVitalSignObservation2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSection.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSection.java index 2682b6a9b7..df43f97f98 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSection.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSection.java @@ -2,15 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -67,7 +63,7 @@ public interface VitalSignsSection extends VitalSignsSectionEntriesOptional { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::VitalSignsOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::VitalSignsOrganizer))'" * @generated */ boolean validateVitalSignsSectionVitalSignsOrganizer(DiagnosticChain diagnostics, Map context); @@ -76,7 +72,7 @@ public interface VitalSignsSection extends VitalSignsSectionEntriesOptional { * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::VitalSignsOrganizer)).oclAsType(consol::VitalSignsOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::VitalSignsOrganizer)).oclAsType(consol::VitalSignsOrganizer)'" * @generated */ EList getConsolVitalSignsOrganizers(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSection2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSection2.java index 7fafdbb994..55b10a90e1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSection2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSection2.java @@ -2,14 +2,10 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSectionEntriesOptional.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSectionEntriesOptional.java index e3d1e3433c..94c734f7e9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSectionEntriesOptional.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSectionEntriesOptional.java @@ -2,17 +2,12 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Section; /** @@ -33,7 +28,7 @@ public interface VitalSignsSectionEntriesOptional extends Section { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.4\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.2.4\')'" * @generated */ boolean validateVitalSignsSectionEntriesOptionalTemplateId(DiagnosticChain diagnostics, @@ -94,7 +89,7 @@ boolean validateVitalSignsSectionEntriesOptionalTemplateId(DiagnosticChain diagn * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::VitalSignsOrganizer))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.organizer.oclIsUndefined() and entry.organizer.oclIsKindOf(consol::VitalSignsOrganizer))'" * @generated */ boolean validateVitalSignsSectionEntriesOptionalVitalSignsOrganizer(DiagnosticChain diagnostics, @@ -104,7 +99,7 @@ boolean validateVitalSignsSectionEntriesOptionalVitalSignsOrganizer(DiagnosticCh * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::VitalSignsOrganizer)).oclAsType(consol::VitalSignsOrganizer)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::VitalSignsOrganizer)).oclAsType(consol::VitalSignsOrganizer)'" * @generated */ EList getVitalSignsOrganizers(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSectionEntriesOptional2.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSectionEntriesOptional2.java index 0f70166f8d..e09beb82f6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSectionEntriesOptional2.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/VitalSignsSectionEntriesOptional2.java @@ -2,12 +2,8 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; /** @@ -25,7 +21,7 @@ public interface VitalSignsSectionEntriesOptional2 extends VitalSignsSectionEntr * * * @model kind="operation" required="true" ordered="false" - * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::VitalSignsOrganizer2)).oclAsType(consol::VitalSignsOrganizer2)'" + * annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.getOrganizers()->select(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(consol::VitalSignsOrganizer2)).oclAsType(consol::VitalSignsOrganizer2)'" * @generated */ EList getConsolVitalSignsOrganizer2s(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/WoundCharacteristic.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/WoundCharacteristic.java index 5566ffb98b..b4d2b355e7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/WoundCharacteristic.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/WoundCharacteristic.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface WoundCharacteristic extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.134\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.134\')'" * @generated */ boolean validateWoundCharacteristicTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface WoundCharacteristic extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateWoundCharacteristicId(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface WoundCharacteristic extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CD) and \r\nlet value : datatypes::CD = element.oclAsType(datatypes::CD) in \r\nvalue.codeSystem = \'2.16.840.1.113883.6.96\' and not value.code.oclIsUndefined()))'" * @generated */ boolean validateWoundCharacteristicValue(DiagnosticChain diagnostics, Map context); @@ -152,7 +147,7 @@ public interface WoundCharacteristic extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CD)))'" * @generated */ boolean validateWoundCharacteristicValueP(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/WoundMeasurementObservation.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/WoundMeasurementObservation.java index a9627d020e..c736cf5348 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/WoundMeasurementObservation.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/WoundMeasurementObservation.java @@ -2,16 +2,11 @@ */ package org.openhealthtools.mdht.uml.cda.consol; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.Observation; /** @@ -32,7 +27,7 @@ public interface WoundMeasurementObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.133\')'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.22.4.133\')'" * @generated */ boolean validateWoundMeasurementObservationTemplateId(DiagnosticChain diagnostics, Map context); @@ -68,7 +63,7 @@ public interface WoundMeasurementObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (( not self.id->isEmpty()) )'" * @generated */ boolean validateWoundMeasurementObservationId(DiagnosticChain diagnostics, Map context); @@ -140,7 +135,7 @@ public interface WoundMeasurementObservation extends Observation { * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * - * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::PQ)))'" + * @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.value->isEmpty() or self.value->exists(element | element.isNullFlavorUndefined())) implies (self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::PQ)))'" * @generated */ boolean validateWoundMeasurementObservationValue(DiagnosticChain diagnostics, Map context); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionDiagnosisSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionDiagnosisSection2Impl.java index 65af7460da..d31a798497 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionDiagnosisSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionDiagnosisSection2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedication2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedication2Impl.java index c8895ca821..d1ab57d2d4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedication2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedication2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedicationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedicationImpl.java index f23c56c78a..a5626e90c7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedicationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedicationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedicationsSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedicationsSectionEntriesOptional2Impl.java index 2e4b552615..333bef224f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedicationsSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdmissionMedicationsSectionEntriesOptional2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveObservation2Impl.java index d5158a3599..5759b67c9c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveObservationImpl.java index 711a4b2d5b..3de5fcb045 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveOrganizerImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveOrganizerImpl.java index 68c2414fa8..31a202a44c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveOrganizerImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectiveOrganizerImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSection2Impl.java index 724f095593..adb2227eaa 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionEntriesOptional2Impl.java index 0cb6135bde..8aaa5493b4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionEntriesOptionalImpl.java index 175c49fbc2..677881f914 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionImpl.java index ed2db7b249..a9841b770b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AdvanceDirectivesSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AgeObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AgeObservationImpl.java index 9fbf15a292..a6dcf7e9eb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AgeObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AgeObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSection2Impl.java index fd696d633d..b5aa5519a2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionEntriesOptional2Impl.java index 86721f69cd..d73afc2679 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionEntriesOptionalImpl.java index 9d3f6ba3dd..9113b3d32a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionImpl.java index 7db3b8632d..24b538b4bd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergiesSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyConcernAct2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyConcernAct2Impl.java index fea69733a6..0df28f4436 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyConcernAct2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyConcernAct2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyObservation2Impl.java index a39153ad03..90a02669e6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyObservationImpl.java index 3d455f6d1f..29864fb14a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyProblemActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyProblemActImpl.java index d0af9fdd16..dbdb8643ff 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyProblemActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyProblemActImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyStatusObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyStatusObservation2Impl.java index 83f323b4cb..a7e12bb1ec 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyStatusObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyStatusObservation2Impl.java @@ -2,20 +2,14 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.openhealthtools.mdht.uml.cda.consol.AllergyStatusObservation2; import org.openhealthtools.mdht.uml.cda.consol.ConsolPackage; - import org.openhealthtools.mdht.uml.cda.consol.operations.AllergyStatusObservation2Operations; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyStatusObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyStatusObservationImpl.java index 4f2194e7af..016eb92fc5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyStatusObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AllergyStatusObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AnesthesiaSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AnesthesiaSection2Impl.java index 37737e2467..37ea746a06 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AnesthesiaSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AnesthesiaSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AnesthesiaSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AnesthesiaSectionImpl.java index b6f3d5a0f6..78c4cbf32a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AnesthesiaSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AnesthesiaSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentAndPlanSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentAndPlanSection2Impl.java index d1f6b6578e..e2ca20ea1a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentAndPlanSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentAndPlanSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentAndPlanSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentAndPlanSectionImpl.java index 2ce7eeea77..de13353165 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentAndPlanSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentAndPlanSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentScaleObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentScaleObservationImpl.java index 8b19129341..4554e90278 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentScaleObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentScaleObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentScaleSupportingObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentScaleSupportingObservationImpl.java index ce4e801db5..69dc81a0e8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentScaleSupportingObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentScaleSupportingObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentSectionImpl.java index 16b5a9e029..f06864a5b1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AssessmentSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AuthorParticipationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AuthorParticipationImpl.java index f3d7bbb2af..71752cc2eb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AuthorParticipationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AuthorParticipationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AuthorizationActivityImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AuthorizationActivityImpl.java index 79073cfc90..c81c09ab2d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AuthorizationActivityImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/AuthorizationActivityImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/BirthSexObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/BirthSexObservationImpl.java index 01b4a05540..f3e31dc969 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/BirthSexObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/BirthSexObservationImpl.java @@ -2,22 +2,15 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.impl.ObservationImpl; - import org.openhealthtools.mdht.uml.cda.consol.BirthSexObservation; import org.openhealthtools.mdht.uml.cda.consol.ConsolPackage; - import org.openhealthtools.mdht.uml.cda.consol.operations.BirthSexObservationOperations; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/BoundaryObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/BoundaryObservationImpl.java index 9e7abeff56..997625d189 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/BoundaryObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/BoundaryObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CarePlanImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CarePlanImpl.java index 24a8d29803..131bb81f3e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CarePlanImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CarePlanImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CaregiverCharacteristicsImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CaregiverCharacteristicsImpl.java index 52f1d89f0f..4f79c48aed 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CaregiverCharacteristicsImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CaregiverCharacteristicsImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CharacteristicsOfHomeEnvironmentImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CharacteristicsOfHomeEnvironmentImpl.java index f18459fc78..0c20d03d5b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CharacteristicsOfHomeEnvironmentImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CharacteristicsOfHomeEnvironmentImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ChiefComplaintAndReasonForVisitSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ChiefComplaintAndReasonForVisitSectionImpl.java index 19cf3233cc..b7df53f484 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ChiefComplaintAndReasonForVisitSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ChiefComplaintAndReasonForVisitSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ChiefComplaintSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ChiefComplaintSectionImpl.java index 1cbc074b08..b55cd07757 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ChiefComplaintSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ChiefComplaintSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CodeObservationsImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CodeObservationsImpl.java index e53a30614b..31c4725480 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CodeObservationsImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CodeObservationsImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveAbilitiesObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveAbilitiesObservationImpl.java index d16cfb2072..302377a9aa 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveAbilitiesObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveAbilitiesObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusProblemObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusProblemObservationImpl.java index ad950c59ab..eef0862d92 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusProblemObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusProblemObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusResultObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusResultObservationImpl.java index 1b7fe1cfb8..5b184795c5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusResultObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusResultObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusResultOrganizerImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusResultOrganizerImpl.java index 837183d974..a4b26463d7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusResultOrganizerImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CognitiveStatusResultOrganizerImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CommentActivityImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CommentActivityImpl.java index 61a807f38f..b22e9b8e76 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CommentActivityImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CommentActivityImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ComplicationsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ComplicationsSection2Impl.java index dea8798fb5..9ead5beb94 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ComplicationsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ComplicationsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ComplicationsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ComplicationsSectionImpl.java index 09f9bbf73c..c87223d5d7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ComplicationsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ComplicationsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsolPackageImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsolPackageImpl.java index a7546c865d..90e3add259 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsolPackageImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsolPackageImpl.java @@ -19,12 +19,17 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EValidator; +import org.eclipse.emf.ecore.EcorePackage; import org.eclipse.emf.ecore.impl.EPackageImpl; import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl; import org.eclipse.mdht.emf.runtime.util.Initializer; import org.eclipse.mdht.uml.cda.CDAPackage; import org.eclipse.mdht.uml.cda.util.AnnotationBasedInitializer; +import org.eclipse.mdht.uml.hl7.datatypes.DatatypesPackage; +import org.eclipse.mdht.uml.hl7.rim.RIMPackage; +import org.eclipse.mdht.uml.hl7.vocab.VocabPackage; +import org.eclipse.uml2.types.TypesPackage; import org.openhealthtools.mdht.uml.cda.consol.ConsolFactory; import org.openhealthtools.mdht.uml.cda.consol.ConsolPackage; import org.openhealthtools.mdht.uml.cda.consol.util.ConsolValidator; @@ -2355,6 +2360,11 @@ public static ConsolPackage init() { // Initialize simple dependencies CDAPackage.eINSTANCE.eClass(); + DatatypesPackage.eINSTANCE.eClass(); + EcorePackage.eINSTANCE.eClass(); + RIMPackage.eINSTANCE.eClass(); + TypesPackage.eINSTANCE.eClass(); + VocabPackage.eINSTANCE.eClass(); // Load packages theConsolPackage.loadPackage(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsultationNote2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsultationNote2Impl.java index 2c47907596..8339d39931 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsultationNote2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsultationNote2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsultationNoteImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsultationNoteImpl.java index efbb5f66fd..a0021eaf5e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsultationNoteImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ConsultationNoteImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ContinuityOfCareDocument2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ContinuityOfCareDocument2Impl.java index 6b5f232ffc..bd138bc7a8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ContinuityOfCareDocument2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ContinuityOfCareDocument2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ContinuityOfCareDocumentImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ContinuityOfCareDocumentImpl.java index e3a541eb20..5f113dec65 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ContinuityOfCareDocumentImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ContinuityOfCareDocumentImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CourseOfCareSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CourseOfCareSectionImpl.java index 9ae85f6545..d8c43dedd3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CourseOfCareSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CourseOfCareSectionImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CoverageActivity2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CoverageActivity2Impl.java index bac432b959..7cb5b65b94 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CoverageActivity2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CoverageActivity2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CoverageActivityImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CoverageActivityImpl.java index 1eee6a0fd8..0229f9e1b5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CoverageActivityImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CoverageActivityImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CriticalityObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CriticalityObservationImpl.java index e25b5bd401..3e1462c2b2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CriticalityObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CriticalityObservationImpl.java @@ -2,22 +2,15 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.eclipse.mdht.uml.cda.impl.ObservationImpl; - import org.openhealthtools.mdht.uml.cda.consol.ConsolPackage; import org.openhealthtools.mdht.uml.cda.consol.CriticalityObservation; - import org.openhealthtools.mdht.uml.cda.consol.operations.CriticalityObservationOperations; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CulturalAndReligiousObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CulturalAndReligiousObservationImpl.java index 885ae90457..b9a0620eb8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CulturalAndReligiousObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/CulturalAndReligiousObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DICOMObjectCatalogSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DICOMObjectCatalogSectionImpl.java index 9c8cdbe1ea..841d5b0229 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DICOMObjectCatalogSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DICOMObjectCatalogSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DeceasedObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DeceasedObservation2Impl.java index 87d11d494a..426c54d279 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DeceasedObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DeceasedObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DeceasedObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DeceasedObservationImpl.java index 330eab2478..b035f16c88 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DeceasedObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DeceasedObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DiagnosticImagingReport2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DiagnosticImagingReport2Impl.java index feb9a2517f..22eaeb9bab 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DiagnosticImagingReport2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DiagnosticImagingReport2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DiagnosticImagingReportImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DiagnosticImagingReportImpl.java index e13f9514aa..b47230ad90 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DiagnosticImagingReportImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DiagnosticImagingReportImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeDiagnosisSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeDiagnosisSection2Impl.java index 27f2b9a835..0d4688ee51 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeDiagnosisSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeDiagnosisSection2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeDietSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeDietSectionImpl.java index 2a99c391ac..7e18f763e6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeDietSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeDietSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedication2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedication2Impl.java index ea42d22501..575f118dab 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedication2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedication2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationImpl.java index cca83d2d4e..a70cdcf989 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationsSection2Impl.java index 9d6dfca01f..c773efee3e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationsSection2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationsSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationsSectionEntriesOptional2Impl.java index 0e0f7859d7..dc7c538b37 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationsSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeMedicationsSectionEntriesOptional2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeSummary2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeSummary2Impl.java index 972da16787..f467887171 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeSummary2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeSummary2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeSummaryImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeSummaryImpl.java index 0955e186d7..b95357fa9b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeSummaryImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DischargeSummaryImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DrugMonitoringActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DrugMonitoringActImpl.java index fb12c3fffb..cf89fc2884 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DrugMonitoringActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DrugMonitoringActImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DrugVehicleImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DrugVehicleImpl.java index 44bbe5a81d..e84e5909f3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DrugVehicleImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/DrugVehicleImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterActivitiesImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterActivitiesImpl.java index 3c73316e19..0403112f96 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterActivitiesImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterActivitiesImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterActivity2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterActivity2Impl.java index 018a0ba9e7..9096b3dd1e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterActivity2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterActivity2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterDiagnosis2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterDiagnosis2Impl.java index a362e7b675..2c9c15c12b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterDiagnosis2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterDiagnosis2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterDiagnosisImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterDiagnosisImpl.java index 7c41781d49..fc6cea025b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterDiagnosisImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncounterDiagnosisImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSection2Impl.java index ebcb6ef1b1..971ffa21d1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionEntriesOptional2Impl.java index b9f25da0c7..e74d95a259 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionEntriesOptionalImpl.java index 8b7577016e..4f98bf6c4a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionImpl.java index 20b1762b30..e114f5c8d9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EncountersSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EntryReferenceImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EntryReferenceImpl.java index 4a9b623787..ceffc770f2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EntryReferenceImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EntryReferenceImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EstimatedDateOfDeliveryImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EstimatedDateOfDeliveryImpl.java index 5f25518bef..964a733da0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EstimatedDateOfDeliveryImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/EstimatedDateOfDeliveryImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ExternalDocumentReferenceImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ExternalDocumentReferenceImpl.java index b0547fb8d1..7c2508db9a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ExternalDocumentReferenceImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ExternalDocumentReferenceImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryDeathObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryDeathObservationImpl.java index 9be25c6310..130ef67aa5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryDeathObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryDeathObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryObservation2Impl.java index a04002ccf0..df5c5153a2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryObservation2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryObservationImpl.java index e8d84aa7ae..46088291b9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryOrganizer2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryOrganizer2Impl.java index bfbf2844bd..385ef80d99 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryOrganizer2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryOrganizer2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryOrganizerImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryOrganizerImpl.java index 0534e9d271..8270e2badb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryOrganizerImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistoryOrganizerImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistorySection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistorySection2Impl.java index 94b8a2ab02..c78edb5454 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistorySection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistorySection2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistorySectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistorySectionImpl.java index b635d9085d..fd3a59af2d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistorySectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FamilyHistorySectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FetusSubjectContextImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FetusSubjectContextImpl.java index 645c9ccfaf..238ef3e746 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FetusSubjectContextImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FetusSubjectContextImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FindingsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FindingsSectionImpl.java index 5c1b7d680a..5e931cfa5e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FindingsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FindingsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusObservation2Impl.java index cb7d293b7f..1766203dd7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusOrganizer2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusOrganizer2Impl.java index 834026d4f6..2747193572 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusOrganizer2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusOrganizer2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusProblemObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusProblemObservationImpl.java index 48adc07448..705a980d2f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusProblemObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusProblemObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusResultObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusResultObservationImpl.java index e5c5d0f16f..da51a6436d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusResultObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusResultObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusResultOrganizerImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusResultOrganizerImpl.java index 4287eb1d85..1ff60061d1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusResultOrganizerImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusResultOrganizerImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusSection2Impl.java index 7c5fb9a964..517956138b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusSectionImpl.java index 5cc6dff4f6..59e060431e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/FunctionalStatusSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GeneralHeaderConstraintsImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GeneralHeaderConstraintsImpl.java index e37f4464a1..b701e66416 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GeneralHeaderConstraintsImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GeneralHeaderConstraintsImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GeneralStatusSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GeneralStatusSectionImpl.java index 2d7f3c8fd7..777ca0a090 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GeneralStatusSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GeneralStatusSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GoalObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GoalObservationImpl.java index 0849e0a357..b7876e2a86 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GoalObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GoalObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GoalsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GoalsSectionImpl.java index f049137bd3..cd802dabcf 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GoalsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/GoalsSectionImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HandoffCommunicationParticipantsImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HandoffCommunicationParticipantsImpl.java index 34d1996903..a8bf7547f5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HandoffCommunicationParticipantsImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HandoffCommunicationParticipantsImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthConcernActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthConcernActImpl.java index 2a614b4858..294de24914 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthConcernActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthConcernActImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthConcernsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthConcernsSectionImpl.java index 6cff1baba3..918108e6f7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthConcernsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthConcernsSectionImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusEvaluationsAndOutcomesSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusEvaluationsAndOutcomesSectionImpl.java index b0c25b9c01..58c949142b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusEvaluationsAndOutcomesSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusEvaluationsAndOutcomesSectionImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusObservation2Impl.java index 727fd879d1..8a55be1219 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusObservationImpl.java index 66f68a17d0..62715b042b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HealthStatusObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HighestPressureUlcerStageImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HighestPressureUlcerStageImpl.java index f3c445f9d0..88fae1b04e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HighestPressureUlcerStageImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HighestPressureUlcerStageImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryAndPhysicalNote2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryAndPhysicalNote2Impl.java index 95fdafe0f7..f3b70dadee 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryAndPhysicalNote2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryAndPhysicalNote2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryAndPhysicalNoteImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryAndPhysicalNoteImpl.java index d8660f1ee6..e77e416c06 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryAndPhysicalNoteImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryAndPhysicalNoteImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPastIllnessSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPastIllnessSection2Impl.java index be348e4ded..84d4b30075 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPastIllnessSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPastIllnessSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPastIllnessSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPastIllnessSectionImpl.java index b6d0cff074..87c130da5b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPastIllnessSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPastIllnessSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPresentIllnessSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPresentIllnessSectionImpl.java index c22b943615..16c55d2511 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPresentIllnessSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HistoryOfPresentIllnessSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosis2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosis2Impl.java index 9220d3de8a..9748ae257e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosis2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosis2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosisImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosisImpl.java index fcf61ede1f..3a8c21f772 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosisImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosisImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosisSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosisSectionImpl.java index d071ea1530..e813d6cf44 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosisSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionDiagnosisSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionMedicationsSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionMedicationsSectionEntriesOptionalImpl.java index 3e30c8226b..480830dc75 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionMedicationsSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalAdmissionMedicationsSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalConsultationsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalConsultationsSectionImpl.java index 641d8632cd..2fc1e111e7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalConsultationsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalConsultationsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalCourseSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalCourseSectionImpl.java index ab965a54d5..482c4961d8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalCourseSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalCourseSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosis2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosis2Impl.java index 1ce47ce30b..5e2d134719 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosis2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosis2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosisImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosisImpl.java index e752afc6c6..31dbfa568e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosisImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosisImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosisSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosisSectionImpl.java index 78c4027308..fce6d0ad51 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosisSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeDiagnosisSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeInstructionsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeInstructionsSectionImpl.java index 30bce82e2c..bd87ee8b2c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeInstructionsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeInstructionsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeMedicationsSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeMedicationsSectionEntriesOptionalImpl.java index 742912b80a..99c6a393a7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeMedicationsSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeMedicationsSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeMedicationsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeMedicationsSectionImpl.java index 3690845c95..ca51f618dc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeMedicationsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeMedicationsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargePhysicalSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargePhysicalSectionImpl.java index a9f5c9952b..c42e90edbe 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargePhysicalSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargePhysicalSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeStudiesSummarySectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeStudiesSummarySectionImpl.java index 81d8307444..92218a84d5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeStudiesSummarySectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/HospitalDischargeStudiesSummarySectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationActivity2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationActivity2Impl.java index c7c26f0257..4a7f640065 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationActivity2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationActivity2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationActivityImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationActivityImpl.java index 42c263c536..d4847b1d82 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationActivityImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationActivityImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationMedicationInformation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationMedicationInformation2Impl.java index 8c97ba6951..0efcb70e3b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationMedicationInformation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationMedicationInformation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationMedicationInformationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationMedicationInformationImpl.java index 0b66e668a3..4eb06bbe2b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationMedicationInformationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationMedicationInformationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationRefusalReasonImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationRefusalReasonImpl.java index 315c856e78..4e0c7fc3be 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationRefusalReasonImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationRefusalReasonImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSection2Impl.java index 0e01d0b30c..0d0012263d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionEntriesOptional2Impl.java index cf488278e9..1d46221c4a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionEntriesOptionalImpl.java index e1893fe467..448d2f1855 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionImpl.java index 1a36c73a3e..d898f463be 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ImmunizationsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/Indication2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/Indication2Impl.java index 988b2ad0ec..05b83d8566 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/Indication2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/Indication2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/IndicationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/IndicationImpl.java index 22aa42ace0..c8ef83459b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/IndicationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/IndicationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/Instruction2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/Instruction2Impl.java index bc70b1317b..c57392ce4f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/Instruction2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/Instruction2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsImpl.java index 472511934e..2852e61206 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsSection2Impl.java index aa8e09be6b..ea4796a394 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsSectionImpl.java index 4b89bf06d6..e560dfc229 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InstructionsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionActImpl.java index 51e3bfcaf9..a4e4eda3de 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionActImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionsSection2Impl.java index 02a2bbdf3c..b29f22dc37 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionsSectionImpl.java index c4f62d3ade..009088fe2c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/InterventionsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/LongitudinalCareWoundObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/LongitudinalCareWoundObservationImpl.java index b0df982241..504a3292a4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/LongitudinalCareWoundObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/LongitudinalCareWoundObservationImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentOrganizerImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentOrganizerImpl.java index b1c66ae108..4f110ac2b6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentOrganizerImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentOrganizerImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentSection2Impl.java index f31d4bd1d9..57f8d46a50 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentSectionImpl.java index e0eb2f3f45..e9cad518f9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalEquipmentSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalHistorySectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalHistorySectionImpl.java index 4b413354bb..9e31498da2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalHistorySectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicalHistorySectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationActivity2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationActivity2Impl.java index 142e93cebf..9a8fa2ce53 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationActivity2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationActivity2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationActivityImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationActivityImpl.java index 8858742866..7d683dfe1a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationActivityImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationActivityImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationDispense2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationDispense2Impl.java index 38078db906..6e9f39fd8d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationDispense2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationDispense2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationDispenseImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationDispenseImpl.java index 53c5865b2f..a59e518bf8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationDispenseImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationDispenseImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationFreeTextSigImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationFreeTextSigImpl.java index 743186b294..cdfbfc6699 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationFreeTextSigImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationFreeTextSigImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationInformation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationInformation2Impl.java index 7dd208f769..3ea40411cd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationInformation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationInformation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationInformationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationInformationImpl.java index 043074233a..4bbeb3ac9c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationInformationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationInformationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationSupplyOrder2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationSupplyOrder2Impl.java index d00731efd2..687907a522 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationSupplyOrder2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationSupplyOrder2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationSupplyOrderImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationSupplyOrderImpl.java index 2b54bc5e68..59878521ae 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationSupplyOrderImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationSupplyOrderImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationUseNoneKnownImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationUseNoneKnownImpl.java index 5c4e767218..405793793d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationUseNoneKnownImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationUseNoneKnownImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsAdministeredSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsAdministeredSection2Impl.java index 1a2309170c..a9e466eaa8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsAdministeredSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsAdministeredSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsAdministeredSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsAdministeredSectionImpl.java index a2008e1986..80f68fc7fa 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsAdministeredSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsAdministeredSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSection2Impl.java index 813925db11..a033326de3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionEntriesOptional2Impl.java index b0029d45af..87634475b4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionEntriesOptionalImpl.java index b7dffe617f..79bf4cc95d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionImpl.java index 1b14f9ac94..9a52ad5dab 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MedicationsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusObservation2Impl.java index 900a446813..824774edb0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusObservation2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusObservationImpl.java index 196b0cfa57..16d7765391 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusOrganizer2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusOrganizer2Impl.java index cf2a0969ac..03c08ba7be 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusOrganizer2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusOrganizer2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusSectionImpl.java index 0795df79a2..cfc50ed4d4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/MentalStatusSectionImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NonMedicinalSupplyActivity2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NonMedicinalSupplyActivity2Impl.java index 523b270b37..7ea4ec955d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NonMedicinalSupplyActivity2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NonMedicinalSupplyActivity2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NonMedicinalSupplyActivityImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NonMedicinalSupplyActivityImpl.java index 9e4850f5c9..47d6b6c386 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NonMedicinalSupplyActivityImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NonMedicinalSupplyActivityImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NumberOfPressureUlcersObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NumberOfPressureUlcersObservation2Impl.java index 2a63a3979c..207d23a170 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NumberOfPressureUlcersObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NumberOfPressureUlcersObservation2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NumberOfPressureUlcersObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NumberOfPressureUlcersObservationImpl.java index b87062c6af..a160b27bb2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NumberOfPressureUlcersObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NumberOfPressureUlcersObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionAssessmentImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionAssessmentImpl.java index 7c0eee7227..40e3d20aa6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionAssessmentImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionAssessmentImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionRecommendationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionRecommendationImpl.java index 71e2c86544..044195b44a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionRecommendationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionRecommendationImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionSectionImpl.java index 1b58e61409..2c2de07834 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionSectionImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionalStatusObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionalStatusObservationImpl.java index ce9590c357..bd61f43645 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionalStatusObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/NutritionalStatusObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ObjectiveSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ObjectiveSectionImpl.java index e3c4ff9950..b65d378a54 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ObjectiveSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ObjectiveSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ObserverContextImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ObserverContextImpl.java index 77ff1e5c27..f23b138a31 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ObserverContextImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ObserverContextImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNote2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNote2Impl.java index a072b03542..7b680ed221 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNote2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNote2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteFluidSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteFluidSectionImpl.java index b46f6e5ae0..b56818f0ec 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteFluidSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteFluidSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteImpl.java index 3ce5061895..877eed71b9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteSurgicalProcedureSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteSurgicalProcedureSectionImpl.java index 30718c6d77..76f19e1879 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteSurgicalProcedureSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OperativeNoteSurgicalProcedureSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OutcomeObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OutcomeObservationImpl.java index ad4885422e..f3cf2417b4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OutcomeObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/OutcomeObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PatientReferralActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PatientReferralActImpl.java index 0181dd1610..e9e91ce342 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PatientReferralActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PatientReferralActImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PayersSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PayersSection2Impl.java index 9010505bff..1e994438ae 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PayersSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PayersSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PayersSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PayersSectionImpl.java index 12296926ff..fd0683a9bc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PayersSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PayersSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalExamSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalExamSection2Impl.java index 648ebb11df..0eb77bda2a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalExamSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalExamSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalExamSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalExamSectionImpl.java index b22041ba3a..f2bba64f70 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalExamSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalExamSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalFindingsOfSkinSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalFindingsOfSkinSectionImpl.java index aaa23cbef5..f012eacc73 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalFindingsOfSkinSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicalFindingsOfSkinSectionImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianReadingStudyPerformer2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianReadingStudyPerformer2Impl.java index 2334aa3526..4edb861d18 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianReadingStudyPerformer2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianReadingStudyPerformer2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianReadingStudyPerformerImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianReadingStudyPerformerImpl.java index 08d5ffe020..aad07245a9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianReadingStudyPerformerImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianReadingStudyPerformerImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianofRecordParticipant2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianofRecordParticipant2Impl.java index a532f125c9..66c417d11e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianofRecordParticipant2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianofRecordParticipant2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianofRecordParticipantImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianofRecordParticipantImpl.java index 12ae8c5b4c..38dd95d3ab 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianofRecordParticipantImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PhysicianofRecordParticipantImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityActImpl.java index 0d57ade78e..bdb8023f91 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityActImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityEncounterImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityEncounterImpl.java index 708050bacb..924b8c271f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityEncounterImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityEncounterImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityObservationImpl.java index 17f42d2563..b019accb24 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityProcedureImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityProcedureImpl.java index 2a0f3e9b79..94ad03e659 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityProcedureImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivityProcedureImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivitySubstanceAdministrationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivitySubstanceAdministrationImpl.java index efc5b925b2..b05f779fd9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivitySubstanceAdministrationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivitySubstanceAdministrationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivitySupplyImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivitySupplyImpl.java index 36db91ef44..1c0e1c5037 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivitySupplyImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareActivitySupplyImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareSectionImpl.java index 44df4b44a2..4b20b087ac 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfCareSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfTreatmentSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfTreatmentSection2Impl.java index a4181a882e..b99686d71b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfTreatmentSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlanOfTreatmentSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedAct2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedAct2Impl.java index b39c0e0f8a..c107ad317b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedAct2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedAct2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedCoverageImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedCoverageImpl.java index 2b14c3dbad..60dccfdf85 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedCoverageImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedCoverageImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedEncounter2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedEncounter2Impl.java index 91a367de6f..d9b544fa14 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedEncounter2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedEncounter2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedImmunizationActivityImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedImmunizationActivityImpl.java index 6debea1c34..0375c49f41 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedImmunizationActivityImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedImmunizationActivityImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedInterventionActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedInterventionActImpl.java index dbfc0de156..265d072726 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedInterventionActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedInterventionActImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedMedicationActivity2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedMedicationActivity2Impl.java index f41012bfdc..39a02f5d87 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedMedicationActivity2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedMedicationActivity2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedObservation2Impl.java index 7a2958b6e4..9d029c6d20 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedure2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedure2Impl.java index 7c534a6d06..a3a658b9e0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedure2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedure2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedureSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedureSection2Impl.java index 700a73c06f..95ba8fe297 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedureSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedureSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedureSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedureSectionImpl.java index b137326f97..aa544e657b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedureSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedProcedureSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedSupply2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedSupply2Impl.java index f91f2f2fb2..847fda3a06 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedSupply2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PlannedSupply2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PolicyActivity2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PolicyActivity2Impl.java index 2711e9b80d..421288beb6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PolicyActivity2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PolicyActivity2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PolicyActivityImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PolicyActivityImpl.java index e2405e1d08..1050484824 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PolicyActivityImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PolicyActivityImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostoperativeDiagnosisSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostoperativeDiagnosisSectionImpl.java index b74530da01..30febeb418 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostoperativeDiagnosisSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostoperativeDiagnosisSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosis2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosis2Impl.java index 24cfe861db..294e293f2f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosis2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosis2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisImpl.java index d73f1bf933..840c5f007d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisSection2Impl.java index 32e398e4ce..49bd07608b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisSectionImpl.java index 1080163a1b..97822cde11 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PostprocedureDiagnosisSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreconditionForSubstanceAdministration2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreconditionForSubstanceAdministration2Impl.java index aba51fd757..e7c0747d76 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreconditionForSubstanceAdministration2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreconditionForSubstanceAdministration2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreconditionForSubstanceAdministrationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreconditionForSubstanceAdministrationImpl.java index 749b2f2eb1..851853a307 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreconditionForSubstanceAdministrationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreconditionForSubstanceAdministrationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PregnancyObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PregnancyObservationImpl.java index c5fc321dd2..9f550c7415 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PregnancyObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PregnancyObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosis2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosis2Impl.java index cef697d202..b8ba6455d4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosis2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosis2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisImpl.java index 4699e177b4..d0fe589297 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisSection2Impl.java index 809a231034..73ab6f48ab 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisSectionImpl.java index 1527def971..38d646b5b1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PreoperativeDiagnosisSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PressureUlcerObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PressureUlcerObservationImpl.java index 346d82d4a5..017f67964a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PressureUlcerObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PressureUlcerObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PriorityPreferenceImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PriorityPreferenceImpl.java index 0a78b4abb9..11abec9a5f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PriorityPreferenceImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PriorityPreferenceImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemConcernAct2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemConcernAct2Impl.java index a822d5ffe2..3f1335246e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemConcernAct2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemConcernAct2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemConcernActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemConcernActImpl.java index 6a168fa41f..aa4d972e07 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemConcernActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemConcernActImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemObservation2Impl.java index 44d34bee04..3f1a15dc82 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemObservationImpl.java index d81256d301..f9f3b911cb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSection2Impl.java index 82f8f69305..a2fc08bd33 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionEntriesOptional2Impl.java index 5845c78a92..9b6b91a310 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionEntriesOptionalImpl.java index 100e5d7a7d..2bf918204e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionImpl.java index c71dc634a8..b6d4e32333 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemStatus2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemStatus2Impl.java index 7059e69641..e14838973e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemStatus2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemStatus2Impl.java @@ -2,20 +2,14 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; - import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; - import org.eclipse.mdht.emf.runtime.util.Initializer; - import org.openhealthtools.mdht.uml.cda.consol.ConsolPackage; import org.openhealthtools.mdht.uml.cda.consol.ProblemStatus2; - import org.openhealthtools.mdht.uml.cda.consol.operations.ProblemStatus2Operations; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemStatusImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemStatusImpl.java index f51bf0eaa4..e2d4122bcf 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemStatusImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProblemStatusImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityAct2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityAct2Impl.java index 15db54694a..32a7d12c96 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityAct2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityAct2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityActImpl.java index 78bb5903d1..77b1e7bb2d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityActImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityObservation2Impl.java index f5c99ee4e7..e7c91d072a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityObservationImpl.java index dc9eb55bc2..930fba4c4e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityProcedure2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityProcedure2Impl.java index b062ace6ae..aaf833c971 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityProcedure2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityProcedure2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityProcedureImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityProcedureImpl.java index 47f968276a..31c3f39824 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityProcedureImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureActivityProcedureImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureContextImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureContextImpl.java index a380af7e1c..c09527668a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureContextImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureContextImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureDescriptionSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureDescriptionSectionImpl.java index 567f66ec78..21a3ee71b1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureDescriptionSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureDescriptionSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureDispositionSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureDispositionSectionImpl.java index a2b11ad8c8..6222260777 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureDispositionSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureDispositionSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureEstimatedBloodLossSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureEstimatedBloodLossSectionImpl.java index 6a76443f2b..8f759166ef 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureEstimatedBloodLossSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureEstimatedBloodLossSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureFindingsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureFindingsSection2Impl.java index 4a0d2b5e81..8faf3badc1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureFindingsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureFindingsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureFindingsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureFindingsSectionImpl.java index 8ed19b8b7a..74ea55feb1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureFindingsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureFindingsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureImplantsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureImplantsSectionImpl.java index 11e54329e2..d45b5bcdfe 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureImplantsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureImplantsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureIndicationsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureIndicationsSection2Impl.java index 8136fec653..786cacce26 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureIndicationsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureIndicationsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureIndicationsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureIndicationsSectionImpl.java index 39b49db70e..96eb1b2f86 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureIndicationsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureIndicationsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureNote2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureNote2Impl.java index af817aa298..0610bb71d7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureNote2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureNote2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureNoteImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureNoteImpl.java index 69624b6a39..351cd049be 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureNoteImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureNoteImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureSpecimensTakenSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureSpecimensTakenSectionImpl.java index d050276b9c..de8339dcfd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureSpecimensTakenSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProcedureSpecimensTakenSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSection2Impl.java index 5bd3563ae7..d8304b9911 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionEntriesOptional2Impl.java index a711213099..bf34c77224 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionEntriesOptionalImpl.java index b8e0008049..9500de9965 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionImpl.java index 9ebdb35e8f..a40ef28b91 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProceduresSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProductInstanceImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProductInstanceImpl.java index e6e1ce7e52..1861edf8c5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProductInstanceImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProductInstanceImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PrognosisObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PrognosisObservationImpl.java index ec864bf42a..c5adec98c4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PrognosisObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PrognosisObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressNote2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressNote2Impl.java index 9017698476..55fedb10ea 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressNote2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressNote2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressNoteImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressNoteImpl.java index 56d2a6bb7d..55554c7ffc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressNoteImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressNoteImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressTowardGoalObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressTowardGoalObservationImpl.java index a3fc41b8b5..36a1fcef0a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressTowardGoalObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ProgressTowardGoalObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PurposeofReferenceObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PurposeofReferenceObservationImpl.java index 824f83cc46..c07471f095 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PurposeofReferenceObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/PurposeofReferenceObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/QuantityMeasurementObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/QuantityMeasurementObservationImpl.java index a474b835cf..be2cd300f0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/QuantityMeasurementObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/QuantityMeasurementObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReactionObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReactionObservation2Impl.java index 11666d01fa..0feee6c193 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReactionObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReactionObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReactionObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReactionObservationImpl.java index 0b2c56e9b3..f82efa1e9e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReactionObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReactionObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForReferralSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForReferralSection2Impl.java index ec0e035cdf..f1958d08ed 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForReferralSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForReferralSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForReferralSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForReferralSectionImpl.java index db2bbf299e..0495fda462 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForReferralSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForReferralSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForVisitSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForVisitSectionImpl.java index ee6649500a..9604a2aa61 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForVisitSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReasonForVisitSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReferencedFramesObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReferencedFramesObservationImpl.java index 9486ac8602..e38593f612 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReferencedFramesObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReferencedFramesObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReferralNoteImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReferralNoteImpl.java index 550741f0f3..0a0714704b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReferralNoteImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReferralNoteImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultObservation2Impl.java index ebd7676f8f..7819712baf 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultObservationImpl.java index 57de4f4af1..4a0728d6b0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultOrganizer2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultOrganizer2Impl.java index acb2b6e41c..6ee06d3c0f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultOrganizer2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultOrganizer2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultOrganizerImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultOrganizerImpl.java index 87b7df4a0e..f81335ecc0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultOrganizerImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultOrganizerImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSection2Impl.java index f24310b5ba..31b13e8813 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionEntriesOptional2Impl.java index 027880b8f7..64dfb64a90 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionEntriesOptionalImpl.java index eac4d5a5d6..242ff40e15 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionImpl.java index 58a7e2128d..7b5ca4c89a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ResultsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReviewOfSystemsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReviewOfSystemsSectionImpl.java index 9b76d6d7bb..34e40f3843 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReviewOfSystemsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ReviewOfSystemsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/RiskConcernActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/RiskConcernActImpl.java index 935f1a9f90..fb6d0849b5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/RiskConcernActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/RiskConcernActImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SOPInstanceObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SOPInstanceObservationImpl.java index f9e4d8df4d..5e6da472f3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SOPInstanceObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SOPInstanceObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SelfCareActivitiesImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SelfCareActivitiesImpl.java index 39dc518bc4..2e5cd24747 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SelfCareActivitiesImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SelfCareActivitiesImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SensoryStatusImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SensoryStatusImpl.java index d431cefb39..e7d93d6246 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SensoryStatusImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SensoryStatusImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeriesActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeriesActImpl.java index edb5c62da3..cf7792059b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeriesActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeriesActImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ServiceDeliveryLocationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ServiceDeliveryLocationImpl.java index 6cb8585bb2..1af869865a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ServiceDeliveryLocationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/ServiceDeliveryLocationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeverityObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeverityObservation2Impl.java index 9974893b88..0385e533a8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeverityObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeverityObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeverityObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeverityObservationImpl.java index c7ad8fe8f5..f9d8b44800 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeverityObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SeverityObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SmokingStatusMeaningfulUse2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SmokingStatusMeaningfulUse2Impl.java index 9ec318feeb..1672417586 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SmokingStatusMeaningfulUse2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SmokingStatusMeaningfulUse2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SmokingStatusObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SmokingStatusObservationImpl.java index 6a59299f8e..c3e7504fc0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SmokingStatusObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SmokingStatusObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistoryObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistoryObservation2Impl.java index e31c1f0647..ead4e56206 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistoryObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistoryObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistoryObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistoryObservationImpl.java index d801fc7c68..9ea307c67a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistoryObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistoryObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistorySection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistorySection2Impl.java index 6706d37380..0092013083 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistorySection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistorySection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistorySectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistorySectionImpl.java index c27b82585b..1e1de2337c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistorySectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SocialHistorySectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/StudyActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/StudyActImpl.java index b079dc0776..dedbc321e6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/StudyActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/StudyActImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubjectiveSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubjectiveSectionImpl.java index 0277280bc9..f34bad50e4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubjectiveSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubjectiveSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceAdministeredActImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceAdministeredActImpl.java index 909c1ae8ec..d3b0563dfb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceAdministeredActImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceAdministeredActImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceOrDeviceAllergyObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceOrDeviceAllergyObservation2Impl.java index 36b672bbf3..7194ffb6cf 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceOrDeviceAllergyObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceOrDeviceAllergyObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceOrDeviceAllergyObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceOrDeviceAllergyObservationImpl.java index 03837e108f..614d0ac19b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceOrDeviceAllergyObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SubstanceOrDeviceAllergyObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SurgicalDrainsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SurgicalDrainsSectionImpl.java index dd2824dc5e..c70b76c469 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SurgicalDrainsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/SurgicalDrainsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TextObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TextObservationImpl.java index 7434ba97a7..62d498cde9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TextObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TextObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TobaccoUse2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TobaccoUse2Impl.java index 0cc8f10b78..9c968fc344 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TobaccoUse2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TobaccoUse2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TobaccoUseImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TobaccoUseImpl.java index 8905724cdd..70c38137b4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TobaccoUseImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TobaccoUseImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TransferSummaryImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TransferSummaryImpl.java index 9f8a2f9a61..5b085e4669 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TransferSummaryImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/TransferSummaryImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/USRealmHeader2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/USRealmHeader2Impl.java index 1574c2c417..e64e19087e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/USRealmHeader2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/USRealmHeader2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/USRealmHeaderPatientGeneratedDocumentImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/USRealmHeaderPatientGeneratedDocumentImpl.java index d667d03770..f1b1de29b0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/USRealmHeaderPatientGeneratedDocumentImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/USRealmHeaderPatientGeneratedDocumentImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/UnstructuredDocument2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/UnstructuredDocument2Impl.java index 297dd0b1fc..6d93234f31 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/UnstructuredDocument2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/UnstructuredDocument2Impl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/UnstructuredDocumentImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/UnstructuredDocumentImpl.java index 0dcb9e97eb..c89ecf9395 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/UnstructuredDocumentImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/UnstructuredDocumentImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignObservation2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignObservation2Impl.java index f32d6dbb9d..20468077b5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignObservation2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignObservation2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignObservationImpl.java index f98b12d51e..83d370e986 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignObservationImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsOrganizer2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsOrganizer2Impl.java index 863596f045..2473fb57a0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsOrganizer2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsOrganizer2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsOrganizerImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsOrganizerImpl.java index f1f15a8a83..ec23cf7803 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsOrganizerImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsOrganizerImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSection2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSection2Impl.java index 42f0b0598d..561088d7fc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSection2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSection2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionEntriesOptional2Impl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionEntriesOptional2Impl.java index 2bfb1ab1c5..5de65fe917 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionEntriesOptional2Impl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionEntriesOptional2Impl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionEntriesOptionalImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionEntriesOptionalImpl.java index d40a76d6b9..ee0a40344c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionEntriesOptionalImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionEntriesOptionalImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionImpl.java index 584e776658..ebeee178c5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/VitalSignsSectionImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/WoundCharacteristicImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/WoundCharacteristicImpl.java index c33949c65f..92aafeb630 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/WoundCharacteristicImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/WoundCharacteristicImpl.java @@ -2,7 +2,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/WoundMeasurementObservationImpl.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/WoundMeasurementObservationImpl.java index f32c73eb5d..ca9aaf8b4a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/WoundMeasurementObservationImpl.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/impl/WoundMeasurementObservationImpl.java @@ -6,7 +6,6 @@ */ package org.openhealthtools.mdht.uml.cda.consol.impl; -import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionDiagnosisSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionDiagnosisSection2Operations.java index b8b883dcdb..e1122dfc40 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionDiagnosisSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionDiagnosisSection2Operations.java @@ -10,6 +10,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -94,6 +95,8 @@ public static boolean validateAdmissionDiagnosisSection2TemplateId( AdmissionDiagnosisSection2 admissionDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionDiagnosisSection2AdmissionDiagnosisSection2TemplateId", "ERROR"); + if (VALIDATE_ADMISSION_DIAGNOSIS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +166,8 @@ public static boolean validateAdmissionDiagnosisSection2CETranslation( AdmissionDiagnosisSection2 admissionDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionDiagnosisSection2AdmissionDiagnosisSection2CETranslation", "ERROR"); + if (VALIDATE_ADMISSION_DIAGNOSIS_SECTION2_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -235,6 +240,8 @@ public static boolean validateAdmissionDiagnosisSection2CETranslationP( AdmissionDiagnosisSection2 admissionDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionDiagnosisSection2AdmissionDiagnosisSection2CETranslationP", "ERROR"); + if (VALIDATE_ADMISSION_DIAGNOSIS_SECTION2_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +361,8 @@ public static boolean validateHospitalAdmissionDiagnosisSectionCodeP( AdmissionDiagnosisSection2 admissionDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionDiagnosisSection2HospitalAdmissionDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -445,6 +454,8 @@ public static boolean validateHospitalAdmissionDiagnosisSectionCode( return true; } + DatatypesUtil.increment(context, "AdmissionDiagnosisSection2HospitalAdmissionDiagnosisSectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -512,6 +523,10 @@ public static boolean validateHospitalAdmissionDiagnosisSectionHospitalAdmission AdmissionDiagnosisSection2 admissionDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdmissionDiagnosisSection2HospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosis", + "WARNING"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_HOSPITAL_ADMISSION_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedication2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedication2Operations.java index c576a8af9b..0aa3efadd1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedication2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedication2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected AdmissionMedication2Operations() { public static boolean validateAdmissionMedication2TemplateId(AdmissionMedication2 admissionMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionMedication2AdmissionMedication2TemplateId", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -207,6 +210,8 @@ public static EList getConsolMedicationActivity2s(Admission public static boolean validateAdmissionMedicationCodeP(AdmissionMedication2 admissionMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionMedication2AdmissionMedicationCodeP", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +298,8 @@ public static boolean validateAdmissionMedicationCode(AdmissionMedication2 admis return true; } + DatatypesUtil.increment(context, "AdmissionMedication2AdmissionMedicationCode", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -356,6 +363,8 @@ public static boolean validateAdmissionMedicationCode(AdmissionMedication2 admis public static boolean validateAdmissionMedicationMedicationActivity(AdmissionMedication2 admissionMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionMedication2AdmissionMedicationMedicationActivity", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedicationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedicationOperations.java index 3dcb391952..5beff65a7e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedicationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedicationOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ protected AdmissionMedicationOperations() { public static boolean validateAdmissionMedicationTemplateId(AdmissionMedication admissionMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionMedicationAdmissionMedicationTemplateId", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateAdmissionMedicationTemplateId(AdmissionMedication public static boolean validateAdmissionMedicationClassCode(AdmissionMedication admissionMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionMedicationAdmissionMedicationClassCode", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -209,6 +214,8 @@ public static boolean validateAdmissionMedicationClassCode(AdmissionMedication a public static boolean validateAdmissionMedicationCodeP(AdmissionMedication admissionMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionMedicationAdmissionMedicationCodeP", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -272,6 +279,8 @@ public static boolean validateAdmissionMedicationCode(AdmissionMedication admiss return true; } + DatatypesUtil.increment(context, "AdmissionMedicationAdmissionMedicationCode", "INFO"); + if (VALIDATE_ADMISSION_MEDICATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -379,6 +388,8 @@ public static boolean validateAdmissionMedicationCode(AdmissionMedication admiss public static boolean validateAdmissionMedicationMoodCode(AdmissionMedication admissionMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionMedicationAdmissionMedicationMoodCode", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -442,6 +453,8 @@ public static boolean validateAdmissionMedicationMoodCode(AdmissionMedication ad public static boolean validateAdmissionMedicationMedicationActivity(AdmissionMedication admissionMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdmissionMedicationAdmissionMedicationMedicationActivity", "ERROR"); + if (VALIDATE_ADMISSION_MEDICATION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedicationsSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedicationsSectionEntriesOptional2Operations.java index a9f6205ebe..49951c4185 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedicationsSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdmissionMedicationsSectionEntriesOptional2Operations.java @@ -11,6 +11,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -143,6 +144,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional AdmissionMedicationsSectionEntriesOptional2 admissionMedicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdmissionMedicationsSectionEntriesOptional2HospitalAdmissionMedicationsSectionEntriesOptionalTemplateId", + "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -210,6 +216,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional AdmissionMedicationsSectionEntriesOptional2 admissionMedicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdmissionMedicationsSectionEntriesOptional2HospitalAdmissionMedicationsSectionEntriesOptionalCodeP", + "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -304,6 +315,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional return true; } + DatatypesUtil.increment( + context, + "AdmissionMedicationsSectionEntriesOptional2HospitalAdmissionMedicationsSectionEntriesOptionalCode", + "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -371,6 +387,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional AdmissionMedicationsSectionEntriesOptional2 admissionMedicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdmissionMedicationsSectionEntriesOptional2HospitalAdmissionMedicationsSectionEntriesOptionalAdmissionMedication", + "WARNING"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_ADMISSION_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveObservation2Operations.java index 7beda7dd59..b6354e0867 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveObservation2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -129,6 +130,8 @@ public static boolean validateAdvanceDirectiveObservation2TemplateId( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2TemplateId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -196,6 +199,8 @@ public static boolean validateAdvanceDirectiveObservation2Value( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2Value", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -263,6 +268,9 @@ public static boolean validateAdvanceDirectiveObservation2AuthorParticipation( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -332,6 +340,9 @@ public static boolean validateAdvanceDirectiveObservation2CDTranslation( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2CDTranslation", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -404,6 +415,9 @@ public static boolean validateAdvanceDirectiveObservation2CDTranslationP( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2CDTranslationP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_CD_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -476,6 +490,8 @@ public static boolean validateAdvanceDirectiveObservation2IVLTSLow( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2IVLTSLow", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -548,6 +564,8 @@ public static boolean validateAdvanceDirectiveObservation2IVLTSHigh( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2IVLTSHigh", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -620,6 +638,10 @@ public static boolean validateAdvanceDirectiveObservation2VerifierParticipantRol AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2VerifierParticipantRolePlayingEntityName", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_VERIFIER_PARTICIPANT_ROLE_PLAYING_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -692,6 +714,9 @@ public static boolean validateAdvanceDirectiveObservation2VerifierParticipantRol AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2VerifierParticipantRoleCodeP", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_VERIFIER_PARTICIPANT_ROLE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -780,6 +805,9 @@ public static boolean validateAdvanceDirectiveObservation2VerifierParticipantRol AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2VerifierParticipantRoleCode", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_VERIFIER_PARTICIPANT_ROLE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -862,6 +890,9 @@ public static boolean validateAdvanceDirectiveObservation2VerifierParticipantRol AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2VerifierParticipantRoleAddr", "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_VERIFIER_PARTICIPANT_ROLE_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -934,6 +965,10 @@ public static boolean validateAdvanceDirectiveObservation2VerifierParticipantRol AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2VerifierParticipantRolePlayingEntity", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_VERIFIER_PARTICIPANT_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1006,6 +1041,9 @@ public static boolean validateAdvanceDirectiveObservation2VerifierTemplateId( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2VerifierTemplateId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_VERIFIER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1078,6 +1116,11 @@ public static boolean validateAdvanceDirectiveObservation2CustodianCustodianRole AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectiveObservation2AdvanceDirectiveObservation2CustodianCustodianRoleCustodianEntityCodeP", + "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_CUSTODIAN_CUSTODIAN_ROLE_CUSTODIAN_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1166,6 +1209,11 @@ public static boolean validateAdvanceDirectiveObservation2CustodianCustodianRole AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectiveObservation2AdvanceDirectiveObservation2CustodianCustodianRoleCustodianEntityCode", + "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_CUSTODIAN_CUSTODIAN_ROLE_CUSTODIAN_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1248,6 +1296,9 @@ public static boolean validateAdvanceDirectiveObservation2CustodianCustodianRole AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2CustodianCustodianRoleCodeP", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_CUSTODIAN_CUSTODIAN_ROLE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1336,6 +1387,9 @@ public static boolean validateAdvanceDirectiveObservation2CustodianCustodianRole AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservation2CustodianCustodianRoleCode", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_CUSTODIAN_CUSTODIAN_ROLE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1418,6 +1472,11 @@ public static boolean validateAdvanceDirectiveObservation2ReferenceAdvanceDirect AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectiveObservation2AdvanceDirectiveObservation2ReferenceAdvanceDirectiveObservationReferenceExternalDocumentTextMediaType", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_REFERENCE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_TEXT_MEDIA_TYPE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1490,6 +1549,11 @@ public static boolean validateAdvanceDirectiveObservation2ReferenceAdvanceDirect AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectiveObservation2AdvanceDirectiveObservation2ReferenceAdvanceDirectiveObservationReferenceExternalDocumentTextReference", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_REFERENCE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1562,6 +1626,11 @@ public static boolean validateAdvanceDirectiveObservation2AdvanceDirectiveObserv AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectiveObservation2AdvanceDirectiveObservation2AdvanceDirectiveObservationReferenceExternalDocument", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION2_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1634,6 +1703,9 @@ public static boolean validateAdvanceDirectiveObservationHasStartingTime( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationHasStartingTime", "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_HAS_STARTING_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1701,6 +1773,9 @@ public static boolean validateAdvanceDirectiveObservationHasEndingTime( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationHasEndingTime", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_HAS_ENDING_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1768,6 +1843,8 @@ public static boolean validateAdvanceDirectiveObservationCodeP( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationCodeP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1858,6 +1935,8 @@ public static boolean validateAdvanceDirectiveObservationCode( return true; } + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationCode", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1924,6 +2003,9 @@ public static boolean validateAdvanceDirectiveObservationEffectiveTime( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationEffectiveTime", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1991,6 +2073,8 @@ public static boolean validateAdvanceDirectiveObservationVerifier( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationVerifier", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_VERIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2058,6 +2142,8 @@ public static boolean validateAdvanceDirectiveObservationCustodian( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationCustodian", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2125,6 +2211,8 @@ public static boolean validateAdvanceDirectiveObservationReference( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationReference", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2192,6 +2280,9 @@ public static boolean validateAdvanceDirectiveObservationVerifierTime( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationVerifierTime", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_VERIFIER_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2264,6 +2355,9 @@ public static boolean validateAdvanceDirectiveObservationVerifierParticipantRole AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationVerifierParticipantRole", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_VERIFIER_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2336,6 +2430,10 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleC AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationCustodianCustodianRoleCustodianEntityName", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_CUSTODIAN_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2408,6 +2506,9 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleA AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationCustodianCustodianRoleAddr", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2480,6 +2581,9 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleT AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationCustodianCustodianRoleTelecom", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2552,6 +2656,10 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleP AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationCustodianCustodianRolePlayingEntity", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2624,6 +2732,11 @@ public static boolean validateAdvanceDirectiveObservationCustodianAdvanceDirecti AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectiveObservation2AdvanceDirectiveObservationCustodianAdvanceDirectiveObservationCustodianRole", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2696,6 +2809,9 @@ public static boolean validateAdvanceDirectiveObservationReferenceExternalDocume AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationReferenceExternalDocumentId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2768,6 +2884,9 @@ public static boolean validateAdvanceDirectiveObservationReferenceExternalDocume AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationReferenceExternalDocumentText", "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2842,6 +2961,9 @@ public static boolean validateAdvanceDirectiveObservationReferenceTypeCode( AdvanceDirectiveObservation2 advanceDirectiveObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservation2AdvanceDirectiveObservationReferenceTypeCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveObservationOperations.java index 76685efa69..deddc5ff77 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveObservationOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -124,6 +125,9 @@ public static boolean validateAdvanceDirectiveObservationHasStartingTime( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationHasStartingTime", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_HAS_STARTING_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -191,6 +195,9 @@ public static boolean validateAdvanceDirectiveObservationHasEndingTime( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationHasEndingTime", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_HAS_ENDING_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -258,6 +265,8 @@ public static boolean validateAdvanceDirectiveObservationTemplateId( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationTemplateId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -325,6 +334,8 @@ public static boolean validateAdvanceDirectiveObservationClassCode( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationClassCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -392,6 +403,8 @@ public static boolean validateAdvanceDirectiveObservationMoodCode( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationMoodCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -458,6 +471,8 @@ public static boolean validateAdvanceDirectiveObservationMoodCode( public static boolean validateAdvanceDirectiveObservationId(AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -523,6 +538,8 @@ public static boolean validateAdvanceDirectiveObservationCodeP( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCodeP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -612,6 +629,8 @@ public static boolean validateAdvanceDirectiveObservationCode( return true; } + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCode", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -679,6 +698,8 @@ public static boolean validateAdvanceDirectiveObservationStatusCode( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationStatusCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -746,6 +767,9 @@ public static boolean validateAdvanceDirectiveObservationEffectiveTime( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationEffectiveTime", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -813,6 +837,8 @@ public static boolean validateAdvanceDirectiveObservationVerifier( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationVerifier", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_VERIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -880,6 +906,8 @@ public static boolean validateAdvanceDirectiveObservationCustodian( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCustodian", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -947,6 +975,8 @@ public static boolean validateAdvanceDirectiveObservationReference( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveObservationAdvanceDirectiveObservationReference", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1014,6 +1044,9 @@ public static boolean validateAdvanceDirectiveObservationVerifierTime( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationVerifierTime", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_VERIFIER_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1086,6 +1119,9 @@ public static boolean validateAdvanceDirectiveObservationVerifierTypeCode( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationVerifierTypeCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_VERIFIER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1158,6 +1194,9 @@ public static boolean validateAdvanceDirectiveObservationVerifierParticipantRole AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationVerifierParticipantRole", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_VERIFIER_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1230,6 +1269,10 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleC AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCustodianCustodianRoleCustodianEntityName", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_CUSTODIAN_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1302,6 +1345,9 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleA AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCustodianCustodianRoleAddr", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1374,6 +1420,9 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleC AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCustodianCustodianRoleClassCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1446,6 +1495,9 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleT AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCustodianCustodianRoleTelecom", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1518,6 +1570,10 @@ public static boolean validateAdvanceDirectiveObservationCustodianCustodianRoleP AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCustodianCustodianRolePlayingEntity", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_CUSTODIAN_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1590,6 +1646,9 @@ public static boolean validateAdvanceDirectiveObservationCustodianTypeCode( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationCustodianTypeCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1662,6 +1721,11 @@ public static boolean validateAdvanceDirectiveObservationCustodianAdvanceDirecti AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectiveObservationAdvanceDirectiveObservationCustodianAdvanceDirectiveObservationCustodianRole", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_ADVANCE_DIRECTIVE_OBSERVATION_CUSTODIAN_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1734,6 +1798,10 @@ public static boolean validateAdvanceDirectiveObservationReferenceExternalDocume AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationReferenceExternalDocumentTextMediaType", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_TEXT_MEDIA_TYPE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1806,6 +1874,10 @@ public static boolean validateAdvanceDirectiveObservationReferenceExternalDocume AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationReferenceExternalDocumentTextReference", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1878,6 +1950,9 @@ public static boolean validateAdvanceDirectiveObservationReferenceExternalDocume AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationReferenceExternalDocumentId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1950,6 +2025,9 @@ public static boolean validateAdvanceDirectiveObservationReferenceExternalDocume AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationReferenceExternalDocumentText", "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2024,6 +2102,9 @@ public static boolean validateAdvanceDirectiveObservationReferenceTypeCode( AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationReferenceTypeCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2096,6 +2177,9 @@ public static boolean validateAdvanceDirectiveObservationReferenceExternalDocume AdvanceDirectiveObservation advanceDirectiveObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveObservationAdvanceDirectiveObservationReferenceExternalDocument", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveOrganizerOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveOrganizerOperations.java index 9eeab38527..f3c68c1fc6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveOrganizerOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectiveOrganizerOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.OrganizerOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,8 @@ public static boolean validateAdvanceDirectiveOrganizerTemplateId( AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerTemplateId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateAdvanceDirectiveOrganizerClassCode( AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerClassCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -234,6 +239,8 @@ public static boolean validateAdvanceDirectiveOrganizerClassCode( public static boolean validateAdvanceDirectiveOrganizerMoodCode(AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerMoodCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -299,6 +306,8 @@ public static boolean validateAdvanceDirectiveOrganizerMoodCode(AdvanceDirective public static boolean validateAdvanceDirectiveOrganizerId(AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +374,8 @@ public static boolean validateAdvanceDirectiveOrganizerId(AdvanceDirectiveOrgani public static boolean validateAdvanceDirectiveOrganizerCode(AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -429,6 +440,8 @@ public static boolean validateAdvanceDirectiveOrganizerCode(AdvanceDirectiveOrga public static boolean validateAdvanceDirectiveOrganizerCodeP(AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerCodeP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -495,6 +508,8 @@ public static boolean validateAdvanceDirectiveOrganizerStatusCodeP( AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerStatusCodeP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -585,6 +600,8 @@ public static boolean validateAdvanceDirectiveOrganizerStatusCode( return true; } + DatatypesUtil.increment(context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerStatusCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -651,6 +668,9 @@ public static boolean validateAdvanceDirectiveOrganizerAdvanceDirectiveObservati AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerAdvanceDirectiveObservation2", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_ADVANCE_DIRECTIVE_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -718,6 +738,9 @@ public static boolean validateAdvanceDirectiveOrganizerAuthorParticipation( AdvanceDirectiveOrganizer advanceDirectiveOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectiveOrganizerAdvanceDirectiveOrganizerAuthorParticipation", "WARNING"); + if (VALIDATE_ADVANCE_DIRECTIVE_ORGANIZER_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSection2Operations.java index c93be34f0e..4c69da5c57 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSection2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -108,6 +109,11 @@ public static boolean validateAdvanceDirectivesSection2HasAdvanceDirectiveObserv AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectivesSection2AdvanceDirectivesSection2HasAdvanceDirectiveObservation2XorAdvanceDirectiveOrganizer", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION2_HAS_ADVANCE_DIRECTIVE_OBSERVATION2_XOR_ADVANCE_DIRECTIVE_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -153,6 +159,8 @@ public static boolean validateAdvanceDirectivesSection2HasAdvanceDirectiveObserv public static boolean validateAdvanceDirectivesSection2Text(AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectivesSection2AdvanceDirectivesSection2Text", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +246,8 @@ public static boolean validateAdvanceDirectivesSection2Text(AdvanceDirectivesSec public static boolean validateAdvanceDirectivesSection2Title(AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectivesSection2AdvanceDirectivesSection2Title", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +313,8 @@ public static boolean validateAdvanceDirectivesSection2NullFlavor( AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectivesSection2AdvanceDirectivesSection2NullFlavor", "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +380,8 @@ public static boolean validateAdvanceDirectivesSection2NullFlavor( public static boolean validateAdvanceDirectivesSection2Entry(AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectivesSection2AdvanceDirectivesSection2Entry", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION2_ENTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -433,6 +447,9 @@ public static boolean validateAdvanceDirectivesSection2EntryAdvanceDirectiveOrga AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSection2AdvanceDirectivesSection2EntryAdvanceDirectiveOrganizer", "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION2_ENTRY_ADVANCE_DIRECTIVE_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -505,6 +522,9 @@ public static boolean validateAdvanceDirectivesSection2EntryAdvanceDirectiveObse AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSection2AdvanceDirectivesSection2EntryAdvanceDirectiveObservation2", "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION2_ENTRY_ADVANCE_DIRECTIVE_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -556,6 +576,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalCodeP( AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSection2AdvanceDirectivesSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -625,6 +648,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment( + context, "AdvanceDirectivesSection2AdvanceDirectivesSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -671,6 +697,10 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptional2AdvanceDir AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSection2AdvanceDirectivesSectionEntriesOptional2AdvanceDirectiveOrganizer", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL2_ADVANCE_DIRECTIVE_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -717,6 +747,10 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalAdvanceDire AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSection2AdvanceDirectivesSectionEntriesOptionalAdvanceDirectiveObservation", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_ADVANCE_DIRECTIVE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -864,6 +898,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalTemplateId( AdvanceDirectivesSection2 advanceDirectivesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSection2AdvanceDirectivesSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionEntriesOptional2Operations.java index 14f4224f50..22d73c50f7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -100,6 +101,11 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptional2AdvanceDir AdvanceDirectivesSectionEntriesOptional2 advanceDirectivesSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectivesSectionEntriesOptional2AdvanceDirectivesSectionEntriesOptional2AdvanceDirectiveOrganizer", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL2_ADVANCE_DIRECTIVE_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -267,6 +273,10 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalTemplateId( AdvanceDirectivesSectionEntriesOptional2 advanceDirectivesSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionEntriesOptional2AdvanceDirectivesSectionEntriesOptionalTemplateId", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -334,6 +344,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalCodeP( AdvanceDirectivesSectionEntriesOptional2 advanceDirectivesSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionEntriesOptional2AdvanceDirectivesSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -427,6 +440,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionEntriesOptional2AdvanceDirectivesSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -494,6 +510,11 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalAdvanceDire AdvanceDirectivesSectionEntriesOptional2 advanceDirectivesSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectivesSectionEntriesOptional2AdvanceDirectivesSectionEntriesOptionalAdvanceDirectiveObservation", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_ADVANCE_DIRECTIVE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionEntriesOptionalOperations.java index b8b6868e3e..a7c84e921c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,10 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalTemplateId( AdvanceDirectivesSectionEntriesOptional advanceDirectivesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionEntriesOptionalAdvanceDirectivesSectionEntriesOptionalTemplateId", + "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +177,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalCode( AdvanceDirectivesSectionEntriesOptional advanceDirectivesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionEntriesOptionalAdvanceDirectivesSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +247,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalCodeP( AdvanceDirectivesSectionEntriesOptional advanceDirectivesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionEntriesOptionalAdvanceDirectivesSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +317,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalTitle( AdvanceDirectivesSectionEntriesOptional advanceDirectivesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionEntriesOptionalAdvanceDirectivesSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +387,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalText( AdvanceDirectivesSectionEntriesOptional advanceDirectivesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionEntriesOptionalAdvanceDirectivesSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +457,11 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalAdvanceDire AdvanceDirectivesSectionEntriesOptional advanceDirectivesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AdvanceDirectivesSectionEntriesOptionalAdvanceDirectivesSectionEntriesOptionalAdvanceDirectiveObservation", + "INFO"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_ADVANCE_DIRECTIVE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionOperations.java index 69cbc8141e..bc103b8c4a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AdvanceDirectivesSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected AdvanceDirectivesSectionOperations() { public static boolean validateAdvanceDirectivesSectionCodeP(AdvanceDirectivesSection advanceDirectivesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectivesSectionAdvanceDirectivesSectionCodeP", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -188,6 +191,8 @@ public static boolean validateAdvanceDirectivesSectionCode(AdvanceDirectivesSect return true; } + DatatypesUtil.increment(context, "AdvanceDirectivesSectionAdvanceDirectivesSectionCode", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -252,6 +257,8 @@ public static boolean validateAdvanceDirectivesSectionCode(AdvanceDirectivesSect public static boolean validateAdvanceDirectivesSectionTitle(AdvanceDirectivesSection advanceDirectivesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectivesSectionAdvanceDirectivesSectionTitle", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -316,6 +323,8 @@ public static boolean validateAdvanceDirectivesSectionTitle(AdvanceDirectivesSec public static boolean validateAdvanceDirectivesSectionText(AdvanceDirectivesSection advanceDirectivesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AdvanceDirectivesSectionAdvanceDirectivesSectionText", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -381,6 +390,9 @@ public static boolean validateAdvanceDirectivesSectionAdvanceDirectiveObservatio AdvanceDirectivesSection advanceDirectivesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionAdvanceDirectivesSectionAdvanceDirectiveObservation", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ADVANCE_DIRECTIVE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -498,6 +510,9 @@ public static boolean validateAdvanceDirectivesSectionEntriesOptionalTemplateId( AdvanceDirectivesSection advanceDirectivesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AdvanceDirectivesSectionAdvanceDirectivesSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AgeObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AgeObservationOperations.java index 9bf4a201ec..1e2a015680 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AgeObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AgeObservationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -99,6 +100,8 @@ protected AgeObservationOperations() { public static boolean validateAgeObservationValueUnits(AgeObservation ageObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AgeObservationAgeObservationValueUnits", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_VALUE_UNITS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateAgeObservationValueUnits(AgeObservation ageObserva public static boolean validateAgeObservationTemplateId(AgeObservation ageObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AgeObservationAgeObservationTemplateId", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateAgeObservationTemplateId(AgeObservation ageObserva public static boolean validateAgeObservationClassCode(AgeObservation ageObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AgeObservationAgeObservationClassCode", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +295,8 @@ public static boolean validateAgeObservationClassCode(AgeObservation ageObservat public static boolean validateAgeObservationMoodCode(AgeObservation ageObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AgeObservationAgeObservationMoodCode", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -351,6 +360,8 @@ public static boolean validateAgeObservationMoodCode(AgeObservation ageObservati public static boolean validateAgeObservationCodeP(AgeObservation ageObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AgeObservationAgeObservationCodeP", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +448,8 @@ public static boolean validateAgeObservationCode(AgeObservation ageObservation, return true; } + DatatypesUtil.increment(context, "AgeObservationAgeObservationCode", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -501,6 +514,8 @@ public static boolean validateAgeObservationCode(AgeObservation ageObservation, public static boolean validateAgeObservationStatusCode(AgeObservation ageObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AgeObservationAgeObservationStatusCode", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -564,6 +579,8 @@ public static boolean validateAgeObservationStatusCode(AgeObservation ageObserva public static boolean validateAgeObservationStatusCodeP(AgeObservation ageObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AgeObservationAgeObservationStatusCodeP", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -627,6 +644,8 @@ public static boolean validateAgeObservationStatusCodeP(AgeObservation ageObserv public static boolean validateAgeObservationValue(AgeObservation ageObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AgeObservationAgeObservationValue", "ERROR"); + if (VALIDATE_AGE_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSection2Operations.java index 9030fd3b24..f9d2ae9928 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected AllergiesSection2Operations() { public static boolean validateAllergiesSection2NullFlavor(AllergiesSection2 allergiesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSection2AllergiesSection2NullFlavor", "INFO"); + if (VALIDATE_ALLERGIES_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateAllergiesSection2NullFlavor(AllergiesSection2 alle public static boolean validateAllergiesSection2Title(AllergiesSection2 allergiesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSection2AllergiesSection2Title", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateAllergiesSection2Title(AllergiesSection2 allergies public static boolean validateAllergiesSection2Text(AllergiesSection2 allergiesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSection2AllergiesSection2Text", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validateAllergiesSection2Text(AllergiesSection2 allergiesS public static boolean validateAllergiesSectionEntriesOptionalTemplateId(AllergiesSection2 allergiesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSection2AllergiesSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +361,8 @@ public static boolean validateAllergiesSectionEntriesOptionalTemplateId(Allergie public static boolean validateAllergiesSectionEntriesOptionalCodeP(AllergiesSection2 allergiesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSection2AllergiesSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -441,6 +452,8 @@ public static boolean validateAllergiesSectionEntriesOptionalCode(AllergiesSecti return true; } + DatatypesUtil.increment(context, "AllergiesSection2AllergiesSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -506,6 +519,8 @@ public static boolean validateAllergiesSectionEntriesOptionalCode(AllergiesSecti public static boolean validateAllergiesSectionEntriesOptionalAllergyProblemAct(AllergiesSection2 allergiesSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSection2AllergiesSectionEntriesOptionalAllergyProblemAct", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_ALLERGY_PROBLEM_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionEntriesOptional2Operations.java index 1d828f76cb..87a6bbc73d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -146,6 +147,9 @@ public static boolean validateAllergiesSectionEntriesOptionalTemplateId( AllergiesSectionEntriesOptional2 allergiesSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergiesSectionEntriesOptional2AllergiesSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -213,6 +217,9 @@ public static boolean validateAllergiesSectionEntriesOptionalCodeP( AllergiesSectionEntriesOptional2 allergiesSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergiesSectionEntriesOptional2AllergiesSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -305,6 +312,9 @@ public static boolean validateAllergiesSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment( + context, "AllergiesSectionEntriesOptional2AllergiesSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -372,6 +382,9 @@ public static boolean validateAllergiesSectionEntriesOptionalAllergyProblemAct( AllergiesSectionEntriesOptional2 allergiesSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergiesSectionEntriesOptional2AllergiesSectionEntriesOptionalAllergyProblemAct", "WARNING"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_ALLERGY_PROBLEM_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionEntriesOptionalOperations.java index 8bed6c2eeb..313105fc73 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,9 @@ public static boolean validateAllergiesSectionEntriesOptionalTemplateId( AllergiesSectionEntriesOptional allergiesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergiesSectionEntriesOptionalAllergiesSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +176,8 @@ public static boolean validateAllergiesSectionEntriesOptionalCode( AllergiesSectionEntriesOptional allergiesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSectionEntriesOptionalAllergiesSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +245,9 @@ public static boolean validateAllergiesSectionEntriesOptionalCodeP( AllergiesSectionEntriesOptional allergiesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergiesSectionEntriesOptionalAllergiesSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +315,9 @@ public static boolean validateAllergiesSectionEntriesOptionalTitle( AllergiesSectionEntriesOptional allergiesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergiesSectionEntriesOptionalAllergiesSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +385,8 @@ public static boolean validateAllergiesSectionEntriesOptionalText( AllergiesSectionEntriesOptional allergiesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSectionEntriesOptionalAllergiesSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +454,9 @@ public static boolean validateAllergiesSectionEntriesOptionalAllergyProblemAct( AllergiesSectionEntriesOptional allergiesSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergiesSectionEntriesOptionalAllergiesSectionEntriesOptionalAllergyProblemAct", "WARNING"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_ALLERGY_PROBLEM_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionOperations.java index 9ef290b139..a7b08a4d21 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergiesSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected AllergiesSectionOperations() { public static boolean validateAllergiesSectionCodeP(AllergiesSection allergiesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSectionAllergiesSectionCodeP", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -187,6 +190,8 @@ public static boolean validateAllergiesSectionCode(AllergiesSection allergiesSec return true; } + DatatypesUtil.increment(context, "AllergiesSectionAllergiesSectionCode", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -250,6 +255,8 @@ public static boolean validateAllergiesSectionCode(AllergiesSection allergiesSec public static boolean validateAllergiesSectionTitle(AllergiesSection allergiesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSectionAllergiesSectionTitle", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -313,6 +320,8 @@ public static boolean validateAllergiesSectionTitle(AllergiesSection allergiesSe public static boolean validateAllergiesSectionText(AllergiesSection allergiesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSectionAllergiesSectionText", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -376,6 +385,8 @@ public static boolean validateAllergiesSectionText(AllergiesSection allergiesSec public static boolean validateAllergiesSectionAllergyProblemAct(AllergiesSection allergiesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSectionAllergiesSectionAllergyProblemAct", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ALLERGY_PROBLEM_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -489,6 +500,8 @@ public static EList getConsolAllergyProblemActs(AllergiesSect public static boolean validateAllergiesSectionEntriesOptionalTemplateId(AllergiesSection allergiesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergiesSectionAllergiesSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ALLERGIES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyConcernAct2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyConcernAct2Operations.java index 22d20aacb0..ab28330467 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyConcernAct2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyConcernAct2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -100,6 +101,8 @@ protected AllergyConcernAct2Operations() { public static boolean validateAllergyConcernAct2TemplateId(AllergyConcernAct2 allergyConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyConcernAct2AllergyConcernAct2TemplateId", "ERROR"); + if (VALIDATE_ALLERGY_CONCERN_ACT2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateAllergyConcernAct2TemplateId(AllergyConcernAct2 al public static boolean validateAllergyConcernAct2AuthorParticipation(AllergyConcernAct2 allergyConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyConcernAct2AllergyConcernAct2AuthorParticipation", "WARNING"); + if (VALIDATE_ALLERGY_CONCERN_ACT2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -277,6 +282,8 @@ public static EList getConsolAllergyObservation2s(AllergyCo public static boolean validateAllergyProblemActCode(AllergyConcernAct2 allergyConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyConcernAct2AllergyProblemActCode", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -340,6 +347,8 @@ public static boolean validateAllergyProblemActCode(AllergyConcernAct2 allergyCo public static boolean validateAllergyProblemActAllergyObservation(AllergyConcernAct2 allergyConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyConcernAct2AllergyProblemActAllergyObservation", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_ALLERGY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -405,6 +414,8 @@ public static boolean validateAllergyProblemActAllergyObservation(AllergyConcern public static boolean validateAllergyProblemActCDCodeAndCodeSystemValues(AllergyConcernAct2 allergyConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyConcernAct2AllergyProblemActCDCodeAndCodeSystemValues", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CD_CODE_AND_CODE_SYSTEM_VALUES__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -476,6 +487,8 @@ public static boolean validateAllergyProblemActCDCodeAndCodeSystemValues(Allergy public static boolean validateAllergyProblemActCDCode(AllergyConcernAct2 allergyConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyConcernAct2AllergyProblemActCDCode", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -546,6 +559,8 @@ public static boolean validateAllergyProblemActCDCode(AllergyConcernAct2 allergy public static boolean validateAllergyProblemActCDCodeSystem(AllergyConcernAct2 allergyConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyConcernAct2AllergyProblemActCDCodeSystem", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CD_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyObservation2Operations.java index d6846738f5..94044fb77d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyObservation2Operations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -140,6 +141,9 @@ protected AllergyObservation2Operations() { public static boolean validateAllergyObservation2CriticalityInversionIndicator( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2AllergyObservation2CriticalityInversionIndicator", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION2_CRITICALITY_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -206,6 +210,8 @@ public static boolean validateAllergyObservation2CriticalityInversionIndicator( public static boolean validateAllergyObservation2TemplateId(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservation2TemplateId", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -270,6 +276,8 @@ public static boolean validateAllergyObservation2TemplateId(AllergyObservation2 public static boolean validateAllergyObservation2NegationInd(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservation2NegationInd", "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION2_NEGATION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -313,6 +321,8 @@ public static boolean validateAllergyObservation2NegationInd(AllergyObservation2 public static boolean validateAllergyObservationValueP(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationValueP", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +378,8 @@ public static boolean validateAllergyObservationValueP(AllergyObservation2 aller public static boolean validateAllergyObservationStatusCodeP(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationStatusCodeP", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -424,6 +436,8 @@ public static boolean validateAllergyObservationStatusCodeP(AllergyObservation2 public static boolean validateAllergyObservation2AuthorParticipation(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -468,6 +482,8 @@ public static boolean validateAllergyObservation2AuthorParticipation(AllergyObse public static boolean validateAllergyObservation2CriticalityObservation(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservation2CriticalityObservation", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION2_CRITICALITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -512,6 +528,8 @@ public static boolean validateAllergyObservation2CriticalityObservation(AllergyO public static boolean validateAllergyObservation2IVLTSLow(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservation2IVLTSLow", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION2_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -561,6 +579,8 @@ public static boolean validateAllergyObservation2IVLTSLow(AllergyObservation2 al public static boolean validateAllergyObservation2IVLTSHigh(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservation2IVLTSHigh", "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION2_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -610,6 +630,11 @@ public static boolean validateAllergyObservation2IVLTSHigh(AllergyObservation2 a public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergySpecificMedication( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityAllergySpecificMedication", + "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ALLERGY_SPECIFIC_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -660,6 +685,11 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergyClassMedication( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityAllergyClassMedication", + "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ALLERGY_CLASS_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -710,6 +740,11 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityAllergyFoodOtherSubstance( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityAllergyFoodOtherSubstance", + "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ALLERGY_FOOD_OTHER_SUBSTANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -870,6 +905,8 @@ public static CriticalityObservation getCriticalityObservation(AllergyObservatio public static boolean validateAllergyObservationValueOriginalText(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationValueOriginalText", "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_VALUE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -914,6 +951,8 @@ public static boolean validateAllergyObservationValueOriginalText(AllergyObserva public static boolean validateAllergyObservationOriginalTextReference(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationOriginalTextReference", "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -958,6 +997,8 @@ public static boolean validateAllergyObservationOriginalTextReference(AllergyObs public static boolean validateAllergyObservationOriginalTextReferenceValue(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationOriginalTextReferenceValue", "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1003,6 +1044,8 @@ public static boolean validateAllergyObservationOriginalTextReferenceValue(Aller public static boolean validateAllergyObservationReferenceValue(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationReferenceValue", "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1047,6 +1090,9 @@ public static boolean validateAllergyObservationReferenceValue(AllergyObservatio public static boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusInversionIndicator( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2SubstanceOrDeviceAllergyObservationAllergyStatusInversionIndicator", "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_ALLERGY_STATUS_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1092,6 +1138,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusIn public static boolean validateSubstanceOrDeviceAllergyObservationReactionInversionIndicator( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2SubstanceOrDeviceAllergyObservationReactionInversionIndicator", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_REACTION_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1137,6 +1186,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationReactionInversi public static boolean validateSubstanceOrDeviceAllergyObservationSeverityInversionIndicator( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2SubstanceOrDeviceAllergyObservationSeverityInversionIndicator", "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_SEVERITY_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1182,6 +1234,8 @@ public static boolean validateSubstanceOrDeviceAllergyObservationSeverityInversi public static boolean validateAllergyObservationCodeP(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationCodeP", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1266,6 +1320,8 @@ public static boolean validateAllergyObservationCode(AllergyObservation2 allergy return true; } + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1778,6 +1834,8 @@ public static boolean validateAllergyObservationValue(AllergyObservation2 allerg return true; } + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationValue", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1850,6 +1908,8 @@ public static boolean validateAllergyObservationStatusCode(AllergyObservation2 a return true; } + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationStatusCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1914,6 +1974,8 @@ public static boolean validateAllergyObservationStatusCode(AllergyObservation2 a public static boolean validateAllergyObservationEffectiveTime(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationEffectiveTime", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1979,6 +2041,8 @@ public static boolean validateAllergyObservationEffectiveTime(AllergyObservation public static boolean validateAllergyObservationAllergyStatusObservation(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationAllergyStatusObservation", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_ALLERGY_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2045,6 +2109,8 @@ public static boolean validateAllergyObservationAllergyStatusObservation(Allergy public static boolean validateAllergyObservationReactionObservation(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationReactionObservation", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2110,6 +2176,8 @@ public static boolean validateAllergyObservationReactionObservation(AllergyObser public static boolean validateAllergyObservationSeverityObservation(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationSeverityObservation", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_SEVERITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2175,6 +2243,8 @@ public static boolean validateAllergyObservationSeverityObservation(AllergyObser public static boolean validateAllergyObservationParticipant(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationParticipant", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2239,6 +2309,10 @@ public static boolean validateAllergyObservationParticipant(AllergyObservation2 public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCEOriginalText( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityCEOriginalText", + "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2310,6 +2384,10 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCETranslation( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityCETranslation", + "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2381,6 +2459,11 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReferenceValue( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReferenceValue", + "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2452,6 +2535,10 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityReferenceValue( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityReferenceValue", + "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2523,6 +2610,11 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReference( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReference", + "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2594,6 +2686,9 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCode( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntityCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2665,6 +2760,9 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntity( AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservation2AllergyObservationParticipantParticipantRolePlayingEntity", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2736,6 +2834,8 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRole(AllergyObservation2 allergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservation2AllergyObservationParticipantParticipantRole", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyObservationOperations.java index 5189d7df47..03d3356152 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyObservationOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -133,6 +134,8 @@ protected AllergyObservationOperations() { public static boolean validateAllergyObservationValueOriginalText(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationValueOriginalText", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_VALUE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -198,6 +201,8 @@ public static boolean validateAllergyObservationValueOriginalText(AllergyObserva public static boolean validateAllergyObservationOriginalTextReference(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationOriginalTextReference", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -263,6 +268,8 @@ public static boolean validateAllergyObservationOriginalTextReference(AllergyObs public static boolean validateAllergyObservationOriginalTextReferenceValue(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationOriginalTextReferenceValue", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -329,6 +336,8 @@ public static boolean validateAllergyObservationOriginalTextReferenceValue(Aller public static boolean validateAllergyObservationReferenceValue(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationReferenceValue", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -394,6 +403,8 @@ public static boolean validateAllergyObservationReferenceValue(AllergyObservatio public static boolean validateAllergyObservationClassCode(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationClassCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -457,6 +468,8 @@ public static boolean validateAllergyObservationClassCode(AllergyObservation all public static boolean validateAllergyObservationMoodCode(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationMoodCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -520,6 +533,8 @@ public static boolean validateAllergyObservationMoodCode(AllergyObservation alle public static boolean validateAllergyObservationId(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationId", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -583,6 +598,8 @@ public static boolean validateAllergyObservationId(AllergyObservation allergyObs public static boolean validateAllergyObservationCodeP(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationCodeP", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -669,6 +686,8 @@ public static boolean validateAllergyObservationCode(AllergyObservation allergyO return true; } + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -733,6 +752,8 @@ public static boolean validateAllergyObservationCode(AllergyObservation allergyO public static boolean validateAllergyObservationStatusCode(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationStatusCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -796,6 +817,8 @@ public static boolean validateAllergyObservationStatusCode(AllergyObservation al public static boolean validateAllergyObservationEffectiveTime(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationEffectiveTime", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -863,6 +886,8 @@ public static boolean validateAllergyObservationEffectiveTime(AllergyObservation public static boolean validateAllergyObservationValue(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationValue", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -926,6 +951,8 @@ public static boolean validateAllergyObservationValue(AllergyObservation allergy public static boolean validateAllergyObservationReactionObservation(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationReactionObservation", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -991,6 +1018,8 @@ public static boolean validateAllergyObservationReactionObservation(AllergyObser public static boolean validateAllergyObservationSeverityObservation(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationSeverityObservation", "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_SEVERITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1056,6 +1085,8 @@ public static boolean validateAllergyObservationSeverityObservation(AllergyObser public static boolean validateAllergyObservationAllergyStatusObservation(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationAllergyStatusObservation", "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_ALLERGY_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1121,6 +1152,8 @@ public static boolean validateAllergyObservationAllergyStatusObservation(Allergy public static boolean validateAllergyObservationParticipant(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationParticipant", "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1184,6 +1217,10 @@ public static boolean validateAllergyObservationParticipant(AllergyObservation a public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCEOriginalText( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntityCEOriginalText", + "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1255,6 +1292,10 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCETranslation( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntityCETranslation", + "INFO"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1326,6 +1367,11 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReferenceValue( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReferenceValue", + "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1397,6 +1443,10 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityReferenceValue( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntityReferenceValue", + "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1468,6 +1518,10 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReference( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReference", + "WARNING"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1539,6 +1593,11 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCodeTerminologyValueSetGroupSRFI( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntityCodeTerminologyValueSetGroupSRFI", + "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CODE_TERMINOLOGY_VALUE_SET_GROUP_SRFI__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1610,6 +1669,9 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityClassCode( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntityClassCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1681,6 +1743,9 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntityCode( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntityCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1754,6 +1819,9 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantParticipantRoleClassCode( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationAllergyObservationParticipantParticipantRoleClassCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1825,6 +1893,9 @@ public static boolean validateAllergyObservationParticipantParticipantRoleClassC public static boolean validateAllergyObservationParticipantParticipantRolePlayingEntity( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationAllergyObservationParticipantParticipantRolePlayingEntity", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1898,6 +1969,8 @@ public static boolean validateAllergyObservationParticipantParticipantRolePlayin public static boolean validateAllergyObservationParticipantTypeCode(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationParticipantTypeCode", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1968,6 +2041,8 @@ public static boolean validateAllergyObservationParticipantTypeCode(AllergyObser public static boolean validateAllergyObservationParticipantParticipantRole(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationAllergyObservationParticipantParticipantRole", "ERROR"); + if (VALIDATE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2179,6 +2254,9 @@ public static AllergyStatusObservation getConsolAllergyStatusObservation(Allergy public static boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusInversionIndicator( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationSubstanceOrDeviceAllergyObservationAllergyStatusInversionIndicator", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_ALLERGY_STATUS_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2245,6 +2323,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusIn public static boolean validateSubstanceOrDeviceAllergyObservationReactionInversionIndicator( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationSubstanceOrDeviceAllergyObservationReactionInversionIndicator", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_REACTION_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2311,6 +2392,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationReactionInversi public static boolean validateSubstanceOrDeviceAllergyObservationSeverityInversionIndicator( AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AllergyObservationSubstanceOrDeviceAllergyObservationSeverityInversionIndicator", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_SEVERITY_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2377,6 +2461,8 @@ public static boolean validateSubstanceOrDeviceAllergyObservationSeverityInversi public static boolean validateSubstanceOrDeviceAllergyObservationTemplateId(AllergyObservation allergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyObservationSubstanceOrDeviceAllergyObservationTemplateId", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyProblemActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyProblemActOperations.java index f573e373bc..5d02a9173c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyProblemActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyProblemActOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -111,6 +112,8 @@ protected AllergyProblemActOperations() { public static boolean validateAllergyProblemActEffectiveTimeLow(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActEffectiveTimeLow", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -176,6 +179,8 @@ public static boolean validateAllergyProblemActEffectiveTimeLow(AllergyProblemAc public static boolean validateAllergyProblemActEffectiveTimeHigh(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActEffectiveTimeHigh", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -241,6 +246,8 @@ public static boolean validateAllergyProblemActEffectiveTimeHigh(AllergyProblemA public static boolean validateAllergyProblemActTemplateId(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActTemplateId", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -304,6 +311,8 @@ public static boolean validateAllergyProblemActTemplateId(AllergyProblemAct alle public static boolean validateAllergyProblemActClassCode(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActClassCode", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -367,6 +376,8 @@ public static boolean validateAllergyProblemActClassCode(AllergyProblemAct aller public static boolean validateAllergyProblemActMoodCode(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActMoodCode", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -430,6 +441,8 @@ public static boolean validateAllergyProblemActMoodCode(AllergyProblemAct allerg public static boolean validateAllergyProblemActId(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActId", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -493,6 +506,8 @@ public static boolean validateAllergyProblemActId(AllergyProblemAct allergyProbl public static boolean validateAllergyProblemActCode(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActCode", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -558,6 +573,8 @@ public static boolean validateAllergyProblemActCode(AllergyProblemAct allergyPro public static boolean validateAllergyProblemActStatusCode(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActStatusCode", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -621,6 +638,8 @@ public static boolean validateAllergyProblemActStatusCode(AllergyProblemAct alle public static boolean validateAllergyProblemActEffectiveTime(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActEffectiveTime", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -686,6 +705,8 @@ public static boolean validateAllergyProblemActEffectiveTime(AllergyProblemAct a public static boolean validateAllergyProblemActAllergyObservation(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActAllergyObservation", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_ALLERGY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -751,6 +772,8 @@ public static boolean validateAllergyProblemActAllergyObservation(AllergyProblem public static boolean validateAllergyProblemActCDCodeAndCodeSystemValues(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActCDCodeAndCodeSystemValues", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CD_CODE_AND_CODE_SYSTEM_VALUES__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -822,6 +845,8 @@ public static boolean validateAllergyProblemActCDCodeAndCodeSystemValues(Allergy public static boolean validateAllergyProblemActCDCode(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActCDCode", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -892,6 +917,8 @@ public static boolean validateAllergyProblemActCDCode(AllergyProblemAct allergyP public static boolean validateAllergyProblemActCDCodeSystem(AllergyProblemAct allergyProblemAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyProblemActAllergyProblemActCDCodeSystem", "ERROR"); + if (VALIDATE_ALLERGY_PROBLEM_ACT_CD_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyStatusObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyStatusObservation2Operations.java index 77c460cbdb..35abdde7a4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyStatusObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyStatusObservation2Operations.java @@ -7,17 +7,13 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.openhealthtools.mdht.uml.cda.consol.AllergyStatusObservation2; import org.openhealthtools.mdht.uml.cda.consol.ConsolPackage; - import org.openhealthtools.mdht.uml.cda.consol.util.ConsolValidator; - import org.openhealthtools.mdht.uml.cda.consol2.ConsolPlugin; /** @@ -90,6 +86,8 @@ public static boolean validateAllergyStatusObservation2TemplateId( AllergyStatusObservation2 allergyStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservation2AllergyStatusObservation2TemplateId", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -157,6 +155,8 @@ public static boolean validateAllergyStatusObservation2TemplateId( public static boolean validateAllergyStatusObservationCode(AllergyStatusObservation2 allergyStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservation2AllergyStatusObservationCode", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -223,6 +223,8 @@ public static boolean validateAllergyStatusObservationCode(AllergyStatusObservat public static boolean validateAllergyStatusObservationValue(AllergyStatusObservation2 allergyStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservation2AllergyStatusObservationValue", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyStatusObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyStatusObservationOperations.java index 16d2fedfc1..9ce3258fb1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyStatusObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AllergyStatusObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected AllergyStatusObservationOperations() { public static boolean validateAllergyStatusObservationTemplateId(AllergyStatusObservation allergyStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservationAllergyStatusObservationTemplateId", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateAllergyStatusObservationTemplateId(AllergyStatusOb public static boolean validateAllergyStatusObservationClassCode(AllergyStatusObservation allergyStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservationAllergyStatusObservationClassCode", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateAllergyStatusObservationClassCode(AllergyStatusObs public static boolean validateAllergyStatusObservationMoodCode(AllergyStatusObservation allergyStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservationAllergyStatusObservationMoodCode", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -292,6 +299,8 @@ public static boolean validateAllergyStatusObservationMoodCode(AllergyStatusObse public static boolean validateAllergyStatusObservationCode(AllergyStatusObservation allergyStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservationAllergyStatusObservationCode", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -357,6 +366,8 @@ public static boolean validateAllergyStatusObservationCode(AllergyStatusObservat public static boolean validateAllergyStatusObservationStatusCode(AllergyStatusObservation allergyStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservationAllergyStatusObservationStatusCode", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -424,6 +435,8 @@ public static boolean validateAllergyStatusObservationStatusCode(AllergyStatusOb public static boolean validateAllergyStatusObservationValue(AllergyStatusObservation allergyStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AllergyStatusObservationAllergyStatusObservationValue", "ERROR"); + if (VALIDATE_ALLERGY_STATUS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AnesthesiaSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AnesthesiaSection2Operations.java index c0604a2878..e7be55f350 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AnesthesiaSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AnesthesiaSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected AnesthesiaSection2Operations() { public static boolean validateAnesthesiaSection2TemplateId(AnesthesiaSection2 anesthesiaSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSection2AnesthesiaSection2TemplateId", "ERROR"); + if (VALIDATE_ANESTHESIA_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -259,6 +262,8 @@ public static EList getConsolMedicationActivity2s(Anesthesi public static boolean validateAnesthesiaSectionCodeP(AnesthesiaSection2 anesthesiaSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSection2AnesthesiaSectionCodeP", "ERROR"); + if (VALIDATE_ANESTHESIA_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -345,6 +350,8 @@ public static boolean validateAnesthesiaSectionCode(AnesthesiaSection2 anesthesi return true; } + DatatypesUtil.increment(context, "AnesthesiaSection2AnesthesiaSectionCode", "ERROR"); + if (VALIDATE_ANESTHESIA_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -408,6 +415,8 @@ public static boolean validateAnesthesiaSectionCode(AnesthesiaSection2 anesthesi public static boolean validateAnesthesiaSectionProcedureActivityProcedure(AnesthesiaSection2 anesthesiaSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSection2AnesthesiaSectionProcedureActivityProcedure", "INFO"); + if (VALIDATE_ANESTHESIA_SECTION_PROCEDURE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -474,6 +483,8 @@ public static boolean validateAnesthesiaSectionProcedureActivityProcedure(Anesth public static boolean validateAnesthesiaSectionMedicationActivity(AnesthesiaSection2 anesthesiaSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSection2AnesthesiaSectionMedicationActivity", "INFO"); + if (VALIDATE_ANESTHESIA_SECTION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AnesthesiaSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AnesthesiaSectionOperations.java index c48a9d3ca2..f4f34f4b6e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AnesthesiaSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AnesthesiaSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -105,6 +106,8 @@ protected AnesthesiaSectionOperations() { public static boolean validateAnesthesiaSectionTemplateId(AnesthesiaSection anesthesiaSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSectionAnesthesiaSectionTemplateId", "ERROR"); + if (VALIDATE_ANESTHESIA_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +173,8 @@ public static boolean validateAnesthesiaSectionTemplateId(AnesthesiaSection anes public static boolean validateAnesthesiaSectionCode(AnesthesiaSection anesthesiaSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSectionAnesthesiaSectionCode", "ERROR"); + if (VALIDATE_ANESTHESIA_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +238,8 @@ public static boolean validateAnesthesiaSectionCode(AnesthesiaSection anesthesia public static boolean validateAnesthesiaSectionCodeP(AnesthesiaSection anesthesiaSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSectionAnesthesiaSectionCodeP", "ERROR"); + if (VALIDATE_ANESTHESIA_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -275,6 +282,8 @@ public static boolean validateAnesthesiaSectionCodeP(AnesthesiaSection anesthesi public static boolean validateAnesthesiaSectionText(AnesthesiaSection anesthesiaSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSectionAnesthesiaSectionText", "ERROR"); + if (VALIDATE_ANESTHESIA_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -359,6 +368,8 @@ public static boolean validateAnesthesiaSectionText(AnesthesiaSection anesthesia public static boolean validateAnesthesiaSectionTitle(AnesthesiaSection anesthesiaSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSectionAnesthesiaSectionTitle", "ERROR"); + if (VALIDATE_ANESTHESIA_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -422,6 +433,8 @@ public static boolean validateAnesthesiaSectionTitle(AnesthesiaSection anesthesi public static boolean validateAnesthesiaSectionProcedureActivityProcedure(AnesthesiaSection anesthesiaSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSectionAnesthesiaSectionProcedureActivityProcedure", "INFO"); + if (VALIDATE_ANESTHESIA_SECTION_PROCEDURE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -487,6 +500,8 @@ public static boolean validateAnesthesiaSectionProcedureActivityProcedure(Anesth public static boolean validateAnesthesiaSectionMedicationActivity(AnesthesiaSection anesthesiaSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AnesthesiaSectionAnesthesiaSectionMedicationActivity", "INFO"); + if (VALIDATE_ANESTHESIA_SECTION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentAndPlanSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentAndPlanSection2Operations.java index b96286bbb3..5d59345f7d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentAndPlanSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentAndPlanSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ public static boolean validateAssessmentAndPlanSection2TemplateId( AssessmentAndPlanSection2 assessmentAndPlanSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentAndPlanSection2AssessmentAndPlanSection2TemplateId", "ERROR"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -208,6 +211,8 @@ public static EList getConsolPlannedAct2s(AssessmentAndPlanSection2 public static boolean validateAssessmentAndPlanSectionCodeP(AssessmentAndPlanSection2 assessmentAndPlanSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentAndPlanSection2AssessmentAndPlanSectionCodeP", "ERROR"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +301,8 @@ public static boolean validateAssessmentAndPlanSectionCode(AssessmentAndPlanSect return true; } + DatatypesUtil.increment(context, "AssessmentAndPlanSection2AssessmentAndPlanSectionCode", "ERROR"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -361,6 +368,9 @@ public static boolean validateAssessmentAndPlanSectionPlanOfCareActivityAct( AssessmentAndPlanSection2 assessmentAndPlanSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentAndPlanSection2AssessmentAndPlanSectionPlanOfCareActivityAct", "INFO"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION_PLAN_OF_CARE_ACTIVITY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentAndPlanSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentAndPlanSectionOperations.java index 3570c554bd..abc7364dbf 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentAndPlanSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentAndPlanSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected AssessmentAndPlanSectionOperations() { public static boolean validateAssessmentAndPlanSectionTemplateId(AssessmentAndPlanSection assessmentAndPlanSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentAndPlanSectionAssessmentAndPlanSectionTemplateId", "ERROR"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -168,6 +171,8 @@ public static boolean validateAssessmentAndPlanSectionTemplateId(AssessmentAndPl public static boolean validateAssessmentAndPlanSectionCode(AssessmentAndPlanSection assessmentAndPlanSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentAndPlanSectionAssessmentAndPlanSectionCode", "ERROR"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateAssessmentAndPlanSectionCode(AssessmentAndPlanSect public static boolean validateAssessmentAndPlanSectionCodeP(AssessmentAndPlanSection assessmentAndPlanSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentAndPlanSectionAssessmentAndPlanSectionCodeP", "ERROR"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validateAssessmentAndPlanSectionCodeP(AssessmentAndPlanSec public static boolean validateAssessmentAndPlanSectionText(AssessmentAndPlanSection assessmentAndPlanSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentAndPlanSectionAssessmentAndPlanSectionText", "ERROR"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -362,6 +371,9 @@ public static boolean validateAssessmentAndPlanSectionPlanOfCareActivityAct( AssessmentAndPlanSection assessmentAndPlanSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentAndPlanSectionAssessmentAndPlanSectionPlanOfCareActivityAct", "INFO"); + if (VALIDATE_ASSESSMENT_AND_PLAN_SECTION_PLAN_OF_CARE_ACTIVITY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentScaleObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentScaleObservationOperations.java index 6fed9a05d9..a37555a01b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentScaleObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentScaleObservationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -116,6 +117,9 @@ public static boolean validateAssessmentScaleObservationCodeCodeSystem( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleObservationAssessmentScaleObservationCodeCodeSystem", "WARNING"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_CODE_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -183,6 +187,9 @@ public static boolean validateAssessmentScaleObservationInterpretationCodeTransl AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleObservationAssessmentScaleObservationInterpretationCodeTranslation", "INFO"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_INTERPRETATION_CODE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -250,6 +257,8 @@ public static boolean validateAssessmentScaleObservationTemplateId( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationTemplateId", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -317,6 +326,8 @@ public static boolean validateAssessmentScaleObservationClassCode( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationClassCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -384,6 +395,8 @@ public static boolean validateAssessmentScaleObservationMoodCode( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationMoodCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -449,6 +462,8 @@ public static boolean validateAssessmentScaleObservationMoodCode( public static boolean validateAssessmentScaleObservationCode(AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -514,6 +529,8 @@ public static boolean validateAssessmentScaleObservationDerivationExpr( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationDerivationExpr", "INFO"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_DERIVATION_EXPR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -581,6 +598,8 @@ public static boolean validateAssessmentScaleObservationEffectiveTime( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationEffectiveTime", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -647,6 +666,8 @@ public static boolean validateAssessmentScaleObservationEffectiveTime( public static boolean validateAssessmentScaleObservationId(AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationId", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -712,6 +733,9 @@ public static boolean validateAssessmentScaleObservationInterpretationCode( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleObservationAssessmentScaleObservationInterpretationCode", "INFO"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -780,6 +804,8 @@ public static boolean validateAssessmentScaleObservationStatusCode( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationStatusCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -847,6 +873,8 @@ public static boolean validateAssessmentScaleObservationStatusCodeP( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationStatusCodeP", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -913,6 +941,8 @@ public static boolean validateAssessmentScaleObservationStatusCodeP( public static boolean validateAssessmentScaleObservationValue(AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationValue", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -979,6 +1009,8 @@ public static boolean validateAssessmentScaleObservationAuthor( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationAuthor", "INFO"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1045,6 +1077,8 @@ public static boolean validateAssessmentScaleObservationReferenceRange( AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentScaleObservationAssessmentScaleObservationReferenceRange", "INFO"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_REFERENCE_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1112,6 +1146,10 @@ public static boolean validateAssessmentScaleObservationAssessmentScaleSupportin AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleObservationAssessmentScaleObservationAssessmentScaleSupportingObservation", + "WARNING"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1179,6 +1217,10 @@ public static boolean validateAssessmentScaleObservationReferenceRangeObservatio AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleObservationAssessmentScaleObservationReferenceRangeObservationRangeTextReference", + "WARNING"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1251,6 +1293,11 @@ public static boolean validateAssessmentScaleObservationReferenceRangeObservatio AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "AssessmentScaleObservationAssessmentScaleObservationReferenceRangeObservationRangeTextReferenceValue", + "INFO"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1323,6 +1370,10 @@ public static boolean validateAssessmentScaleObservationReferenceRangeObservatio AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleObservationAssessmentScaleObservationReferenceRangeObservationRangeReferenceValue", + "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1395,6 +1446,10 @@ public static boolean validateAssessmentScaleObservationReferenceRangeObservatio AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleObservationAssessmentScaleObservationReferenceRangeObservationRangeText", + "WARNING"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1467,6 +1522,9 @@ public static boolean validateAssessmentScaleObservationReferenceRangeObservatio AssessmentScaleObservation assessmentScaleObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleObservationAssessmentScaleObservationReferenceRangeObservationRange", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentScaleSupportingObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentScaleSupportingObservationOperations.java index 6aa939b802..59891ea92f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentScaleSupportingObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentScaleSupportingObservationOperations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,9 @@ public static boolean validateAssessmentScaleSupportingObservationCodeCodeSystem AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationCodeCodeSystem", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_CODE_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +167,10 @@ public static boolean validateAssessmentScaleSupportingObservationValueTranslati AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationValueTranslation", + "INFO"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_VALUE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +238,9 @@ public static boolean validateAssessmentScaleSupportingObservationTemplateId( AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationTemplateId", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +308,9 @@ public static boolean validateAssessmentScaleSupportingObservationClassCode( AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationClassCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +378,9 @@ public static boolean validateAssessmentScaleSupportingObservationMoodCode( AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationMoodCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -431,6 +448,9 @@ public static boolean validateAssessmentScaleSupportingObservationCode( AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -498,6 +518,9 @@ public static boolean validateAssessmentScaleSupportingObservationId( AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationId", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -566,6 +589,9 @@ public static boolean validateAssessmentScaleSupportingObservationStatusCode( AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationStatusCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -633,6 +659,9 @@ public static boolean validateAssessmentScaleSupportingObservationStatusCodeP( AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationStatusCodeP", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -700,6 +729,9 @@ public static boolean validateAssessmentScaleSupportingObservationValue( AssessmentScaleSupportingObservation assessmentScaleSupportingObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AssessmentScaleSupportingObservationAssessmentScaleSupportingObservationValue", "ERROR"); + if (VALIDATE_ASSESSMENT_SCALE_SUPPORTING_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentSectionOperations.java index 22d39bb401..f32ab08864 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AssessmentSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected AssessmentSectionOperations() { public static boolean validateAssessmentSectionTemplateId(AssessmentSection assessmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentSectionAssessmentSectionTemplateId", "ERROR"); + if (VALIDATE_ASSESSMENT_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -159,6 +162,8 @@ public static boolean validateAssessmentSectionTemplateId(AssessmentSection asse public static boolean validateAssessmentSectionCode(AssessmentSection assessmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentSectionAssessmentSectionCode", "ERROR"); + if (VALIDATE_ASSESSMENT_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -222,6 +227,8 @@ public static boolean validateAssessmentSectionCode(AssessmentSection assessment public static boolean validateAssessmentSectionCodeP(AssessmentSection assessmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentSectionAssessmentSectionCodeP", "ERROR"); + if (VALIDATE_ASSESSMENT_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +292,8 @@ public static boolean validateAssessmentSectionCodeP(AssessmentSection assessmen public static boolean validateAssessmentSectionText(AssessmentSection assessmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentSectionAssessmentSectionText", "ERROR"); + if (VALIDATE_ASSESSMENT_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -348,6 +357,8 @@ public static boolean validateAssessmentSectionText(AssessmentSection assessment public static boolean validateAssessmentSectionTitle(AssessmentSection assessmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AssessmentSectionAssessmentSectionTitle", "ERROR"); + if (VALIDATE_ASSESSMENT_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AuthorParticipationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AuthorParticipationOperations.java index bdde79e159..15489b8c43 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AuthorParticipationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AuthorParticipationOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.AuthorOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -103,6 +104,8 @@ protected AuthorParticipationOperations() { public static boolean validateAuthorParticipationTemplateId(AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorParticipationAuthorParticipationTemplateId", "ERROR"); + if (VALIDATE_AUTHOR_PARTICIPATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -167,6 +170,8 @@ public static boolean validateAuthorParticipationTemplateId(AuthorParticipation public static boolean validateAuthorParticipationTime(AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorParticipationAuthorParticipationTime", "ERROR"); + if (VALIDATE_AUTHOR_PARTICIPATION_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validateAuthorParticipationTime(AuthorParticipation author public static boolean validateAuthorParticipationAssignedAuthor(AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorParticipationAuthorParticipationAssignedAuthor", "ERROR"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +302,9 @@ public static boolean validateAuthorParticipationAssignedAuthor(AuthorParticipat public static boolean validateAuthorParticipationAssignedAuthorAssignedPersonName( AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorParticipationAuthorParticipationAssignedAuthorAssignedPersonName", "INFO"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_ASSIGNED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -366,6 +376,9 @@ public static boolean validateAuthorParticipationAssignedAuthorAssignedPersonNam public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationId( AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorParticipationAuthorParticipationAssignedAuthorRepresentedOrganizationId", "INFO"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +450,9 @@ public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrgani public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationName( AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorParticipationAuthorParticipationAssignedAuthorRepresentedOrganizationName", "INFO"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -508,6 +524,9 @@ public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrgani public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationTelecom( AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorParticipationAuthorParticipationAssignedAuthorRepresentedOrganizationTelecom", "INFO"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -579,6 +598,9 @@ public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrgani public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrganizationAddr( AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorParticipationAuthorParticipationAssignedAuthorRepresentedOrganizationAddr", "INFO"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -650,6 +672,9 @@ public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrgani public static boolean validateAuthorParticipationAssignedAuthorCodeTerminology( AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorParticipationAuthorParticipationAssignedAuthorCodeTerminology", "WARNING"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_CODE_TERMINOLOGY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -721,6 +746,8 @@ public static boolean validateAuthorParticipationAssignedAuthorCodeTerminology( public static boolean validateAuthorParticipationAssignedAuthorId(AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorParticipationAuthorParticipationAssignedAuthorId", "ERROR"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -791,6 +818,8 @@ public static boolean validateAuthorParticipationAssignedAuthorId(AuthorParticip public static boolean validateAuthorParticipationAssignedAuthorCode(AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorParticipationAuthorParticipationAssignedAuthorCode", "WARNING"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -861,6 +890,8 @@ public static boolean validateAuthorParticipationAssignedAuthorCode(AuthorPartic public static boolean validateAuthorParticipationAssignedAuthorAssignedPerson( AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorParticipationAuthorParticipationAssignedAuthorAssignedPerson", "INFO"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -932,6 +963,9 @@ public static boolean validateAuthorParticipationAssignedAuthorAssignedPerson( public static boolean validateAuthorParticipationAssignedAuthorRepresentedOrganization( AuthorParticipation authorParticipation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorParticipationAuthorParticipationAssignedAuthorRepresentedOrganization", "INFO"); + if (VALIDATE_AUTHOR_PARTICIPATION_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AuthorizationActivityOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AuthorizationActivityOperations.java index cfd61546ea..e0e3194f01 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AuthorizationActivityOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/AuthorizationActivityOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -102,6 +103,8 @@ protected AuthorizationActivityOperations() { public static boolean validateAuthorizationActivityTemplateId(AuthorizationActivity authorizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorizationActivityAuthorizationActivityTemplateId", "ERROR"); + if (VALIDATE_AUTHORIZATION_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -167,6 +170,8 @@ public static boolean validateAuthorizationActivityTemplateId(AuthorizationActiv public static boolean validateAuthorizationActivityClassCode(AuthorizationActivity authorizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorizationActivityAuthorizationActivityClassCode", "ERROR"); + if (VALIDATE_AUTHORIZATION_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +236,8 @@ public static boolean validateAuthorizationActivityClassCode(AuthorizationActivi public static boolean validateAuthorizationActivityId(AuthorizationActivity authorizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorizationActivityAuthorizationActivityId", "ERROR"); + if (VALIDATE_AUTHORIZATION_ACTIVITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -294,6 +301,8 @@ public static boolean validateAuthorizationActivityId(AuthorizationActivity auth public static boolean validateAuthorizationActivityMoodCode(AuthorizationActivity authorizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorizationActivityAuthorizationActivityMoodCode", "ERROR"); + if (VALIDATE_AUTHORIZATION_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -358,6 +367,8 @@ public static boolean validateAuthorizationActivityMoodCode(AuthorizationActivit public static boolean validateAuthorizationActivityEntryRelationship(AuthorizationActivity authorizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "AuthorizationActivityAuthorizationActivityEntryRelationship", "ERROR"); + if (VALIDATE_AUTHORIZATION_ACTIVITY_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -423,6 +434,9 @@ public static boolean validateAuthorizationActivityEntryRelationship(Authorizati public static boolean validateAuthorizationActivityEntryRelationshipHasClinicalStatement( AuthorizationActivity authorizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorizationActivityAuthorizationActivityEntryRelationshipHasClinicalStatement", "ERROR"); + if (VALIDATE_AUTHORIZATION_ACTIVITY_ENTRY_RELATIONSHIP_HAS_CLINICAL_STATEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -502,6 +516,9 @@ public static boolean validateAuthorizationActivityEntryRelationshipHasClinicalS public static boolean validateAuthorizationActivityEntryRelationshipHasAuthorizedPerformers( AuthorizationActivity authorizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorizationActivityAuthorizationActivityEntryRelationshipHasAuthorizedPerformers", "INFO"); + if (VALIDATE_AUTHORIZATION_ACTIVITY_ENTRY_RELATIONSHIP_HAS_AUTHORIZED_PERFORMERS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -573,6 +590,9 @@ public static boolean validateAuthorizationActivityEntryRelationshipHasAuthorize public static boolean validateAuthorizationActivityEntryRelationshipTypeCode( AuthorizationActivity authorizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "AuthorizationActivityAuthorizationActivityEntryRelationshipTypeCode", "ERROR"); + if (VALIDATE_AUTHORIZATION_ACTIVITY_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/BirthSexObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/BirthSexObservationOperations.java index 867cb5cb77..b119898ddc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/BirthSexObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/BirthSexObservationOperations.java @@ -9,6 +9,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -91,6 +92,8 @@ protected BirthSexObservationOperations() { public static boolean validateBirthSexObservationTemplateId(BirthSexObservation birthSexObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationTemplateId", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -155,6 +158,8 @@ public static boolean validateBirthSexObservationTemplateId(BirthSexObservation public static boolean validateBirthSexObservationClassCode(BirthSexObservation birthSexObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationClassCode", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -219,6 +224,8 @@ public static boolean validateBirthSexObservationClassCode(BirthSexObservation b public static boolean validateBirthSexObservationMoodCode(BirthSexObservation birthSexObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationMoodCode", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -283,6 +290,8 @@ public static boolean validateBirthSexObservationMoodCode(BirthSexObservation bi public static boolean validateBirthSexObservationCodeP(BirthSexObservation birthSexObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationCodeP", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -369,6 +378,8 @@ public static boolean validateBirthSexObservationCode(BirthSexObservation birthS return true; } + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationCode", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -433,6 +444,8 @@ public static boolean validateBirthSexObservationCode(BirthSexObservation birthS public static boolean validateBirthSexObservationStatusCode(BirthSexObservation birthSexObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationStatusCode", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -497,6 +510,8 @@ public static boolean validateBirthSexObservationStatusCode(BirthSexObservation public static boolean validateBirthSexObservationStatusCodeP(BirthSexObservation birthSexObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationStatusCodeP", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -564,6 +579,8 @@ public static boolean validateBirthSexObservationStatusCodeP(BirthSexObservation public static boolean validateBirthSexObservationValue(BirthSexObservation birthSexObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationValue", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -627,6 +644,8 @@ public static boolean validateBirthSexObservationValue(BirthSexObservation birth public static boolean validateBirthSexObservationValueP(BirthSexObservation birthSexObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BirthSexObservationBirthSexObservationValueP", "ERROR"); + if (VALIDATE_BIRTH_SEX_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/BoundaryObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/BoundaryObservationOperations.java index 73750a1806..287b42431e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/BoundaryObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/BoundaryObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected BoundaryObservationOperations() { public static boolean validateBoundaryObservationTemplateId(BoundaryObservation boundaryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BoundaryObservationBoundaryObservationTemplateId", "ERROR"); + if (VALIDATE_BOUNDARY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -158,6 +161,8 @@ public static boolean validateBoundaryObservationTemplateId(BoundaryObservation public static boolean validateBoundaryObservationClassCode(BoundaryObservation boundaryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BoundaryObservationBoundaryObservationClassCode", "ERROR"); + if (VALIDATE_BOUNDARY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateBoundaryObservationClassCode(BoundaryObservation b public static boolean validateBoundaryObservationCode(BoundaryObservation boundaryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BoundaryObservationBoundaryObservationCode", "ERROR"); + if (VALIDATE_BOUNDARY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validateBoundaryObservationCode(BoundaryObservation bounda public static boolean validateBoundaryObservationMoodCode(BoundaryObservation boundaryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BoundaryObservationBoundaryObservationMoodCode", "ERROR"); + if (VALIDATE_BOUNDARY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -350,6 +359,8 @@ public static boolean validateBoundaryObservationMoodCode(BoundaryObservation bo public static boolean validateBoundaryObservationValue(BoundaryObservation boundaryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "BoundaryObservationBoundaryObservationValue", "ERROR"); + if (VALIDATE_BOUNDARY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CarePlanOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CarePlanOperations.java index 6b5d7b5aed..031b8366c1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CarePlanOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CarePlanOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -173,6 +174,8 @@ protected CarePlanOperations() { public static boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDoesNotHavePlanOfTreatmentSectionV2", "ERROR"); + if (VALIDATE_CARE_PLAN_DOES_NOT_HAVE_PLAN_OF_TREATMENT_SECTION_V2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +241,8 @@ public static boolean validateCarePlanDoesNotHavePlanOfTreatmentSectionV2(CarePl public static boolean validateCarePlanCodeP(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanCodeP", "ERROR"); + if (VALIDATE_CARE_PLAN_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -323,6 +328,8 @@ public static boolean validateCarePlanCode(CarePlan carePlan, DiagnosticChain di return true; } + DatatypesUtil.increment(context, "CarePlanCarePlanCode", "ERROR"); + if (VALIDATE_CARE_PLAN_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -384,6 +391,8 @@ public static boolean validateCarePlanCode(CarePlan carePlan, DiagnosticChain di public static boolean validateCarePlanSetId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanSetId", "WARNING"); + if (VALIDATE_CARE_PLAN_SET_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -446,6 +455,8 @@ public static boolean validateCarePlanSetId(CarePlan carePlan, DiagnosticChain d public static boolean validateCarePlanVersionNumber(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanVersionNumber", "WARNING"); + if (VALIDATE_CARE_PLAN_VERSION_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -508,6 +519,8 @@ public static boolean validateCarePlanVersionNumber(CarePlan carePlan, Diagnosti public static boolean validateCarePlanInformationRecipient(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanInformationRecipient", "WARNING"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -571,6 +584,8 @@ public static boolean validateCarePlanInformationRecipient(CarePlan carePlan, Di public static boolean validateCarePlanAuthenticator(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanAuthenticator", "WARNING"); + if (VALIDATE_CARE_PLAN_AUTHENTICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -633,6 +648,8 @@ public static boolean validateCarePlanAuthenticator(CarePlan carePlan, Diagnosti public static boolean validateCarePlanParticipantCarePlanReview(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReview", "WARNING"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -697,6 +714,8 @@ public static boolean validateCarePlanParticipantCarePlanReview(CarePlan carePla public static boolean validateCarePlanParticipantCaregiver(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCaregiver", "WARNING"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CAREGIVER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -760,6 +779,8 @@ public static boolean validateCarePlanParticipantCaregiver(CarePlan carePlan, Di public static boolean validateCarePlanDocumentationOf(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDocumentationOf", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -822,6 +843,8 @@ public static boolean validateCarePlanDocumentationOf(CarePlan carePlan, Diagnos public static boolean validateCarePlanRelatedDocument(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanRelatedDocument", "INFO"); + if (VALIDATE_CARE_PLAN_RELATED_DOCUMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -884,6 +907,8 @@ public static boolean validateCarePlanRelatedDocument(CarePlan carePlan, Diagnos public static boolean validateCarePlanComponentOf(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanComponentOf", "WARNING"); + if (VALIDATE_CARE_PLAN_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -946,6 +971,8 @@ public static boolean validateCarePlanComponentOf(CarePlan carePlan, DiagnosticC public static boolean validateCarePlanHealthConcernsSection(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanHealthConcernsSection", "ERROR"); + if (VALIDATE_CARE_PLAN_HEALTH_CONCERNS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1009,6 +1036,8 @@ public static boolean validateCarePlanHealthConcernsSection(CarePlan carePlan, D public static boolean validateCarePlanGoalsSection(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanGoalsSection", "ERROR"); + if (VALIDATE_CARE_PLAN_GOALS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1071,6 +1100,8 @@ public static boolean validateCarePlanGoalsSection(CarePlan carePlan, Diagnostic public static boolean validateCarePlanHealthStatusEvaluationsOutcomesSection(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanHealthStatusEvaluationsOutcomesSection", "WARNING"); + if (VALIDATE_CARE_PLAN_HEALTH_STATUS_EVALUATIONS_OUTCOMES_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1136,6 +1167,8 @@ public static boolean validateCarePlanHealthStatusEvaluationsOutcomesSection(Car public static boolean validateCarePlanInterventionsSection2(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanInterventionsSection2", "WARNING"); + if (VALIDATE_CARE_PLAN_INTERVENTIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1210,6 +1243,9 @@ public static boolean validateCarePlanInterventionsSection2(CarePlan carePlan, D public static boolean validateCarePlanInformationRecipientIntendedRecipientInformationRecipientName( CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanInformationRecipientIntendedRecipientInformationRecipientName", "ERROR"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_INFORMATION_RECIPIENT_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1281,6 +1317,9 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientInfor public static boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizationId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanInformationRecipientIntendedRecipientReceivedOrganizationId", "WARNING"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_RECEIVED_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1352,6 +1391,9 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientRecei public static boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizationName( CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanInformationRecipientIntendedRecipientReceivedOrganizationName", "ERROR"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_RECEIVED_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1423,6 +1465,11 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientRecei public static boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizationStandardIndustryClassCodeP( CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "CarePlanCarePlanInformationRecipientIntendedRecipientReceivedOrganizationStandardIndustryClassCodeP", + "WARNING"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_RECEIVED_ORGANIZATION_STANDARD_INDUSTRY_CLASS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1510,6 +1557,11 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientRecei public static boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganizationStandardIndustryClassCode( CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "CarePlanCarePlanInformationRecipientIntendedRecipientReceivedOrganizationStandardIndustryClassCode", + "ERROR"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_RECEIVED_ORGANIZATION_STANDARD_INDUSTRY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1591,6 +1643,8 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientRecei public static boolean validateCarePlanInformationRecipientIntendedRecipientId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanInformationRecipientIntendedRecipientId", "ERROR"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1661,6 +1715,8 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientId(Ca public static boolean validateCarePlanInformationRecipientIntendedRecipientAddr(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanInformationRecipientIntendedRecipientAddr", "WARNING"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1732,6 +1788,8 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientAddr( public static boolean validateCarePlanInformationRecipientIntendedRecipientTelecom(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanInformationRecipientIntendedRecipientTelecom", "WARNING"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1803,6 +1861,9 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientTelec public static boolean validateCarePlanInformationRecipientIntendedRecipientInformationRecipient(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanInformationRecipientIntendedRecipientInformationRecipient", "WARNING"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1874,6 +1935,9 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientInfor public static boolean validateCarePlanInformationRecipientIntendedRecipientReceivedOrganization(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanInformationRecipientIntendedRecipientReceivedOrganization", "WARNING"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_RECEIVED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1945,6 +2009,8 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipientRecei public static boolean validateCarePlanInformationRecipientIntendedRecipient(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanInformationRecipientIntendedRecipient", "ERROR"); + if (VALIDATE_CARE_PLAN_INFORMATION_RECIPIENT_INTENDED_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2015,6 +2081,8 @@ public static boolean validateCarePlanInformationRecipientIntendedRecipient(Care public static boolean validateCarePlanAuthenticatorAssignedEntityId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanAuthenticatorAssignedEntityId", "ERROR"); + if (VALIDATE_CARE_PLAN_AUTHENTICATOR_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2087,6 +2155,8 @@ public static boolean validateCarePlanAuthenticatorAssignedEntityId(CarePlan car public static boolean validateCarePlanAuthenticatorAssignedEntityCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanAuthenticatorAssignedEntityCode", "ERROR"); + if (VALIDATE_CARE_PLAN_AUTHENTICATOR_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2157,6 +2227,8 @@ public static boolean validateCarePlanAuthenticatorAssignedEntityCode(CarePlan c public static boolean validateCarePlanAuthenticatorAssignedEntityCodeP(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanAuthenticatorAssignedEntityCodeP", "ERROR"); + if (VALIDATE_CARE_PLAN_AUTHENTICATOR_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2227,6 +2299,8 @@ public static boolean validateCarePlanAuthenticatorAssignedEntityCodeP(CarePlan public static boolean validateCarePlanAuthenticatorTime(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanAuthenticatorTime", "ERROR"); + if (VALIDATE_CARE_PLAN_AUTHENTICATOR_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2297,6 +2371,8 @@ public static boolean validateCarePlanAuthenticatorTime(CarePlan carePlan, Diagn public static boolean validateCarePlanAuthenticatorSignatureCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanAuthenticatorSignatureCode", "ERROR"); + if (VALIDATE_CARE_PLAN_AUTHENTICATOR_SIGNATURE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2367,6 +2443,8 @@ public static boolean validateCarePlanAuthenticatorSignatureCode(CarePlan carePl public static boolean validateCarePlanAuthenticatorSDTCSignatureText(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanAuthenticatorSDTCSignatureText", "INFO"); + if (VALIDATE_CARE_PLAN_AUTHENTICATOR_SDTC_SIGNATURE_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2437,6 +2515,8 @@ public static boolean validateCarePlanAuthenticatorSDTCSignatureText(CarePlan ca public static boolean validateCarePlanAuthenticatorAssignedEntity(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanAuthenticatorAssignedEntity", "ERROR"); + if (VALIDATE_CARE_PLAN_AUTHENTICATOR_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2507,6 +2587,8 @@ public static boolean validateCarePlanAuthenticatorAssignedEntity(CarePlan careP public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityClassCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewAssociatedEntityClassCode", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_ASSOCIATED_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2578,6 +2660,8 @@ public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityC public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewAssociatedEntityId", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_ASSOCIATED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2649,6 +2733,8 @@ public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityI public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityCodeP(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewAssociatedEntityCodeP", "WARNING"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_ASSOCIATED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2736,6 +2822,8 @@ public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityC public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewAssociatedEntityCode", "WARNING"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_ASSOCIATED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2817,6 +2905,8 @@ public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntityC public static boolean validateCarePlanParticipantCarePlanReviewTypeCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewTypeCode", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2889,6 +2979,8 @@ public static boolean validateCarePlanParticipantCarePlanReviewTypeCode(CarePlan public static boolean validateCarePlanParticipantCarePlanReviewFunctionCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewFunctionCode", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_FUNCTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2959,6 +3051,8 @@ public static boolean validateCarePlanParticipantCarePlanReviewFunctionCode(Care public static boolean validateCarePlanParticipantCarePlanReviewFunctionCodeP(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewFunctionCodeP", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_FUNCTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3029,6 +3123,8 @@ public static boolean validateCarePlanParticipantCarePlanReviewFunctionCodeP(Car public static boolean validateCarePlanParticipantCarePlanReviewTime(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewTime", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3099,6 +3195,8 @@ public static boolean validateCarePlanParticipantCarePlanReviewTime(CarePlan car public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntity(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCarePlanReviewAssociatedEntity", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CARE_PLAN_REVIEW_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3170,6 +3268,9 @@ public static boolean validateCarePlanParticipantCarePlanReviewAssociatedEntity( public static boolean validateCarePlanParticipantCaregiverAssociatedEntityAssociatedPersonName(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanParticipantCaregiverAssociatedEntityAssociatedPersonName", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY_ASSOCIATED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3241,6 +3342,8 @@ public static boolean validateCarePlanParticipantCaregiverAssociatedEntityAssoci public static boolean validateCarePlanParticipantCaregiverAssociatedEntityClassCodeP(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCaregiverAssociatedEntityClassCodeP", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY_CLASS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3328,6 +3431,8 @@ public static boolean validateCarePlanParticipantCaregiverAssociatedEntityClassC public static boolean validateCarePlanParticipantCaregiverAssociatedEntityClassCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCaregiverAssociatedEntityClassCode", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3409,6 +3514,9 @@ public static boolean validateCarePlanParticipantCaregiverAssociatedEntityClassC public static boolean validateCarePlanParticipantCaregiverAssociatedEntityAssociatedPerson(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanParticipantCaregiverAssociatedEntityAssociatedPerson", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3480,6 +3588,8 @@ public static boolean validateCarePlanParticipantCaregiverAssociatedEntityAssoci public static boolean validateCarePlanParticipantCaregiverTypeCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCaregiverTypeCode", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CAREGIVER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3550,6 +3660,8 @@ public static boolean validateCarePlanParticipantCaregiverTypeCode(CarePlan care public static boolean validateCarePlanParticipantCaregiverAssociatedEntity(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanParticipantCaregiverAssociatedEntity", "ERROR"); + if (VALIDATE_CARE_PLAN_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3620,6 +3732,8 @@ public static boolean validateCarePlanParticipantCaregiverAssociatedEntity(CareP public static boolean validateCarePlanDocumentationOfServiceEventIVLTSLow(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDocumentationOfServiceEventIVLTSLow", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3690,6 +3804,8 @@ public static boolean validateCarePlanDocumentationOfServiceEventIVLTSLow(CarePl public static boolean validateCarePlanDocumentationOfServiceEventIVLTSHigh(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDocumentationOfServiceEventIVLTSHigh", "INFO"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3760,6 +3876,9 @@ public static boolean validateCarePlanDocumentationOfServiceEventIVLTSHigh(CareP public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityAssignedPersonName( CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanDocumentationOfServiceEventPerformerAssignedEntityAssignedPersonName", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_ASSIGNED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3831,6 +3950,9 @@ public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssign public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanDocumentationOfServiceEventPerformerAssignedEntityId", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3902,6 +4024,9 @@ public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssign public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanDocumentationOfServiceEventPerformerAssignedEntityCode", "INFO"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3973,6 +4098,9 @@ public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssign public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntityAssignedPerson( CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CarePlanCarePlanDocumentationOfServiceEventPerformerAssignedEntityAssignedPerson", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4044,6 +4172,8 @@ public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssign public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssignedEntity(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDocumentationOfServiceEventPerformerAssignedEntity", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4115,6 +4245,8 @@ public static boolean validateCarePlanDocumentationOfServiceEventPerformerAssign public static boolean validateCarePlanDocumentationOfServiceEventClassCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDocumentationOfServiceEventClassCode", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4185,6 +4317,8 @@ public static boolean validateCarePlanDocumentationOfServiceEventClassCode(CareP public static boolean validateCarePlanDocumentationOfServiceEventEffectiveTime(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDocumentationOfServiceEventEffectiveTime", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4255,6 +4389,8 @@ public static boolean validateCarePlanDocumentationOfServiceEventEffectiveTime(C public static boolean validateCarePlanDocumentationOfServiceEventPerformer1(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDocumentationOfServiceEventPerformer1", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4325,6 +4461,8 @@ public static boolean validateCarePlanDocumentationOfServiceEventPerformer1(Care public static boolean validateCarePlanDocumentationOfServiceEvent(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanDocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_CARE_PLAN_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4395,6 +4533,8 @@ public static boolean validateCarePlanDocumentationOfServiceEvent(CarePlan careP public static boolean validateCarePlanRelatedDocumentParentDocumentId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanRelatedDocumentParentDocumentId", "ERROR"); + if (VALIDATE_CARE_PLAN_RELATED_DOCUMENT_PARENT_DOCUMENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4465,6 +4605,8 @@ public static boolean validateCarePlanRelatedDocumentParentDocumentId(CarePlan c public static boolean validateCarePlanRelatedDocumentParentDocumentSetId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanRelatedDocumentParentDocumentSetId", "ERROR"); + if (VALIDATE_CARE_PLAN_RELATED_DOCUMENT_PARENT_DOCUMENT_SET_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4535,6 +4677,8 @@ public static boolean validateCarePlanRelatedDocumentParentDocumentSetId(CarePla public static boolean validateCarePlanRelatedDocumentParentDocumentVersionNumber(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanRelatedDocumentParentDocumentVersionNumber", "ERROR"); + if (VALIDATE_CARE_PLAN_RELATED_DOCUMENT_PARENT_DOCUMENT_VERSION_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4606,6 +4750,8 @@ public static boolean validateCarePlanRelatedDocumentParentDocumentVersionNumber public static boolean validateCarePlanRelatedDocumentTypeCodeP(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanRelatedDocumentTypeCodeP", "ERROR"); + if (VALIDATE_CARE_PLAN_RELATED_DOCUMENT_TYPE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4691,6 +4837,8 @@ public static boolean validateCarePlanRelatedDocumentTypeCodeP(CarePlan carePlan public static boolean validateCarePlanRelatedDocumentTypeCode(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanRelatedDocumentTypeCode", "ERROR"); + if (VALIDATE_CARE_PLAN_RELATED_DOCUMENT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4770,6 +4918,8 @@ public static boolean validateCarePlanRelatedDocumentTypeCode(CarePlan carePlan, public static boolean validateCarePlanRelatedDocumentParentDocument(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanRelatedDocumentParentDocument", "ERROR"); + if (VALIDATE_CARE_PLAN_RELATED_DOCUMENT_PARENT_DOCUMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4840,6 +4990,8 @@ public static boolean validateCarePlanRelatedDocumentParentDocument(CarePlan car public static boolean validateCarePlanComponentOfEncompassingEncounterEffectiveTime(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanComponentOfEncompassingEncounterEffectiveTime", "ERROR"); + if (VALIDATE_CARE_PLAN_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4911,6 +5063,8 @@ public static boolean validateCarePlanComponentOfEncompassingEncounterEffectiveT public static boolean validateCarePlanComponentOfEncompassingEncounter(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanCarePlanComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_CARE_PLAN_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5159,6 +5313,8 @@ public static InterventionsSection2 getInterventionsSection2(CarePlan carePlan) public static boolean validateUSRealmHeader2TemplateId(CarePlan carePlan, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CarePlanUSRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CaregiverCharacteristicsOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CaregiverCharacteristicsOperations.java index 12caec049e..8a37364ac7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CaregiverCharacteristicsOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CaregiverCharacteristicsOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -107,6 +108,8 @@ public static boolean validateCaregiverCharacteristicsValueCodeSystem( CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsValueCodeSystem", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_VALUE_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +176,8 @@ public static boolean validateCaregiverCharacteristicsValueCodeSystem( public static boolean validateCaregiverCharacteristicsTemplateId(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsTemplateId", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +243,8 @@ public static boolean validateCaregiverCharacteristicsTemplateId(CaregiverCharac public static boolean validateCaregiverCharacteristicsClassCode(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsClassCode", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +310,8 @@ public static boolean validateCaregiverCharacteristicsClassCode(CaregiverCharact public static boolean validateCaregiverCharacteristicsMoodCode(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsMoodCode", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +377,8 @@ public static boolean validateCaregiverCharacteristicsMoodCode(CaregiverCharacte public static boolean validateCaregiverCharacteristicsId(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsId", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -432,6 +443,8 @@ public static boolean validateCaregiverCharacteristicsId(CaregiverCharacteristic public static boolean validateCaregiverCharacteristicsCode(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsCode", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -497,6 +510,8 @@ public static boolean validateCaregiverCharacteristicsCode(CaregiverCharacterist public static boolean validateCaregiverCharacteristicsStatusCode(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsStatusCode", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -562,6 +577,8 @@ public static boolean validateCaregiverCharacteristicsStatusCode(CaregiverCharac public static boolean validateCaregiverCharacteristicsStatusCodeP(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsStatusCodeP", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -627,6 +644,8 @@ public static boolean validateCaregiverCharacteristicsStatusCodeP(CaregiverChara public static boolean validateCaregiverCharacteristicsValue(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsValue", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -691,6 +710,8 @@ public static boolean validateCaregiverCharacteristicsValue(CaregiverCharacteris public static boolean validateCaregiverCharacteristicsParticipant(CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsParticipant", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -757,6 +778,9 @@ public static boolean validateCaregiverCharacteristicsParticipantParticipantRole CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CaregiverCharacteristicsCaregiverCharacteristicsParticipantParticipantRoleClassCode", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_PARTICIPANT_PARTICIPANT_ROLE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -829,6 +853,8 @@ public static boolean validateCaregiverCharacteristicsParticipantTimeLow( CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsParticipantTimeLow", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_PARTICIPANT_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -901,6 +927,8 @@ public static boolean validateCaregiverCharacteristicsParticipantTimeHigh( CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsParticipantTimeHigh", "INFO"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_PARTICIPANT_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -973,6 +1001,9 @@ public static boolean validateCaregiverCharacteristicsParticipantTypeCode( CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CaregiverCharacteristicsCaregiverCharacteristicsParticipantTypeCode", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1045,6 +1076,8 @@ public static boolean validateCaregiverCharacteristicsParticipantTime( CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CaregiverCharacteristicsCaregiverCharacteristicsParticipantTime", "INFO"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_PARTICIPANT_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1117,6 +1150,9 @@ public static boolean validateCaregiverCharacteristicsParticipantParticipantRole CaregiverCharacteristics caregiverCharacteristics, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CaregiverCharacteristicsCaregiverCharacteristicsParticipantParticipantRole", "ERROR"); + if (VALIDATE_CAREGIVER_CHARACTERISTICS_PARTICIPANT_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CharacteristicsOfHomeEnvironmentOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CharacteristicsOfHomeEnvironmentOperations.java index 07e566bd9a..ade79824c7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CharacteristicsOfHomeEnvironmentOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CharacteristicsOfHomeEnvironmentOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentTemplateId( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentTemplateId", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentClassCode( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentClassCode", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentMoodCode( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentMoodCode", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +308,8 @@ public static boolean validateCharacteristicsOfHomeEnvironmentId( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentId", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +377,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentCodeP( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentCodeP", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -457,6 +472,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentCode( return true; } + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentCode", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -525,6 +543,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentStatusCode( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentStatusCode", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -592,6 +613,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentStatusCodeP( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentStatusCodeP", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -661,6 +685,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentValue( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentValue", "WARNING"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -728,6 +755,9 @@ public static boolean validateCharacteristicsOfHomeEnvironmentValueP( CharacteristicsOfHomeEnvironment characteristicsOfHomeEnvironment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CharacteristicsOfHomeEnvironmentCharacteristicsOfHomeEnvironmentValueP", "ERROR"); + if (VALIDATE_CHARACTERISTICS_OF_HOME_ENVIRONMENT_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ChiefComplaintAndReasonForVisitSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ChiefComplaintAndReasonForVisitSectionOperations.java index ca3434c015..4e0f9287cd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ChiefComplaintAndReasonForVisitSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ChiefComplaintAndReasonForVisitSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validateChiefComplaintAndReasonForVisitSectionTemplateId( ChiefComplaintAndReasonForVisitSection chiefComplaintAndReasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ChiefComplaintAndReasonForVisitSectionChiefComplaintAndReasonForVisitSectionTemplateId", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateChiefComplaintAndReasonForVisitSectionCode( ChiefComplaintAndReasonForVisitSection chiefComplaintAndReasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ChiefComplaintAndReasonForVisitSectionChiefComplaintAndReasonForVisitSectionCode", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,9 @@ public static boolean validateChiefComplaintAndReasonForVisitSectionCodeP( ChiefComplaintAndReasonForVisitSection chiefComplaintAndReasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ChiefComplaintAndReasonForVisitSectionChiefComplaintAndReasonForVisitSectionCodeP", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +308,9 @@ public static boolean validateChiefComplaintAndReasonForVisitSectionText( ChiefComplaintAndReasonForVisitSection chiefComplaintAndReasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ChiefComplaintAndReasonForVisitSectionChiefComplaintAndReasonForVisitSectionText", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +378,9 @@ public static boolean validateChiefComplaintAndReasonForVisitSectionTitle( ChiefComplaintAndReasonForVisitSection chiefComplaintAndReasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ChiefComplaintAndReasonForVisitSectionChiefComplaintAndReasonForVisitSectionTitle", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ChiefComplaintSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ChiefComplaintSectionOperations.java index 9fa1f5b441..14f053004f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ChiefComplaintSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ChiefComplaintSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected ChiefComplaintSectionOperations() { public static boolean validateChiefComplaintSectionTemplateId(ChiefComplaintSection chiefComplaintSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ChiefComplaintSectionChiefComplaintSectionTemplateId", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateChiefComplaintSectionTemplateId(ChiefComplaintSect public static boolean validateChiefComplaintSectionCode(ChiefComplaintSection chiefComplaintSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ChiefComplaintSectionChiefComplaintSectionCode", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateChiefComplaintSectionCode(ChiefComplaintSection ch public static boolean validateChiefComplaintSectionCodeP(ChiefComplaintSection chiefComplaintSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ChiefComplaintSectionChiefComplaintSectionCodeP", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +295,8 @@ public static boolean validateChiefComplaintSectionCodeP(ChiefComplaintSection c public static boolean validateChiefComplaintSectionText(ChiefComplaintSection chiefComplaintSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ChiefComplaintSectionChiefComplaintSectionText", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -351,6 +360,8 @@ public static boolean validateChiefComplaintSectionText(ChiefComplaintSection ch public static boolean validateChiefComplaintSectionTitle(ChiefComplaintSection chiefComplaintSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ChiefComplaintSectionChiefComplaintSectionTitle", "ERROR"); + if (VALIDATE_CHIEF_COMPLAINT_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CodeObservationsOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CodeObservationsOperations.java index 6142275f1f..54d44906ea 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CodeObservationsOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CodeObservationsOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -106,6 +107,8 @@ protected CodeObservationsOperations() { public static boolean validateCodeObservationsTemplateId(CodeObservations codeObservations, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CodeObservationsCodeObservationsTemplateId", "ERROR"); + if (VALIDATE_CODE_OBSERVATIONS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateCodeObservationsTemplateId(CodeObservations codeOb public static boolean validateCodeObservationsClassCode(CodeObservations codeObservations, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CodeObservationsCodeObservationsClassCode", "ERROR"); + if (VALIDATE_CODE_OBSERVATIONS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateCodeObservationsClassCode(CodeObservations codeObs public static boolean validateCodeObservationsMoodCode(CodeObservations codeObservations, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CodeObservationsCodeObservationsMoodCode", "ERROR"); + if (VALIDATE_CODE_OBSERVATIONS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +302,8 @@ public static boolean validateCodeObservationsMoodCode(CodeObservations codeObse public static boolean validateCodeObservationsCode(CodeObservations codeObservations, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CodeObservationsCodeObservationsCode", "ERROR"); + if (VALIDATE_CODE_OBSERVATIONS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -358,6 +367,8 @@ public static boolean validateCodeObservationsCode(CodeObservations codeObservat public static boolean validateCodeObservationsEffectiveTime(CodeObservations codeObservations, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CodeObservationsCodeObservationsEffectiveTime", "WARNING"); + if (VALIDATE_CODE_OBSERVATIONS_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -421,6 +432,8 @@ public static boolean validateCodeObservationsEffectiveTime(CodeObservations cod public static boolean validateCodeObservationsValue(CodeObservations codeObservations, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CodeObservationsCodeObservationsValue", "ERROR"); + if (VALIDATE_CODE_OBSERVATIONS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -484,6 +497,8 @@ public static boolean validateCodeObservationsValue(CodeObservations codeObserva public static boolean validateCodeObservationsSOPInstanceObservation(CodeObservations codeObservations, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CodeObservationsCodeObservationsSOPInstanceObservation", "INFO"); + if (VALIDATE_CODE_OBSERVATIONS_SOP_INSTANCE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -549,6 +564,8 @@ public static boolean validateCodeObservationsSOPInstanceObservation(CodeObserva public static boolean validateCodeObservationsQuantityMeasurementObservation(CodeObservations codeObservations, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CodeObservationsCodeObservationsQuantityMeasurementObservation", "INFO"); + if (VALIDATE_CODE_OBSERVATIONS_QUANTITY_MEASUREMENT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveAbilitiesObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveAbilitiesObservationOperations.java index 0a27d49549..e23af8ae61 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveAbilitiesObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveAbilitiesObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -107,6 +108,9 @@ public static boolean validateCognitiveAbilitiesObservationTemplateId( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationTemplateId", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -174,6 +178,9 @@ public static boolean validateCognitiveAbilitiesObservationClassCode( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationClassCode", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -241,6 +248,8 @@ public static boolean validateCognitiveAbilitiesObservationMoodCode( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationMoodCode", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -308,6 +317,8 @@ public static boolean validateCognitiveAbilitiesObservationId( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationId", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -374,6 +385,8 @@ public static boolean validateCognitiveAbilitiesObservationCodeP( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationCodeP", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -466,6 +479,8 @@ public static boolean validateCognitiveAbilitiesObservationCode( return true; } + DatatypesUtil.increment(context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationCode", "WARNING"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -533,6 +548,8 @@ public static boolean validateCognitiveAbilitiesObservationText( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationText", "WARNING"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -601,6 +618,9 @@ public static boolean validateCognitiveAbilitiesObservationStatusCode( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationStatusCode", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -668,6 +688,9 @@ public static boolean validateCognitiveAbilitiesObservationStatusCodeP( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationStatusCodeP", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -735,6 +758,9 @@ public static boolean validateCognitiveAbilitiesObservationEffectiveTime( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationEffectiveTime", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -804,6 +830,8 @@ public static boolean validateCognitiveAbilitiesObservationValue( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationValue", "WARNING"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -871,6 +899,8 @@ public static boolean validateCognitiveAbilitiesObservationValueP( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationValueP", "ERROR"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -938,6 +968,9 @@ public static boolean validateCognitiveAbilitiesObservationAssessmentScaleObserv CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationAssessmentScaleObservation", "INFO"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1005,6 +1038,9 @@ public static boolean validateCognitiveAbilitiesObservationAuthorParticipation( CognitiveAbilitiesObservation cognitiveAbilitiesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveAbilitiesObservationCognitiveAbilitiesObservationAuthorParticipation", "WARNING"); + if (VALIDATE_COGNITIVE_ABILITIES_OBSERVATION_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusProblemObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusProblemObservationOperations.java index a58b6c93c0..66f4a63ca8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusProblemObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusProblemObservationOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -116,6 +117,9 @@ public static boolean validateCognitiveStatusProblemObservationMethodCode( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusProblemObservationCognitiveStatusProblemObservationMethodCode", "INFO"); + if (VALIDATE_COGNITIVE_STATUS_PROBLEM_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -183,6 +187,10 @@ public static boolean validateCognitiveStatusProblemObservationNonMedicinalSuppl CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusProblemObservationCognitiveStatusProblemObservationNonMedicinalSupplyActivity", + "INFO"); + if (VALIDATE_COGNITIVE_STATUS_PROBLEM_OBSERVATION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -250,6 +258,10 @@ public static boolean validateCognitiveStatusProblemObservationCaregiverCharacte CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusProblemObservationCognitiveStatusProblemObservationCaregiverCharacteristics", + "INFO"); + if (VALIDATE_COGNITIVE_STATUS_PROBLEM_OBSERVATION_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -317,6 +329,10 @@ public static boolean validateCognitiveStatusProblemObservationAssessmentScaleOb CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusProblemObservationCognitiveStatusProblemObservationAssessmentScaleObservation", + "INFO"); + if (VALIDATE_COGNITIVE_STATUS_PROBLEM_OBSERVATION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -533,6 +549,9 @@ public static boolean validateProblemObservationHasTextReference( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusProblemObservationProblemObservationHasTextReference", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -600,6 +619,9 @@ public static boolean validateProblemObservationHasTextReferenceValue( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusProblemObservationProblemObservationHasTextReferenceValue", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -667,6 +689,8 @@ public static boolean validateProblemObservationHasOnsetDate( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationHasOnsetDate", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_ONSET_DATE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -734,6 +758,9 @@ public static boolean validateProblemObservationHasResolutionDate( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusProblemObservationProblemObservationHasResolutionDate", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_RESOLUTION_DATE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -801,6 +828,8 @@ public static boolean validateProblemObservationTemplateId( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -867,6 +896,8 @@ public static boolean validateProblemObservationClassCode( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationClassCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -932,6 +963,8 @@ public static boolean validateProblemObservationMoodCode( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationMoodCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -997,6 +1030,8 @@ public static boolean validateProblemObservationNegationInd( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationNegationInd", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_NEGATION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1063,6 +1098,8 @@ public static boolean validateProblemObservationId( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationId", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1127,6 +1164,8 @@ public static boolean validateProblemObservationCodeP( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationCodeP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1216,6 +1255,8 @@ public static boolean validateProblemObservationCode( return true; } + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationCode", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1280,6 +1321,8 @@ public static boolean validateProblemObservationText( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationText", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1345,6 +1388,8 @@ public static boolean validateProblemObservationStatusCode( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationStatusCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1411,6 +1456,8 @@ public static boolean validateProblemObservationEffectiveTime( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationEffectiveTime", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1478,6 +1525,8 @@ public static boolean validateProblemObservationValueP( CognitiveStatusProblemObservation cognitiveStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationValueP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1567,6 +1616,8 @@ public static boolean validateProblemObservationValue( return true; } + DatatypesUtil.increment(context, "CognitiveStatusProblemObservationProblemObservationValue", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusResultObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusResultObservationOperations.java index 1a8bf9e81c..a84e7110f5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusResultObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusResultObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -122,6 +123,9 @@ public static boolean validateCognitiveStatusResultObservationValueDatatype( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationCognitiveStatusResultObservationValueDatatype", "WARNING"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_VALUE_DATATYPE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -189,6 +193,8 @@ public static boolean validateResultObservationCodeP( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -266,6 +272,9 @@ public static boolean validateCognitiveStatusResultObservationAuthor( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationCognitiveStatusResultObservationAuthor", "INFO"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -333,6 +342,10 @@ public static boolean validateCognitiveStatusResultObservationNonMedicinalSupply CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationCognitiveStatusResultObservationNonMedicinalSupplyActivity", + "INFO"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -400,6 +413,10 @@ public static boolean validateCognitiveStatusResultObservationCaregiverCharacter CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationCognitiveStatusResultObservationCaregiverCharacteristics", + "INFO"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -467,6 +484,10 @@ public static boolean validateCognitiveStatusResultObservationAssessmentScaleObs CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationCognitiveStatusResultObservationAssessmentScaleObservation", + "INFO"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -534,6 +555,9 @@ public static boolean validateCognitiveStatusResultObservationReferenceRange( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationCognitiveStatusResultObservationReferenceRange", "WARNING"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -601,6 +625,11 @@ public static boolean validateCognitiveStatusResultObservationReferenceRangeObse CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "CognitiveStatusResultObservationCognitiveStatusResultObservationReferenceRangeObservationRangeNoCode", + "ERROR"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE_NO_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -673,6 +702,10 @@ public static boolean validateCognitiveStatusResultObservationReferenceRangeObse CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationCognitiveStatusResultObservationReferenceRangeObservationRange", + "ERROR"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -894,6 +927,8 @@ public static boolean validateResultObservationTextReference( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationTextReference", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -960,6 +995,9 @@ public static boolean validateResultObservationTextReferenceValue( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationResultObservationTextReferenceValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1027,6 +1065,8 @@ public static boolean validateResultObservationTemplateId( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationTemplateId", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1092,6 +1132,8 @@ public static boolean validateResultObservationClassCode( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationClassCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1157,6 +1199,8 @@ public static boolean validateResultObservationMoodCode( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationMoodCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1221,6 +1265,8 @@ public static boolean validateResultObservationMoodCode( public static boolean validateResultObservationId(CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationId", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1296,6 +1342,8 @@ public static boolean validateResultObservationCode( return true; } + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationCode", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1360,6 +1408,8 @@ public static boolean validateResultObservationText( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationText", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1424,6 +1474,8 @@ public static boolean validateResultObservationStatusCodeP( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationStatusCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1512,6 +1564,8 @@ public static boolean validateResultObservationStatusCode( return true; } + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationStatusCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1577,6 +1631,8 @@ public static boolean validateResultObservationEffectiveTime( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationEffectiveTime", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1643,6 +1699,8 @@ public static boolean validateResultObservationValue( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1707,6 +1765,9 @@ public static boolean validateResultObservationInterpretationCode( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultObservationResultObservationInterpretationCode", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1774,6 +1835,8 @@ public static boolean validateResultObservationMethodCode( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationMethodCode", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1839,6 +1902,8 @@ public static boolean validateResultObservationTargetSiteCode( CognitiveStatusResultObservation cognitiveStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultObservationResultObservationTargetSiteCode", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusResultOrganizerOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusResultOrganizerOperations.java index 809620ef0c..f8dec718a3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusResultOrganizerOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CognitiveStatusResultOrganizerOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,9 @@ public static boolean validateCognitiveStatusResultOrganizerCodeCodeSystem( CognitiveStatusResultOrganizer cognitiveStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CognitiveStatusResultOrganizerCognitiveStatusResultOrganizerCodeCodeSystem", "WARNING"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_ORGANIZER_CODE_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -218,6 +222,8 @@ public static boolean validateResultOrganizerTemplateId( CognitiveStatusResultOrganizer cognitiveStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultOrganizerResultOrganizerTemplateId", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -283,6 +289,8 @@ public static boolean validateResultOrganizerClassCode( CognitiveStatusResultOrganizer cognitiveStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultOrganizerResultOrganizerClassCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -347,6 +355,8 @@ public static boolean validateResultOrganizerClassCode( public static boolean validateResultOrganizerMoodCode(CognitiveStatusResultOrganizer cognitiveStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultOrganizerResultOrganizerMoodCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -411,6 +421,8 @@ public static boolean validateResultOrganizerMoodCode(CognitiveStatusResultOrgan public static boolean validateResultOrganizerId(CognitiveStatusResultOrganizer cognitiveStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultOrganizerResultOrganizerId", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -474,6 +486,8 @@ public static boolean validateResultOrganizerId(CognitiveStatusResultOrganizer c public static boolean validateResultOrganizerCode(CognitiveStatusResultOrganizer cognitiveStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultOrganizerResultOrganizerCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -538,6 +552,8 @@ public static boolean validateResultOrganizerStatusCodeP( CognitiveStatusResultOrganizer cognitiveStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultOrganizerResultOrganizerStatusCodeP", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -626,6 +642,8 @@ public static boolean validateResultOrganizerStatusCode( return true; } + DatatypesUtil.increment(context, "CognitiveStatusResultOrganizerResultOrganizerStatusCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -691,6 +709,8 @@ public static boolean validateResultOrganizerResultObservation( CognitiveStatusResultOrganizer cognitiveStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CognitiveStatusResultOrganizerResultOrganizerResultObservation", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CommentActivityOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CommentActivityOperations.java index 5f03e7ae13..8e7b97d502 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CommentActivityOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CommentActivityOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected CommentActivityOperations() { public static boolean validateCommentActivityTextReference(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityTextReference", "ERROR"); + if (VALIDATE_COMMENT_ACTIVITY_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateCommentActivityTextReference(CommentActivity comme public static boolean validateCommentActivityTextReferenceValue(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityTextReferenceValue", "ERROR"); + if (VALIDATE_COMMENT_ACTIVITY_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -226,6 +231,8 @@ public static boolean validateCommentActivityTextReferenceValue(CommentActivity public static boolean validateCommentActivityReferenceValue(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityReferenceValue", "ERROR"); + if (VALIDATE_COMMENT_ACTIVITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateCommentActivityReferenceValue(CommentActivity comm public static boolean validateCommentActivityTemplateId(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityTemplateId", "ERROR"); + if (VALIDATE_COMMENT_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +361,8 @@ public static boolean validateCommentActivityTemplateId(CommentActivity commentA public static boolean validateCommentActivityClassCode(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityClassCode", "ERROR"); + if (VALIDATE_COMMENT_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -415,6 +426,8 @@ public static boolean validateCommentActivityClassCode(CommentActivity commentAc public static boolean validateCommentActivityMoodCode(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityMoodCode", "ERROR"); + if (VALIDATE_COMMENT_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -480,6 +493,8 @@ public static boolean validateCommentActivityMoodCode(CommentActivity commentAct public static boolean validateCommentActivityCode(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityCode", "ERROR"); + if (VALIDATE_COMMENT_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -543,6 +558,8 @@ public static boolean validateCommentActivityCode(CommentActivity commentActivit public static boolean validateCommentActivityText(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityText", "ERROR"); + if (VALIDATE_COMMENT_ACTIVITY_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -606,6 +623,8 @@ public static boolean validateCommentActivityText(CommentActivity commentActivit public static boolean validateCommentActivityAuthorParticipation(CommentActivity commentActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CommentActivityCommentActivityAuthorParticipation", "WARNING"); + if (VALIDATE_COMMENT_ACTIVITY_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ComplicationsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ComplicationsSection2Operations.java index 894cfd611a..d904dcc396 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ComplicationsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ComplicationsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ protected ComplicationsSection2Operations() { public static boolean validateComplicationsSectionExplicitComplications(ComplicationsSection2 complicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSection2ComplicationsSectionExplicitComplications", "INFO"); + if (VALIDATE_COMPLICATIONS_SECTION_EXPLICIT_COMPLICATIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateComplicationsSectionExplicitComplications(Complica public static boolean validateComplicationsSection2TemplateId(ComplicationsSection2 complicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSection2ComplicationsSection2TemplateId", "ERROR"); + if (VALIDATE_COMPLICATIONS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -277,6 +282,8 @@ public static EList getConsolProblemObservation2s( public static boolean validateComplicationsSectionCodeP(ComplicationsSection2 complicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSection2ComplicationsSectionCodeP", "ERROR"); + if (VALIDATE_COMPLICATIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -363,6 +370,8 @@ public static boolean validateComplicationsSectionCode(ComplicationsSection2 com return true; } + DatatypesUtil.increment(context, "ComplicationsSection2ComplicationsSectionCode", "ERROR"); + if (VALIDATE_COMPLICATIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -426,6 +435,8 @@ public static boolean validateComplicationsSectionCode(ComplicationsSection2 com public static boolean validateComplicationsSectionProblemObservation(ComplicationsSection2 complicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSection2ComplicationsSectionProblemObservation", "INFO"); + if (VALIDATE_COMPLICATIONS_SECTION_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ComplicationsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ComplicationsSectionOperations.java index 8b3af6ed05..857bfa04df 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ComplicationsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ComplicationsSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ protected ComplicationsSectionOperations() { public static boolean validateComplicationsSectionTemplateId(ComplicationsSection complicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSectionComplicationsSectionTemplateId", "ERROR"); + if (VALIDATE_COMPLICATIONS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -168,6 +171,8 @@ public static boolean validateComplicationsSectionTemplateId(ComplicationsSectio public static boolean validateComplicationsSectionCode(ComplicationsSection complicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSectionComplicationsSectionCode", "ERROR"); + if (VALIDATE_COMPLICATIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +236,8 @@ public static boolean validateComplicationsSectionCode(ComplicationsSection comp public static boolean validateComplicationsSectionCodeP(ComplicationsSection complicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSectionComplicationsSectionCodeP", "ERROR"); + if (VALIDATE_COMPLICATIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -294,6 +301,8 @@ public static boolean validateComplicationsSectionCodeP(ComplicationsSection com public static boolean validateComplicationsSectionTitle(ComplicationsSection complicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSectionComplicationsSectionTitle", "ERROR"); + if (VALIDATE_COMPLICATIONS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -357,6 +366,8 @@ public static boolean validateComplicationsSectionTitle(ComplicationsSection com public static boolean validateComplicationsSectionText(ComplicationsSection complicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSectionComplicationsSectionText", "ERROR"); + if (VALIDATE_COMPLICATIONS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -420,6 +431,8 @@ public static boolean validateComplicationsSectionText(ComplicationsSection comp public static boolean validateComplicationsSectionProblemObservation(ComplicationsSection complicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ComplicationsSectionComplicationsSectionProblemObservation", "INFO"); + if (VALIDATE_COMPLICATIONS_SECTION_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ConsultationNote2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ConsultationNote2Operations.java index c7c733412e..05fb6fb455 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ConsultationNote2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ConsultationNote2Operations.java @@ -10,6 +10,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -194,6 +195,11 @@ protected ConsultationNote2Operations() { public static boolean validateConsultationNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2", + "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_HAS_AN_ASSEMENT_AND_PLAN_SECTION2_OR_BOTH_ASSEMENT_SECTION_AND_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -260,6 +266,11 @@ public static boolean validateConsultationNote2HasAnAssementAndPlanSection2OrBot public static boolean validateConsultationNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_DOES_NOT_HAVE_ASSEMENT_AND_PLAN_SECTION2_WHEN_ASSEMENT_OR_PLAN_OF_TREATMENT2_ARE_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -326,6 +337,11 @@ public static boolean validateConsultationNote2DoesNotHaveAssementAndPlanSection public static boolean validateConsultationNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReasonForVisitSection( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReasonForVisitSection", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_DOES_NOT_HAVE_CHIEF_COMPLAINT_WITH_CHIEF_COMPLAINT_OR_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -392,6 +408,10 @@ public static boolean validateConsultationNote2DoesNotHaveChiefComplaintWithChie public static boolean validateConsultationNote2HasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2HasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_HAS_AN_ASSEMENT_AND_PLAN_SECTION_OR_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -458,6 +478,8 @@ public static boolean validateConsultationNote2HasAnAssementAndPlanSectionOrIndi public static boolean validateConsultationNote2CodeP(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2CodeP", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -544,6 +566,8 @@ public static boolean validateConsultationNote2Code(ConsultationNote2 consultati return true; } + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2Code", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -607,6 +631,8 @@ public static boolean validateConsultationNote2Code(ConsultationNote2 consultati public static boolean validateConsultationNote2Participant(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2Participant", "WARNING"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -670,6 +696,8 @@ public static boolean validateConsultationNote2Participant(ConsultationNote2 con public static boolean validateConsultationNote2InFulfillmentOf(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2InFulfillmentOf", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -735,6 +763,8 @@ public static boolean validateConsultationNote2InFulfillmentOf(ConsultationNote2 public static boolean validateConsultationNote2ComponentOf(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ComponentOf", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -798,6 +828,8 @@ public static boolean validateConsultationNote2ComponentOf(ConsultationNote2 con public static boolean validateConsultationNote2AssessmentSection(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2AssessmentSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -863,6 +895,8 @@ public static boolean validateConsultationNote2AssessmentSection(ConsultationNot public static boolean validateConsultationNote2AssessmentAndPlanSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2AssessmentAndPlanSection2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_ASSESSMENT_AND_PLAN_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -928,6 +962,8 @@ public static boolean validateConsultationNote2AssessmentAndPlanSection2(Consult public static boolean validateConsultationNote2PlanOfTreatmentSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2PlanOfTreatmentSection2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -993,6 +1029,8 @@ public static boolean validateConsultationNote2PlanOfTreatmentSection2(Consultat public static boolean validateConsultationNote2ReasonForVisitSection(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ReasonForVisitSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1058,6 +1096,8 @@ public static boolean validateConsultationNote2ReasonForVisitSection(Consultatio public static boolean validateConsultationNote2HistoryOfPresentIllnessSection(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2HistoryOfPresentIllnessSection", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1124,6 +1164,8 @@ public static boolean validateConsultationNote2HistoryOfPresentIllnessSection(Co public static boolean validateConsultationNote2PhysicalExamSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2PhysicalExamSection2", "WARNING"); + if (VALIDATE_CONSULTATION_NOTE2_PHYSICAL_EXAM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1189,6 +1231,8 @@ public static boolean validateConsultationNote2PhysicalExamSection2(Consultation public static boolean validateConsultationNote2AllergiesSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2AllergiesSection2", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_ALLERGIES_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1254,6 +1298,8 @@ public static boolean validateConsultationNote2AllergiesSection2(ConsultationNot public static boolean validateConsultationNote2ChiefComplaintSection(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ChiefComplaintSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1319,6 +1365,9 @@ public static boolean validateConsultationNote2ChiefComplaintSection(Consultatio public static boolean validateConsultationNote2ChiefComplaintAndReasonForVisitSection( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ChiefComplaintAndReasonForVisitSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1385,6 +1434,8 @@ public static boolean validateConsultationNote2ChiefComplaintAndReasonForVisitSe public static boolean validateConsultationNote2GeneralStatusSection(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2GeneralStatusSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_GENERAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1450,6 +1501,8 @@ public static boolean validateConsultationNote2GeneralStatusSection(Consultation public static boolean validateConsultationNote2HistoryOfPastIllnessSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2HistoryOfPastIllnessSection2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_HISTORY_OF_PAST_ILLNESS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1516,6 +1569,9 @@ public static boolean validateConsultationNote2HistoryOfPastIllnessSection2(Cons public static boolean validateConsultationNote2ImmunizationsSectionEntriesOptional2( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ImmunizationsSectionEntriesOptional2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1582,6 +1638,8 @@ public static boolean validateConsultationNote2ImmunizationsSectionEntriesOption public static boolean validateConsultationNote2MedicationsSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2MedicationsSection2", "WARNING"); + if (VALIDATE_CONSULTATION_NOTE2_MEDICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1647,6 +1705,8 @@ public static boolean validateConsultationNote2MedicationsSection2(ConsultationN public static boolean validateConsultationNote2ProblemSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ProblemSection2", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_PROBLEM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1712,6 +1772,8 @@ public static boolean validateConsultationNote2ProblemSection2(ConsultationNote2 public static boolean validateConsultationNote2ProceduresSectionEntriesOptional2( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ProceduresSectionEntriesOptional2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_PROCEDURES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1778,6 +1840,8 @@ public static boolean validateConsultationNote2ProceduresSectionEntriesOptional2 public static boolean validateConsultationNote2ResultsSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ResultsSection2", "WARNING"); + if (VALIDATE_CONSULTATION_NOTE2_RESULTS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1843,6 +1907,8 @@ public static boolean validateConsultationNote2ResultsSection2(ConsultationNote2 public static boolean validateConsultationNote2SocialHistorySection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2SocialHistorySection2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_SOCIAL_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1908,6 +1974,8 @@ public static boolean validateConsultationNote2SocialHistorySection2(Consultatio public static boolean validateConsultationNote2VitalSignsSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2VitalSignsSection2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_VITAL_SIGNS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1973,6 +2041,9 @@ public static boolean validateConsultationNote2VitalSignsSection2(ConsultationNo public static boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOptional2( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2AdvanceDirectivesSectionEntriesOptional2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2039,6 +2110,8 @@ public static boolean validateConsultationNote2AdvanceDirectivesSectionEntriesOp public static boolean validateConsultationNote2FunctionalStatusSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2FunctionalStatusSection2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_FUNCTIONAL_STATUS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2104,6 +2177,8 @@ public static boolean validateConsultationNote2FunctionalStatusSection2(Consulta public static boolean validateConsultationNote2ReviewOfSystemsSection(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ReviewOfSystemsSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2169,6 +2244,8 @@ public static boolean validateConsultationNote2ReviewOfSystemsSection(Consultati public static boolean validateConsultationNote2MedicalEquipmentSection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2MedicalEquipmentSection2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_MEDICAL_EQUIPMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2234,6 +2311,8 @@ public static boolean validateConsultationNote2MedicalEquipmentSection2(Consulta public static boolean validateConsultationNote2MentalStatusSection(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2MentalStatusSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_MENTAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2299,6 +2378,8 @@ public static boolean validateConsultationNote2MentalStatusSection(ConsultationN public static boolean validateConsultationNote2NutritionSection(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2NutritionSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_NUTRITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2364,6 +2445,8 @@ public static boolean validateConsultationNote2NutritionSection(ConsultationNote public static boolean validateConsultationNote2FamilyHistorySection2(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2FamilyHistorySection2", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_FAMILY_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2429,6 +2512,9 @@ public static boolean validateConsultationNote2FamilyHistorySection2(Consultatio public static boolean validateConsultationNote2ParticipantAssociatedEntityAssociatedPersonName( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ParticipantAssociatedEntityAssociatedPersonName", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2500,6 +2586,9 @@ public static boolean validateConsultationNote2ParticipantAssociatedEntityAssoci public static boolean validateConsultationNote2ParticipantAssociatedEntityClassCode( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ParticipantAssociatedEntityClassCode", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2571,6 +2660,8 @@ public static boolean validateConsultationNote2ParticipantAssociatedEntityClassC public static boolean validateConsultationNote2ParticipantAssociatedEntityId(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ParticipantAssociatedEntityId", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2642,6 +2733,9 @@ public static boolean validateConsultationNote2ParticipantAssociatedEntityId(Con public static boolean validateConsultationNote2ParticipantAssociatedEntityAddr(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ParticipantAssociatedEntityAddr", "WARNING"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2713,6 +2807,9 @@ public static boolean validateConsultationNote2ParticipantAssociatedEntityAddr(C public static boolean validateConsultationNote2ParticipantAssociatedEntityTelecom( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ParticipantAssociatedEntityTelecom", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2784,6 +2881,9 @@ public static boolean validateConsultationNote2ParticipantAssociatedEntityTeleco public static boolean validateConsultationNote2ParticipantAssociatedEntityAssociatedPerson( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ParticipantAssociatedEntityAssociatedPerson", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2855,6 +2955,9 @@ public static boolean validateConsultationNote2ParticipantAssociatedEntityAssoci public static boolean validateConsultationNote2ParticipantAssociatedEntityScopingOrganization( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ParticipantAssociatedEntityScopingOrganization", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_SCOPING_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2926,6 +3029,8 @@ public static boolean validateConsultationNote2ParticipantAssociatedEntityScopin public static boolean validateConsultationNote2ParticipantTypeCode(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ParticipantTypeCode", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2996,6 +3101,8 @@ public static boolean validateConsultationNote2ParticipantTypeCode(ConsultationN public static boolean validateConsultationNote2ParticipantAssociatedEntity(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ParticipantAssociatedEntity", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3067,6 +3174,8 @@ public static boolean validateConsultationNote2ParticipantAssociatedEntity(Consu public static boolean validateConsultationNote2InFulfillmentOfOrderId(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2InFulfillmentOfOrderId", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_IN_FULFILLMENT_OF_ORDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3137,6 +3246,8 @@ public static boolean validateConsultationNote2InFulfillmentOfOrderId(Consultati public static boolean validateConsultationNote2InFulfillmentOfOrder(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2InFulfillmentOfOrder", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_IN_FULFILLMENT_OF_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3207,6 +3318,11 @@ public static boolean validateConsultationNote2InFulfillmentOfOrder(Consultation public static boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_DAY_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3278,6 +3394,11 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterG public static boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS", + "WARNING"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_MINUTE_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3349,6 +3470,11 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterG public static boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS", + "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_SECOND_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3420,6 +3546,11 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterG public static boolean validateConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS", + "WARNING"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3491,6 +3622,11 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterG public static boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrganizationOrBoth( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrganizationOrBoth", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_HAS_PERSON_ORGANIZATION_OR_BOTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3562,6 +3698,10 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterR public static boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3633,6 +3773,11 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterR public static boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrganizationOrBoth( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrganizationOrBoth", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY_HAS_PERSON_ORGANIZATION_OR_BOTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3704,6 +3849,11 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterE public static boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3775,6 +3925,9 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterE public static boolean validateConsultationNote2ComponentOfEncompassingEncounterId( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterId", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3846,6 +3999,9 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterI public static boolean validateConsultationNote2ComponentOfEncompassingEncounterEffectiveTime( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterEffectiveTime", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3917,6 +4073,9 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterE public static boolean validateConsultationNote2ComponentOfEncompassingEncounterResponsibleParty( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterResponsibleParty", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3988,6 +4147,9 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterR public static boolean validateConsultationNote2ComponentOfEncompassingEncounterEncounterParticipant( ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounterEncounterParticipant", "INFO"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4059,6 +4221,8 @@ public static boolean validateConsultationNote2ComponentOfEncompassingEncounterE public static boolean validateConsultationNote2ComponentOfEncompassingEncounter(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2ConsultationNote2ComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5267,6 +5431,8 @@ public static FamilyHistorySection2 getFamilyHistorySection2(ConsultationNote2 c public static boolean validateUSRealmHeader2TemplateId(ConsultationNote2 consultationNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNote2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ConsultationNoteOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ConsultationNoteOperations.java index 6303a348d9..6c614b0239 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ConsultationNoteOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ConsultationNoteOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -180,6 +181,10 @@ protected ConsultationNoteOperations() { public static boolean validateConsultationNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_HAS_AN_ASSEMENT_AND_PLAN_SECTION_OR_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -246,6 +251,11 @@ public static boolean validateConsultationNoteHasAnAssementAndPlanSectionOrIndiv public static boolean validateConsultationNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNoteConsultationNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_DOES_NOT_HAVE_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS_WHEN_ASSEMENT_AND_PLAN_SECTION_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -312,6 +322,11 @@ public static boolean validateConsultationNoteDoesNotHaveIndividualAssementAndPl public static boolean validateConsultationNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNoteConsultationNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_DOES_NOT_HAVE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_WITH_CHIEF_COMPLAINT_SECTION_OR_REASON_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -378,6 +393,9 @@ public static boolean validateConsultationNoteDoesNotHaveChiefComplaintAndReason public static boolean validateConsultationNoteHasReasonForReferralOrReasonForVisit( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteHasReasonForReferralOrReasonForVisit", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_HAS_REASON_FOR_REFERRAL_OR_REASON_FOR_VISIT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -444,6 +462,8 @@ public static boolean validateConsultationNoteHasReasonForReferralOrReasonForVis public static boolean validateGeneralHeaderConstraintsCodeP(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteGeneralHeaderConstraintsCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -520,6 +540,8 @@ public static boolean validateGeneralHeaderConstraintsCodeP(ConsultationNote con public static boolean validateConsultationNoteComponentOf(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteComponentOf", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -583,6 +605,8 @@ public static boolean validateConsultationNoteComponentOf(ConsultationNote consu public static boolean validateConsultationNoteAssessmentSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteAssessmentSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -648,6 +672,8 @@ public static boolean validateConsultationNoteAssessmentSection(ConsultationNote public static boolean validateConsultationNoteAssessmentAndPlanSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteAssessmentAndPlanSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_ASSESSMENT_AND_PLAN_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -713,6 +739,8 @@ public static boolean validateConsultationNoteAssessmentAndPlanSection(Consultat public static boolean validateConsultationNotePlanOfCareSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNotePlanOfCareSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_PLAN_OF_CARE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -778,6 +806,8 @@ public static boolean validateConsultationNotePlanOfCareSection(ConsultationNote public static boolean validateConsultationNoteHistoryOfPresentIllness(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteHistoryOfPresentIllness", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_HISTORY_OF_PRESENT_ILLNESS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -843,6 +873,8 @@ public static boolean validateConsultationNoteHistoryOfPresentIllness(Consultati public static boolean validateConsultationNotePhysicalExamSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNotePhysicalExamSection", "WARNING"); + if (VALIDATE_CONSULTATION_NOTE_PHYSICAL_EXAM_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -908,6 +940,8 @@ public static boolean validateConsultationNotePhysicalExamSection(ConsultationNo public static boolean validateConsultationNoteReasonForReferralSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteReasonForReferralSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_REASON_FOR_REFERRAL_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -973,6 +1007,8 @@ public static boolean validateConsultationNoteReasonForReferralSection(Consultat public static boolean validateConsultationNoteReasonForVisitSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteReasonForVisitSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1038,6 +1074,8 @@ public static boolean validateConsultationNoteReasonForVisitSection(Consultation public static boolean validateConsultationNoteAllergiesSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteAllergiesSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_ALLERGIES_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1103,6 +1141,8 @@ public static boolean validateConsultationNoteAllergiesSection(ConsultationNote public static boolean validateConsultationNoteChiefComplaintSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteChiefComplaintSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1168,6 +1208,9 @@ public static boolean validateConsultationNoteChiefComplaintSection(Consultation public static boolean validateConsultationNoteChiefComplaintAndReasonForVisitSection( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteChiefComplaintAndReasonForVisitSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1234,6 +1277,8 @@ public static boolean validateConsultationNoteChiefComplaintAndReasonForVisitSec public static boolean validateConsultationNoteFamilyHistorySection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteFamilyHistorySection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_FAMILY_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1299,6 +1344,8 @@ public static boolean validateConsultationNoteFamilyHistorySection(ConsultationN public static boolean validateConsultationNoteGeneralStatusSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteGeneralStatusSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_GENERAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1364,6 +1411,8 @@ public static boolean validateConsultationNoteGeneralStatusSection(ConsultationN public static boolean validateConsultationNoteHistoryOfPastIllnessSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteHistoryOfPastIllnessSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_HISTORY_OF_PAST_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1429,6 +1478,8 @@ public static boolean validateConsultationNoteHistoryOfPastIllnessSection(Consul public static boolean validateConsultationNoteImmunizationsSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteImmunizationsSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_IMMUNIZATIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1494,6 +1545,8 @@ public static boolean validateConsultationNoteImmunizationsSection(ConsultationN public static boolean validateConsultationNoteMedicationsSectionEntriesOptional(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteMedicationsSectionEntriesOptional", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1560,6 +1613,8 @@ public static boolean validateConsultationNoteMedicationsSectionEntriesOptional( public static boolean validateConsultationNoteProblemSectionEntriesOptional(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteProblemSectionEntriesOptional", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_PROBLEM_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1626,6 +1681,8 @@ public static boolean validateConsultationNoteProblemSectionEntriesOptional(Cons public static boolean validateConsultationNoteProceduresSectionEntriesOptional(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteProceduresSectionEntriesOptional", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_PROCEDURES_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1692,6 +1749,8 @@ public static boolean validateConsultationNoteProceduresSectionEntriesOptional(C public static boolean validateConsultationNoteResultsSectionEntriesOptional(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteResultsSectionEntriesOptional", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_RESULTS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1758,6 +1817,8 @@ public static boolean validateConsultationNoteResultsSectionEntriesOptional(Cons public static boolean validateConsultationNoteReviewOfSystemsSection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteReviewOfSystemsSection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1823,6 +1884,8 @@ public static boolean validateConsultationNoteReviewOfSystemsSection(Consultatio public static boolean validateConsultationNoteSocialHistorySection(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteSocialHistorySection", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_SOCIAL_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1888,6 +1951,8 @@ public static boolean validateConsultationNoteSocialHistorySection(ConsultationN public static boolean validateConsultationNoteVitalSignsSectionEntriesOptional(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteVitalSignsSectionEntriesOptional", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1954,6 +2019,8 @@ public static boolean validateConsultationNoteVitalSignsSectionEntriesOptional(C public static boolean validateConsultationNoteInFulfillmentOf(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteInFulfillmentOf", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2019,6 +2086,11 @@ public static boolean validateConsultationNoteInFulfillmentOf(ConsultationNote c public static boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsiblePartyAssignedEntityHasPersonOrganizationOrBoth( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2ResponsiblePartyAssignedEntityHasPersonOrganizationOrBoth", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_HAS_PERSON_ORGANIZATION_OR_BOTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2090,6 +2162,10 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2R public static boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsiblePartyAssignedEntity( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2ResponsiblePartyAssignedEntity", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_RESPONSIBLE_PARTY_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2161,6 +2237,11 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2R public static boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterParticipantAssignedEntityHasPersonOrganizationOrBoth( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2EncounterParticipantAssignedEntityHasPersonOrganizationOrBoth", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY_HAS_PERSON_ORGANIZATION_OR_BOTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2232,6 +2313,11 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2E public static boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterParticipantAssignedEntity( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2EncounterParticipantAssignedEntity", + "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2303,6 +2389,9 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2E public static boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheDay( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2PreciseToTheDay", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_PRECISE_TO_THE_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2374,6 +2463,9 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2P public static boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheMinute( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2PreciseToTheMinute", "WARNING"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_PRECISE_TO_THE_MINUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2445,6 +2537,9 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2P public static boolean validateConsultationNoteComponentOfEncompassingEncounter2PreciseToTheSecond( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2PreciseToTheSecond", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_PRECISE_TO_THE_SECOND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2516,6 +2611,11 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2P public static boolean validateConsultationNoteComponentOfEncompassingEncounter2IfMorePreciseThanDayIncludeTimeZoneOffset( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2IfMorePreciseThanDayIncludeTimeZoneOffset", + "WARNING"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2587,6 +2687,9 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2I public static boolean validateConsultationNoteComponentOfEncompassingEncounter2EffectiveTime( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2EffectiveTime", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2658,6 +2761,9 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2E public static boolean validateConsultationNoteComponentOfEncompassingEncounter2Id(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2Id", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2729,6 +2835,9 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2I public static boolean validateConsultationNoteComponentOfEncompassingEncounter2ResponsibleParty( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2ResponsibleParty", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2800,6 +2909,9 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2R public static boolean validateConsultationNoteComponentOfEncompassingEncounter2EncounterParticipant( ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter2EncounterParticipant", "INFO"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER2_ENCOUNTER_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2871,6 +2983,8 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter2E public static boolean validateConsultationNoteComponentOfEncompassingEncounter(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2942,6 +3056,8 @@ public static boolean validateConsultationNoteComponentOfEncompassingEncounter(C public static boolean validateConsultationNoteInFulfillmentOfOrderId(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteInFulfillmentOfOrderId", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_IN_FULFILLMENT_OF_ORDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3012,6 +3128,8 @@ public static boolean validateConsultationNoteInFulfillmentOfOrderId(Consultatio public static boolean validateConsultationNoteInFulfillmentOfOrder(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteConsultationNoteInFulfillmentOfOrder", "ERROR"); + if (VALIDATE_CONSULTATION_NOTE_IN_FULFILLMENT_OF_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4040,6 +4158,8 @@ public static VitalSignsSectionEntriesOptional getVitalSignsSectionEntriesOption public static boolean validateGeneralHeaderConstraintsTemplateId(ConsultationNote consultationNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ConsultationNoteGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4115,6 +4235,8 @@ public static boolean validateGeneralHeaderConstraintsCode(ConsultationNote cons return true; } + DatatypesUtil.increment(context, "ConsultationNoteGeneralHeaderConstraintsCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ContinuityOfCareDocument2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ContinuityOfCareDocument2Operations.java index d236529645..ecee6c0357 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ContinuityOfCareDocument2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ContinuityOfCareDocument2Operations.java @@ -10,6 +10,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -155,6 +156,8 @@ protected ContinuityOfCareDocument2Operations() { public static boolean validateContinuityOfCareDocument2CodeP(ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocument2ContinuityOfCareDocument2CodeP", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -243,6 +246,8 @@ public static boolean validateContinuityOfCareDocument2Code(ContinuityOfCareDocu return true; } + DatatypesUtil.increment(context, "ContinuityOfCareDocument2ContinuityOfCareDocument2Code", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -307,6 +312,8 @@ public static boolean validateContinuityOfCareDocument2Code(ContinuityOfCareDocu public static boolean validateContinuityOfCareDocument2Author(ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocument2ContinuityOfCareDocument2Author", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +380,8 @@ public static boolean validateContinuityOfCareDocument2DocumentationOf( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOf", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +449,9 @@ public static boolean validateContinuityOfCareDocument2AllergiesSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2AllergiesSection2", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_ALLERGIES_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -507,6 +519,9 @@ public static boolean validateContinuityOfCareDocument2MedicationsSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2MedicationsSection2", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_MEDICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -574,6 +589,8 @@ public static boolean validateContinuityOfCareDocument2ProblemSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocument2ContinuityOfCareDocument2ProblemSection2", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_PROBLEM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -641,6 +658,9 @@ public static boolean validateContinuityOfCareDocument2ProceduresSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2ProceduresSection2", "WARNING"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_PROCEDURES_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -708,6 +728,8 @@ public static boolean validateContinuityOfCareDocument2ResultsSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocument2ContinuityOfCareDocument2ResultsSection2", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_RESULTS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -775,6 +797,10 @@ public static boolean validateContinuityOfCareDocument2AdvanceDirectivesSectionE ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2AdvanceDirectivesSectionEntriesOptional2", + "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -842,6 +868,9 @@ public static boolean validateContinuityOfCareDocument2EncountersSectionEntriesO ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2EncountersSectionEntriesOptional2", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -909,6 +938,9 @@ public static boolean validateContinuityOfCareDocument2FunctionalStatusSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2FunctionalStatusSection2", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_FUNCTIONAL_STATUS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -976,6 +1008,9 @@ public static boolean validateContinuityOfCareDocument2ImmunizationsSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2ImmunizationsSection2", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_IMMUNIZATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1043,6 +1078,9 @@ public static boolean validateContinuityOfCareDocument2MedicalEquipmentSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2MedicalEquipmentSection2", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_MEDICAL_EQUIPMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1110,6 +1148,8 @@ public static boolean validateContinuityOfCareDocument2PayersSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocument2ContinuityOfCareDocument2PayersSection2", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_PAYERS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1177,6 +1217,9 @@ public static boolean validateContinuityOfCareDocument2PlanOfTreatmentSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2PlanOfTreatmentSection2", "WARNING"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1244,6 +1287,9 @@ public static boolean validateContinuityOfCareDocument2SocialHistorySection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2SocialHistorySection2", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_SOCIAL_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1311,6 +1357,9 @@ public static boolean validateContinuityOfCareDocument2VitalSignsSection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2VitalSignsSection2", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_VITAL_SIGNS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1378,6 +1427,9 @@ public static boolean validateContinuityOfCareDocument2MentalStatusSection( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2MentalStatusSection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_MENTAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1445,6 +1497,8 @@ public static boolean validateContinuityOfCareDocument2NutritionSection( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocument2ContinuityOfCareDocument2NutritionSection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_NUTRITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1512,6 +1566,9 @@ public static boolean validateContinuityOfCareDocument2FamilyHistorySection2( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2FamilyHistorySection2", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_FAMILY_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1579,6 +1636,11 @@ public static boolean validateContinuityOfCareDocument2AuthorAssignedAuthorHasAs ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocument2ContinuityOfCareDocument2AuthorAssignedAuthorHasAssignedPersonOrRepresentedOrganization", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_AUTHOR_ASSIGNED_AUTHOR_HAS_ASSIGNED_PERSON_OR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1651,6 +1713,10 @@ public static boolean validateContinuityOfCareDocument2AuthorAssignedAuthorHasRe ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2AuthorAssignedAuthorHasRepresentOrganization", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_AUTHOR_ASSIGNED_AUTHOR_HAS_REPRESENT_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1723,6 +1789,9 @@ public static boolean validateContinuityOfCareDocument2AuthorAssignedAuthor( ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2AuthorAssignedAuthor", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_AUTHOR_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1795,6 +1864,9 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventIVLTSLow", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1867,6 +1939,9 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventIVLTSHigh", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1939,6 +2014,11 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventPerformerAssignedEntityHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2011,6 +2091,11 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventPerformerAssignedEntityId", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2083,6 +2168,11 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventPerformerAssignedEntityAssignedPerson", + "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2155,6 +2245,10 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventPerformerTypeCode", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2227,6 +2321,11 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventPerformerAssignedEntity", + "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2299,6 +2398,9 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventClassCode", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2371,6 +2473,10 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventEffectiveTime", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2443,6 +2549,10 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEventPerformer", + "WARNING"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2515,6 +2625,9 @@ public static boolean validateContinuityOfCareDocument2DocumentationOfServiceEve ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocument2ContinuityOfCareDocument2DocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT2_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3358,6 +3471,8 @@ public static FamilyHistorySection2 getFamilyHistorySection2(ContinuityOfCareDoc public static boolean validateUSRealmHeader2TemplateId(ContinuityOfCareDocument2 continuityOfCareDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocument2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ContinuityOfCareDocumentOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ContinuityOfCareDocumentOperations.java index 92cf19c3fb..1b2d637cb5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ContinuityOfCareDocumentOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ContinuityOfCareDocumentOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -158,6 +159,8 @@ protected ContinuityOfCareDocumentOperations() { public static boolean validateContinuityOfCareDocumentCodeP(ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentCodeP", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -246,6 +249,8 @@ public static boolean validateContinuityOfCareDocumentCode(ContinuityOfCareDocum return true; } + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentCode", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -311,6 +316,8 @@ public static boolean validateContinuityOfCareDocumentLanguageCode( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentLanguageCode", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_LANGUAGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -377,6 +384,8 @@ public static boolean validateContinuityOfCareDocumentDocumentationOf( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOf", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -443,6 +452,8 @@ public static boolean validateContinuityOfCareDocumentDocumentationOf( public static boolean validateContinuityOfCareDocumentAuthor(ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentAuthor", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -509,6 +520,8 @@ public static boolean validateContinuityOfCareDocumentAllergiesSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentAllergiesSection", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_ALLERGIES_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -576,6 +589,8 @@ public static boolean validateContinuityOfCareDocumentMedicationsSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentMedicationsSection", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_MEDICATIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -643,6 +658,8 @@ public static boolean validateContinuityOfCareDocumentProblemSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentProblemSection", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_PROBLEM_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -710,6 +727,8 @@ public static boolean validateContinuityOfCareDocumentProceduresSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentProceduresSection", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_PROCEDURES_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -777,6 +796,8 @@ public static boolean validateContinuityOfCareDocumentResultsSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentResultsSection", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_RESULTS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -844,6 +865,9 @@ public static boolean validateContinuityOfCareDocumentAdvanceDirectivesSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentAdvanceDirectivesSection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_ADVANCE_DIRECTIVES_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -911,6 +935,8 @@ public static boolean validateContinuityOfCareDocumentEncountersSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentEncountersSection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_ENCOUNTERS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -978,6 +1004,9 @@ public static boolean validateContinuityOfCareDocumentFamilyHistorySection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentFamilyHistorySection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_FAMILY_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1045,6 +1074,9 @@ public static boolean validateContinuityOfCareDocumentFunctionalStatusSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentFunctionalStatusSection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_FUNCTIONAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1112,6 +1144,9 @@ public static boolean validateContinuityOfCareDocumentImmunizationsSectionEntrie ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentImmunizationsSectionEntriesOptional", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1179,6 +1214,9 @@ public static boolean validateContinuityOfCareDocumentMedicalEquipmentSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentMedicalEquipmentSection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_MEDICAL_EQUIPMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1246,6 +1284,8 @@ public static boolean validateContinuityOfCareDocumentPayersSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentPayersSection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_PAYERS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1313,6 +1353,8 @@ public static boolean validateContinuityOfCareDocumentPlanOfCareSection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentContinuityOfCareDocumentPlanOfCareSection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_PLAN_OF_CARE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1380,6 +1422,9 @@ public static boolean validateContinuityOfCareDocumentSocialHistorySection( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentSocialHistorySection", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_SOCIAL_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1447,6 +1492,9 @@ public static boolean validateContinuityOfCareDocumentVitalSignsSectionEntriesOp ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentVitalSignsSectionEntriesOptional", "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1514,6 +1562,10 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTimeHigh", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1586,6 +1638,10 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTimeLow", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1658,6 +1714,11 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssignedEntityHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1732,6 +1793,11 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssignedEntityCode", + "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1804,6 +1870,11 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssignedEntityId", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1876,6 +1947,10 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventPerformerTypeCode", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1948,6 +2023,11 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventPerformerAssignedEntity", + "INFO"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2020,6 +2100,9 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventClassCode", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2092,6 +2175,10 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventEffectiveTime", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2164,6 +2251,9 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEventPerformer", "WARNING"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2236,6 +2326,9 @@ public static boolean validateContinuityOfCareDocumentDocumentationOfServiceEven ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentDocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2308,6 +2401,11 @@ public static boolean validateContinuityOfCareDocumentAuthorAssignedAuthorHasAss ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ContinuityOfCareDocumentContinuityOfCareDocumentAuthorAssignedAuthorHasAssignedPersonOrRepresentedOrganization", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR_HAS_ASSIGNED_PERSON_OR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2380,6 +2478,10 @@ public static boolean validateContinuityOfCareDocumentAuthorAssignedAuthorHasRep ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentAuthorAssignedAuthorHasRepresentOrganization", + "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR_HAS_REPRESENT_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2452,6 +2554,9 @@ public static boolean validateContinuityOfCareDocumentAuthorAssignedAuthor( ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ContinuityOfCareDocumentContinuityOfCareDocumentAuthorAssignedAuthor", "ERROR"); + if (VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3205,6 +3310,8 @@ public static VitalSignsSectionEntriesOptional getVitalSignsSectionEntriesOption public static boolean validateGeneralHeaderConstraintsTemplateId(ContinuityOfCareDocument continuityOfCareDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ContinuityOfCareDocumentGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CourseOfCareSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CourseOfCareSectionOperations.java index f5932c04d3..f13dbae7c4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CourseOfCareSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CourseOfCareSectionOperations.java @@ -8,6 +8,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -86,6 +87,8 @@ protected CourseOfCareSectionOperations() { public static boolean validateCourseOfCareSectionTemplateId(CourseOfCareSection courseOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CourseOfCareSectionCourseOfCareSectionTemplateId", "ERROR"); + if (VALIDATE_COURSE_OF_CARE_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -153,6 +156,8 @@ public static boolean validateCourseOfCareSectionTemplateId(CourseOfCareSection public static boolean validateCourseOfCareSectionCode(CourseOfCareSection courseOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CourseOfCareSectionCourseOfCareSectionCode", "ERROR"); + if (VALIDATE_COURSE_OF_CARE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -216,6 +221,8 @@ public static boolean validateCourseOfCareSectionCode(CourseOfCareSection course public static boolean validateCourseOfCareSectionCodeP(CourseOfCareSection courseOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CourseOfCareSectionCourseOfCareSectionCodeP", "ERROR"); + if (VALIDATE_COURSE_OF_CARE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -279,6 +286,8 @@ public static boolean validateCourseOfCareSectionCodeP(CourseOfCareSection cours public static boolean validateCourseOfCareSectionTitle(CourseOfCareSection courseOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CourseOfCareSectionCourseOfCareSectionTitle", "ERROR"); + if (VALIDATE_COURSE_OF_CARE_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -342,6 +351,8 @@ public static boolean validateCourseOfCareSectionTitle(CourseOfCareSection cours public static boolean validateCourseOfCareSectionText(CourseOfCareSection courseOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CourseOfCareSectionCourseOfCareSectionText", "ERROR"); + if (VALIDATE_COURSE_OF_CARE_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CoverageActivity2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CoverageActivity2Operations.java index 3562156334..a6c5cf8975 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CoverageActivity2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CoverageActivity2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -103,6 +104,8 @@ protected CoverageActivity2Operations() { public static boolean validateCoverageActivity2TemplateId(CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivity2TemplateId", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -145,6 +148,8 @@ public static boolean validateCoverageActivity2TemplateId(CoverageActivity2 cove public static boolean validateCoverageActivityCodeP(CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivityCodeP", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -200,6 +205,8 @@ public static boolean validateCoverageActivityCodeP(CoverageActivity2 coverageAc public static boolean validateCoverageActivity2EntryRelationship(CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivity2EntryRelationship", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY2_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -244,6 +251,8 @@ public static boolean validateCoverageActivity2EntryRelationship(CoverageActivit public static boolean validateCoverageActivity2EntryRelationshipINTValue(CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivity2EntryRelationshipINTValue", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY2_ENTRY_RELATIONSHIP_INT_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -294,6 +303,8 @@ public static boolean validateCoverageActivity2EntryRelationshipINTValue(Coverag public static boolean validateCoverageActivity2EntryRelationshipTypeCode(CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivity2EntryRelationshipTypeCode", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY2_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -344,6 +355,8 @@ public static boolean validateCoverageActivity2EntryRelationshipTypeCode(Coverag public static boolean validateCoverageActivity2EntryRelationshipSequenceNumber(CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivity2EntryRelationshipSequenceNumber", "INFO"); + if (VALIDATE_COVERAGE_ACTIVITY2_ENTRY_RELATIONSHIP_SEQUENCE_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -394,6 +407,8 @@ public static boolean validateCoverageActivity2EntryRelationshipSequenceNumber(C public static boolean validateCoverageActivity2EntryRelationshipPolicyActivity2(CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivity2EntryRelationshipPolicyActivity2", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY2_ENTRY_RELATIONSHIP_POLICY_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -471,6 +486,9 @@ public static EList getConsolPolicyActivity2s(CoverageActivity2 public static boolean validateCoverageActivityCoverageActivityRelationshipSequenceNumber( CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CoverageActivity2CoverageActivityCoverageActivityRelationshipSequenceNumber", "INFO"); + if (VALIDATE_COVERAGE_ACTIVITY_COVERAGE_ACTIVITY_RELATIONSHIP_SEQUENCE_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -714,6 +732,8 @@ public static boolean validateCoverageActivityCode(CoverageActivity2 coverageAct return true; } + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivityCode", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -777,6 +797,8 @@ public static boolean validateCoverageActivityCode(CoverageActivity2 coverageAct public static boolean validateCoverageActivityPolicyActivity(CoverageActivity2 coverageActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivity2CoverageActivityPolicyActivity", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_POLICY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CoverageActivityOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CoverageActivityOperations.java index 47898a52d2..5493128005 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CoverageActivityOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CoverageActivityOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -104,6 +105,9 @@ protected CoverageActivityOperations() { public static boolean validateCoverageActivityCoverageActivityRelationshipSequenceNumber( CoverageActivity coverageActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CoverageActivityCoverageActivityCoverageActivityRelationshipSequenceNumber", "INFO"); + if (VALIDATE_COVERAGE_ACTIVITY_COVERAGE_ACTIVITY_RELATIONSHIP_SEQUENCE_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +174,8 @@ public static boolean validateCoverageActivityCoverageActivityRelationshipSequen public static boolean validateCoverageActivityTemplateId(CoverageActivity coverageActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivityCoverageActivityTemplateId", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +239,8 @@ public static boolean validateCoverageActivityTemplateId(CoverageActivity covera public static boolean validateCoverageActivityClassCode(CoverageActivity coverageActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivityCoverageActivityClassCode", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -275,6 +283,8 @@ public static boolean validateCoverageActivityClassCode(CoverageActivity coverag public static boolean validateCoverageActivityCode(CoverageActivity coverageActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivityCoverageActivityCode", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -317,6 +327,8 @@ public static boolean validateCoverageActivityCode(CoverageActivity coverageActi public static boolean validateCoverageActivityId(CoverageActivity coverageActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivityCoverageActivityId", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -424,6 +436,8 @@ public static boolean validateCoverageActivityId(CoverageActivity coverageActivi public static boolean validateCoverageActivityMoodCode(CoverageActivity coverageActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivityCoverageActivityMoodCode", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -488,6 +502,8 @@ public static boolean validateCoverageActivityMoodCode(CoverageActivity coverage public static boolean validateCoverageActivityStatusCode(CoverageActivity coverageActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivityCoverageActivityStatusCode", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -551,6 +567,8 @@ public static boolean validateCoverageActivityStatusCode(CoverageActivity covera public static boolean validateCoverageActivityPolicyActivity(CoverageActivity coverageActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CoverageActivityCoverageActivityPolicyActivity", "ERROR"); + if (VALIDATE_COVERAGE_ACTIVITY_POLICY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CriticalityObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CriticalityObservationOperations.java index 7725ff6f37..279ad1bad0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CriticalityObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CriticalityObservationOperations.java @@ -9,6 +9,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -91,6 +92,8 @@ protected CriticalityObservationOperations() { public static boolean validateCriticalityObservationTemplateId(CriticalityObservation criticalityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationTemplateId", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -156,6 +159,8 @@ public static boolean validateCriticalityObservationTemplateId(CriticalityObserv public static boolean validateCriticalityObservationClassCode(CriticalityObservation criticalityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationClassCode", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -221,6 +226,8 @@ public static boolean validateCriticalityObservationClassCode(CriticalityObserva public static boolean validateCriticalityObservationMoodCode(CriticalityObservation criticalityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationMoodCode", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +292,8 @@ public static boolean validateCriticalityObservationMoodCode(CriticalityObservat public static boolean validateCriticalityObservationCodeP(CriticalityObservation criticalityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationCodeP", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -372,6 +381,8 @@ public static boolean validateCriticalityObservationCode(CriticalityObservation return true; } + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationCode", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +448,8 @@ public static boolean validateCriticalityObservationCode(CriticalityObservation public static boolean validateCriticalityObservationStatusCode(CriticalityObservation criticalityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationStatusCode", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -502,6 +515,8 @@ public static boolean validateCriticalityObservationStatusCode(CriticalityObserv public static boolean validateCriticalityObservationStatusCodeP(CriticalityObservation criticalityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationStatusCodeP", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -569,6 +584,8 @@ public static boolean validateCriticalityObservationStatusCodeP(CriticalityObser public static boolean validateCriticalityObservationValue(CriticalityObservation criticalityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationValue", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -633,6 +650,8 @@ public static boolean validateCriticalityObservationValue(CriticalityObservation public static boolean validateCriticalityObservationValueP(CriticalityObservation criticalityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CriticalityObservationCriticalityObservationValueP", "ERROR"); + if (VALIDATE_CRITICALITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CulturalAndReligiousObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CulturalAndReligiousObservationOperations.java index 7beefa5f18..510617eef0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CulturalAndReligiousObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/CulturalAndReligiousObservationOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,10 @@ public static boolean validateCulturalAndReligiousObservationValueOfTypeCDIsFrom CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CulturalAndReligiousObservationCulturalAndReligiousObservationValueOfTypeCDIsFromSnomed", + "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_VALUE_OF_TYPE_CD_IS_FROM_SNOMED__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +169,9 @@ public static boolean validateCulturalAndReligiousObservationTemplateId( CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CulturalAndReligiousObservationCulturalAndReligiousObservationTemplateId", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +239,9 @@ public static boolean validateCulturalAndReligiousObservationClassCode( CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CulturalAndReligiousObservationCulturalAndReligiousObservationClassCode", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +309,9 @@ public static boolean validateCulturalAndReligiousObservationMoodCode( CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CulturalAndReligiousObservationCulturalAndReligiousObservationMoodCode", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +379,8 @@ public static boolean validateCulturalAndReligiousObservationId( CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "CulturalAndReligiousObservationCulturalAndReligiousObservationId", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -432,6 +448,9 @@ public static boolean validateCulturalAndReligiousObservationCodeP( CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CulturalAndReligiousObservationCulturalAndReligiousObservationCodeP", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -524,6 +543,8 @@ public static boolean validateCulturalAndReligiousObservationCode( return true; } + DatatypesUtil.increment(context, "CulturalAndReligiousObservationCulturalAndReligiousObservationCode", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -592,6 +613,9 @@ public static boolean validateCulturalAndReligiousObservationStatusCode( CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CulturalAndReligiousObservationCulturalAndReligiousObservationStatusCode", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -659,6 +683,9 @@ public static boolean validateCulturalAndReligiousObservationStatusCodeP( CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CulturalAndReligiousObservationCulturalAndReligiousObservationStatusCodeP", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -726,6 +753,9 @@ public static boolean validateCulturalAndReligiousObservationValue( CulturalAndReligiousObservation culturalAndReligiousObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "CulturalAndReligiousObservationCulturalAndReligiousObservationValue", "ERROR"); + if (VALIDATE_CULTURAL_AND_RELIGIOUS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DICOMObjectCatalogSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DICOMObjectCatalogSectionOperations.java index 43482a9d23..25b2995030 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DICOMObjectCatalogSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DICOMObjectCatalogSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ public static boolean validateDICOMObjectCatalogSectionTemplateId( DICOMObjectCatalogSection dicomObjectCatalogSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DICOMObjectCatalogSectionDICOMObjectCatalogSectionTemplateId", "ERROR"); + if (VALIDATE_DICOM_OBJECT_CATALOG_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -168,6 +171,8 @@ public static boolean validateDICOMObjectCatalogSectionTemplateId( public static boolean validateDICOMObjectCatalogSectionCode(DICOMObjectCatalogSection dicomObjectCatalogSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DICOMObjectCatalogSectionDICOMObjectCatalogSectionCode", "ERROR"); + if (VALIDATE_DICOM_OBJECT_CATALOG_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateDICOMObjectCatalogSectionCode(DICOMObjectCatalogSe public static boolean validateDICOMObjectCatalogSectionCodeP(DICOMObjectCatalogSection dicomObjectCatalogSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DICOMObjectCatalogSectionDICOMObjectCatalogSectionCodeP", "ERROR"); + if (VALIDATE_DICOM_OBJECT_CATALOG_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validateDICOMObjectCatalogSectionCodeP(DICOMObjectCatalogS public static boolean validateDICOMObjectCatalogSectionStudyAct(DICOMObjectCatalogSection dicomObjectCatalogSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DICOMObjectCatalogSectionDICOMObjectCatalogSectionStudyAct", "ERROR"); + if (VALIDATE_DICOM_OBJECT_CATALOG_SECTION_STUDY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DeceasedObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DeceasedObservation2Operations.java index 1595efb7db..22cfc8d097 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DeceasedObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DeceasedObservation2Operations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -93,6 +94,8 @@ protected DeceasedObservation2Operations() { public static boolean validateDeceasedObservation2TemplateId(DeceasedObservation2 deceasedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservation2DeceasedObservation2TemplateId", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -203,6 +206,8 @@ public static ProblemObservation2 getConsolProblemObservation2(DeceasedObservati public static boolean validateDeceasedObservationCodeP(DeceasedObservation2 deceasedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservation2DeceasedObservationCodeP", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +294,8 @@ public static boolean validateDeceasedObservationCode(DeceasedObservation2 decea return true; } + DatatypesUtil.increment(context, "DeceasedObservation2DeceasedObservationCode", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +359,8 @@ public static boolean validateDeceasedObservationCode(DeceasedObservation2 decea public static boolean validateDeceasedObservationProblemObservation(DeceasedObservation2 deceasedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservation2DeceasedObservationProblemObservation", "WARNING"); + if (VALIDATE_DECEASED_OBSERVATION_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DeceasedObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DeceasedObservationOperations.java index 0326575db7..a013065c96 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DeceasedObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DeceasedObservationOperations.java @@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,8 @@ protected DeceasedObservationOperations() { public static boolean validateDeceasedObservationEffectiveTimeLow(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationEffectiveTimeLow", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -168,6 +171,8 @@ public static boolean validateDeceasedObservationEffectiveTimeLow(DeceasedObserv public static boolean validateDeceasedObservationTemplateId(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationTemplateId", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateDeceasedObservationTemplateId(DeceasedObservation public static boolean validateDeceasedObservationClassCode(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationClassCode", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validateDeceasedObservationClassCode(DeceasedObservation d public static boolean validateDeceasedObservationMoodCode(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationMoodCode", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -359,6 +368,8 @@ public static boolean validateDeceasedObservationMoodCode(DeceasedObservation de public static boolean validateDeceasedObservationId(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationId", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -422,6 +433,8 @@ public static boolean validateDeceasedObservationId(DeceasedObservation deceased public static boolean validateDeceasedObservationCodeP(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationCodeP", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -508,6 +521,8 @@ public static boolean validateDeceasedObservationCode(DeceasedObservation deceas return true; } + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationCode", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -572,6 +587,8 @@ public static boolean validateDeceasedObservationCode(DeceasedObservation deceas public static boolean validateDeceasedObservationStatusCode(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationStatusCode", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -636,6 +653,8 @@ public static boolean validateDeceasedObservationStatusCode(DeceasedObservation public static boolean validateDeceasedObservationStatusCodeP(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationStatusCodeP", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -701,6 +720,8 @@ public static boolean validateDeceasedObservationStatusCodeP(DeceasedObservation public static boolean validateDeceasedObservationEffectiveTime(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationEffectiveTime", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -768,6 +789,8 @@ public static boolean validateDeceasedObservationEffectiveTime(DeceasedObservati public static boolean validateDeceasedObservationValue(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationValue", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -831,6 +854,8 @@ public static boolean validateDeceasedObservationValue(DeceasedObservation decea public static boolean validateDeceasedObservationValueP(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationValueP", "ERROR"); + if (VALIDATE_DECEASED_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -894,6 +919,8 @@ public static boolean validateDeceasedObservationValueP(DeceasedObservation dece public static boolean validateDeceasedObservationProblemObservation(DeceasedObservation deceasedObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DeceasedObservationDeceasedObservationProblemObservation", "WARNING"); + if (VALIDATE_DECEASED_OBSERVATION_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DiagnosticImagingReport2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DiagnosticImagingReport2Operations.java index 3e7c49ca65..643aef8962 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DiagnosticImagingReport2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DiagnosticImagingReport2Operations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -155,6 +156,8 @@ protected DiagnosticImagingReport2Operations() { public static boolean validateDiagnosticImagingReport2Id(DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2Id", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -219,6 +222,8 @@ public static boolean validateDiagnosticImagingReport2Id(DiagnosticImagingReport public static boolean validateDiagnosticImagingReport2CodeP(DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2CodeP", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +311,8 @@ public static boolean validateDiagnosticImagingReport2Code(DiagnosticImagingRepo return true; } + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2Code", "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -371,6 +378,9 @@ public static boolean validateDiagnosticImagingReport2InformationRecipient( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2InformationRecipient", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +447,8 @@ public static boolean validateDiagnosticImagingReport2InformationRecipient( public static boolean validateDiagnosticImagingReport2Participant(DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2Participant", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -503,6 +515,8 @@ public static boolean validateDiagnosticImagingReport2InFulfillmentOf( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2InFulfillmentOf", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -570,6 +584,8 @@ public static boolean validateDiagnosticImagingReport2DocumentationOf( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2DocumentationOf", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -637,6 +653,8 @@ public static boolean validateDiagnosticImagingReport2RelatedDocument( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2RelatedDocument", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_RELATED_DOCUMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -703,6 +721,8 @@ public static boolean validateDiagnosticImagingReport2RelatedDocument( public static boolean validateDiagnosticImagingReport2ComponentOf(DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOf", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -769,6 +789,8 @@ public static boolean validateDiagnosticImagingReport2FindingsSection( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2FindingsSection", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_FINDINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -836,6 +858,9 @@ public static boolean validateDiagnosticImagingReport2DICOMObjectCatalogSection( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2DICOMObjectCatalogSection", "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_DICOM_OBJECT_CATALOG_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -902,6 +927,8 @@ public static boolean validateDiagnosticImagingReport2DICOMObjectCatalogSection( public static boolean validateDiagnosticImagingReport2Component2(DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2Component2", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -967,6 +994,8 @@ public static boolean validateDiagnosticImagingReport2Component2(DiagnosticImagi public static boolean validateDiagnosticImagingReport2Informant(DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2Informant", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_INFORMANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1033,6 +1062,9 @@ public static boolean validateDiagnosticImagingReport2IIRootOIDsMustBeNoMoreThan DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2IIRootOIDsMustBeNoMoreThan64Characters", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_II_ROOT_OI_DS_MUST_BE_NO_MORE_THAN64_CHARACTERS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1104,6 +1136,8 @@ public static boolean validateDiagnosticImagingReport2IIRootOIDsMustBeNoMoreThan public static boolean validateDiagnosticImagingReport2IIRoot(DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2DiagnosticImagingReport2IIRoot", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_II_ROOT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1175,6 +1209,9 @@ public static boolean validateDiagnosticImagingReport2ParticipantAssociatedEntit DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ParticipantAssociatedEntityPersonName", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_PARTICIPANT_ASSOCIATED_ENTITY_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1247,6 +1284,10 @@ public static boolean validateDiagnosticImagingReport2ParticipantAssociatedEntit DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ParticipantAssociatedEntityAssociatedPerson", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_PARTICIPANT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1319,6 +1360,9 @@ public static boolean validateDiagnosticImagingReport2ParticipantAssociatedEntit DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ParticipantAssociatedEntity", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_PARTICIPANT_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1391,6 +1435,9 @@ public static boolean validateDiagnosticImagingReport2InFulfillmentOfOrderId( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2InFulfillmentOfOrderId", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_IN_FULFILLMENT_OF_ORDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1463,6 +1510,9 @@ public static boolean validateDiagnosticImagingReport2InFulfillmentOfOrder( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2InFulfillmentOfOrder", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_IN_FULFILLMENT_OF_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1535,6 +1585,9 @@ public static boolean validateDiagnosticImagingReport2DocumentationOfServiceEven DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2DocumentationOfServiceEventClassCode", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_DOCUMENTATION_OF_SERVICE_EVENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1607,6 +1660,9 @@ public static boolean validateDiagnosticImagingReport2DocumentationOfServiceEven DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2DocumentationOfServiceEventId", "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_DOCUMENTATION_OF_SERVICE_EVENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1679,6 +1735,9 @@ public static boolean validateDiagnosticImagingReport2DocumentationOfServiceEven DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2DocumentationOfServiceEventCode", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_DOCUMENTATION_OF_SERVICE_EVENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1751,6 +1810,11 @@ public static boolean validateDiagnosticImagingReport2DocumentationOfServiceEven DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2DocumentationOfServiceEventPhysicianReadingStudyPerformer2", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_DOCUMENTATION_OF_SERVICE_EVENT_PHYSICIAN_READING_STUDY_PERFORMER2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1823,6 +1887,9 @@ public static boolean validateDiagnosticImagingReport2DocumentationOfServiceEven DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2DocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1895,6 +1962,10 @@ public static boolean validateDiagnosticImagingReport2RelatedDocumentParentDocum DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2RelatedDocumentParentDocumentIIOidsLength", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_RELATED_DOCUMENT_PARENT_DOCUMENT_II_OIDS_LENGTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1967,6 +2038,9 @@ public static boolean validateDiagnosticImagingReport2RelatedDocumentParentDocum DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2RelatedDocumentParentDocumentId", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_RELATED_DOCUMENT_PARENT_DOCUMENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2039,6 +2113,9 @@ public static boolean validateDiagnosticImagingReport2RelatedDocumentParentDocum DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2RelatedDocumentParentDocument", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_RELATED_DOCUMENT_PARENT_DOCUMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2111,6 +2188,11 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_DAY_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2183,6 +2265,11 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_MINUTE_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2255,6 +2342,11 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_SECOND_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2327,6 +2419,11 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2399,6 +2496,11 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasAssignPersonOrRepresentedOrganization", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_HAS_ASSIGN_PERSON_OR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2471,6 +2573,11 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2543,6 +2650,9 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterId", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2615,6 +2725,10 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterEffectiveTime", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2687,6 +2801,10 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterResponsibleParty", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2759,6 +2877,11 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounterPhysicianofRecordParticipant2", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_PHYSICIANOF_RECORD_PARTICIPANT2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2831,6 +2954,9 @@ public static boolean validateDiagnosticImagingReport2ComponentOfEncompassingEnc DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2903,6 +3029,11 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionSubjectFetusSubjectContext", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_SUBJECT_FETUS_SUBJECT_CONTEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2975,6 +3106,11 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionSectionsHaveText", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_SECTIONS_HAVE_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3049,6 +3185,10 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionCode", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3121,6 +3261,10 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionCodeP", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3193,6 +3337,10 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionTitle", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3265,6 +3413,10 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionText", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3337,6 +3489,10 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionSubject", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_SUBJECT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3409,6 +3565,10 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionAuthor", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3481,6 +3641,11 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionProcedureContext", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_PROCEDURE_CONTEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3553,6 +3718,11 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionTextObservation", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_TEXT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3625,6 +3795,11 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionCodeObservations", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_CODE_OBSERVATIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3697,6 +3872,11 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionQuantityMeasurementObservation", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_QUANTITY_MEASUREMENT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3769,6 +3949,11 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3SectionSOPInstanceObservation", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION_SOP_INSTANCE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3841,6 +4026,10 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3Section", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3913,6 +4102,9 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBodyCom DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBodyComponent3", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY_COMPONENT3__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3985,6 +4177,9 @@ public static boolean validateDiagnosticImagingReport2ComponentStructuredBody( DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReport2DiagnosticImagingReport2ComponentStructuredBody", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT2_COMPONENT_STRUCTURED_BODY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4148,6 +4343,8 @@ public static DICOMObjectCatalogSection getDICOMObjectCatalogSection( public static boolean validateUSRealmHeader2TemplateId(DiagnosticImagingReport2 diagnosticImagingReport2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReport2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DiagnosticImagingReportOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DiagnosticImagingReportOperations.java index 1f599772ce..e35ade795a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DiagnosticImagingReportOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DiagnosticImagingReportOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -132,6 +133,9 @@ protected DiagnosticImagingReportOperations() { public static boolean validateDiagnosticImagingReportUseDiagnosticImagingCode( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportUseDiagnosticImagingCode", "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_USE_DIAGNOSTIC_IMAGING_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -198,6 +202,9 @@ public static boolean validateDiagnosticImagingReportUseDiagnosticImagingCode( public static boolean validateDiagnosticImagingReportAllSectionsHaveTitle( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportAllSectionsHaveTitle", "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_ALL_SECTIONS_HAVE_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -264,6 +271,8 @@ public static boolean validateDiagnosticImagingReportAllSectionsHaveTitle( public static boolean validateDiagnosticImagingReportSectionsHaveText( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportSectionsHaveText", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_SECTIONS_HAVE_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -330,6 +339,8 @@ public static boolean validateDiagnosticImagingReportSectionsHaveText( public static boolean validateGeneralHeaderConstraintsCodeP(DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportGeneralHeaderConstraintsCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -407,6 +418,8 @@ public static boolean validateGeneralHeaderConstraintsCodeP(DiagnosticImagingRep public static boolean validateDiagnosticImagingReportInformant(DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportInformant", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_INFORMANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -472,6 +485,8 @@ public static boolean validateDiagnosticImagingReportInformant(DiagnosticImaging public static boolean validateDiagnosticImagingReportInformationRecipient( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportInformationRecipient", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -538,6 +553,8 @@ public static boolean validateDiagnosticImagingReportInformationRecipient( public static boolean validateDiagnosticImagingReportParticipant1(DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportParticipant1", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_PARTICIPANT1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -603,6 +620,8 @@ public static boolean validateDiagnosticImagingReportParticipant1(DiagnosticImag public static boolean validateDiagnosticImagingReportInFulfillmentOf( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportInFulfillmentOf", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -669,6 +688,8 @@ public static boolean validateDiagnosticImagingReportInFulfillmentOf( public static boolean validateDiagnosticImagingReportDocumentationOf( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportDocumentationOf", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -735,6 +756,8 @@ public static boolean validateDiagnosticImagingReportDocumentationOf( public static boolean validateDiagnosticImagingReportRelatedDocument( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportRelatedDocument", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_RELATED_DOCUMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -801,6 +824,8 @@ public static boolean validateDiagnosticImagingReportRelatedDocument( public static boolean validateDiagnosticImagingReportComponentOf(DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportComponentOf", "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -866,6 +891,8 @@ public static boolean validateDiagnosticImagingReportComponentOf(DiagnosticImagi public static boolean validateDiagnosticImagingReportFindingsSection( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportDiagnosticImagingReportFindingsSection", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_FINDINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -932,6 +959,9 @@ public static boolean validateDiagnosticImagingReportFindingsSection( public static boolean validateDiagnosticImagingReportDICOMObjectCatalogSection( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportDICOMObjectCatalogSection", "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_DICOM_OBJECT_CATALOG_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -998,6 +1028,9 @@ public static boolean validateDiagnosticImagingReportDICOMObjectCatalogSection( public static boolean validateDiagnosticImagingReportParticipantAssociatedEntityPersonName( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportParticipantAssociatedEntityPersonName", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_PARTICIPANT_ASSOCIATED_ENTITY_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1069,6 +1102,10 @@ public static boolean validateDiagnosticImagingReportParticipantAssociatedEntity public static boolean validateDiagnosticImagingReportParticipantAssociatedEntityAssociatedPerson( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportParticipantAssociatedEntityAssociatedPerson", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_PARTICIPANT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1140,6 +1177,9 @@ public static boolean validateDiagnosticImagingReportParticipantAssociatedEntity public static boolean validateDiagnosticImagingReportParticipantAssociatedEntity( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportParticipantAssociatedEntity", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_PARTICIPANT_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1211,6 +1251,9 @@ public static boolean validateDiagnosticImagingReportParticipantAssociatedEntity public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4ClassCode( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportDocumentationOfServiceEvent4ClassCode", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_DOCUMENTATION_OF_SERVICE_EVENT4_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1282,6 +1325,9 @@ public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4Code( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportDocumentationOfServiceEvent4Code", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_DOCUMENTATION_OF_SERVICE_EVENT4_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1353,6 +1399,9 @@ public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4Id( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportDocumentationOfServiceEvent4Id", "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_DOCUMENTATION_OF_SERVICE_EVENT4_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1424,6 +1473,11 @@ public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent4PhysicianReadingStudyPerformer( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReportDiagnosticImagingReportDocumentationOfServiceEvent4PhysicianReadingStudyPerformer", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_DOCUMENTATION_OF_SERVICE_EVENT4_PHYSICIAN_READING_STUDY_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1495,6 +1549,9 @@ public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent3( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportDocumentationOfServiceEvent3", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_DOCUMENTATION_OF_SERVICE_EVENT3__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1566,6 +1623,11 @@ public static boolean validateDiagnosticImagingReportDocumentationOfServiceEvent public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsiblePartyAssignedEntityHasAssignPersonOrRepresentedOrganization( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsiblePartyAssignedEntityHasAssignPersonOrRepresentedOrganization", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_HAS_ASSIGN_PERSON_OR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1637,6 +1699,11 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsiblePartyAssignedEntity( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsiblePartyAssignedEntity", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_RESPONSIBLE_PARTY_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1708,6 +1775,10 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheDay( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheDay", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_PRECISE_TO_THE_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1779,6 +1850,11 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheMinute( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheMinute", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_PRECISE_TO_THE_MINUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1850,6 +1926,11 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheSecond( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7PreciseToTheSecond", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_PRECISE_TO_THE_SECOND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1921,6 +2002,11 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7IfMorePreciseThanDayIncludeTimeZoneOffset( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7IfMorePreciseThanDayIncludeTimeZoneOffset", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1992,6 +2078,10 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7EffectiveTime( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7EffectiveTime", + "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2063,6 +2153,9 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7Id( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7Id", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2134,6 +2227,11 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7PhysicianofRecordParticipant( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7PhysicianofRecordParticipant", + "WARNING"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_PHYSICIANOF_RECORD_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2205,6 +2303,10 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsibleParty( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter7ResponsibleParty", + "INFO"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER7_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2276,6 +2378,9 @@ public static boolean validateDiagnosticImagingReportComponentOfEncompassingEnco public static boolean validateDiagnosticImagingReportComponentOfEncompassingEncounter( DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DiagnosticImagingReportDiagnosticImagingReportComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_DIAGNOSTIC_IMAGING_REPORT_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2439,6 +2544,8 @@ public static DICOMObjectCatalogSection getDICOMObjectCatalogSection( public static boolean validateGeneralHeaderConstraintsTemplateId(DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2514,6 +2621,8 @@ public static boolean validateGeneralHeaderConstraintsCode(DiagnosticImagingRepo return true; } + DatatypesUtil.increment(context, "DiagnosticImagingReportGeneralHeaderConstraintsCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2578,6 +2687,8 @@ public static boolean validateGeneralHeaderConstraintsCode(DiagnosticImagingRepo public static boolean validateGeneralHeaderConstraintsId(DiagnosticImagingReport diagnosticImagingReport, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DiagnosticImagingReportGeneralHeaderConstraintsId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeDiagnosisSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeDiagnosisSection2Operations.java index 88fefd81ea..ff50d91d23 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeDiagnosisSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeDiagnosisSection2Operations.java @@ -10,6 +10,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -94,6 +95,8 @@ public static boolean validateDischargeDiagnosisSection2TemplateId( DischargeDiagnosisSection2 dischargeDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDiagnosisSection2DischargeDiagnosisSection2TemplateId", "ERROR"); + if (VALIDATE_DISCHARGE_DIAGNOSIS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +166,8 @@ public static boolean validateDischargeDiagnosisSection2CETranslation( DischargeDiagnosisSection2 dischargeDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDiagnosisSection2DischargeDiagnosisSection2CETranslation", "ERROR"); + if (VALIDATE_DISCHARGE_DIAGNOSIS_SECTION2_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -235,6 +240,8 @@ public static boolean validateDischargeDiagnosisSection2CETranslationP( DischargeDiagnosisSection2 dischargeDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDiagnosisSection2DischargeDiagnosisSection2CETranslationP", "ERROR"); + if (VALIDATE_DISCHARGE_DIAGNOSIS_SECTION2_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +361,8 @@ public static boolean validateHospitalDischargeDiagnosisSectionCodeP( DischargeDiagnosisSection2 dischargeDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDiagnosisSection2HospitalDischargeDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -445,6 +454,8 @@ public static boolean validateHospitalDischargeDiagnosisSectionCode( return true; } + DatatypesUtil.increment(context, "DischargeDiagnosisSection2HospitalDischargeDiagnosisSectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -512,6 +523,10 @@ public static boolean validateHospitalDischargeDiagnosisSectionHospitalDischarge DischargeDiagnosisSection2 dischargeDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeDiagnosisSection2HospitalDischargeDiagnosisSectionHospitalDischargeDiagnosis", + "WARNING"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_HOSPITAL_DISCHARGE_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeDietSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeDietSectionOperations.java index 031bba2cdf..df7b430c98 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeDietSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeDietSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected DischargeDietSectionOperations() { public static boolean validateDischargeDietSectionTemplateId(DischargeDietSection dischargeDietSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDietSectionDischargeDietSectionTemplateId", "ERROR"); + if (VALIDATE_DISCHARGE_DIET_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateDischargeDietSectionTemplateId(DischargeDietSectio public static boolean validateDischargeDietSectionCode(DischargeDietSection dischargeDietSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDietSectionDischargeDietSectionCode", "ERROR"); + if (VALIDATE_DISCHARGE_DIET_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateDischargeDietSectionCode(DischargeDietSection disc public static boolean validateDischargeDietSectionCodeP(DischargeDietSection dischargeDietSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDietSectionDischargeDietSectionCodeP", "ERROR"); + if (VALIDATE_DISCHARGE_DIET_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validateDischargeDietSectionCodeP(DischargeDietSection dis public static boolean validateDischargeDietSectionTitle(DischargeDietSection dischargeDietSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDietSectionDischargeDietSectionTitle", "ERROR"); + if (VALIDATE_DISCHARGE_DIET_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -350,6 +359,8 @@ public static boolean validateDischargeDietSectionTitle(DischargeDietSection dis public static boolean validateDischargeDietSectionText(DischargeDietSection dischargeDietSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeDietSectionDischargeDietSectionText", "ERROR"); + if (VALIDATE_DISCHARGE_DIET_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedication2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedication2Operations.java index bde6062563..69fc26abab 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedication2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedication2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -101,6 +102,8 @@ protected DischargeMedication2Operations() { public static boolean validateDischargeMedication2TemplateId(DischargeMedication2 dischargeMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedication2DischargeMedication2TemplateId", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -144,6 +147,8 @@ public static boolean validateDischargeMedication2TemplateId(DischargeMedication public static boolean validateDischargeMedicationCodeP(DischargeMedication2 dischargeMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedication2DischargeMedicationCodeP", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -199,6 +204,8 @@ public static boolean validateDischargeMedicationCodeP(DischargeMedication2 disc public static boolean validateDischargeMedication2StatusCode(DischargeMedication2 dischargeMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedication2DischargeMedication2StatusCode", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION2_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -242,6 +249,8 @@ public static boolean validateDischargeMedication2StatusCode(DischargeMedication public static boolean validateDischargeMedication2StatusCodeP(DischargeMedication2 dischargeMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedication2DischargeMedication2StatusCodeP", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION2_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -286,6 +295,8 @@ public static boolean validateDischargeMedication2StatusCodeP(DischargeMedicatio public static boolean validateDischargeMedication2CDTranslation(DischargeMedication2 dischargeMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedication2DischargeMedication2CDTranslation", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -335,6 +346,8 @@ public static boolean validateDischargeMedication2CDTranslation(DischargeMedicat public static boolean validateDischargeMedication2CDTranslationP(DischargeMedication2 dischargeMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedication2DischargeMedication2CDTranslationP", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION2_CD_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -571,6 +584,8 @@ public static boolean validateDischargeMedicationCode(DischargeMedication2 disch return true; } + DatatypesUtil.increment(context, "DischargeMedication2DischargeMedicationCode", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -634,6 +649,8 @@ public static boolean validateDischargeMedicationCode(DischargeMedication2 disch public static boolean validateDischargeMedicationMedicationActivity(DischargeMedication2 dischargeMedication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedication2DischargeMedicationMedicationActivity", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationOperations.java index 9735dd723c..fff12fb2a5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected DischargeMedicationOperations() { public static boolean validateDischargeMedicationMedicationActivity(DischargeMedication dischargeMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationDischargeMedicationMedicationActivity", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateDischargeMedicationMedicationActivity(DischargeMed public static boolean validateDischargeMedicationTemplateId(DischargeMedication dischargeMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationDischargeMedicationTemplateId", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validateDischargeMedicationTemplateId(DischargeMedication public static boolean validateDischargeMedicationClassCode(DischargeMedication dischargeMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationDischargeMedicationClassCode", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -294,6 +301,8 @@ public static boolean validateDischargeMedicationClassCode(DischargeMedication d public static boolean validateDischargeMedicationMoodCode(DischargeMedication dischargeMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationDischargeMedicationMoodCode", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -359,6 +368,8 @@ public static boolean validateDischargeMedicationMoodCode(DischargeMedication di public static boolean validateDischargeMedicationCode(DischargeMedication dischargeMedication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationDischargeMedicationCode", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationsSection2Operations.java index d9d2b9e803..636c3bda65 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationsSection2Operations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -99,6 +100,8 @@ public static boolean validateDischargeMedicationsSection2NullFlavor( DischargeMedicationsSection2 dischargeMedicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationsSection2DischargeMedicationsSection2NullFlavor", "INFO"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateDischargeMedicationsSection2CodeP( DischargeMedicationsSection2 dischargeMedicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationsSection2DischargeMedicationsSection2CodeP", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -257,6 +262,8 @@ public static boolean validateDischargeMedicationsSection2Code( return true; } + DatatypesUtil.increment(context, "DischargeMedicationsSection2DischargeMedicationsSection2Code", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -323,6 +330,8 @@ public static boolean validateDischargeMedicationsSection2Title( DischargeMedicationsSection2 dischargeMedicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationsSection2DischargeMedicationsSection2Title", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -390,6 +399,8 @@ public static boolean validateDischargeMedicationsSection2Text( DischargeMedicationsSection2 dischargeMedicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeMedicationsSection2DischargeMedicationsSection2Text", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -458,6 +469,9 @@ public static boolean validateDischargeMedicationsSection2CETranslation( DischargeMedicationsSection2 dischargeMedicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeMedicationsSection2DischargeMedicationsSection2CETranslation", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION2_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -530,6 +544,9 @@ public static boolean validateDischargeMedicationsSection2CETranslationP( DischargeMedicationsSection2 dischargeMedicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeMedicationsSection2DischargeMedicationsSection2CETranslationP", "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION2_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -602,6 +619,10 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional DischargeMedicationsSection2 dischargeMedicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeMedicationsSection2HospitalDischargeMedicationsSectionEntriesOptionalTemplateId", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -669,6 +690,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional DischargeMedicationsSection2 dischargeMedicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeMedicationsSection2HospitalDischargeMedicationsSectionEntriesOptionalDischargeMedication", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_DISCHARGE_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationsSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationsSectionEntriesOptional2Operations.java index 744f33bcac..8182f9e326 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationsSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeMedicationsSectionEntriesOptional2Operations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -99,6 +100,11 @@ public static boolean validateDischargeMedicationsSectionEntriesOptional2CETrans DischargeMedicationsSectionEntriesOptional2 dischargeMedicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeMedicationsSectionEntriesOptional2DischargeMedicationsSectionEntriesOptional2CETranslation", + "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL2_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -171,6 +177,11 @@ public static boolean validateDischargeMedicationsSectionEntriesOptional2CETrans DischargeMedicationsSectionEntriesOptional2 dischargeMedicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeMedicationsSectionEntriesOptional2DischargeMedicationsSectionEntriesOptional2CETranslationP", + "ERROR"); + if (VALIDATE_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL2_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +304,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional DischargeMedicationsSectionEntriesOptional2 dischargeMedicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeMedicationsSectionEntriesOptional2HospitalDischargeMedicationsSectionEntriesOptionalTemplateId", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -360,6 +376,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional DischargeMedicationsSectionEntriesOptional2 dischargeMedicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeMedicationsSectionEntriesOptional2HospitalDischargeMedicationsSectionEntriesOptionalCodeP", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -454,6 +475,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional return true; } + DatatypesUtil.increment( + context, + "DischargeMedicationsSectionEntriesOptional2HospitalDischargeMedicationsSectionEntriesOptionalCode", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -521,6 +547,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional DischargeMedicationsSectionEntriesOptional2 dischargeMedicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeMedicationsSectionEntriesOptional2HospitalDischargeMedicationsSectionEntriesOptionalDischargeMedication", + "WARNING"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_DISCHARGE_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeSummary2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeSummary2Operations.java index 1d4261d976..fd25f0417b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeSummary2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeSummary2Operations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -199,6 +200,11 @@ protected DischargeSummary2Operations() { public static boolean validateDischargeSummary2DoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummary2DischargeSummary2DoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_DOES_NOT_HAVE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_WITH_CHIEF_COMPLAINT_SECTION_OR_REASON_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -265,6 +271,8 @@ public static boolean validateDischargeSummary2DoesNotHaveChiefComplaintAndReaso public static boolean validateDischargeSummary2CodeP(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2CodeP", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -351,6 +359,8 @@ public static boolean validateDischargeSummary2Code(DischargeSummary2 dischargeS return true; } + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2Code", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -414,6 +424,8 @@ public static boolean validateDischargeSummary2Code(DischargeSummary2 dischargeS public static boolean validateDischargeSummary2Participant(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2Participant", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -477,6 +489,8 @@ public static boolean validateDischargeSummary2Participant(DischargeSummary2 dis public static boolean validateDischargeSummary2ComponentOf(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2ComponentOf", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -540,6 +554,8 @@ public static boolean validateDischargeSummary2ComponentOf(DischargeSummary2 dis public static boolean validateDischargeSummary2AllergiesSectionEntriesOptional2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2AllergiesSectionEntriesOptional2", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_ALLERGIES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -606,6 +622,8 @@ public static boolean validateDischargeSummary2AllergiesSectionEntriesOptional2( public static boolean validateDischargeSummary2HospitalCourseSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2HospitalCourseSection", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_HOSPITAL_COURSE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -671,6 +689,8 @@ public static boolean validateDischargeSummary2HospitalCourseSection(DischargeSu public static boolean validateDischargeSummary2PlanOfTreatmentSection2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2PlanOfTreatmentSection2", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -736,6 +756,8 @@ public static boolean validateDischargeSummary2PlanOfTreatmentSection2(Discharge public static boolean validateDischargeSummary2ChiefComplaintSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2ChiefComplaintSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -801,6 +823,9 @@ public static boolean validateDischargeSummary2ChiefComplaintSection(DischargeSu public static boolean validateDischargeSummary2ChiefComplaintAndReasonForVisitSection( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ChiefComplaintAndReasonForVisitSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -867,6 +892,8 @@ public static boolean validateDischargeSummary2ChiefComplaintAndReasonForVisitSe public static boolean validateDischargeSummary2NutritionSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2NutritionSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_NUTRITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -932,6 +959,8 @@ public static boolean validateDischargeSummary2NutritionSection(DischargeSummary public static boolean validateDischargeSummary2FunctionalStatusSection2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2FunctionalStatusSection2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_FUNCTIONAL_STATUS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -997,6 +1026,8 @@ public static boolean validateDischargeSummary2FunctionalStatusSection2(Discharg public static boolean validateDischargeSummary2HistoryOfPastIllnessSection2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2HistoryOfPastIllnessSection2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_HISTORY_OF_PAST_ILLNESS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1063,6 +1094,8 @@ public static boolean validateDischargeSummary2HistoryOfPastIllnessSection2(Disc public static boolean validateDischargeSummary2HistoryOfPresentIllnessSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2HistoryOfPresentIllnessSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1129,6 +1162,8 @@ public static boolean validateDischargeSummary2HistoryOfPresentIllnessSection(Di public static boolean validateDischargeSummary2HospitalConsultationsSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2HospitalConsultationsSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_HOSPITAL_CONSULTATIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1195,6 +1230,9 @@ public static boolean validateDischargeSummary2HospitalConsultationsSection(Disc public static boolean validateDischargeSummary2HospitalDischargeInstructionsSection( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2HospitalDischargeInstructionsSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_HOSPITAL_DISCHARGE_INSTRUCTIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1261,6 +1299,8 @@ public static boolean validateDischargeSummary2HospitalDischargeInstructionsSect public static boolean validateDischargeSummary2HospitalDischargePhysicalSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2HospitalDischargePhysicalSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_HOSPITAL_DISCHARGE_PHYSICAL_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1327,6 +1367,9 @@ public static boolean validateDischargeSummary2HospitalDischargePhysicalSection( public static boolean validateDischargeSummary2HospitalDischargeStudiesSummarySection( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2HospitalDischargeStudiesSummarySection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_HOSPITAL_DISCHARGE_STUDIES_SUMMARY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1393,6 +1436,9 @@ public static boolean validateDischargeSummary2HospitalDischargeStudiesSummarySe public static boolean validateDischargeSummary2ImmunizationsSectionEntriesOptional2( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ImmunizationsSectionEntriesOptional2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1459,6 +1505,8 @@ public static boolean validateDischargeSummary2ImmunizationsSectionEntriesOption public static boolean validateDischargeSummary2ProblemSectionEntriesOptional2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2ProblemSectionEntriesOptional2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_PROBLEM_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1525,6 +1573,8 @@ public static boolean validateDischargeSummary2ProblemSectionEntriesOptional2(Di public static boolean validateDischargeSummary2ProceduresSectionEntriesOptional2( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2ProceduresSectionEntriesOptional2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_PROCEDURES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1591,6 +1641,8 @@ public static boolean validateDischargeSummary2ProceduresSectionEntriesOptional2 public static boolean validateDischargeSummary2ReasonForVisitSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2ReasonForVisitSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1656,6 +1708,8 @@ public static boolean validateDischargeSummary2ReasonForVisitSection(DischargeSu public static boolean validateDischargeSummary2ReviewOfSystemsSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2ReviewOfSystemsSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1721,6 +1775,8 @@ public static boolean validateDischargeSummary2ReviewOfSystemsSection(DischargeS public static boolean validateDischargeSummary2SocialHistorySection2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2SocialHistorySection2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_SOCIAL_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1786,6 +1842,8 @@ public static boolean validateDischargeSummary2SocialHistorySection2(DischargeSu public static boolean validateDischargeSummary2VitalSignsSectionEntriesOptional2( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2VitalSignsSectionEntriesOptional2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1852,6 +1910,8 @@ public static boolean validateDischargeSummary2VitalSignsSectionEntriesOptional2 public static boolean validateDischargeSummary2DischargeDiagnosisSection2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2DischargeDiagnosisSection2", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_DISCHARGE_DIAGNOSIS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1917,6 +1977,9 @@ public static boolean validateDischargeSummary2DischargeDiagnosisSection2(Discha public static boolean validateDischargeSummary2DischargeMedicationsSectionEntriesOptional2( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2DischargeMedicationsSectionEntriesOptional2", "WARNING"); + if (VALIDATE_DISCHARGE_SUMMARY2_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1983,6 +2046,8 @@ public static boolean validateDischargeSummary2DischargeMedicationsSectionEntrie public static boolean validateDischargeSummary2FamilyHistorySection2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2FamilyHistorySection2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_FAMILY_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2048,6 +2113,8 @@ public static boolean validateDischargeSummary2FamilyHistorySection2(DischargeSu public static boolean validateDischargeSummary2AdmissionDiagnosisSection2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2AdmissionDiagnosisSection2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_ADMISSION_DIAGNOSIS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2113,6 +2180,9 @@ public static boolean validateDischargeSummary2AdmissionDiagnosisSection2(Discha public static boolean validateDischargeSummary2AdmissionMedicationsSectionEntriesOptional2( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2AdmissionMedicationsSectionEntriesOptional2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2179,6 +2249,8 @@ public static boolean validateDischargeSummary2AdmissionMedicationsSectionEntrie public static boolean validateDischargeSummary2DischargeMedicationsSection2(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2DischargeMedicationsSection2", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_DISCHARGE_MEDICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2245,6 +2317,8 @@ public static boolean validateDischargeSummary2DischargeMedicationsSection2(Disc public static boolean validateDischargeSummary2DischargeDietSection(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2DischargeDietSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_DISCHARGE_DIET_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2311,6 +2385,9 @@ public static boolean validateDischargeSummary2DischargeDietSection(DischargeSum public static boolean validateDischargeSummary2ParticipantIfParTypeCodeINDThenAEClassCodeIND( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ParticipantIfParTypeCodeINDThenAEClassCodeIND", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_PARTICIPANT_IF_PAR_TYPE_CODE_IND_THEN_AE_CLASS_CODE_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2382,6 +2459,9 @@ public static boolean validateDischargeSummary2ParticipantIfParTypeCodeINDThenAE public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterIVLTSLow( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterIVLTSLow", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2453,6 +2533,9 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterI public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterIVLTSHigh( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterIVLTSHigh", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2524,6 +2607,11 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterI public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityAssignedPerson( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityAssignedPerson", + "WARNING"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2595,6 +2683,11 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterE public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityRepresentedOrganization( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityRepresentedOrganization", + "WARNING"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2666,6 +2759,11 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterE public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrOrganization( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrOrganization", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY_HAS_PERSON_OR_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2737,6 +2835,11 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterE public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2808,6 +2911,11 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterE public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityAssignedPerson( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityAssignedPerson", + "WARNING"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2879,6 +2987,11 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterR public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityRepresentedOrganization( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityRepresentedOrganization", + "WARNING"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2950,6 +3063,11 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterR public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrOrganization( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrOrganization", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_HAS_PERSON_OR_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3021,6 +3139,10 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterR public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3092,6 +3214,9 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterR public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterEffectiveTime( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterEffectiveTime", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3165,6 +3290,10 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterE public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterDischargeDispositionCode( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterDischargeDispositionCode", + "WARNING"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_DISCHARGE_DISPOSITION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3236,6 +3365,10 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterD public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterDischargeDispositionCodeP( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterDischargeDispositionCodeP", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_DISCHARGE_DISPOSITION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3307,6 +3440,9 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterD public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterEncounterParticipant( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterEncounterParticipant", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3378,6 +3514,9 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterE public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterResponsibleParty( DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounterResponsibleParty", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3449,6 +3588,8 @@ public static boolean validateDischargeSummary2ComponentOfEncompassingEncounterR public static boolean validateDischargeSummary2ComponentOfEncompassingEncounter(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2DischargeSummary2ComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4764,6 +4905,8 @@ public static DischargeDietSection getDischargeDietSection(DischargeSummary2 dis public static boolean validateUSRealmHeader2TemplateId(DischargeSummary2 dischargeSummary2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummary2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeSummaryOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeSummaryOperations.java index 742809d0f0..c67cc2e77f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeSummaryOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DischargeSummaryOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -186,6 +187,11 @@ protected DischargeSummaryOperations() { public static boolean validateDischargeSummaryDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummaryDischargeSummaryDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_DOES_NOT_HAVE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_WITH_CHIEF_COMPLAINT_SECTION_OR_REASON_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -252,6 +258,8 @@ public static boolean validateDischargeSummaryDoesNotHaveChiefComplaintAndReason public static boolean validateDischargeSummaryCodeP(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryCodeP", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -338,6 +346,8 @@ public static boolean validateDischargeSummaryCode(DischargeSummary dischargeSum return true; } + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryCode", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -401,6 +411,9 @@ public static boolean validateDischargeSummaryCode(DischargeSummary dischargeSum public static boolean validateDischargeSummaryHospitalAdmissionMedicationsSectionEntriesOptional( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryHospitalAdmissionMedicationsSectionEntriesOptional", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -467,6 +480,8 @@ public static boolean validateDischargeSummaryHospitalAdmissionMedicationsSectio public static boolean validateDischargeSummaryHospitalAdmissionDiagnosisSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryHospitalAdmissionDiagnosisSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -533,6 +548,8 @@ public static boolean validateDischargeSummaryHospitalAdmissionDiagnosisSection( public static boolean validateDischargeSummaryHospitalDischargeDiagnosisSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryHospitalDischargeDiagnosisSection", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -599,6 +616,8 @@ public static boolean validateDischargeSummaryHospitalDischargeDiagnosisSection( public static boolean validateDischargeSummaryDischargeDietSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryDischargeDietSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_DISCHARGE_DIET_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -664,6 +683,9 @@ public static boolean validateDischargeSummaryDischargeDietSection(DischargeSumm public static boolean validateDischargeSummaryHospitalDischargeMedicationsSectionEntriesOptional( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryHospitalDischargeMedicationsSectionEntriesOptional", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -730,6 +752,8 @@ public static boolean validateDischargeSummaryHospitalDischargeMedicationsSectio public static boolean validateDischargeSummaryFunctionalStatusSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryFunctionalStatusSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_FUNCTIONAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -795,6 +819,8 @@ public static boolean validateDischargeSummaryFunctionalStatusSection(DischargeS public static boolean validateDischargeSummaryHistoryOfPresentIllnessSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryHistoryOfPresentIllnessSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -861,6 +887,8 @@ public static boolean validateDischargeSummaryHistoryOfPresentIllnessSection(Dis public static boolean validateDischargeSummaryHospitalCourseSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryHospitalCourseSection", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_COURSE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -926,6 +954,8 @@ public static boolean validateDischargeSummaryHospitalCourseSection(DischargeSum public static boolean validateDischargeSummaryPlanOfCareSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryPlanOfCareSection", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_PLAN_OF_CARE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -991,6 +1021,8 @@ public static boolean validateDischargeSummaryPlanOfCareSection(DischargeSummary public static boolean validateDischargeSummaryHistoryOfPastIllnessSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryHistoryOfPastIllnessSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_HISTORY_OF_PAST_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1056,6 +1088,8 @@ public static boolean validateDischargeSummaryHistoryOfPastIllnessSection(Discha public static boolean validateDischargeSummaryComponentOf(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryComponentOf", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1119,6 +1153,9 @@ public static boolean validateDischargeSummaryComponentOf(DischargeSummary disch public static boolean validateDischargeSummaryChiefComplaintAndReasonForVisitSection( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryChiefComplaintAndReasonForVisitSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1185,6 +1222,8 @@ public static boolean validateDischargeSummaryChiefComplaintAndReasonForVisitSec public static boolean validateDischargeSummaryChiefComplaintSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryChiefComplaintSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1250,6 +1289,8 @@ public static boolean validateDischargeSummaryChiefComplaintSection(DischargeSum public static boolean validateDischargeSummaryFamilyHistorySection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryFamilyHistorySection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_FAMILY_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1315,6 +1356,8 @@ public static boolean validateDischargeSummaryFamilyHistorySection(DischargeSumm public static boolean validateDischargeSummaryHospitalConsultationsSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryHospitalConsultationsSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_CONSULTATIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1380,6 +1423,9 @@ public static boolean validateDischargeSummaryHospitalConsultationsSection(Disch public static boolean validateDischargeSummaryHospitalDischargeInstructionsSection( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryHospitalDischargeInstructionsSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_DISCHARGE_INSTRUCTIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1446,6 +1492,8 @@ public static boolean validateDischargeSummaryHospitalDischargeInstructionsSecti public static boolean validateDischargeSummaryHospitalDischargePhysicalSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryHospitalDischargePhysicalSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_DISCHARGE_PHYSICAL_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1512,6 +1560,9 @@ public static boolean validateDischargeSummaryHospitalDischargePhysicalSection(D public static boolean validateDischargeSummaryHospitalDischargeStudiesSummarySection( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryHospitalDischargeStudiesSummarySection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_HOSPITAL_DISCHARGE_STUDIES_SUMMARY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1578,6 +1629,8 @@ public static boolean validateDischargeSummaryHospitalDischargeStudiesSummarySec public static boolean validateDischargeSummaryImmunizationsSectionEntriesOptional(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryImmunizationsSectionEntriesOptional", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1644,6 +1697,8 @@ public static boolean validateDischargeSummaryImmunizationsSectionEntriesOptiona public static boolean validateDischargeSummaryProblemSectionEntriesOptional(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryProblemSectionEntriesOptional", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_PROBLEM_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1710,6 +1765,8 @@ public static boolean validateDischargeSummaryProblemSectionEntriesOptional(Disc public static boolean validateDischargeSummaryProceduresSectionEntriesOptional(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryProceduresSectionEntriesOptional", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_PROCEDURES_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1776,6 +1833,8 @@ public static boolean validateDischargeSummaryProceduresSectionEntriesOptional(D public static boolean validateDischargeSummaryReasonForVisitSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryReasonForVisitSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1841,6 +1900,8 @@ public static boolean validateDischargeSummaryReasonForVisitSection(DischargeSum public static boolean validateDischargeSummaryReviewOfSystemsSection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryReviewOfSystemsSection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1906,6 +1967,8 @@ public static boolean validateDischargeSummaryReviewOfSystemsSection(DischargeSu public static boolean validateDischargeSummarySocialHistorySection(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummarySocialHistorySection", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_SOCIAL_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1971,6 +2034,8 @@ public static boolean validateDischargeSummarySocialHistorySection(DischargeSumm public static boolean validateDischargeSummaryAllergiesSectionEntriesOptional(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryAllergiesSectionEntriesOptional", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_ALLERGIES_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2037,6 +2102,8 @@ public static boolean validateDischargeSummaryAllergiesSectionEntriesOptional(Di public static boolean validateDischargeSummaryVitalSignsSectionEntriesOptional(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryVitalSignsSectionEntriesOptional", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2103,6 +2170,11 @@ public static boolean validateDischargeSummaryVitalSignsSectionEntriesOptional(D public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePartyAssignedEntityHasPersonOrOrganization( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePartyAssignedEntityHasPersonOrOrganization", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_HAS_PERSON_OR_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2174,6 +2246,10 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3R public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePartyAssignedEntity( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3ResponsiblePartyAssignedEntity", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_RESPONSIBLE_PARTY_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2245,6 +2321,11 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3R public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipantAssignedEntityHasPersonOrOrganization( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipantAssignedEntityHasPersonOrOrganization", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY_HAS_PERSON_OR_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2316,6 +2397,11 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3E public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipantAssignedEntity( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipantAssignedEntity", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2387,6 +2473,11 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3E public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncompassingEncounterHasEffectiveTimeLow( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3EncompassingEncounterHasEffectiveTimeLow", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_ENCOMPASSING_ENCOUNTER_HAS_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2458,6 +2549,11 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3E public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncompassingEncounterHasEffectiveTimeHigh( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3EncompassingEncounterHasEffectiveTimeHigh", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_ENCOMPASSING_ENCOUNTER_HAS_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2529,6 +2625,11 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3E public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCodeValueSet( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCodeValueSet", + "WARNING"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_DISCHARGE_DISPOSITION_CODE_VALUE_SET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2600,6 +2701,11 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3D public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCodeCodeSystem( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCodeCodeSystem", + "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_DISCHARGE_DISPOSITION_CODE_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2671,6 +2777,10 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3D public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCode( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3DischargeDispositionCode", + "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_DISCHARGE_DISPOSITION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2742,6 +2852,9 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3D public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3EffectiveTime( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3EffectiveTime", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2813,6 +2926,9 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3E public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3ResponsibleParty( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3ResponsibleParty", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2884,6 +3000,9 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3R public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipant( DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter3EncounterParticipant", "INFO"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER3_ENCOUNTER_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2955,6 +3074,8 @@ public static boolean validateDischargeSummaryComponentOfEncompassingEncounter3E public static boolean validateDischargeSummaryComponentOfEncompassingEncounter(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryDischargeSummaryComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_DISCHARGE_SUMMARY_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4181,6 +4302,8 @@ public static VitalSignsSectionEntriesOptional getVitalSignsSectionEntriesOption public static boolean validateGeneralHeaderConstraintsTemplateId(DischargeSummary dischargeSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DischargeSummaryGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DrugMonitoringActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DrugMonitoringActOperations.java index c8a240f6f1..73285f628d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DrugMonitoringActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DrugMonitoringActOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -107,6 +108,8 @@ protected DrugMonitoringActOperations() { public static boolean validateDrugMonitoringActTemplateId(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActTemplateId", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +173,8 @@ public static boolean validateDrugMonitoringActTemplateId(DrugMonitoringAct drug public static boolean validateDrugMonitoringActClassCode(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActClassCode", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +238,8 @@ public static boolean validateDrugMonitoringActClassCode(DrugMonitoringAct drugM public static boolean validateDrugMonitoringActMoodCode(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActMoodCode", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validateDrugMonitoringActMoodCode(DrugMonitoringAct drugMo public static boolean validateDrugMonitoringActId(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActId", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -359,6 +368,8 @@ public static boolean validateDrugMonitoringActId(DrugMonitoringAct drugMonitori public static boolean validateDrugMonitoringActCodeP(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActCodeP", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -445,6 +456,8 @@ public static boolean validateDrugMonitoringActCode(DrugMonitoringAct drugMonito return true; } + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActCode", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -510,6 +523,8 @@ public static boolean validateDrugMonitoringActCode(DrugMonitoringAct drugMonito public static boolean validateDrugMonitoringActStatusCode(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActStatusCode", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -573,6 +588,8 @@ public static boolean validateDrugMonitoringActStatusCode(DrugMonitoringAct drug public static boolean validateDrugMonitoringActStatusCodeP(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActStatusCodeP", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -637,6 +654,8 @@ public static boolean validateDrugMonitoringActStatusCodeP(DrugMonitoringAct dru public static boolean validateDrugMonitoringActEffectiveTime(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActEffectiveTime", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -702,6 +721,8 @@ public static boolean validateDrugMonitoringActEffectiveTime(DrugMonitoringAct d public static boolean validateDrugMonitoringActParticipant(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActParticipant", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -765,6 +786,9 @@ public static boolean validateDrugMonitoringActParticipant(DrugMonitoringAct dru public static boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntityClassCode( DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DrugMonitoringActDrugMonitoringActParticipantParticipantRolePlayingEntityClassCode", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -836,6 +860,9 @@ public static boolean validateDrugMonitoringActParticipantParticipantRolePlaying public static boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntityName( DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DrugMonitoringActDrugMonitoringActParticipantParticipantRolePlayingEntityName", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -907,6 +934,9 @@ public static boolean validateDrugMonitoringActParticipantParticipantRolePlaying public static boolean validateDrugMonitoringActParticipantParticipantRoleClassCode( DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DrugMonitoringActDrugMonitoringActParticipantParticipantRoleClassCode", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_PARTICIPANT_PARTICIPANT_ROLE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -978,6 +1008,8 @@ public static boolean validateDrugMonitoringActParticipantParticipantRoleClassCo public static boolean validateDrugMonitoringActParticipantParticipantRoleId(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActParticipantParticipantRoleId", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_PARTICIPANT_PARTICIPANT_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1049,6 +1081,9 @@ public static boolean validateDrugMonitoringActParticipantParticipantRoleId(Drug public static boolean validateDrugMonitoringActParticipantParticipantRolePlayingEntity( DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "DrugMonitoringActDrugMonitoringActParticipantParticipantRolePlayingEntity", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1120,6 +1155,8 @@ public static boolean validateDrugMonitoringActParticipantParticipantRolePlaying public static boolean validateDrugMonitoringActParticipantTypeCode(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActParticipantTypeCode", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1190,6 +1227,8 @@ public static boolean validateDrugMonitoringActParticipantTypeCode(DrugMonitorin public static boolean validateDrugMonitoringActParticipantParticipantRole(DrugMonitoringAct drugMonitoringAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugMonitoringActDrugMonitoringActParticipantParticipantRole", "ERROR"); + if (VALIDATE_DRUG_MONITORING_ACT_PARTICIPANT_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DrugVehicleOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DrugVehicleOperations.java index 10c037ed17..22486b9ff5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DrugVehicleOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/DrugVehicleOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ParticipantRoleOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected DrugVehicleOperations() { public static boolean validateDrugVehiclePlayingEntityCode(DrugVehicle drugVehicle, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugVehicleDrugVehiclePlayingEntityCode", "ERROR"); + if (VALIDATE_DRUG_VEHICLE_PLAYING_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -158,6 +161,8 @@ public static boolean validateDrugVehiclePlayingEntityCode(DrugVehicle drugVehic public static boolean validateDrugVehiclePlayingEntityName(DrugVehicle drugVehicle, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugVehicleDrugVehiclePlayingEntityName", "INFO"); + if (VALIDATE_DRUG_VEHICLE_PLAYING_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -221,6 +226,8 @@ public static boolean validateDrugVehiclePlayingEntityName(DrugVehicle drugVehic public static boolean validateDrugVehicleTemplateId(DrugVehicle drugVehicle, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugVehicleDrugVehicleTemplateId", "ERROR"); + if (VALIDATE_DRUG_VEHICLE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -284,6 +291,8 @@ public static boolean validateDrugVehicleTemplateId(DrugVehicle drugVehicle, Dia public static boolean validateDrugVehicleClassCode(DrugVehicle drugVehicle, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugVehicleDrugVehicleClassCode", "ERROR"); + if (VALIDATE_DRUG_VEHICLE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -349,6 +358,8 @@ public static boolean validateDrugVehicleClassCode(DrugVehicle drugVehicle, Diag public static boolean validateDrugVehicleCode(DrugVehicle drugVehicle, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugVehicleDrugVehicleCode", "ERROR"); + if (VALIDATE_DRUG_VEHICLE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -411,6 +422,8 @@ public static boolean validateDrugVehicleCode(DrugVehicle drugVehicle, Diagnosti public static boolean validateDrugVehiclePlayingEntity(DrugVehicle drugVehicle, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "DrugVehicleDrugVehiclePlayingEntity", "ERROR"); + if (VALIDATE_DRUG_VEHICLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterActivitiesOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterActivitiesOperations.java index 287908447d..31efa9bc76 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterActivitiesOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterActivitiesOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -121,6 +122,8 @@ protected EncounterActivitiesOperations() { public static boolean validateEncounterActivitiesCodeOriginalText(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesCodeOriginalText", "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_CODE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -186,6 +189,8 @@ public static boolean validateEncounterActivitiesCodeOriginalText(EncounterActiv public static boolean validateEncounterActivitiesCodeOriginalTextReference(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesCodeOriginalTextReference", "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_CODE_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -252,6 +257,8 @@ public static boolean validateEncounterActivitiesCodeOriginalTextReference(Encou public static boolean validateEncounterActivitiesReferenceValue(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesReferenceValue", "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -317,6 +324,9 @@ public static boolean validateEncounterActivitiesReferenceValue(EncounterActivit public static boolean validateEncounterActivitiesCodeOriginalTextReferenceValue( EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncounterActivitiesEncounterActivitiesCodeOriginalTextReferenceValue", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_CODE_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -383,6 +393,8 @@ public static boolean validateEncounterActivitiesCodeOriginalTextReferenceValue( public static boolean validateEncounterActivitiesServiceDeliveryTypeCode(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesServiceDeliveryTypeCode", "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_SERVICE_DELIVERY_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -449,6 +461,8 @@ public static boolean validateEncounterActivitiesServiceDeliveryTypeCode(Encount public static boolean validateEncounterActivitiesSdtcDDCFromNUBCOrDD(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesSdtcDDCFromNUBCOrDD", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_SDTC_DDC_FROM_NUBC_OR_DD__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -514,6 +528,8 @@ public static boolean validateEncounterActivitiesSdtcDDCFromNUBCOrDD(EncounterAc public static boolean validateEncounterActivitiesTemplateId(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesTemplateId", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -578,6 +594,8 @@ public static boolean validateEncounterActivitiesTemplateId(EncounterActivities public static boolean validateEncounterActivitiesClassCode(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesClassCode", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -642,6 +660,8 @@ public static boolean validateEncounterActivitiesClassCode(EncounterActivities e public static boolean validateEncounterActivitiesMoodCode(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesMoodCode", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -705,6 +725,8 @@ public static boolean validateEncounterActivitiesMoodCode(EncounterActivities en public static boolean validateEncounterActivitiesId(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesId", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -770,6 +792,8 @@ public static boolean validateEncounterActivitiesId(EncounterActivities encounte public static boolean validateEncounterActivitiesCode(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesCode", "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -833,6 +857,8 @@ public static boolean validateEncounterActivitiesCode(EncounterActivities encoun public static boolean validateEncounterActivitiesEffectiveTime(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesEffectiveTime", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -898,6 +924,8 @@ public static boolean validateEncounterActivitiesEffectiveTime(EncounterActiviti public static boolean validateEncounterActivitiesSDTCDischargeDispositionCode( EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesSDTCDischargeDispositionCode", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_SDTC_DISCHARGE_DISPOSITION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -964,6 +992,8 @@ public static boolean validateEncounterActivitiesSDTCDischargeDispositionCode( public static boolean validateEncounterActivitiesServiceDeliveryLocation(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesServiceDeliveryLocation", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_SERVICE_DELIVERY_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1030,6 +1060,8 @@ public static boolean validateEncounterActivitiesServiceDeliveryLocation(Encount public static boolean validateEncounterActivitiesIndication(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesIndication", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1094,6 +1126,8 @@ public static boolean validateEncounterActivitiesIndication(EncounterActivities public static boolean validateEncounterActivitiesEncounterPerformer(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesEncounterPerformer", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1159,6 +1193,8 @@ public static boolean validateEncounterActivitiesEncounterPerformer(EncounterAct public static boolean validateEncounterActivitiesEncounterDiagnosis(EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivitiesEncounterActivitiesEncounterDiagnosis", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1224,6 +1260,10 @@ public static boolean validateEncounterActivitiesEncounterDiagnosis(EncounterAct public static boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntityCode( EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncounterActivitiesEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntityCode", + "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_PERFORMER_ENCOUNTER_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1295,6 +1335,10 @@ public static boolean validateEncounterActivitiesEncounterPerformerEncounterPerf public static boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntity( EncounterActivities encounterActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncounterActivitiesEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntity", + "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_PERFORMER_ENCOUNTER_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterActivity2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterActivity2Operations.java index ebf97a0947..91a19b7c57 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterActivity2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterActivity2Operations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -111,6 +112,8 @@ protected EncounterActivity2Operations() { public static boolean validateEncounterActivity2TemplateId(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivity2TemplateId", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITY2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -153,6 +156,8 @@ public static boolean validateEncounterActivity2TemplateId(EncounterActivity2 en public static boolean validateEncounterActivitiesCodeP(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivitiesCodeP", "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -195,6 +200,8 @@ public static boolean validateEncounterActivitiesCodeP(EncounterActivity2 encoun public static boolean validateEncounterActivity2CDTranslation(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivity2CDTranslation", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITY2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -244,6 +251,10 @@ public static boolean validateEncounterActivity2CDTranslation(EncounterActivity2 public static boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntityCodeP( EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncounterActivity2EncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntityCodeP", + "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_PERFORMER_ENCOUNTER_PERFORMER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -393,6 +404,8 @@ public static EList getConsolServiceDeliveryLocations( public static boolean validateEncounterActivitiesSdtcDDCFromNUBCOrDD(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivitiesSdtcDDCFromNUBCOrDD", "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_SDTC_DDC_FROM_NUBC_OR_DD__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -604,6 +617,8 @@ public static boolean validateEncounterActivitiesSdtcDDCFromNUBCOrDD(EncounterAc public static boolean validateEncounterActivitiesCode(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivitiesCode", "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -667,6 +682,8 @@ public static boolean validateEncounterActivitiesCode(EncounterActivity2 encount public static boolean validateEncounterActivitiesSDTCDischargeDispositionCode(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivitiesSDTCDischargeDispositionCode", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_SDTC_DISCHARGE_DISPOSITION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -733,6 +750,8 @@ public static boolean validateEncounterActivitiesSDTCDischargeDispositionCode(En public static boolean validateEncounterActivitiesIndication(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivitiesIndication", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -796,6 +815,8 @@ public static boolean validateEncounterActivitiesIndication(EncounterActivity2 e public static boolean validateEncounterActivitiesEncounterDiagnosis(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivitiesEncounterDiagnosis", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -861,6 +882,8 @@ public static boolean validateEncounterActivitiesEncounterDiagnosis(EncounterAct public static boolean validateEncounterActivitiesServiceDeliveryLocation(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivitiesServiceDeliveryLocation", "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_SERVICE_DELIVERY_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -926,6 +949,8 @@ public static boolean validateEncounterActivitiesServiceDeliveryLocation(Encount public static boolean validateEncounterActivitiesEncounterPerformer(EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterActivity2EncounterActivitiesEncounterPerformer", "INFO"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -993,6 +1018,10 @@ public static boolean validateEncounterActivitiesEncounterPerformer(EncounterAct public static boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntityCode( EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncounterActivity2EncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntityCode", + "WARNING"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_PERFORMER_ENCOUNTER_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1074,6 +1103,10 @@ public static boolean validateEncounterActivitiesEncounterPerformerEncounterPerf public static boolean validateEncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntity( EncounterActivity2 encounterActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncounterActivity2EncounterActivitiesEncounterPerformerEncounterPerformerAssignedEntity", + "ERROR"); + if (VALIDATE_ENCOUNTER_ACTIVITIES_ENCOUNTER_PERFORMER_ENCOUNTER_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterDiagnosis2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterDiagnosis2Operations.java index 2312f9b65f..f15f622c82 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterDiagnosis2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterDiagnosis2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected EncounterDiagnosis2Operations() { public static boolean validateEncounterDiagnosis2TemplateId(EncounterDiagnosis2 encounterDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterDiagnosis2EncounterDiagnosis2TemplateId", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -207,6 +210,8 @@ public static EList getConsolProblemObservation2s(Encounter public static boolean validateEncounterDiagnosisCodeP(EncounterDiagnosis2 encounterDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterDiagnosis2EncounterDiagnosisCodeP", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +298,8 @@ public static boolean validateEncounterDiagnosisCode(EncounterDiagnosis2 encount return true; } + DatatypesUtil.increment(context, "EncounterDiagnosis2EncounterDiagnosisCode", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -356,6 +363,8 @@ public static boolean validateEncounterDiagnosisCode(EncounterDiagnosis2 encount public static boolean validateEncounterDiagnosisProblemObservation(EncounterDiagnosis2 encounterDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterDiagnosis2EncounterDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterDiagnosisOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterDiagnosisOperations.java index 282189b6b8..e867f7cef0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterDiagnosisOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncounterDiagnosisOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected EncounterDiagnosisOperations() { public static boolean validateEncounterDiagnosisTemplateId(EncounterDiagnosis encounterDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterDiagnosisEncounterDiagnosisTemplateId", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateEncounterDiagnosisTemplateId(EncounterDiagnosis en public static boolean validateEncounterDiagnosisClassCode(EncounterDiagnosis encounterDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterDiagnosisEncounterDiagnosisClassCode", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateEncounterDiagnosisClassCode(EncounterDiagnosis enc public static boolean validateEncounterDiagnosisMoodCode(EncounterDiagnosis encounterDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterDiagnosisEncounterDiagnosisMoodCode", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validateEncounterDiagnosisMoodCode(EncounterDiagnosis enco public static boolean validateEncounterDiagnosisCodeP(EncounterDiagnosis encounterDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterDiagnosisEncounterDiagnosisCodeP", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +382,8 @@ public static boolean validateEncounterDiagnosisCode(EncounterDiagnosis encounte return true; } + DatatypesUtil.increment(context, "EncounterDiagnosisEncounterDiagnosisCode", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -436,6 +447,8 @@ public static boolean validateEncounterDiagnosisCode(EncounterDiagnosis encounte public static boolean validateEncounterDiagnosisProblemObservation(EncounterDiagnosis encounterDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncounterDiagnosisEncounterDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_ENCOUNTER_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSection2Operations.java index d8a060dd2a..8c3b6a0626 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected EncountersSection2Operations() { public static boolean validateEncountersSection2NullFlavor(EncountersSection2 encountersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSection2EncountersSection2NullFlavor", "INFO"); + if (VALIDATE_ENCOUNTERS_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateEncountersSection2NullFlavor(EncountersSection2 en public static boolean validateEncountersSection2Text(EncountersSection2 encountersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSection2EncountersSection2Text", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateEncountersSection2Text(EncountersSection2 encounte public static boolean validateEncountersSection2Title(EncountersSection2 encountersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSection2EncountersSection2Title", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validateEncountersSection2Title(EncountersSection2 encount public static boolean validateEncountersSectionEntriesOptionalTemplateId(EncountersSection2 encountersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSection2EncountersSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +361,8 @@ public static boolean validateEncountersSectionEntriesOptionalTemplateId(Encount public static boolean validateEncountersSectionEntriesOptionalCodeP(EncountersSection2 encountersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSection2EncountersSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -441,6 +452,8 @@ public static boolean validateEncountersSectionEntriesOptionalCode(EncountersSec return true; } + DatatypesUtil.increment(context, "EncountersSection2EncountersSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -506,6 +519,9 @@ public static boolean validateEncountersSectionEntriesOptionalCode(EncountersSec public static boolean validateEncountersSectionEntriesOptionalEncounterActivities( EncountersSection2 encountersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSection2EncountersSectionEntriesOptionalEncounterActivities", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_ENCOUNTER_ACTIVITIES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionEntriesOptional2Operations.java index be6b8e3a27..fbe7726f1b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -146,6 +147,9 @@ public static boolean validateEncountersSectionEntriesOptionalTemplateId( EncountersSectionEntriesOptional2 encountersSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptional2EncountersSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -213,6 +217,9 @@ public static boolean validateEncountersSectionEntriesOptionalCodeP( EncountersSectionEntriesOptional2 encountersSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptional2EncountersSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -305,6 +312,9 @@ public static boolean validateEncountersSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptional2EncountersSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -372,6 +382,9 @@ public static boolean validateEncountersSectionEntriesOptionalEncounterActivitie EncountersSectionEntriesOptional2 encountersSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptional2EncountersSectionEntriesOptionalEncounterActivities", "WARNING"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_ENCOUNTER_ACTIVITIES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionEntriesOptionalOperations.java index efedd29d4f..e22d66350a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,9 @@ public static boolean validateEncountersSectionEntriesOptionalTemplateId( EncountersSectionEntriesOptional encountersSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptionalEncountersSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +176,9 @@ public static boolean validateEncountersSectionEntriesOptionalCode( EncountersSectionEntriesOptional encountersSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptionalEncountersSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +246,9 @@ public static boolean validateEncountersSectionEntriesOptionalCodeP( EncountersSectionEntriesOptional encountersSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptionalEncountersSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +316,9 @@ public static boolean validateEncountersSectionEntriesOptionalTitle( EncountersSectionEntriesOptional encountersSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptionalEncountersSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +386,9 @@ public static boolean validateEncountersSectionEntriesOptionalText( EncountersSectionEntriesOptional encountersSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptionalEncountersSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +456,9 @@ public static boolean validateEncountersSectionEntriesOptionalEncounterActivitie EncountersSectionEntriesOptional encountersSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "EncountersSectionEntriesOptionalEncountersSectionEntriesOptionalEncounterActivities", "WARNING"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_ENCOUNTER_ACTIVITIES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionOperations.java index 3b4ff7d8a6..c8ef445f97 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EncountersSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected EncountersSectionOperations() { public static boolean validateEncountersSectionEncounterActivities(EncountersSection encountersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSectionEncountersSectionEncounterActivities", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENCOUNTER_ACTIVITIES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -214,6 +217,8 @@ public static EList getConsolEncounterActivitiess(Encounter public static boolean validateEncountersSectionEntriesOptionalTemplateId(EncountersSection encountersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSectionEncountersSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -279,6 +284,8 @@ public static boolean validateEncountersSectionEntriesOptionalTemplateId(Encount public static boolean validateEncountersSectionEntriesOptionalCodeP(EncountersSection encountersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSectionEncountersSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +375,8 @@ public static boolean validateEncountersSectionEntriesOptionalCode(EncountersSec return true; } + DatatypesUtil.increment(context, "EncountersSectionEncountersSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -433,6 +442,8 @@ public static boolean validateEncountersSectionEntriesOptionalCode(EncountersSec public static boolean validateEncountersSectionEntriesOptionalText(EncountersSection encountersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSectionEncountersSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -498,6 +509,8 @@ public static boolean validateEncountersSectionEntriesOptionalText(EncountersSec public static boolean validateEncountersSectionEntriesOptionalTitle(EncountersSection encountersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EncountersSectionEncountersSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_ENCOUNTERS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EntryReferenceOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EntryReferenceOperations.java index 84197b2832..c71ef41d66 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EntryReferenceOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EntryReferenceOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -106,6 +107,8 @@ protected EntryReferenceOperations() { public static boolean validateEntryReferenceTemplateId(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceTemplateId", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateEntryReferenceTemplateId(EntryReference entryRefer public static boolean validateEntryReferenceClassCode(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceClassCode", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateEntryReferenceClassCode(EntryReference entryRefere public static boolean validateEntryReferenceMoodCode(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceMoodCode", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +302,8 @@ public static boolean validateEntryReferenceMoodCode(EntryReference entryReferen public static boolean validateEntryReferenceId(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceId", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -358,6 +367,8 @@ public static boolean validateEntryReferenceId(EntryReference entryReference, Di public static boolean validateEntryReferenceCode(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceCode", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -423,6 +434,8 @@ public static boolean validateEntryReferenceCode(EntryReference entryReference, public static boolean validateEntryReferenceStatusCode(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceStatusCode", "INFO"); + if (VALIDATE_ENTRY_REFERENCE_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -486,6 +499,8 @@ public static boolean validateEntryReferenceStatusCode(EntryReference entryRefer public static boolean validateEntryReferenceStatusCodeP(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceStatusCodeP", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -553,6 +568,8 @@ public static boolean validateEntryReferenceStatusCodeP(EntryReference entryRefe public static boolean validateEntryReferenceIINullFlavor(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceIINullFlavor", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_II_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -625,6 +642,8 @@ public static boolean validateEntryReferenceIINullFlavor(EntryReference entryRef public static boolean validateEntryReferenceCDNullFlavor(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceCDNullFlavor", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_CD_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -695,6 +714,8 @@ public static boolean validateEntryReferenceCDNullFlavor(EntryReference entryRef public static boolean validateEntryReferenceCDNullFlavorP(EntryReference entryReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EntryReferenceEntryReferenceCDNullFlavorP", "ERROR"); + if (VALIDATE_ENTRY_REFERENCE_CD_NULL_FLAVOR_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EstimatedDateOfDeliveryOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EstimatedDateOfDeliveryOperations.java index a4b3e0a51a..7af6bb4c37 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EstimatedDateOfDeliveryOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/EstimatedDateOfDeliveryOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected EstimatedDateOfDeliveryOperations() { public static boolean validateEstimatedDateOfDeliveryTemplateId(EstimatedDateOfDelivery estimatedDateOfDelivery, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EstimatedDateOfDeliveryEstimatedDateOfDeliveryTemplateId", "ERROR"); + if (VALIDATE_ESTIMATED_DATE_OF_DELIVERY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateEstimatedDateOfDeliveryTemplateId(EstimatedDateOfD public static boolean validateEstimatedDateOfDeliveryClassCode(EstimatedDateOfDelivery estimatedDateOfDelivery, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EstimatedDateOfDeliveryEstimatedDateOfDeliveryClassCode", "ERROR"); + if (VALIDATE_ESTIMATED_DATE_OF_DELIVERY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -227,6 +232,8 @@ public static boolean validateEstimatedDateOfDeliveryClassCode(EstimatedDateOfDe public static boolean validateEstimatedDateOfDeliveryCode(EstimatedDateOfDelivery estimatedDateOfDelivery, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EstimatedDateOfDeliveryEstimatedDateOfDeliveryCode", "ERROR"); + if (VALIDATE_ESTIMATED_DATE_OF_DELIVERY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -291,6 +298,8 @@ public static boolean validateEstimatedDateOfDeliveryCode(EstimatedDateOfDeliver public static boolean validateEstimatedDateOfDeliveryMoodCode(EstimatedDateOfDelivery estimatedDateOfDelivery, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EstimatedDateOfDeliveryEstimatedDateOfDeliveryMoodCode", "ERROR"); + if (VALIDATE_ESTIMATED_DATE_OF_DELIVERY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -357,6 +366,8 @@ public static boolean validateEstimatedDateOfDeliveryMoodCode(EstimatedDateOfDel public static boolean validateEstimatedDateOfDeliveryStatusCode(EstimatedDateOfDelivery estimatedDateOfDelivery, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EstimatedDateOfDeliveryEstimatedDateOfDeliveryStatusCode", "ERROR"); + if (VALIDATE_ESTIMATED_DATE_OF_DELIVERY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -422,6 +433,8 @@ public static boolean validateEstimatedDateOfDeliveryStatusCode(EstimatedDateOfD public static boolean validateEstimatedDateOfDeliveryValue(EstimatedDateOfDelivery estimatedDateOfDelivery, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "EstimatedDateOfDeliveryEstimatedDateOfDeliveryValue", "ERROR"); + if (VALIDATE_ESTIMATED_DATE_OF_DELIVERY_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ExternalDocumentReferenceOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ExternalDocumentReferenceOperations.java index d52f214931..4b844d42af 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ExternalDocumentReferenceOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ExternalDocumentReferenceOperations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ExternalDocumentOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -93,6 +94,8 @@ public static boolean validateExternalDocumentReferenceTemplateId( ExternalDocumentReference externalDocumentReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ExternalDocumentReferenceExternalDocumentReferenceTemplateId", "ERROR"); + if (VALIDATE_EXTERNAL_DOCUMENT_REFERENCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -159,6 +162,8 @@ public static boolean validateExternalDocumentReferenceClassCode( ExternalDocumentReference externalDocumentReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ExternalDocumentReferenceExternalDocumentReferenceClassCode", "ERROR"); + if (VALIDATE_EXTERNAL_DOCUMENT_REFERENCE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateExternalDocumentReferenceClassCode( public static boolean validateExternalDocumentReferenceMoodCode(ExternalDocumentReference externalDocumentReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ExternalDocumentReferenceExternalDocumentReferenceMoodCode", "ERROR"); + if (VALIDATE_EXTERNAL_DOCUMENT_REFERENCE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateExternalDocumentReferenceMoodCode(ExternalDocument public static boolean validateExternalDocumentReferenceId(ExternalDocumentReference externalDocumentReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ExternalDocumentReferenceExternalDocumentReferenceId", "ERROR"); + if (VALIDATE_EXTERNAL_DOCUMENT_REFERENCE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +362,8 @@ public static boolean validateExternalDocumentReferenceId(ExternalDocumentRefere public static boolean validateExternalDocumentReferenceCode(ExternalDocumentReference externalDocumentReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ExternalDocumentReferenceExternalDocumentReferenceCode", "ERROR"); + if (VALIDATE_EXTERNAL_DOCUMENT_REFERENCE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -417,6 +428,8 @@ public static boolean validateExternalDocumentReferenceCode(ExternalDocumentRefe public static boolean validateExternalDocumentReferenceSetId(ExternalDocumentReference externalDocumentReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ExternalDocumentReferenceExternalDocumentReferenceSetId", "WARNING"); + if (VALIDATE_EXTERNAL_DOCUMENT_REFERENCE_SET_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -483,6 +496,8 @@ public static boolean validateExternalDocumentReferenceVersionNumber( ExternalDocumentReference externalDocumentReference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ExternalDocumentReferenceExternalDocumentReferenceVersionNumber", "WARNING"); + if (VALIDATE_EXTERNAL_DOCUMENT_REFERENCE_VERSION_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryDeathObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryDeathObservationOperations.java index 6b7e35efa3..8a9e382a92 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryDeathObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryDeathObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,9 @@ public static boolean validateFamilyHistoryDeathObservationTemplateId( FamilyHistoryDeathObservation familyHistoryDeathObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryDeathObservationFamilyHistoryDeathObservationTemplateId", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_DEATH_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateFamilyHistoryDeathObservationClassCode( FamilyHistoryDeathObservation familyHistoryDeathObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryDeathObservationFamilyHistoryDeathObservationClassCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_DEATH_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,8 @@ public static boolean validateFamilyHistoryDeathObservationMoodCode( FamilyHistoryDeathObservation familyHistoryDeathObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryDeathObservationFamilyHistoryDeathObservationMoodCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_DEATH_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -300,6 +309,8 @@ public static boolean validateFamilyHistoryDeathObservationCode( FamilyHistoryDeathObservation familyHistoryDeathObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryDeathObservationFamilyHistoryDeathObservationCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_DEATH_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +379,9 @@ public static boolean validateFamilyHistoryDeathObservationStatusCode( FamilyHistoryDeathObservation familyHistoryDeathObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryDeathObservationFamilyHistoryDeathObservationStatusCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_DEATH_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +451,8 @@ public static boolean validateFamilyHistoryDeathObservationValue( FamilyHistoryDeathObservation familyHistoryDeathObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryDeathObservationFamilyHistoryDeathObservationValue", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_DEATH_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -504,6 +520,8 @@ public static boolean validateFamilyHistoryDeathObservationValueP( FamilyHistoryDeathObservation familyHistoryDeathObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryDeathObservationFamilyHistoryDeathObservationValueP", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_DEATH_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryObservation2Operations.java index 6bbffb4485..aff210e91b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryObservation2Operations.java @@ -10,6 +10,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -91,6 +92,8 @@ public static boolean validateFamilyHistoryObservation2TemplateId( FamilyHistoryObservation2 familyHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservation2FamilyHistoryObservation2TemplateId", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -159,6 +162,8 @@ public static boolean validateFamilyHistoryObservation2CDTranslation( FamilyHistoryObservation2 familyHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservation2FamilyHistoryObservation2CDTranslation", "WARNING"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +236,8 @@ public static boolean validateFamilyHistoryObservation2CDTranslationP( FamilyHistoryObservation2 familyHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservation2FamilyHistoryObservation2CDTranslationP", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION2_CD_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -302,6 +309,8 @@ public static boolean validateFamilyHistoryObservation2CDTranslationP( public static boolean validateFamilyHistoryObservationCodeP(FamilyHistoryObservation2 familyHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservation2FamilyHistoryObservationCodeP", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -389,6 +398,8 @@ public static boolean validateFamilyHistoryObservationCode(FamilyHistoryObservat return true; } + DatatypesUtil.increment(context, "FamilyHistoryObservation2FamilyHistoryObservationCode", "WARNING"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryObservationOperations.java index 2aa1d6ddb5..e07611eae5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryObservationOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -110,6 +111,9 @@ public static boolean validateFamilyHistoryObservationAgeObservationInversion( FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryObservationFamilyHistoryObservationAgeObservationInversion", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_AGE_OBSERVATION_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -176,6 +180,8 @@ public static boolean validateFamilyHistoryObservationAgeObservationInversion( public static boolean validateFamilyHistoryObservationTemplateId(FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationTemplateId", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -241,6 +247,8 @@ public static boolean validateFamilyHistoryObservationTemplateId(FamilyHistoryOb public static boolean validateFamilyHistoryObservationClassCode(FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationClassCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +314,8 @@ public static boolean validateFamilyHistoryObservationClassCode(FamilyHistoryObs public static boolean validateFamilyHistoryObservationMoodCode(FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationMoodCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -371,6 +381,8 @@ public static boolean validateFamilyHistoryObservationMoodCode(FamilyHistoryObse public static boolean validateFamilyHistoryObservationId(FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationId", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -435,6 +447,8 @@ public static boolean validateFamilyHistoryObservationId(FamilyHistoryObservatio public static boolean validateFamilyHistoryObservationCodeP(FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationCodeP", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -522,6 +536,8 @@ public static boolean validateFamilyHistoryObservationCode(FamilyHistoryObservat return true; } + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationCode", "WARNING"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -587,6 +603,8 @@ public static boolean validateFamilyHistoryObservationCode(FamilyHistoryObservat public static boolean validateFamilyHistoryObservationStatusCode(FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationStatusCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -652,6 +670,8 @@ public static boolean validateFamilyHistoryObservationStatusCode(FamilyHistoryOb public static boolean validateFamilyHistoryObservationStatusCodeP(FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationStatusCodeP", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -718,6 +738,8 @@ public static boolean validateFamilyHistoryObservationEffectiveTime( FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationEffectiveTime", "WARNING"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -786,6 +808,8 @@ public static boolean validateFamilyHistoryObservationEffectiveTime( public static boolean validateFamilyHistoryObservationValue(FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationValue", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -851,6 +875,8 @@ public static boolean validateFamilyHistoryObservationAgeObservation( FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryObservationFamilyHistoryObservationAgeObservation", "INFO"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_AGE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -918,6 +944,9 @@ public static boolean validateFamilyHistoryObservationFamilyHistoryDeathObservat FamilyHistoryObservation familyHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryObservationFamilyHistoryObservationFamilyHistoryDeathObservation", "INFO"); + if (VALIDATE_FAMILY_HISTORY_OBSERVATION_FAMILY_HISTORY_DEATH_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryOrganizer2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryOrganizer2Operations.java index 4edbb247d2..35c632cf1c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryOrganizer2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryOrganizer2Operations.java @@ -11,6 +11,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -90,6 +91,8 @@ protected FamilyHistoryOrganizer2Operations() { public static boolean validateFamilyHistoryOrganizer2TemplateId(FamilyHistoryOrganizer2 familyHistoryOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryOrganizer2FamilyHistoryOrganizer2TemplateId", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -155,6 +158,8 @@ public static boolean validateFamilyHistoryOrganizer2TemplateId(FamilyHistoryOrg public static boolean validateFamilyHistoryOrganizer2Id(FamilyHistoryOrganizer2 familyHistoryOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryOrganizer2FamilyHistoryOrganizer2Id", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER2_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -269,6 +274,9 @@ public static EList getConsolFamilyHistoryObservation public static boolean validateFamilyHistoryOrganizerFamilyHistoryObservation( FamilyHistoryOrganizer2 familyHistoryOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizer2FamilyHistoryOrganizerFamilyHistoryObservation", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_FAMILY_HISTORY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryOrganizerOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryOrganizerOperations.java index ee13b832bc..68350727f5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryOrganizerOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistoryOrganizerOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.OrganizerOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -116,6 +117,8 @@ protected FamilyHistoryOrganizerOperations() { public static boolean validateFamilyHistoryOrganizerTemplateId(FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryOrganizerFamilyHistoryOrganizerTemplateId", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -181,6 +184,8 @@ public static boolean validateFamilyHistoryOrganizerTemplateId(FamilyHistoryOrga public static boolean validateFamilyHistoryOrganizerClassCode(FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryOrganizerFamilyHistoryOrganizerClassCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -246,6 +251,8 @@ public static boolean validateFamilyHistoryOrganizerClassCode(FamilyHistoryOrgan public static boolean validateFamilyHistoryOrganizerMoodCode(FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryOrganizerFamilyHistoryOrganizerMoodCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -311,6 +318,8 @@ public static boolean validateFamilyHistoryOrganizerMoodCode(FamilyHistoryOrgani public static boolean validateFamilyHistoryOrganizerStatusCodeP(FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryOrganizerFamilyHistoryOrganizerStatusCodeP", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -398,6 +407,8 @@ public static boolean validateFamilyHistoryOrganizerStatusCode(FamilyHistoryOrga return true; } + DatatypesUtil.increment(context, "FamilyHistoryOrganizerFamilyHistoryOrganizerStatusCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -463,6 +474,9 @@ public static boolean validateFamilyHistoryOrganizerStatusCode(FamilyHistoryOrga public static boolean validateFamilyHistoryOrganizerFamilyHistoryObservation( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerFamilyHistoryObservation", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_FAMILY_HISTORY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -529,6 +543,8 @@ public static boolean validateFamilyHistoryOrganizerFamilyHistoryObservation( public static boolean validateFamilyHistoryOrganizerSubject(FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubject", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -595,6 +611,11 @@ public static boolean validateFamilyHistoryOrganizerSubject(FamilyHistoryOrganiz public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonAdministrativeGenderCode( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonAdministrativeGenderCode", + "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_SUBJECT_PERSON_ADMINISTRATIVE_GENDER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -666,6 +687,11 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonAdministrativeGenderCodeP( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonAdministrativeGenderCodeP", + "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_SUBJECT_PERSON_ADMINISTRATIVE_GENDER_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -737,6 +763,10 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonBirthTime( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonBirthTime", + "WARNING"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_SUBJECT_PERSON_BIRTH_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -808,6 +838,10 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCDeceasedInd( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCDeceasedInd", + "INFO"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_SUBJECT_PERSON_SDTC_DECEASED_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -879,6 +913,10 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCDeceasedTime( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCDeceasedTime", + "INFO"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_SUBJECT_PERSON_SDTC_DECEASED_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -950,6 +988,9 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCId( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectSubjectPersonSDTCId", "WARNING"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_SUBJECT_PERSON_SDTC_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1021,6 +1062,9 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectClassCode( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectClassCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1094,6 +1138,9 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectClassCo public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectCode( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectCode", "WARNING"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1165,6 +1212,9 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectCode( public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectCodeP( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectCodeP", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1236,6 +1286,9 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectCodeP( public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubjectSubject", "WARNING"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT_SUBJECT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1307,6 +1360,8 @@ public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubjectSubject public static boolean validateFamilyHistoryOrganizerSubjectRelatedSubject( FamilyHistoryOrganizer familyHistoryOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistoryOrganizerFamilyHistoryOrganizerSubjectRelatedSubject", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_ORGANIZER_SUBJECT_RELATED_SUBJECT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistorySection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistorySection2Operations.java index ec48024a8c..7e5249efc3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistorySection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistorySection2Operations.java @@ -11,6 +11,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -89,6 +90,8 @@ protected FamilyHistorySection2Operations() { public static boolean validateFamilyHistorySection2TemplateId(FamilyHistorySection2 familyHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistorySection2FamilyHistorySection2TemplateId", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -204,6 +207,8 @@ public static EList getConsolFamilyHistoryOrganizer2s( public static boolean validateFamilyHistorySectionFamilyHistory(FamilyHistorySection2 familyHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistorySection2FamilyHistorySectionFamilyHistory", "INFO"); + if (VALIDATE_FAMILY_HISTORY_SECTION_FAMILY_HISTORY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistorySectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistorySectionOperations.java index 527041d5db..32634ed737 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistorySectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FamilyHistorySectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ protected FamilyHistorySectionOperations() { public static boolean validateFamilyHistorySectionTemplateId(FamilyHistorySection familyHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistorySectionFamilyHistorySectionTemplateId", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateFamilyHistorySectionTemplateId(FamilyHistorySectio public static boolean validateFamilyHistorySectionCode(FamilyHistorySection familyHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistorySectionFamilyHistorySectionCode", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateFamilyHistorySectionCode(FamilyHistorySection fami public static boolean validateFamilyHistorySectionCodeP(FamilyHistorySection familyHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistorySectionFamilyHistorySectionCodeP", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +302,8 @@ public static boolean validateFamilyHistorySectionCodeP(FamilyHistorySection fam public static boolean validateFamilyHistorySectionTitle(FamilyHistorySection familyHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistorySectionFamilyHistorySectionTitle", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -358,6 +367,8 @@ public static boolean validateFamilyHistorySectionTitle(FamilyHistorySection fam public static boolean validateFamilyHistorySectionText(FamilyHistorySection familyHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistorySectionFamilyHistorySectionText", "ERROR"); + if (VALIDATE_FAMILY_HISTORY_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -421,6 +432,8 @@ public static boolean validateFamilyHistorySectionText(FamilyHistorySection fami public static boolean validateFamilyHistorySectionFamilyHistory(FamilyHistorySection familyHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FamilyHistorySectionFamilyHistorySectionFamilyHistory", "INFO"); + if (VALIDATE_FAMILY_HISTORY_SECTION_FAMILY_HISTORY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FetusSubjectContextOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FetusSubjectContextOperations.java index 75b4f18937..8da5afc9d9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FetusSubjectContextOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FetusSubjectContextOperations.java @@ -11,6 +11,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.mdht.uml.hl7.rim.operations.RoleOperations; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; @@ -88,6 +89,8 @@ protected FetusSubjectContextOperations() { public static boolean validateFetusSubjectContextTemplateId(FetusSubjectContext fetusSubjectContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FetusSubjectContextFetusSubjectContextTemplateId", "ERROR"); + if (VALIDATE_FETUS_SUBJECT_CONTEXT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -154,6 +157,8 @@ public static boolean validateFetusSubjectContextTemplateId(FetusSubjectContext public static boolean validateFetusSubjectContextCode(FetusSubjectContext fetusSubjectContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FetusSubjectContextFetusSubjectContextCode", "ERROR"); + if (VALIDATE_FETUS_SUBJECT_CONTEXT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -217,6 +222,8 @@ public static boolean validateFetusSubjectContextCode(FetusSubjectContext fetusS public static boolean validateFetusSubjectContextSubject(FetusSubjectContext fetusSubjectContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FetusSubjectContextFetusSubjectContextSubject", "ERROR"); + if (VALIDATE_FETUS_SUBJECT_CONTEXT_SUBJECT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FindingsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FindingsSectionOperations.java index 3dbd1c8ad5..f52f6844bc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FindingsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FindingsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -90,6 +91,8 @@ protected FindingsSectionOperations() { public static boolean validateFindingsSectionTemplateId(FindingsSection findingsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FindingsSectionFindingsSectionTemplateId", "ERROR"); + if (VALIDATE_FINDINGS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusObservation2Operations.java index 041fed2f51..541a035e9d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusObservation2Operations.java @@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -107,6 +108,8 @@ public static boolean validateFunctionalStatusObservation2TemplateId( FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusObservation2FunctionalStatusObservation2TemplateId", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -174,6 +177,9 @@ public static boolean validateFunctionalStatusObservation2AuthorParticipation( FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusObservation2FunctionalStatusObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_FUNCTIONAL_STATUS_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +294,8 @@ public static boolean validateResultObservationTextReference( FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusObservation2ResultObservationTextReference", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +361,8 @@ public static boolean validateResultObservationTextReferenceValue( FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusObservation2ResultObservationTextReferenceValue", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -419,6 +429,8 @@ public static boolean validateResultObservationTextReferenceValue( public static boolean validateResultObservationCodeP(FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusObservation2ResultObservationCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -506,6 +518,8 @@ public static boolean validateResultObservationCode(FunctionalStatusObservation2 return true; } + DatatypesUtil.increment(context, "FunctionalStatusObservation2ResultObservationCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -569,6 +583,8 @@ public static boolean validateResultObservationCode(FunctionalStatusObservation2 public static boolean validateResultObservationText(FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusObservation2ResultObservationText", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -633,6 +649,8 @@ public static boolean validateResultObservationInterpretationCode( FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusObservation2ResultObservationInterpretationCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -699,6 +717,8 @@ public static boolean validateResultObservationInterpretationCode( public static boolean validateResultObservationMethodCode(FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusObservation2ResultObservationMethodCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -764,6 +784,8 @@ public static boolean validateResultObservationTargetSiteCode( FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusObservation2ResultObservationTargetSiteCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -830,6 +852,9 @@ public static boolean validateFunctionalStatusResultObservationReferenceRange( FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusObservation2FunctionalStatusResultObservationReferenceRange", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -897,6 +922,9 @@ public static boolean validateFunctionalStatusResultObservationAuthor( FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusObservation2FunctionalStatusResultObservationAuthor", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -964,6 +992,9 @@ public static boolean validateFunctionalStatusResultObservationNonMedicinalSuppl FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusObservation2FunctionalStatusResultObservationNonMedicinalSupplyActivity", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1031,6 +1062,11 @@ public static boolean validateFunctionalStatusResultObservationReferenceRangeObs FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "FunctionalStatusObservation2FunctionalStatusResultObservationReferenceRangeObservationRangeNoCode", + "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE_NO_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1103,6 +1139,10 @@ public static boolean validateFunctionalStatusResultObservationReferenceRangeObs FunctionalStatusObservation2 functionalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusObservation2FunctionalStatusResultObservationReferenceRangeObservationRange", + "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusOrganizer2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusOrganizer2Operations.java index 619060ae27..595c9f0de7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusOrganizer2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusOrganizer2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ public static boolean validateFunctionalStatusOrganizer2TemplateId( FunctionalStatusOrganizer2 functionalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusOrganizer2FunctionalStatusOrganizer2TemplateId", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_ORGANIZER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,9 @@ public static boolean validateFunctionalStatusOrganizer2SelfCareActivities( FunctionalStatusOrganizer2 functionalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusOrganizer2FunctionalStatusOrganizer2SelfCareActivities", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_ORGANIZER2_SELF_CARE_ACTIVITIES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +242,9 @@ public static boolean validateFunctionalStatusOrganizer2AuthorParticipation( FunctionalStatusOrganizer2 functionalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusOrganizer2FunctionalStatusOrganizer2AuthorParticipation", "WARNING"); + if (VALIDATE_FUNCTIONAL_STATUS_ORGANIZER2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -401,6 +410,8 @@ public static EList getSelfCareActivitiess( public static boolean validateResultOrganizerCodeValue(FunctionalStatusOrganizer2 functionalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusOrganizer2ResultOrganizerCodeValue", "WARNING"); + if (VALIDATE_RESULT_ORGANIZER_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -465,6 +476,8 @@ public static boolean validateResultOrganizerCodeValue(FunctionalStatusOrganizer public static boolean validateResultOrganizerCode(FunctionalStatusOrganizer2 functionalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusOrganizer2ResultOrganizerCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -528,6 +541,8 @@ public static boolean validateResultOrganizerCode(FunctionalStatusOrganizer2 fun public static boolean validateResultOrganizerStatusCodeP(FunctionalStatusOrganizer2 functionalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusOrganizer2ResultOrganizerStatusCodeP", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -614,6 +629,8 @@ public static boolean validateResultOrganizerStatusCode(FunctionalStatusOrganize return true; } + DatatypesUtil.increment(context, "FunctionalStatusOrganizer2ResultOrganizerStatusCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -679,6 +696,10 @@ public static boolean validateFunctionalStatusResultOrganizerFunctionalStatusRes FunctionalStatusOrganizer2 functionalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusOrganizer2FunctionalStatusResultOrganizerFunctionalStatusResultObservation", + "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_ORGANIZER_FUNCTIONAL_STATUS_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusProblemObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusProblemObservationOperations.java index ee72791c25..d5f9d73022 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusProblemObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusProblemObservationOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -118,6 +119,9 @@ public static boolean validateFunctionalStatusProblemObservationMethodCode( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationFunctionalStatusProblemObservationMethodCode", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_PROBLEM_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -185,6 +189,10 @@ public static boolean validateFunctionalStatusProblemObservationNonMedicinalSupp FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationFunctionalStatusProblemObservationNonMedicinalSupplyActivity", + "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_PROBLEM_OBSERVATION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -252,6 +260,10 @@ public static boolean validateFunctionalStatusProblemObservationCaregiverCharact FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationFunctionalStatusProblemObservationCaregiverCharacteristics", + "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_PROBLEM_OBSERVATION_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -319,6 +331,10 @@ public static boolean validateFunctionalStatusProblemObservationAssessmentScaleO FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationFunctionalStatusProblemObservationAssessmentScaleObservation", + "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_PROBLEM_OBSERVATION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -535,6 +551,9 @@ public static boolean validateProblemObservationHasTextReference( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationProblemObservationHasTextReference", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -602,6 +621,9 @@ public static boolean validateProblemObservationTextReferenceValue( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationProblemObservationTextReferenceValue", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -669,6 +691,9 @@ public static boolean validateProblemObservationHasTextReferenceValue( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationProblemObservationHasTextReferenceValue", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -736,6 +761,8 @@ public static boolean validateProblemObservationHasOnsetDate( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationHasOnsetDate", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_ONSET_DATE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -803,6 +830,9 @@ public static boolean validateProblemObservationHasResolutionDate( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationProblemObservationHasResolutionDate", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_RESOLUTION_DATE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -870,6 +900,8 @@ public static boolean validateProblemObservationValueNullFlavor( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationValueNullFlavor", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -937,6 +969,8 @@ public static boolean validateProblemObservationTemplateId( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1003,6 +1037,8 @@ public static boolean validateProblemObservationClassCode( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationClassCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1069,6 +1105,8 @@ public static boolean validateProblemObservationMoodCode( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationMoodCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1134,6 +1172,8 @@ public static boolean validateProblemObservationNegationInd( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationNegationInd", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_NEGATION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1200,6 +1240,8 @@ public static boolean validateProblemObservationId( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationId", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1264,6 +1306,8 @@ public static boolean validateProblemObservationCodeP( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationCodeP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1353,6 +1397,8 @@ public static boolean validateProblemObservationCode( return true; } + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationCode", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1417,6 +1463,8 @@ public static boolean validateProblemObservationText( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationText", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1482,6 +1530,8 @@ public static boolean validateProblemObservationStatusCode( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationStatusCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1548,6 +1598,9 @@ public static boolean validateProblemObservationEffectiveTime( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusProblemObservationProblemObservationEffectiveTime", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1615,6 +1668,8 @@ public static boolean validateProblemObservationValueP( FunctionalStatusProblemObservation functionalStatusProblemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationValueP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1704,6 +1759,8 @@ public static boolean validateProblemObservationValue( return true; } + DatatypesUtil.increment(context, "FunctionalStatusProblemObservationProblemObservationValue", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusResultObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusResultObservationOperations.java index 9bb436bca1..cf77f29d5d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusResultObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusResultObservationOperations.java @@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -120,6 +121,9 @@ public static boolean validateFunctionalStatusResultObservationValueDatatype( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationFunctionalStatusResultObservationValueDatatype", "WARNING"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_VALUE_DATATYPE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -187,6 +191,8 @@ public static boolean validateResultObservationCodeP( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -264,6 +270,9 @@ public static boolean validateFunctionalStatusResultObservationAuthor( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationFunctionalStatusResultObservationAuthor", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -331,6 +340,10 @@ public static boolean validateFunctionalStatusResultObservationNonMedicinalSuppl FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationFunctionalStatusResultObservationNonMedicinalSupplyActivity", + "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -398,6 +411,10 @@ public static boolean validateFunctionalStatusResultObservationCaregiverCharacte FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationFunctionalStatusResultObservationCaregiverCharacteristics", + "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -465,6 +482,10 @@ public static boolean validateFunctionalStatusResultObservationAssessmentScaleOb FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationFunctionalStatusResultObservationAssessmentScaleObservation", + "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -532,6 +553,9 @@ public static boolean validateFunctionalStatusResultObservationReferenceRange( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationFunctionalStatusResultObservationReferenceRange", "WARNING"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -599,6 +623,11 @@ public static boolean validateFunctionalStatusResultObservationReferenceRangeObs FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "FunctionalStatusResultObservationFunctionalStatusResultObservationReferenceRangeObservationRangeNoCode", + "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE_NO_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -671,6 +700,10 @@ public static boolean validateFunctionalStatusResultObservationReferenceRangeObs FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationFunctionalStatusResultObservationReferenceRangeObservationRange", + "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -883,6 +916,8 @@ public static boolean validateResultObservationTextReference( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationTextReference", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -949,6 +984,9 @@ public static boolean validateResultObservationTextReferenceValue( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationResultObservationTextReferenceValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1016,6 +1054,8 @@ public static boolean validateResultObservationTemplateId( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationTemplateId", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1081,6 +1121,8 @@ public static boolean validateResultObservationClassCode( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationClassCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1146,6 +1188,8 @@ public static boolean validateResultObservationMoodCode( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationMoodCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1211,6 +1255,8 @@ public static boolean validateResultObservationId( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationId", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1286,6 +1332,8 @@ public static boolean validateResultObservationCode( return true; } + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationCode", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1350,6 +1398,8 @@ public static boolean validateResultObservationText( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationText", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1414,6 +1464,8 @@ public static boolean validateResultObservationStatusCodeP( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationStatusCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1503,6 +1555,8 @@ public static boolean validateResultObservationStatusCode( return true; } + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationStatusCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1568,6 +1622,8 @@ public static boolean validateResultObservationEffectiveTime( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationEffectiveTime", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1634,6 +1690,8 @@ public static boolean validateResultObservationValue( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1698,6 +1756,9 @@ public static boolean validateResultObservationInterpretationCode( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultObservationResultObservationInterpretationCode", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1765,6 +1826,8 @@ public static boolean validateResultObservationMethodCode( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationMethodCode", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1830,6 +1893,8 @@ public static boolean validateResultObservationTargetSiteCode( FunctionalStatusResultObservation functionalStatusResultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultObservationResultObservationTargetSiteCode", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusResultOrganizerOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusResultOrganizerOperations.java index 8dba787e74..75233f7257 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusResultOrganizerOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusResultOrganizerOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,10 @@ public static boolean validateFunctionalStatusResultOrganizerFunctionalStatusRes FunctionalStatusResultOrganizer functionalStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusResultOrganizerFunctionalStatusResultOrganizerFunctionalStatusResultObservation", + "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_RESULT_ORGANIZER_FUNCTIONAL_STATUS_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -218,6 +223,8 @@ public static boolean validateResultOrganizerCodeValue( FunctionalStatusResultOrganizer functionalStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultOrganizerResultOrganizerCodeValue", "WARNING"); + if (VALIDATE_RESULT_ORGANIZER_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -283,6 +290,8 @@ public static boolean validateResultOrganizerTemplateId( FunctionalStatusResultOrganizer functionalStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultOrganizerResultOrganizerTemplateId", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -348,6 +357,8 @@ public static boolean validateResultOrganizerClassCode( FunctionalStatusResultOrganizer functionalStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultOrganizerResultOrganizerClassCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -413,6 +424,8 @@ public static boolean validateResultOrganizerMoodCode( FunctionalStatusResultOrganizer functionalStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultOrganizerResultOrganizerMoodCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -477,6 +490,8 @@ public static boolean validateResultOrganizerMoodCode( public static boolean validateResultOrganizerId(FunctionalStatusResultOrganizer functionalStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultOrganizerResultOrganizerId", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -540,6 +555,8 @@ public static boolean validateResultOrganizerId(FunctionalStatusResultOrganizer public static boolean validateResultOrganizerCode(FunctionalStatusResultOrganizer functionalStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultOrganizerResultOrganizerCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -604,6 +621,8 @@ public static boolean validateResultOrganizerStatusCodeP( FunctionalStatusResultOrganizer functionalStatusResultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusResultOrganizerResultOrganizerStatusCodeP", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -692,6 +711,8 @@ public static boolean validateResultOrganizerStatusCode( return true; } + DatatypesUtil.increment(context, "FunctionalStatusResultOrganizerResultOrganizerStatusCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusSection2Operations.java index 8785040666..310feec79a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -119,6 +120,8 @@ protected FunctionalStatusSection2Operations() { public static boolean validateFunctionalStatusSection2TemplateId(FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusSection2FunctionalStatusSection2TemplateId", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +166,8 @@ public static boolean validateFunctionalStatusSection2TemplateId(FunctionalStatu public static boolean validateFunctionalStatusSectionCodeP(FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusSection2FunctionalStatusSectionCodeP", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -220,6 +225,8 @@ public static boolean validateFunctionalStatusSection2SelfCareActivities( FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusSection2FunctionalStatusSection2SelfCareActivities", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION2_SELF_CARE_ACTIVITIES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -266,6 +273,9 @@ public static boolean validateFunctionalStatusSection2SensoryAndSpeechStatus( FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSection2FunctionalStatusSection2SensoryAndSpeechStatus", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION2_SENSORY_AND_SPEECH_STATUS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -850,6 +860,8 @@ public static boolean validateFunctionalStatusSectionCode(FunctionalStatusSectio return true; } + DatatypesUtil.increment(context, "FunctionalStatusSection2FunctionalStatusSectionCode", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -915,6 +927,9 @@ public static boolean validateFunctionalStatusSectionFunctionalStatusResultOrgan FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSection2FunctionalStatusSectionFunctionalStatusResultOrganizer", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_FUNCTIONAL_STATUS_RESULT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -982,6 +997,9 @@ public static boolean validateFunctionalStatusSectionFunctionalStatusResultObser FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSection2FunctionalStatusSectionFunctionalStatusResultObservation", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_FUNCTIONAL_STATUS_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1049,6 +1067,9 @@ public static boolean validateFunctionalStatusSectionCognitiveStatusResultOrgani FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSection2FunctionalStatusSectionCognitiveStatusResultOrganizer", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_COGNITIVE_STATUS_RESULT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1116,6 +1137,9 @@ public static boolean validateFunctionalStatusSectionCognitiveStatusResultObserv FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSection2FunctionalStatusSectionCognitiveStatusResultObservation", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_COGNITIVE_STATUS_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1183,6 +1207,9 @@ public static boolean validateFunctionalStatusSectionNonMedicinalSupplyActivity( FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSection2FunctionalStatusSectionNonMedicinalSupplyActivity", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1250,6 +1277,9 @@ public static boolean validateFunctionalStatusSectionNumberOfPressureUlcersObser FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSection2FunctionalStatusSectionNumberOfPressureUlcersObservation", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1317,6 +1347,9 @@ public static boolean validateFunctionalStatusSectionHighestPressureUlcerStage( FunctionalStatusSection2 functionalStatusSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSection2FunctionalStatusSectionHighestPressureUlcerStage", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_HIGHEST_PRESSURE_ULCER_STAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusSectionOperations.java index 6cb8c975c3..0ef402dd51 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/FunctionalStatusSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -134,6 +135,8 @@ protected FunctionalStatusSectionOperations() { public static boolean validateFunctionalStatusSectionTemplateId(FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusSectionFunctionalStatusSectionTemplateId", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -201,6 +204,8 @@ public static boolean validateFunctionalStatusSectionTemplateId(FunctionalStatus public static boolean validateFunctionalStatusSectionCode(FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusSectionFunctionalStatusSectionCode", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -265,6 +270,8 @@ public static boolean validateFunctionalStatusSectionCode(FunctionalStatusSectio public static boolean validateFunctionalStatusSectionTitle(FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusSectionFunctionalStatusSectionTitle", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -329,6 +336,8 @@ public static boolean validateFunctionalStatusSectionTitle(FunctionalStatusSecti public static boolean validateFunctionalStatusSectionText(FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "FunctionalStatusSectionFunctionalStatusSectionText", "ERROR"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -393,6 +402,9 @@ public static boolean validateFunctionalStatusSectionText(FunctionalStatusSectio public static boolean validateFunctionalStatusSectionFunctionalStatusResultOrganizer( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionFunctionalStatusResultOrganizer", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_FUNCTIONAL_STATUS_RESULT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -459,6 +471,9 @@ public static boolean validateFunctionalStatusSectionFunctionalStatusResultOrgan public static boolean validateFunctionalStatusSectionCognitiveStatusResultOrganizer( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionCognitiveStatusResultOrganizer", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_COGNITIVE_STATUS_RESULT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -525,6 +540,9 @@ public static boolean validateFunctionalStatusSectionCognitiveStatusResultOrgani public static boolean validateFunctionalStatusSectionFunctionalStatusResultObservation( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionFunctionalStatusResultObservation", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_FUNCTIONAL_STATUS_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -591,6 +609,9 @@ public static boolean validateFunctionalStatusSectionFunctionalStatusResultObser public static boolean validateFunctionalStatusSectionCognitiveStatusResultObservation( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionCognitiveStatusResultObservation", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_COGNITIVE_STATUS_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -657,6 +678,9 @@ public static boolean validateFunctionalStatusSectionCognitiveStatusResultObserv public static boolean validateFunctionalStatusSectionFunctionalStatusProblemObservation( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionFunctionalStatusProblemObservation", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_FUNCTIONAL_STATUS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -723,6 +747,9 @@ public static boolean validateFunctionalStatusSectionFunctionalStatusProblemObse public static boolean validateFunctionalStatusSectionCognitiveStatusProblemObservation( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionCognitiveStatusProblemObservation", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_COGNITIVE_STATUS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -789,6 +816,9 @@ public static boolean validateFunctionalStatusSectionCognitiveStatusProblemObser public static boolean validateFunctionalStatusSectionCaregiverCharacteristics( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionCaregiverCharacteristics", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -855,6 +885,9 @@ public static boolean validateFunctionalStatusSectionCaregiverCharacteristics( public static boolean validateFunctionalStatusSectionAssessmentScaleObservation( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionAssessmentScaleObservation", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -921,6 +954,9 @@ public static boolean validateFunctionalStatusSectionAssessmentScaleObservation( public static boolean validateFunctionalStatusSectionNonMedicinalSupplyActivity( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionNonMedicinalSupplyActivity", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -987,6 +1023,9 @@ public static boolean validateFunctionalStatusSectionNonMedicinalSupplyActivity( public static boolean validateFunctionalStatusSectionPressureUlcerObservation( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionPressureUlcerObservation", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_PRESSURE_ULCER_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1053,6 +1092,9 @@ public static boolean validateFunctionalStatusSectionPressureUlcerObservation( public static boolean validateFunctionalStatusSectionNumberOfPressureUlcersObservation( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionNumberOfPressureUlcersObservation", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1119,6 +1161,9 @@ public static boolean validateFunctionalStatusSectionNumberOfPressureUlcersObser public static boolean validateFunctionalStatusSectionHighestPressureUlcerStage( FunctionalStatusSection functionalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "FunctionalStatusSectionFunctionalStatusSectionHighestPressureUlcerStage", "INFO"); + if (VALIDATE_FUNCTIONAL_STATUS_SECTION_HIGHEST_PRESSURE_ULCER_STAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GeneralHeaderConstraintsOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GeneralHeaderConstraintsOperations.java index 1fd8598de5..074b56b707 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GeneralHeaderConstraintsOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GeneralHeaderConstraintsOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalDocumentOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -386,6 +387,8 @@ protected GeneralHeaderConstraintsOperations() { public static boolean validateGeneralHeaderConstraintsTypeIdRoot(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsTypeIdRoot", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TYPE_ID_ROOT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -452,6 +455,8 @@ public static boolean validateGeneralHeaderConstraintsTypeIdExtension( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsTypeIdExtension", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TYPE_ID_EXTENSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -519,6 +524,8 @@ public static boolean validateGeneralHeaderConstraintsSetIdVersionNumber( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsSetIdVersionNumber", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_SET_ID_VERSION_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -586,6 +593,8 @@ public static boolean validateGeneralHeaderConstraintsVersionNumberSetId( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsVersionNumberSetId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_VERSION_NUMBER_SET_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -652,6 +661,8 @@ public static boolean validateGeneralHeaderConstraintsVersionNumberSetId( public static boolean validateGeneralHeaderConstraintsTemplateId(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -718,6 +729,8 @@ public static boolean validateGeneralHeaderConstraintsTemplateId(GeneralHeaderCo public static boolean validateGeneralHeaderConstraintsRealmCode(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRealmCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_REALM_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -783,6 +796,8 @@ public static boolean validateGeneralHeaderConstraintsRealmCode(GeneralHeaderCon public static boolean validateGeneralHeaderConstraintsTypeId(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsTypeId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TYPE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -848,6 +863,8 @@ public static boolean validateGeneralHeaderConstraintsTypeId(GeneralHeaderConstr public static boolean validateGeneralHeaderConstraintsId(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -912,6 +929,8 @@ public static boolean validateGeneralHeaderConstraintsId(GeneralHeaderConstraint public static boolean validateGeneralHeaderConstraintsCode(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -976,6 +995,8 @@ public static boolean validateGeneralHeaderConstraintsCode(GeneralHeaderConstrai public static boolean validateGeneralHeaderConstraintsTitle(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsTitle", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1041,6 +1062,8 @@ public static boolean validateGeneralHeaderConstraintsEffectiveTime( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsEffectiveTime", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1108,6 +1131,9 @@ public static boolean validateGeneralHeaderConstraintsConfidentialityCodeP( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsConfidentialityCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CONFIDENTIALITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1200,6 +1226,9 @@ public static boolean validateGeneralHeaderConstraintsConfidentialityCode( return true; } + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsConfidentialityCode", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CONFIDENTIALITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1269,6 +1298,8 @@ public static boolean validateGeneralHeaderConstraintsLanguageCode( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLanguageCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LANGUAGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1335,6 +1366,8 @@ public static boolean validateGeneralHeaderConstraintsLanguageCodeP( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLanguageCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LANGUAGE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1401,6 +1434,8 @@ public static boolean validateGeneralHeaderConstraintsLanguageCodeP( public static boolean validateGeneralHeaderConstraintsSetId(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsSetId", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_SET_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1466,6 +1501,8 @@ public static boolean validateGeneralHeaderConstraintsVersionNumber( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsVersionNumber", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_VERSION_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1532,6 +1569,8 @@ public static boolean validateGeneralHeaderConstraintsVersionNumber( public static boolean validateGeneralHeaderConstraintsAuthor(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthor", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1596,6 +1635,8 @@ public static boolean validateGeneralHeaderConstraintsAuthor(GeneralHeaderConstr public static boolean validateGeneralHeaderConstraintsDataEnterer(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEnterer", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1661,6 +1702,8 @@ public static boolean validateGeneralHeaderConstraintsDataEnterer(GeneralHeaderC public static boolean validateGeneralHeaderConstraintsCustodian(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodian", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1727,6 +1770,9 @@ public static boolean validateGeneralHeaderConstraintsInformationRecipient( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformationRecipient", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1794,6 +1840,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticator( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticator", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1861,6 +1910,8 @@ public static boolean validateGeneralHeaderConstraintsAuthenticator( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticator", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1928,6 +1979,8 @@ public static boolean validateGeneralHeaderConstraintsRecordTarget( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTarget", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1993,6 +2046,8 @@ public static boolean validateGeneralHeaderConstraintsRecordTarget( public static boolean validateGeneralHeaderConstraintsComponentOf(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsComponentOf", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2058,6 +2113,8 @@ public static boolean validateGeneralHeaderConstraintsComponentOf(GeneralHeaderC public static boolean validateGeneralHeaderConstraintsInformant(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformant", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2124,6 +2181,8 @@ public static boolean validateGeneralHeaderConstraintsSupportParticipant( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsSupportParticipant", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_SUPPORT_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2191,6 +2250,8 @@ public static boolean validateGeneralHeaderConstraintsInFulfillmentOf( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInFulfillmentOf", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2258,6 +2319,8 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOf( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOf", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2325,6 +2388,8 @@ public static boolean validateGeneralHeaderConstraintsAuthorization( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorization", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHORIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2392,6 +2457,9 @@ public static boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreci GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheDayTS", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DTM_PRECISE_TO_THE_DAY_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2464,6 +2532,10 @@ public static boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreci GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheMinuteTS", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DTM_PRECISE_TO_THE_MINUTE_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2536,6 +2608,10 @@ public static boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreci GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheSecondTS", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DTM_PRECISE_TO_THE_SECOND_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2608,6 +2684,11 @@ public static boolean validateGeneralHeaderConstraintsUSRealmDateAndTimeDTMIfMor GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsUSRealmDateAndTimeDTMIfMorePreciseThanDayIncludeTimeZoneOffsetTS", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DTM_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2680,6 +2761,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2752,6 +2838,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2824,6 +2915,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2875,6 +2971,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2970,6 +3071,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3042,6 +3148,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3114,6 +3225,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3186,6 +3302,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3258,6 +3379,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3330,6 +3456,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3402,6 +3533,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleTEL GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleTELUse", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3453,6 +3587,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToYear", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_TS_BIRTH_TIME_PRECISE_TO_YEAR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3504,6 +3643,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToDay", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_TS_BIRTH_TIME_PRECISE_TO_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3555,6 +3699,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientTSValue", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_TS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3627,6 +3774,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUSRealmPatientNameMixedContent", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GENERAL_HEADER_CONSTRAINTS_US_REALM_PATIENT_NAME_US_REALM_PATIENT_NAME_MIXED_CONTENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3678,6 +3830,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameFamily", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GENERAL_HEADER_CONSTRAINTS_US_REALM_PATIENT_NAME_FAMILY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3729,6 +3886,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameGiven", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GENERAL_HEADER_CONSTRAINTS_US_REALM_PATIENT_NAME_GIVEN__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3780,6 +3942,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNamePrefix", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GENERAL_HEADER_CONSTRAINTS_US_REALM_PATIENT_NAME_PREFIX__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3831,6 +3998,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameSuffix", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GENERAL_HEADER_CONSTRAINTS_US_REALM_PATIENT_NAME_SUFFIX__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3882,6 +4054,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUseP", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GENERAL_HEADER_CONSTRAINTS_US_REALM_PATIENT_NAME_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4124,6 +4301,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGeneralHeaderConstraintsUSRealmPatientNameUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GENERAL_HEADER_CONSTRAINTS_US_REALM_PATIENT_NAME_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4196,6 +4378,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4268,6 +4455,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4340,6 +4532,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4391,6 +4588,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4486,6 +4688,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4558,6 +4765,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4630,6 +4842,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4702,6 +4919,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4774,6 +4996,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4846,6 +5073,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4918,6 +5150,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTELUse", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4990,6 +5226,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianPersonName", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5064,6 +5304,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCodeFromPersonalRelationshipOrResponsibleParty", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_CODE_FROM_PERSONAL_RELATIONSHIP_OR_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5115,6 +5360,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianAddr", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5208,6 +5457,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5280,6 +5533,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTelecom", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5352,6 +5609,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianGuardianPerson", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_GUARDIAN_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5424,6 +5686,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlaceHasState", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTHPLACE_PLACE_HAS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5496,6 +5763,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlaceAddr", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTHPLACE_PLACE_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5568,6 +5840,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlace", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTHPLACE_PLACE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5619,6 +5895,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationPreferenceInd", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_PREFERENCE_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5670,6 +5951,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationProficiencyLevelCodeP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_PROFICIENCY_LEVEL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5735,6 +6021,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationProficiencyLevelCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_PROFICIENCY_LEVEL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5796,6 +6087,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationModeCodeP", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_MODE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5861,6 +6157,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationModeCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_MODE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5945,6 +6246,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_LANGUAGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6126,6 +6432,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCodeP", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_LANGUAGE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6198,6 +6509,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientIfSdtcEnforceRaceCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_IF_SDTC_ENFORCE_RACE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6249,6 +6565,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientAdministrativeGenderCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_ADMINISTRATIVE_GENDER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6300,6 +6621,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthTime", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTH_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6351,6 +6676,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCodeP", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_ETHNIC_GROUP_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6416,6 +6745,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_ETHNIC_GROUP_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6477,6 +6810,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientMaritalStatusCodeP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_MARITAL_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6542,6 +6879,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientMaritalStatusCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_MARITAL_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6624,6 +6965,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientName", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6763,6 +7107,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCodeP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_RACE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6828,6 +7176,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_RACE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6910,6 +7261,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientReligiousAffiliationCodeP", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_RELIGIOUS_AFFILIATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7042,6 +7398,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientReligiousAffiliationCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_RELIGIOUS_AFFILIATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7124,6 +7485,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientSDTCRaceCodeP", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_SDTC_RACE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7256,6 +7621,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientSDTCRaceCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_SDTC_RACE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7338,6 +7707,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardian", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7410,6 +7782,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTHPLACE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7482,6 +7858,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunication", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7533,6 +7914,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7584,6 +7970,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7635,6 +8026,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7686,6 +8082,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7737,6 +8138,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7788,6 +8194,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7839,6 +8250,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7890,6 +8306,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7941,6 +8362,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -7992,6 +8418,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8276,6 +8707,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationTELUse", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8348,6 +8784,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8399,6 +8840,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationAddr", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8471,6 +8916,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationId", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8543,6 +8992,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationName", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8636,6 +9089,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganizationTelecom", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8687,6 +9145,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleAdd GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleAddr", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8780,6 +9241,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleId( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8852,6 +9316,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRoleTel GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleTelecom", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8924,6 +9391,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRolePatient", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -8996,6 +9466,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePro GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRoleProviderOrganization", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9068,6 +9542,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRole( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsRecordTargetPatientRole", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9119,6 +9596,10 @@ public static boolean validateGeneralHeaderConstraintsComponentOfEncompassingEnc GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsComponentOfEncompassingEncounterEffectiveTime", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9212,6 +9693,9 @@ public static boolean validateGeneralHeaderConstraintsComponentOfEncompassingEnc GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsComponentOfEncompassingEncounterId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9284,6 +9768,9 @@ public static boolean validateGeneralHeaderConstraintsComponentOfEncompassingEnc GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9356,6 +9843,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstra GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheDayTS", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DTM_PRECISE_TO_THE_DAY_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9428,6 +9920,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstra GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheMinuteTS", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DTM_PRECISE_TO_THE_MINUTE_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9500,6 +9997,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstra GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMPreciseToTheSecondTS", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DTM_PRECISE_TO_THE_SECOND_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9572,6 +10074,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorGeneralHeaderConstra GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorGeneralHeaderConstraintsUSRealmDateAndTimeDTMIfMorePreciseThanDayIncludeTimeZoneOffsetTS", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DTM_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9644,6 +10151,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9716,6 +10228,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9788,6 +10305,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9839,6 +10361,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -9934,6 +10461,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10006,6 +10538,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10078,6 +10615,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10150,6 +10692,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10222,6 +10769,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10294,6 +10846,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorGenera GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10366,6 +10923,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorTELUse GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorTELUse", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10438,6 +10998,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAuthor GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorAuthoringDeviceManufacturerModelName", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_AUTHORING_DEVICE_MANUFACTURER_MODEL_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10510,6 +11075,10 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAuthor GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorAuthoringDeviceSoftwareName", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_AUTHORING_DEVICE_SOFTWARE_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10582,6 +11151,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorPerson GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorPersonName", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10654,6 +11226,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorHasOne GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorHasOneAssignedPersonOrOneAssignedAuthoringDevice", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_HAS_ONE_ASSIGNED_PERSON_OR_ONE_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10726,6 +11303,11 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorHasNat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10777,6 +11359,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorAddr( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorAddr", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10828,6 +11413,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCodeP( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorCodeP", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -10893,6 +11481,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCode( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorCode", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11040,6 +11631,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorId( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11112,6 +11706,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorTeleco GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthorTelecom", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11183,6 +11780,8 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorTeleco public static boolean validateGeneralHeaderConstraintsAuthorTime(GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorTime", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11255,6 +11854,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthor( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorAssignedAuthor", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11327,6 +11929,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11399,6 +12006,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11471,6 +12083,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11522,6 +12139,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11617,6 +12239,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11689,6 +12316,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11761,6 +12393,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11833,6 +12470,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11905,6 +12547,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -11977,6 +12624,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityG GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12049,6 +12701,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityT GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityTELUse", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12121,6 +12776,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityP GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityPersonName", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12193,6 +12851,11 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityH GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12244,6 +12907,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityA GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityAddr", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12295,6 +12961,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityC GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityCodeP", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12360,6 +13029,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityC GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityCode", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12507,6 +13179,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityI GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12579,6 +13254,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityT GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityTelecom", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12651,6 +13329,10 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityA GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntityAssignedPerson", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12723,6 +13405,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntity( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDataEntererAssignedEntity", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12774,6 +13459,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12825,6 +13515,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12876,6 +13571,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12927,6 +13627,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -12978,6 +13683,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13029,6 +13739,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13080,6 +13795,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13131,6 +13851,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13182,6 +13907,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13233,6 +13963,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13517,6 +14252,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationTELUse", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13589,6 +14329,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13640,6 +14385,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationAddr", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13712,6 +14462,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationId", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13784,6 +14539,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationName", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13877,6 +14637,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianCustodianOrganizationTelecom", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_CUSTODIAN_ORGANIZATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -13949,6 +14714,11 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodianRepresentedCustodianOrganization", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN_REPRESENTED_CUSTODIAN_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14021,6 +14791,9 @@ public static boolean validateGeneralHeaderConstraintsCustodianAssignedCustodian GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsCustodianAssignedCustodian", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN_ASSIGNED_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14093,6 +14866,10 @@ public static boolean validateGeneralHeaderConstraintsInformationRecipientIntend GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformationRecipientIntendedRecipientPersonName", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14165,6 +14942,11 @@ public static boolean validateGeneralHeaderConstraintsInformationRecipientIntend GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformationRecipientIntendedRecipientOrganizationName", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14237,6 +15019,11 @@ public static boolean validateGeneralHeaderConstraintsInformationRecipientIntend GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformationRecipientIntendedRecipientInformationRecipient", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14309,6 +15096,11 @@ public static boolean validateGeneralHeaderConstraintsInformationRecipientIntend GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformationRecipientIntendedRecipientRecievedOrganization", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_RECIEVED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14381,6 +15173,9 @@ public static boolean validateGeneralHeaderConstraintsInformationRecipientIntend GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformationRecipientIntendedRecipient", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMATION_RECIPIENT_INTENDED_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14453,6 +15248,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14525,6 +15325,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14597,6 +15402,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14648,6 +15458,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14743,6 +15558,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14815,6 +15635,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14887,6 +15712,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -14959,6 +15789,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15031,6 +15866,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15103,6 +15943,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15175,6 +16020,10 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityTELUse", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15247,6 +16096,10 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityPersonName", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15319,6 +16172,11 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityHasNationalProviderIdentifier", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15370,6 +16228,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityAddr", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15421,6 +16282,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityCodeP", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15486,6 +16350,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityCode", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15633,6 +16500,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15705,6 +16575,10 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityTelecom", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15777,6 +16651,10 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntityAssignedPerson", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15849,6 +16727,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorTime( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorTime", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -15921,6 +16802,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorSignatur GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorSignatureCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_SIGNATURE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16008,6 +16892,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorSignatur GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorSignatureCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_SIGNATURE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16090,6 +16977,9 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticatorAssigned GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsLegalAuthenticatorAssignedEntity", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16162,6 +17052,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16234,6 +17129,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16306,6 +17206,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16357,6 +17262,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16452,6 +17362,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16524,6 +17439,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16596,6 +17516,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16668,6 +17593,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16740,6 +17670,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16812,6 +17747,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16884,6 +17824,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityTELUse", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -16956,6 +17899,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityPersonName", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17028,6 +17974,11 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17079,6 +18030,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityAddr", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17130,6 +18084,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityCodeP", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17195,6 +18152,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityCode", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17342,6 +18302,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17414,6 +18377,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityTelecom", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17486,6 +18452,10 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntityAssignedPerson", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17558,6 +18528,8 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorTime( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorTime", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17630,6 +18602,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorSignatureCode GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorSignatureCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_SIGNATURE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17717,6 +18692,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorSignatureCode GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorSignatureCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_SIGNATURE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17799,6 +18777,9 @@ public static boolean validateGeneralHeaderConstraintsAuthenticatorAssignedEntit GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthenticatorAssignedEntity", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17871,6 +18852,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -17943,6 +18929,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18015,6 +19006,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18066,6 +19062,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18161,6 +19162,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18233,6 +19239,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18305,6 +19316,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18377,6 +19393,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18449,6 +19470,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18521,6 +19547,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityGen GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18593,6 +19624,9 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityPer GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityPersonName", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18665,6 +19699,11 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityHas GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18716,6 +19755,9 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityAdd GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityAddr", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18767,6 +19809,9 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityCod GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityCodeP", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18832,6 +19877,9 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityCod GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityCode", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -18979,6 +20027,9 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityId( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19051,6 +20102,9 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityAss GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantAssignedEntityAssignedPerson", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19123,6 +20177,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19195,6 +20254,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19267,6 +20331,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19318,6 +20387,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19413,6 +20487,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19485,6 +20564,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19557,6 +20641,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19629,6 +20718,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19701,6 +20795,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19773,6 +20872,11 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityGene GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19845,6 +20949,9 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityAddr GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityAddr", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19917,6 +21024,9 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityPers GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantRelatedEntityPerson", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -19989,6 +21099,10 @@ public static boolean validateGeneralHeaderConstraintsInformantHasAssignedEntity GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInformantHasAssignedEntityOrRelatedEntity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_HAS_ASSIGNED_ENTITY_OR_RELATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20061,6 +21175,11 @@ public static boolean validateGeneralHeaderConstraintsParticipantSupportAssociat GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsParticipantSupportAssociatedEntityHasAssociatedPersonOrScopingOrganization", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_PARTICIPANT_SUPPORT_ASSOCIATED_ENTITY_HAS_ASSOCIATED_PERSON_OR_SCOPING_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20133,6 +21252,9 @@ public static boolean validateGeneralHeaderConstraintsParticipantSupportTime( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsParticipantSupportTime", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_PARTICIPANT_SUPPORT_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20205,6 +21327,9 @@ public static boolean validateGeneralHeaderConstraintsInFulfillmentOfOrderId( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInFulfillmentOfOrderId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_IN_FULFILLMENT_OF_ORDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20277,6 +21402,9 @@ public static boolean validateGeneralHeaderConstraintsInFulfillmentOfOrder( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsInFulfillmentOfOrder", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_IN_FULFILLMENT_OF_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20349,6 +21477,11 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityHasNationalProviderIdentifier", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_IDENTIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20400,6 +21533,11 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCodeP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20465,6 +21603,11 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20591,6 +21734,11 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityId", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20642,6 +21790,11 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCodeP", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_FUNCTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20707,6 +21860,11 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_FUNCTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20833,6 +21991,10 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1TypeCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20905,6 +22067,11 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -20977,6 +22144,10 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventEffectiveTimeLow", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -21049,6 +22220,10 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventEffectiveTime", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -21121,6 +22296,9 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEventPerformer", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -21193,6 +22371,9 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsDocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -21244,6 +22425,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorizationConsentCode( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorizationConsentCode", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHORIZATION_CONSENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -21337,6 +22521,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorizationConsentId( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorizationConsentId", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHORIZATION_CONSENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -21409,6 +22596,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorizationConsentStatus GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorizationConsentStatusCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHORIZATION_CONSENT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -21496,6 +22686,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorizationConsentStatus GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorizationConsentStatusCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHORIZATION_CONSENT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -21578,6 +22771,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorizationConsent( GeneralHeaderConstraints generalHeaderConstraints, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "GeneralHeaderConstraintsGeneralHeaderConstraintsAuthorizationConsent", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHORIZATION_CONSENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GeneralStatusSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GeneralStatusSectionOperations.java index be67407f02..0d991b1fe3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GeneralStatusSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GeneralStatusSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected GeneralStatusSectionOperations() { public static boolean validateGeneralStatusSectionTemplateId(GeneralStatusSection generalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralStatusSectionGeneralStatusSectionTemplateId", "ERROR"); + if (VALIDATE_GENERAL_STATUS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateGeneralStatusSectionTemplateId(GeneralStatusSectio public static boolean validateGeneralStatusSectionCode(GeneralStatusSection generalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralStatusSectionGeneralStatusSectionCode", "ERROR"); + if (VALIDATE_GENERAL_STATUS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateGeneralStatusSectionCode(GeneralStatusSection gene public static boolean validateGeneralStatusSectionCodeP(GeneralStatusSection generalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralStatusSectionGeneralStatusSectionCodeP", "ERROR"); + if (VALIDATE_GENERAL_STATUS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validateGeneralStatusSectionCodeP(GeneralStatusSection gen public static boolean validateGeneralStatusSectionTitle(GeneralStatusSection generalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralStatusSectionGeneralStatusSectionTitle", "ERROR"); + if (VALIDATE_GENERAL_STATUS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -350,6 +359,8 @@ public static boolean validateGeneralStatusSectionTitle(GeneralStatusSection gen public static boolean validateGeneralStatusSectionText(GeneralStatusSection generalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GeneralStatusSectionGeneralStatusSectionText", "ERROR"); + if (VALIDATE_GENERAL_STATUS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GoalObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GoalObservationOperations.java index 38b17c0385..248907966c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GoalObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GoalObservationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -118,6 +119,8 @@ protected GoalObservationOperations() { public static boolean validateGoalObservationTemplateId(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationTemplateId", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -181,6 +184,8 @@ public static boolean validateGoalObservationTemplateId(GoalObservation goalObse public static boolean validateGoalObservationClassCode(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationClassCode", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -244,6 +249,8 @@ public static boolean validateGoalObservationClassCode(GoalObservation goalObser public static boolean validateGoalObservationMoodCode(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationMoodCode", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -307,6 +314,8 @@ public static boolean validateGoalObservationMoodCode(GoalObservation goalObserv public static boolean validateGoalObservationId(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationId", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -370,6 +379,8 @@ public static boolean validateGoalObservationId(GoalObservation goalObservation, public static boolean validateGoalObservationCodeP(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationCodeP", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -456,6 +467,8 @@ public static boolean validateGoalObservationCode(GoalObservation goalObservatio return true; } + DatatypesUtil.increment(context, "GoalObservationGoalObservationCode", "WARNING"); + if (VALIDATE_GOAL_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -520,6 +533,8 @@ public static boolean validateGoalObservationCode(GoalObservation goalObservatio public static boolean validateGoalObservationStatusCode(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationStatusCode", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -583,6 +598,8 @@ public static boolean validateGoalObservationStatusCode(GoalObservation goalObse public static boolean validateGoalObservationStatusCodeP(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationStatusCodeP", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -646,6 +663,8 @@ public static boolean validateGoalObservationStatusCodeP(GoalObservation goalObs public static boolean validateGoalObservationEffectiveTime(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationEffectiveTime", "WARNING"); + if (VALIDATE_GOAL_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -709,6 +728,8 @@ public static boolean validateGoalObservationEffectiveTime(GoalObservation goalO public static boolean validateGoalObservationValue(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationValue", "INFO"); + if (VALIDATE_GOAL_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -772,6 +793,8 @@ public static boolean validateGoalObservationValue(GoalObservation goalObservati public static boolean validateGoalObservationGoalObservation(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationGoalObservation", "INFO"); + if (VALIDATE_GOAL_OBSERVATION_GOAL_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -835,6 +858,8 @@ public static boolean validateGoalObservationGoalObservation(GoalObservation goa public static boolean validateGoalObservationActReferenceER(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationActReferenceER", "INFO"); + if (VALIDATE_GOAL_OBSERVATION_ACT_REFERENCE_ER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -898,6 +923,8 @@ public static boolean validateGoalObservationActReferenceER(GoalObservation goal public static boolean validateGoalObservationAuthorParticipation(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationAuthorParticipation", "WARNING"); + if (VALIDATE_GOAL_OBSERVATION_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -963,6 +990,8 @@ public static boolean validateGoalObservationAuthorParticipation(GoalObservation public static boolean validateGoalObservationHealthConcernActER(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationHealthConcernActER", "INFO"); + if (VALIDATE_GOAL_OBSERVATION_HEALTH_CONCERN_ACT_ER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1028,6 +1057,8 @@ public static boolean validateGoalObservationHealthConcernActER(GoalObservation public static boolean validateGoalObservationPriorityPreference(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationPriorityPreference", "WARNING"); + if (VALIDATE_GOAL_OBSERVATION_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1093,6 +1124,8 @@ public static boolean validateGoalObservationPriorityPreference(GoalObservation public static boolean validateGoalObservationPlannedERs(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationPlannedERs", "INFO"); + if (VALIDATE_GOAL_OBSERVATION_PLANNED_ERS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1156,6 +1189,8 @@ public static boolean validateGoalObservationPlannedERs(GoalObservation goalObse public static boolean validateGoalObservationReference(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationReference", "INFO"); + if (VALIDATE_GOAL_OBSERVATION_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1219,6 +1254,8 @@ public static boolean validateGoalObservationReference(GoalObservation goalObser public static boolean validateGoalObservationReferenceTypeCode(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationReferenceTypeCode", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1289,6 +1326,8 @@ public static boolean validateGoalObservationReferenceTypeCode(GoalObservation g public static boolean validateGoalObservationReferenceExternalDocumentReference(GoalObservation goalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalObservationGoalObservationReferenceExternalDocumentReference", "ERROR"); + if (VALIDATE_GOAL_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GoalsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GoalsSectionOperations.java index c0e079f0d4..f652de6b61 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GoalsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/GoalsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -99,6 +100,8 @@ protected GoalsSectionOperations() { public static boolean validateGoalsSectionTemplateId(GoalsSection goalsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalsSectionGoalsSectionTemplateId", "ERROR"); + if (VALIDATE_GOALS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateGoalsSectionTemplateId(GoalsSection goalsSection, public static boolean validateGoalsSectionNullFlavor(GoalsSection goalsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalsSectionGoalsSectionNullFlavor", "INFO"); + if (VALIDATE_GOALS_SECTION_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -227,6 +232,8 @@ public static boolean validateGoalsSectionNullFlavor(GoalsSection goalsSection, public static boolean validateGoalsSectionCode(GoalsSection goalsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalsSectionGoalsSectionCode", "ERROR"); + if (VALIDATE_GOALS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -290,6 +297,8 @@ public static boolean validateGoalsSectionCode(GoalsSection goalsSection, Diagno public static boolean validateGoalsSectionCodeP(GoalsSection goalsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalsSectionGoalsSectionCodeP", "ERROR"); + if (VALIDATE_GOALS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +362,8 @@ public static boolean validateGoalsSectionCodeP(GoalsSection goalsSection, Diagn public static boolean validateGoalsSectionTitle(GoalsSection goalsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalsSectionGoalsSectionTitle", "ERROR"); + if (VALIDATE_GOALS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -416,6 +427,8 @@ public static boolean validateGoalsSectionTitle(GoalsSection goalsSection, Diagn public static boolean validateGoalsSectionText(GoalsSection goalsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalsSectionGoalsSectionText", "ERROR"); + if (VALIDATE_GOALS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -479,6 +492,8 @@ public static boolean validateGoalsSectionText(GoalsSection goalsSection, Diagno public static boolean validateGoalsSectionGoalObservation(GoalsSection goalsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "GoalsSectionGoalsSectionGoalObservation", "ERROR"); + if (VALIDATE_GOALS_SECTION_GOAL_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HandoffCommunicationParticipantsOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HandoffCommunicationParticipantsOperations.java index 3812d977fe..e67b6985d5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HandoffCommunicationParticipantsOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HandoffCommunicationParticipantsOperations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -106,6 +107,9 @@ public static boolean validateHandoffCommunicationParticipantsTemplateId( HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsTemplateId", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +177,9 @@ public static boolean validateHandoffCommunicationParticipantsClassCode( HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsClassCode", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -240,6 +247,9 @@ public static boolean validateHandoffCommunicationParticipantsMoodCode( HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsMoodCode", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -307,6 +317,9 @@ public static boolean validateHandoffCommunicationParticipantsCodeP( HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsCodeP", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -399,6 +412,9 @@ public static boolean validateHandoffCommunicationParticipantsCode( return true; } + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsCode", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -467,6 +483,9 @@ public static boolean validateHandoffCommunicationParticipantsStatusCode( HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsStatusCode", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -534,6 +553,9 @@ public static boolean validateHandoffCommunicationParticipantsStatusCodeP( HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsStatusCodeP", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -601,6 +623,9 @@ public static boolean validateHandoffCommunicationParticipantsEffectiveTime( HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsEffectiveTime", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -668,6 +693,9 @@ public static boolean validateHandoffCommunicationParticipantsParticipant( HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipant", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -735,6 +763,9 @@ public static boolean validateHandoffCommunicationParticipantsAuthorParticipatio HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsAuthorParticipation", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -802,6 +833,11 @@ public static boolean validateHandoffCommunicationParticipantsParticipantPartici HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipantParticipantRolePlayingEntityName", + "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -874,6 +910,10 @@ public static boolean validateHandoffCommunicationParticipantsParticipantPartici HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipantParticipantRoleId", + "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT_PARTICIPANT_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -946,6 +986,10 @@ public static boolean validateHandoffCommunicationParticipantsParticipantPartici HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipantParticipantRoleCodeP", + "WARNING"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT_PARTICIPANT_ROLE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1034,6 +1078,10 @@ public static boolean validateHandoffCommunicationParticipantsParticipantPartici HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipantParticipantRoleCode", + "WARNING"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT_PARTICIPANT_ROLE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1116,6 +1164,10 @@ public static boolean validateHandoffCommunicationParticipantsParticipantPartici HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipantParticipantRoleAddr", + "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT_PARTICIPANT_ROLE_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1188,6 +1240,11 @@ public static boolean validateHandoffCommunicationParticipantsParticipantPartici HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipantParticipantRolePlayingEntity", + "INFO"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1260,6 +1317,9 @@ public static boolean validateHandoffCommunicationParticipantsParticipantTypeCod HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipantTypeCode", "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1332,6 +1392,10 @@ public static boolean validateHandoffCommunicationParticipantsParticipantPartici HandoffCommunicationParticipants handoffCommunicationParticipants, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HandoffCommunicationParticipantsHandoffCommunicationParticipantsParticipantParticipantRole", + "ERROR"); + if (VALIDATE_HANDOFF_COMMUNICATION_PARTICIPANTS_PARTICIPANT_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthConcernActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthConcernActOperations.java index fb8cd0d4d6..8f59320777 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthConcernActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthConcernActOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -199,6 +200,8 @@ protected HealthConcernActOperations() { public static boolean validateHealthConcernActTemplateId(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActTemplateId", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -262,6 +265,8 @@ public static boolean validateHealthConcernActTemplateId(HealthConcernAct health public static boolean validateHealthConcernActClassCode(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActClassCode", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -325,6 +330,8 @@ public static boolean validateHealthConcernActClassCode(HealthConcernAct healthC public static boolean validateHealthConcernActMoodCode(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActMoodCode", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -388,6 +395,8 @@ public static boolean validateHealthConcernActMoodCode(HealthConcernAct healthCo public static boolean validateHealthConcernActId(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActId", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -451,6 +460,8 @@ public static boolean validateHealthConcernActId(HealthConcernAct healthConcernA public static boolean validateHealthConcernActCodeP(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActCodeP", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -537,6 +548,8 @@ public static boolean validateHealthConcernActCode(HealthConcernAct healthConcer return true; } + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActCode", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -602,6 +615,8 @@ public static boolean validateHealthConcernActCode(HealthConcernAct healthConcer public static boolean validateHealthConcernActStatusCode(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActStatusCode", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -665,6 +680,8 @@ public static boolean validateHealthConcernActStatusCode(HealthConcernAct health public static boolean validateHealthConcernActStatusCodeP(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActStatusCodeP", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -728,6 +745,8 @@ public static boolean validateHealthConcernActStatusCodeP(HealthConcernAct healt public static boolean validateHealthConcernActEffectiveTime(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActEffectiveTime", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -791,6 +810,8 @@ public static boolean validateHealthConcernActEffectiveTime(HealthConcernAct hea public static boolean validateHealthConcernActHealthConcernActErRefr(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActHealthConcernActErRefr", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_HEALTH_CONCERN_ACT_ER_REFR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -856,6 +877,8 @@ public static boolean validateHealthConcernActHealthConcernActErRefr(HealthConce public static boolean validateHealthConcernActHealthConcernActErComp(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActHealthConcernActErComp", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_HEALTH_CONCERN_ACT_ER_COMP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -921,6 +944,8 @@ public static boolean validateHealthConcernActHealthConcernActErComp(HealthConce public static boolean validateHealthConcernActAssessmentScaleObservation(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActAssessmentScaleObservation", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -986,6 +1011,8 @@ public static boolean validateHealthConcernActAssessmentScaleObservation(HealthC public static boolean validateHealthConcernActFamilyHistoryOrganizer2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActFamilyHistoryOrganizer2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_FAMILY_HISTORY_ORGANIZER2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1051,6 +1078,8 @@ public static boolean validateHealthConcernActFamilyHistoryOrganizer2(HealthConc public static boolean validateHealthConcernActNutritionAssessment(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActNutritionAssessment", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_NUTRITION_ASSESSMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1116,6 +1145,8 @@ public static boolean validateHealthConcernActNutritionAssessment(HealthConcernA public static boolean validateHealthConcernActPregnancyObservation(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActPregnancyObservation", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_PREGNANCY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1181,6 +1212,8 @@ public static boolean validateHealthConcernActPregnancyObservation(HealthConcern public static boolean validateHealthConcernActCaregiverCharacteristics(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActCaregiverCharacteristics", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1246,6 +1279,8 @@ public static boolean validateHealthConcernActCaregiverCharacteristics(HealthCon public static boolean validateHealthConcernActCulturalAndReligiousObservation(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActCulturalAndReligiousObservation", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_CULTURAL_AND_RELIGIOUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1312,6 +1347,8 @@ public static boolean validateHealthConcernActCulturalAndReligiousObservation(He public static boolean validateHealthConcernActCharacteristicsOfHomeEnvironment(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActCharacteristicsOfHomeEnvironment", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_CHARACTERISTICS_OF_HOME_ENVIRONMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1378,6 +1415,8 @@ public static boolean validateHealthConcernActCharacteristicsOfHomeEnvironment(H public static boolean validateHealthConcernActNutritionalStatusObservation(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActNutritionalStatusObservation", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_NUTRITIONAL_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1443,6 +1482,8 @@ public static boolean validateHealthConcernActNutritionalStatusObservation(Healt public static boolean validateHealthConcernActEntryReferenceGeneral(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActEntryReferenceGeneral", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_ENTRY_REFERENCE_GENERAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1508,6 +1549,8 @@ public static boolean validateHealthConcernActEntryReferenceGeneral(HealthConcer public static boolean validateHealthConcernActAuthorParticipation(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActAuthorParticipation", "WARNING"); + if (VALIDATE_HEALTH_CONCERN_ACT_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1573,6 +1616,8 @@ public static boolean validateHealthConcernActAuthorParticipation(HealthConcernA public static boolean validateHealthConcernActSelfCareActivities(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActSelfCareActivities", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_SELF_CARE_ACTIVITIES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1638,6 +1683,8 @@ public static boolean validateHealthConcernActSelfCareActivities(HealthConcernAc public static boolean validateHealthConcernActSensoryStatus(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActSensoryStatus", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_SENSORY_STATUS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1701,6 +1748,8 @@ public static boolean validateHealthConcernActSensoryStatus(HealthConcernAct hea public static boolean validateHealthConcernActLongitudinalCareWoundObservation(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActLongitudinalCareWoundObservation", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_LONGITUDINAL_CARE_WOUND_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1767,6 +1816,8 @@ public static boolean validateHealthConcernActLongitudinalCareWoundObservation(H public static boolean validateHealthConcernActPriorityPreference(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActPriorityPreference", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1832,6 +1883,8 @@ public static boolean validateHealthConcernActPriorityPreference(HealthConcernAc public static boolean validateHealthConcernActProblemObservation2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActProblemObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_PROBLEM_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1897,6 +1950,8 @@ public static boolean validateHealthConcernActProblemObservation2(HealthConcernA public static boolean validateHealthConcernActAllergyObservation2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActAllergyObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_ALLERGY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1962,6 +2017,8 @@ public static boolean validateHealthConcernActAllergyObservation2(HealthConcernA public static boolean validateHealthConcernActMentalStatusObservation2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActMentalStatusObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_MENTAL_STATUS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2027,6 +2084,8 @@ public static boolean validateHealthConcernActMentalStatusObservation2(HealthCon public static boolean validateHealthConcernActSmokingStatusMeaningfulUse2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActSmokingStatusMeaningfulUse2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_SMOKING_STATUS_MEANINGFUL_USE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2092,6 +2151,8 @@ public static boolean validateHealthConcernActSmokingStatusMeaningfulUse2(Health public static boolean validateHealthConcernActEncounterDiagnosis2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActEncounterDiagnosis2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_ENCOUNTER_DIAGNOSIS2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2157,6 +2218,8 @@ public static boolean validateHealthConcernActEncounterDiagnosis2(HealthConcernA public static boolean validateHealthConcernActFunctionalStatusObservation2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActFunctionalStatusObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_FUNCTIONAL_STATUS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2222,6 +2285,8 @@ public static boolean validateHealthConcernActFunctionalStatusObservation2(Healt public static boolean validateHealthConcernActHospitalAdmissionDiagnosis2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActHospitalAdmissionDiagnosis2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_HOSPITAL_ADMISSION_DIAGNOSIS2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2287,6 +2352,8 @@ public static boolean validateHealthConcernActHospitalAdmissionDiagnosis2(Health public static boolean validateHealthConcernActPostprocedureDiagnosis2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActPostprocedureDiagnosis2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_POSTPROCEDURE_DIAGNOSIS2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2352,6 +2419,8 @@ public static boolean validateHealthConcernActPostprocedureDiagnosis2(HealthConc public static boolean validateHealthConcernActPreoperativeDiagnosis2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActPreoperativeDiagnosis2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_PREOPERATIVE_DIAGNOSIS2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2417,6 +2486,8 @@ public static boolean validateHealthConcernActPreoperativeDiagnosis2(HealthConce public static boolean validateHealthConcernActReactionObservation2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActReactionObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_REACTION_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2482,6 +2553,8 @@ public static boolean validateHealthConcernActReactionObservation2(HealthConcern public static boolean validateHealthConcernActResultObservation2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActResultObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_RESULT_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2547,6 +2620,8 @@ public static boolean validateHealthConcernActResultObservation2(HealthConcernAc public static boolean validateHealthConcernActSocialHistoryObservation2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActSocialHistoryObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_SOCIAL_HISTORY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2612,6 +2687,9 @@ public static boolean validateHealthConcernActSocialHistoryObservation2(HealthCo public static boolean validateHealthConcernActSubstanceOrDeviceAllergyObservation2( HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthConcernActHealthConcernActSubstanceOrDeviceAllergyObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2678,6 +2756,8 @@ public static boolean validateHealthConcernActSubstanceOrDeviceAllergyObservatio public static boolean validateHealthConcernActTobaccoUse2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActTobaccoUse2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_TOBACCO_USE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2741,6 +2821,8 @@ public static boolean validateHealthConcernActTobaccoUse2(HealthConcernAct healt public static boolean validateHealthConcernActVitalSignObservation2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActVitalSignObservation2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_VITAL_SIGN_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2806,6 +2888,8 @@ public static boolean validateHealthConcernActVitalSignObservation2(HealthConcer public static boolean validateHealthConcernActProblemObservation2Support(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActProblemObservation2Support", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_PROBLEM_OBSERVATION2_SUPPORT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2871,6 +2955,8 @@ public static boolean validateHealthConcernActProblemObservation2Support(HealthC public static boolean validateHealthConcernActResultOrganizer2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActResultOrganizer2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_RESULT_ORGANIZER2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2936,6 +3022,8 @@ public static boolean validateHealthConcernActResultOrganizer2(HealthConcernAct public static boolean validateHealthConcernActProblemConcernAct2(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActProblemConcernAct2", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_PROBLEM_CONCERN_ACT2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3001,6 +3089,8 @@ public static boolean validateHealthConcernActProblemConcernAct2(HealthConcernAc public static boolean validateHealthConcernActReference(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActReference", "INFO"); + if (VALIDATE_HEALTH_CONCERN_ACT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3064,6 +3154,8 @@ public static boolean validateHealthConcernActReference(HealthConcernAct healthC public static boolean validateHealthConcernActReferenceTypeCode(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActReferenceTypeCode", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3134,6 +3226,8 @@ public static boolean validateHealthConcernActReferenceTypeCode(HealthConcernAct public static boolean validateHealthConcernActReferenceExternalDocumentReference(HealthConcernAct healthConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernActHealthConcernActReferenceExternalDocumentReference", "ERROR"); + if (VALIDATE_HEALTH_CONCERN_ACT_REFERENCE_EXTERNAL_DOCUMENT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthConcernsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthConcernsSectionOperations.java index 4db1757f0e..2f8a95ba05 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthConcernsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthConcernsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -105,6 +106,8 @@ protected HealthConcernsSectionOperations() { public static boolean validateHealthConcernsSectionTemplateId(HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernsSectionHealthConcernsSectionTemplateId", "ERROR"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +173,8 @@ public static boolean validateHealthConcernsSectionTemplateId(HealthConcernsSect public static boolean validateHealthConcernsSectionNullFlavor(HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernsSectionHealthConcernsSectionNullFlavor", "INFO"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +242,8 @@ public static boolean validateHealthConcernsSectionNullFlavor(HealthConcernsSect public static boolean validateHealthConcernsSectionCode(HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernsSectionHealthConcernsSectionCode", "ERROR"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -300,6 +307,8 @@ public static boolean validateHealthConcernsSectionCode(HealthConcernsSection he public static boolean validateHealthConcernsSectionCodeP(HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernsSectionHealthConcernsSectionCodeP", "ERROR"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +373,8 @@ public static boolean validateHealthConcernsSectionCodeP(HealthConcernsSection h public static boolean validateHealthConcernsSectionTitle(HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernsSectionHealthConcernsSectionTitle", "ERROR"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -428,6 +439,8 @@ public static boolean validateHealthConcernsSectionTitle(HealthConcernsSection h public static boolean validateHealthConcernsSectionText(HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernsSectionHealthConcernsSectionText", "ERROR"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -491,6 +504,8 @@ public static boolean validateHealthConcernsSectionText(HealthConcernsSection he public static boolean validateHealthConcernsSectionHealthConcernAct(HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernsSectionHealthConcernsSectionHealthConcernAct", "ERROR"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_HEALTH_CONCERN_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -556,6 +571,9 @@ public static boolean validateHealthConcernsSectionHealthConcernAct(HealthConcer public static boolean validateHealthConcernsSectionHealthStatusObservation2( HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthConcernsSectionHealthConcernsSectionHealthStatusObservation2", "WARNING"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_HEALTH_STATUS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -622,6 +640,8 @@ public static boolean validateHealthConcernsSectionHealthStatusObservation2( public static boolean validateHealthConcernsSectionRiskConcernAct(HealthConcernsSection healthConcernsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthConcernsSectionHealthConcernsSectionRiskConcernAct", "INFO"); + if (VALIDATE_HEALTH_CONCERNS_SECTION_RISK_CONCERN_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusEvaluationsAndOutcomesSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusEvaluationsAndOutcomesSectionOperations.java index 51fccd709e..cffcebf0f4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusEvaluationsAndOutcomesSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusEvaluationsAndOutcomesSectionOperations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,10 @@ public static boolean validateHealthStatusEvaluationsAndOutcomesSectionTemplateI HealthStatusEvaluationsAndOutcomesSection healthStatusEvaluationsAndOutcomesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthStatusEvaluationsAndOutcomesSectionHealthStatusEvaluationsAndOutcomesSectionTemplateId", + "ERROR"); + if (VALIDATE_HEALTH_STATUS_EVALUATIONS_AND_OUTCOMES_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +168,10 @@ public static boolean validateHealthStatusEvaluationsAndOutcomesSectionNullFlavo HealthStatusEvaluationsAndOutcomesSection healthStatusEvaluationsAndOutcomesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthStatusEvaluationsAndOutcomesSectionHealthStatusEvaluationsAndOutcomesSectionNullFlavor", + "INFO"); + if (VALIDATE_HEALTH_STATUS_EVALUATIONS_AND_OUTCOMES_SECTION_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +241,9 @@ public static boolean validateHealthStatusEvaluationsAndOutcomesSectionCode( HealthStatusEvaluationsAndOutcomesSection healthStatusEvaluationsAndOutcomesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthStatusEvaluationsAndOutcomesSectionHealthStatusEvaluationsAndOutcomesSectionCode", "ERROR"); + if (VALIDATE_HEALTH_STATUS_EVALUATIONS_AND_OUTCOMES_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -299,6 +311,10 @@ public static boolean validateHealthStatusEvaluationsAndOutcomesSectionCodeP( HealthStatusEvaluationsAndOutcomesSection healthStatusEvaluationsAndOutcomesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthStatusEvaluationsAndOutcomesSectionHealthStatusEvaluationsAndOutcomesSectionCodeP", + "ERROR"); + if (VALIDATE_HEALTH_STATUS_EVALUATIONS_AND_OUTCOMES_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -366,6 +382,10 @@ public static boolean validateHealthStatusEvaluationsAndOutcomesSectionTitle( HealthStatusEvaluationsAndOutcomesSection healthStatusEvaluationsAndOutcomesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthStatusEvaluationsAndOutcomesSectionHealthStatusEvaluationsAndOutcomesSectionTitle", + "ERROR"); + if (VALIDATE_HEALTH_STATUS_EVALUATIONS_AND_OUTCOMES_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -433,6 +453,9 @@ public static boolean validateHealthStatusEvaluationsAndOutcomesSectionText( HealthStatusEvaluationsAndOutcomesSection healthStatusEvaluationsAndOutcomesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthStatusEvaluationsAndOutcomesSectionHealthStatusEvaluationsAndOutcomesSectionText", "ERROR"); + if (VALIDATE_HEALTH_STATUS_EVALUATIONS_AND_OUTCOMES_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -500,6 +523,11 @@ public static boolean validateHealthStatusEvaluationsAndOutcomesSectionOutcomeOb HealthStatusEvaluationsAndOutcomesSection healthStatusEvaluationsAndOutcomesSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HealthStatusEvaluationsAndOutcomesSectionHealthStatusEvaluationsAndOutcomesSectionOutcomeObservation", + "ERROR"); + if (VALIDATE_HEALTH_STATUS_EVALUATIONS_AND_OUTCOMES_SECTION_OUTCOME_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusObservation2Operations.java index 02d172ffce..b73a42ca5b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusObservation2Operations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected HealthStatusObservation2Operations() { public static boolean validateHealthStatusObservation2TemplateId(HealthStatusObservation2 healthStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservation2TemplateId", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateHealthStatusObservation2TemplateId(HealthStatusObs public static boolean validateHealthStatusObservation2Id(HealthStatusObservation2 healthStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservation2Id", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION2_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -203,6 +208,8 @@ public static boolean validateHealthStatusObservation2Id(HealthStatusObservation public static boolean validateHealthStatusObservationCodeP(HealthStatusObservation2 healthStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservationCodeP", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -259,6 +266,8 @@ public static boolean validateHealthStatusObservationCodeP(HealthStatusObservati public static boolean validateHealthStatusObservationStatusCodeP(HealthStatusObservation2 healthStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservationStatusCodeP", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -318,6 +327,8 @@ public static boolean validateHealthStatusObservationHasTextReference( HealthStatusObservation2 healthStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservationHasTextReference", "INFO"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_HAS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +375,8 @@ public static boolean validateHealthStatusObservationTextReferenceValue( HealthStatusObservation2 healthStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservationTextReferenceValue", "INFO"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -410,6 +423,9 @@ public static boolean validateHealthStatusObservationHasTextReferenceValue( HealthStatusObservation2 healthStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthStatusObservation2HealthStatusObservationHasTextReferenceValue", "INFO"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_HAS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -484,6 +500,8 @@ public static boolean validateHealthStatusObservationCode(HealthStatusObservatio return true; } + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservationCode", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -655,6 +673,8 @@ public static boolean validateHealthStatusObservationCode(HealthStatusObservatio public static boolean validateHealthStatusObservationText(HealthStatusObservation2 healthStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservationText", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -728,6 +748,8 @@ public static boolean validateHealthStatusObservationStatusCode(HealthStatusObse return true; } + DatatypesUtil.increment(context, "HealthStatusObservation2HealthStatusObservationStatusCode", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusObservationOperations.java index 56dbe03e9a..ee1aa7efb5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HealthStatusObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -100,6 +101,8 @@ protected HealthStatusObservationOperations() { public static boolean validateHealthStatusObservationHasTextReference( HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationHasTextReference", "WARNING"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_HAS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateHealthStatusObservationHasTextReference( public static boolean validateHealthStatusObservationTextReferenceValue( HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationTextReferenceValue", "WARNING"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,9 @@ public static boolean validateHealthStatusObservationTextReferenceValue( public static boolean validateHealthStatusObservationHasTextReferenceValue( HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HealthStatusObservationHealthStatusObservationHasTextReferenceValue", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_HAS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +306,8 @@ public static boolean validateHealthStatusObservationHasTextReferenceValue( public static boolean validateHealthStatusObservationTemplateId(HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationTemplateId", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -363,6 +373,8 @@ public static boolean validateHealthStatusObservationTemplateId(HealthStatusObse public static boolean validateHealthStatusObservationClassCode(HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationClassCode", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -428,6 +440,8 @@ public static boolean validateHealthStatusObservationClassCode(HealthStatusObser public static boolean validateHealthStatusObservationMoodCode(HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationMoodCode", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -495,6 +509,8 @@ public static boolean validateHealthStatusObservationMoodCode(HealthStatusObserv public static boolean validateHealthStatusObservationCode(HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationCode", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -559,6 +575,8 @@ public static boolean validateHealthStatusObservationCode(HealthStatusObservatio public static boolean validateHealthStatusObservationText(HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationText", "WARNING"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -624,6 +642,8 @@ public static boolean validateHealthStatusObservationText(HealthStatusObservatio public static boolean validateHealthStatusObservationStatusCode(HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationStatusCode", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -691,6 +711,8 @@ public static boolean validateHealthStatusObservationStatusCode(HealthStatusObse public static boolean validateHealthStatusObservationValue(HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationValue", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -755,6 +777,8 @@ public static boolean validateHealthStatusObservationValue(HealthStatusObservati public static boolean validateHealthStatusObservationValueP(HealthStatusObservation healthStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HealthStatusObservationHealthStatusObservationValueP", "ERROR"); + if (VALIDATE_HEALTH_STATUS_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HighestPressureUlcerStageOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HighestPressureUlcerStageOperations.java index aa7f42e5d0..bcc898f804 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HighestPressureUlcerStageOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HighestPressureUlcerStageOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ public static boolean validateHighestPressureUlcerStageTemplateId( HighestPressureUlcerStage highestPressureUlcerStage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HighestPressureUlcerStageHighestPressureUlcerStageTemplateId", "ERROR"); + if (VALIDATE_HIGHEST_PRESSURE_ULCER_STAGE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateHighestPressureUlcerStageClassCode( HighestPressureUlcerStage highestPressureUlcerStage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HighestPressureUlcerStageHighestPressureUlcerStageClassCode", "ERROR"); + if (VALIDATE_HIGHEST_PRESSURE_ULCER_STAGE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateHighestPressureUlcerStageClassCode( public static boolean validateHighestPressureUlcerStageMoodCode(HighestPressureUlcerStage highestPressureUlcerStage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HighestPressureUlcerStageHighestPressureUlcerStageMoodCode", "ERROR"); + if (VALIDATE_HIGHEST_PRESSURE_ULCER_STAGE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -290,6 +297,8 @@ public static boolean validateHighestPressureUlcerStageMoodCode(HighestPressureU public static boolean validateHighestPressureUlcerStageId(HighestPressureUlcerStage highestPressureUlcerStage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HighestPressureUlcerStageHighestPressureUlcerStageId", "ERROR"); + if (VALIDATE_HIGHEST_PRESSURE_ULCER_STAGE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +363,8 @@ public static boolean validateHighestPressureUlcerStageId(HighestPressureUlcerSt public static boolean validateHighestPressureUlcerStageCodeP(HighestPressureUlcerStage highestPressureUlcerStage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HighestPressureUlcerStageHighestPressureUlcerStageCodeP", "ERROR"); + if (VALIDATE_HIGHEST_PRESSURE_ULCER_STAGE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -442,6 +453,8 @@ public static boolean validateHighestPressureUlcerStageCode(HighestPressureUlcer return true; } + DatatypesUtil.increment(context, "HighestPressureUlcerStageHighestPressureUlcerStageCode", "ERROR"); + if (VALIDATE_HIGHEST_PRESSURE_ULCER_STAGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -506,6 +519,8 @@ public static boolean validateHighestPressureUlcerStageCode(HighestPressureUlcer public static boolean validateHighestPressureUlcerStageValue(HighestPressureUlcerStage highestPressureUlcerStage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HighestPressureUlcerStageHighestPressureUlcerStageValue", "ERROR"); + if (VALIDATE_HIGHEST_PRESSURE_ULCER_STAGE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryAndPhysicalNote2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryAndPhysicalNote2Operations.java index 498fc769e7..7cf165c80c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryAndPhysicalNote2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryAndPhysicalNote2Operations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -185,6 +186,11 @@ protected HistoryAndPhysicalNote2Operations() { public static boolean validateHistoryAndPhysicalNote2HasChiefComplaintAndReasonForVisitChiefComplaintOrReasonForVisit( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2HasChiefComplaintAndReasonForVisitChiefComplaintOrReasonForVisit", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_HAS_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_CHIEF_COMPLAINT_OR_REASON_FOR_VISIT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -251,6 +257,11 @@ public static boolean validateHistoryAndPhysicalNote2HasChiefComplaintAndReasonF public static boolean validateHistoryAndPhysicalNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_HAS_AN_ASSEMENT_AND_PLAN_SECTION2_OR_BOTH_ASSEMENT_SECTION_AND_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -317,6 +328,11 @@ public static boolean validateHistoryAndPhysicalNote2HasAnAssementAndPlanSection public static boolean validateHistoryAndPhysicalNote2DoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2DoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_DOES_NOT_HAVE_ASSEMENT_AND_PLAN_SECTION2_WHEN_ASSEMENT_AND_PLAN_OF_TREATMENT2_ARE_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -383,6 +399,11 @@ public static boolean validateHistoryAndPhysicalNote2DoesNotHaveAssementAndPlanS public static boolean validateHistoryAndPhysicalNote2DoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2DoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_DOES_NOT_HAVE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_WITH_CHIEF_COMPLAINT_SECTION_OR_REASON_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -449,6 +470,8 @@ public static boolean validateHistoryAndPhysicalNote2DoesNotHaveChiefComplaintAn public static boolean validateHistoryAndPhysicalNote2CodeP(HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2CodeP", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -536,6 +559,8 @@ public static boolean validateHistoryAndPhysicalNote2Code(HistoryAndPhysicalNote return true; } + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2Code", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -600,6 +625,8 @@ public static boolean validateHistoryAndPhysicalNote2Code(HistoryAndPhysicalNote public static boolean validateHistoryAndPhysicalNote2InformationRecipient( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2InformationRecipient", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -666,6 +693,8 @@ public static boolean validateHistoryAndPhysicalNote2InformationRecipient( public static boolean validateHistoryAndPhysicalNote2Participant(HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2Participant", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -731,6 +760,8 @@ public static boolean validateHistoryAndPhysicalNote2Participant(HistoryAndPhysi public static boolean validateHistoryAndPhysicalNote2InFulfillmentOf( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2InFulfillmentOf", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -797,6 +828,8 @@ public static boolean validateHistoryAndPhysicalNote2InFulfillmentOf( public static boolean validateHistoryAndPhysicalNote2ComponentOf(HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOf", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -862,6 +895,9 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOf(HistoryAndPhysi public static boolean validateHistoryAndPhysicalNote2AllergiesSectionEntriesOptional2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2AllergiesSectionEntriesOptional2", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_ALLERGIES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -928,6 +964,8 @@ public static boolean validateHistoryAndPhysicalNote2AllergiesSectionEntriesOpti public static boolean validateHistoryAndPhysicalNote2AssessmentSection( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2AssessmentSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -994,6 +1032,9 @@ public static boolean validateHistoryAndPhysicalNote2AssessmentSection( public static boolean validateHistoryAndPhysicalNote2PlanOfTreatmentSection2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2PlanOfTreatmentSection2", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1060,6 +1101,9 @@ public static boolean validateHistoryAndPhysicalNote2PlanOfTreatmentSection2( public static boolean validateHistoryAndPhysicalNote2AssessmentAndPlanSection2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2AssessmentAndPlanSection2", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_ASSESSMENT_AND_PLAN_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1126,6 +1170,8 @@ public static boolean validateHistoryAndPhysicalNote2AssessmentAndPlanSection2( public static boolean validateHistoryAndPhysicalNote2ChiefComplaintSection( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ChiefComplaintSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1192,6 +1238,9 @@ public static boolean validateHistoryAndPhysicalNote2ChiefComplaintSection( public static boolean validateHistoryAndPhysicalNote2ChiefComplaintAndReasonForVisitSection( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ChiefComplaintAndReasonForVisitSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1258,6 +1307,8 @@ public static boolean validateHistoryAndPhysicalNote2ChiefComplaintAndReasonForV public static boolean validateHistoryAndPhysicalNote2GeneralStatusSection( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2GeneralStatusSection", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_GENERAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1324,6 +1375,9 @@ public static boolean validateHistoryAndPhysicalNote2GeneralStatusSection( public static boolean validateHistoryAndPhysicalNote2HistoryOfPastIllnessSection2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2HistoryOfPastIllnessSection2", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_HISTORY_OF_PAST_ILLNESS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1390,6 +1444,9 @@ public static boolean validateHistoryAndPhysicalNote2HistoryOfPastIllnessSection public static boolean validateHistoryAndPhysicalNote2HistoryOfPresentIllnessSection( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2HistoryOfPresentIllnessSection", "WARNING"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1456,6 +1513,9 @@ public static boolean validateHistoryAndPhysicalNote2HistoryOfPresentIllnessSect public static boolean validateHistoryAndPhysicalNote2ImmunizationsSectionEntriesOptional2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ImmunizationsSectionEntriesOptional2", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1522,6 +1582,8 @@ public static boolean validateHistoryAndPhysicalNote2ImmunizationsSectionEntries public static boolean validateHistoryAndPhysicalNote2InstructionsSection2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2InstructionsSection2", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_INSTRUCTIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1588,6 +1650,9 @@ public static boolean validateHistoryAndPhysicalNote2InstructionsSection2( public static boolean validateHistoryAndPhysicalNote2MedicationsSectionEntriesOptional2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2MedicationsSectionEntriesOptional2", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_MEDICATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1654,6 +1719,8 @@ public static boolean validateHistoryAndPhysicalNote2MedicationsSectionEntriesOp public static boolean validateHistoryAndPhysicalNote2PhysicalExamSection2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2PhysicalExamSection2", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_PHYSICAL_EXAM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1720,6 +1787,9 @@ public static boolean validateHistoryAndPhysicalNote2PhysicalExamSection2( public static boolean validateHistoryAndPhysicalNote2ProblemSectionEntriesOptional2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ProblemSectionEntriesOptional2", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_PROBLEM_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1786,6 +1856,9 @@ public static boolean validateHistoryAndPhysicalNote2ProblemSectionEntriesOption public static boolean validateHistoryAndPhysicalNote2ProceduresSectionEntriesOptional2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ProceduresSectionEntriesOptional2", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_PROCEDURES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1852,6 +1925,8 @@ public static boolean validateHistoryAndPhysicalNote2ProceduresSectionEntriesOpt public static boolean validateHistoryAndPhysicalNote2ReasonForVisitSection( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ReasonForVisitSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1918,6 +1993,9 @@ public static boolean validateHistoryAndPhysicalNote2ReasonForVisitSection( public static boolean validateHistoryAndPhysicalNote2ResultsSectionEntriesOptional2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ResultsSectionEntriesOptional2", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_RESULTS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1984,6 +2062,9 @@ public static boolean validateHistoryAndPhysicalNote2ResultsSectionEntriesOption public static boolean validateHistoryAndPhysicalNote2ReviewOfSystemsSection( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ReviewOfSystemsSection", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2050,6 +2131,9 @@ public static boolean validateHistoryAndPhysicalNote2ReviewOfSystemsSection( public static boolean validateHistoryAndPhysicalNote2SocialHistorySection2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2SocialHistorySection2", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_SOCIAL_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2116,6 +2200,9 @@ public static boolean validateHistoryAndPhysicalNote2SocialHistorySection2( public static boolean validateHistoryAndPhysicalNote2VitalSignsSectionEntriesOptional2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2VitalSignsSectionEntriesOptional2", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2182,6 +2269,9 @@ public static boolean validateHistoryAndPhysicalNote2VitalSignsSectionEntriesOpt public static boolean validateHistoryAndPhysicalNote2FamilyHistorySection2( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2FamilyHistorySection2", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_FAMILY_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2248,6 +2338,9 @@ public static boolean validateHistoryAndPhysicalNote2FamilyHistorySection2( public static boolean validateHistoryAndPhysicalNote2InformationRecipientIntendedRecipient( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2InformationRecipientIntendedRecipient", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_INFORMATION_RECIPIENT_INTENDED_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2319,6 +2412,10 @@ public static boolean validateHistoryAndPhysicalNote2InformationRecipientIntende public static boolean validateHistoryAndPhysicalNote2ParticipantIfParTypeCodeINDThenAEClassCodeIND( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ParticipantIfParTypeCodeINDThenAEClassCodeIND", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_PARTICIPANT_IF_PAR_TYPE_CODE_IND_THEN_AE_CLASS_CODE_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2390,6 +2487,11 @@ public static boolean validateHistoryAndPhysicalNote2ParticipantIfParTypeCodeIND public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_DAY_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2461,6 +2563,11 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS", + "WARNING"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_MINUTE_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2532,6 +2639,11 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS", + "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_SECOND_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2603,6 +2715,11 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS", + "WARNING"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2674,6 +2791,11 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrOrganization( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntityHasPersonOrOrganization", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_HAS_PERSON_OR_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2745,6 +2867,11 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsiblePartyAssignedEntity", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2816,6 +2943,11 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrOrganization( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntityHasPersonOrOrganization", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY_HAS_PERSON_OR_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2887,6 +3019,11 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipantAssignedEntity", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2958,6 +3095,9 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterId( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterId", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3029,6 +3169,10 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEffectiveTime( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterEffectiveTime", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3100,6 +3244,10 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsibleParty( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterResponsibleParty", + "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3171,6 +3319,11 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipant( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterEncounterParticipant", + "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3242,6 +3395,9 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounterLocation( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounterLocation", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3313,6 +3469,9 @@ public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEnco public static boolean validateHistoryAndPhysicalNote2ComponentOfEncompassingEncounter( HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNote2HistoryAndPhysicalNote2ComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4351,6 +4510,8 @@ public static FamilyHistorySection2 getFamilyHistorySection2(HistoryAndPhysicalN public static boolean validateUSRealmHeader2TemplateId(HistoryAndPhysicalNote2 historyAndPhysicalNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNote2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryAndPhysicalNoteOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryAndPhysicalNoteOperations.java index e76546318c..692f910e11 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryAndPhysicalNoteOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryAndPhysicalNoteOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -179,6 +180,11 @@ protected HistoryAndPhysicalNoteOperations() { public static boolean validateHistoryAndPhysicalNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_HAS_AN_ASSEMENT_AND_PLAN_SECTION_OR_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -245,6 +251,11 @@ public static boolean validateHistoryAndPhysicalNoteHasAnAssementAndPlanSectionO public static boolean validateHistoryAndPhysicalNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_DOES_NOT_HAVE_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS_WHEN_ASSEMENT_AND_PLAN_SECTION_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -311,6 +322,11 @@ public static boolean validateHistoryAndPhysicalNoteDoesNotHaveIndividualAssemen public static boolean validateHistoryAndPhysicalNoteHasChiefComplaintAndReasonForVisitChiefComplaintOrReasonForVisit( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteHasChiefComplaintAndReasonForVisitChiefComplaintOrReasonForVisit", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_HAS_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_CHIEF_COMPLAINT_OR_REASON_FOR_VISIT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -377,6 +393,11 @@ public static boolean validateHistoryAndPhysicalNoteHasChiefComplaintAndReasonFo public static boolean validateHistoryAndPhysicalNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_DOES_NOT_HAVE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_WITH_CHIEF_COMPLAINT_SECTION_OR_REASON_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -443,6 +464,8 @@ public static boolean validateHistoryAndPhysicalNoteDoesNotHaveChiefComplaintAnd public static boolean validateGeneralHeaderConstraintsCodeP(HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteGeneralHeaderConstraintsCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -520,6 +543,8 @@ public static boolean validateGeneralHeaderConstraintsCodeP(HistoryAndPhysicalNo public static boolean validateHistoryAndPhysicalNoteInFulfillmentOf(HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteInFulfillmentOf", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -585,6 +610,8 @@ public static boolean validateHistoryAndPhysicalNoteInFulfillmentOf(HistoryAndPh public static boolean validateHistoryAndPhysicalNoteComponentOf(HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOf", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -650,6 +677,9 @@ public static boolean validateHistoryAndPhysicalNoteComponentOf(HistoryAndPhysic public static boolean validateHistoryAndPhysicalNoteAllergiesSectionEntriesOptional( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteAllergiesSectionEntriesOptional", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_ALLERGIES_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -716,6 +746,8 @@ public static boolean validateHistoryAndPhysicalNoteAllergiesSectionEntriesOptio public static boolean validateHistoryAndPhysicalNoteAssessmentSection(HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteAssessmentSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -782,6 +814,8 @@ public static boolean validateHistoryAndPhysicalNoteAssessmentSection(HistoryAnd public static boolean validateHistoryAndPhysicalNotePlanOfCareSection(HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNotePlanOfCareSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_PLAN_OF_CARE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -848,6 +882,9 @@ public static boolean validateHistoryAndPhysicalNotePlanOfCareSection(HistoryAnd public static boolean validateHistoryAndPhysicalNoteAssessmentAndPlanSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteAssessmentAndPlanSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_ASSESSMENT_AND_PLAN_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -914,6 +951,8 @@ public static boolean validateHistoryAndPhysicalNoteAssessmentAndPlanSection( public static boolean validateHistoryAndPhysicalNoteChiefComplaintSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteChiefComplaintSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -980,6 +1019,9 @@ public static boolean validateHistoryAndPhysicalNoteChiefComplaintSection( public static boolean validateHistoryAndPhysicalNoteChiefComplaintAndReasonForVisitSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteChiefComplaintAndReasonForVisitSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1046,6 +1088,8 @@ public static boolean validateHistoryAndPhysicalNoteChiefComplaintAndReasonForVi public static boolean validateHistoryAndPhysicalNoteFamilyHistorySection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteFamilyHistorySection", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_FAMILY_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1112,6 +1156,8 @@ public static boolean validateHistoryAndPhysicalNoteFamilyHistorySection( public static boolean validateHistoryAndPhysicalNoteGeneralStatusSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteGeneralStatusSection", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_GENERAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1178,6 +1224,9 @@ public static boolean validateHistoryAndPhysicalNoteGeneralStatusSection( public static boolean validateHistoryAndPhysicalNoteHistoryOfPastIllnessSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteHistoryOfPastIllnessSection", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_HISTORY_OF_PAST_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1244,6 +1293,9 @@ public static boolean validateHistoryAndPhysicalNoteHistoryOfPastIllnessSection( public static boolean validateHistoryAndPhysicalNoteMedicationsSectionEntriesOptional( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteMedicationsSectionEntriesOptional", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1310,6 +1362,8 @@ public static boolean validateHistoryAndPhysicalNoteMedicationsSectionEntriesOpt public static boolean validateHistoryAndPhysicalNotePhysicalExamSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNotePhysicalExamSection", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_PHYSICAL_EXAM_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1376,6 +1430,8 @@ public static boolean validateHistoryAndPhysicalNotePhysicalExamSection( public static boolean validateHistoryAndPhysicalNoteReasonForVisitSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteReasonForVisitSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1442,6 +1498,9 @@ public static boolean validateHistoryAndPhysicalNoteReasonForVisitSection( public static boolean validateHistoryAndPhysicalNoteResultsSectionEntriesOptional( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteResultsSectionEntriesOptional", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_RESULTS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1508,6 +1567,8 @@ public static boolean validateHistoryAndPhysicalNoteResultsSectionEntriesOptiona public static boolean validateHistoryAndPhysicalNoteReviewOfSystemsSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteReviewOfSystemsSection", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1574,6 +1635,8 @@ public static boolean validateHistoryAndPhysicalNoteReviewOfSystemsSection( public static boolean validateHistoryAndPhysicalNoteSocialHistorySection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteSocialHistorySection", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_SOCIAL_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1640,6 +1703,9 @@ public static boolean validateHistoryAndPhysicalNoteSocialHistorySection( public static boolean validateHistoryAndPhysicalNoteHistoryOfPresentIllnessSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteHistoryOfPresentIllnessSection", "WARNING"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1706,6 +1772,9 @@ public static boolean validateHistoryAndPhysicalNoteHistoryOfPresentIllnessSecti public static boolean validateHistoryAndPhysicalNoteImmunizationsSectionEntriesOptional( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteImmunizationsSectionEntriesOptional", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1772,6 +1841,9 @@ public static boolean validateHistoryAndPhysicalNoteImmunizationsSectionEntriesO public static boolean validateHistoryAndPhysicalNoteProblemSectionEntriesOptional( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteProblemSectionEntriesOptional", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_PROBLEM_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1838,6 +1910,9 @@ public static boolean validateHistoryAndPhysicalNoteProblemSectionEntriesOptiona public static boolean validateHistoryAndPhysicalNoteProceduresSectionEntriesOptional( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteProceduresSectionEntriesOptional", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_PROCEDURES_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1904,6 +1979,9 @@ public static boolean validateHistoryAndPhysicalNoteProceduresSectionEntriesOpti public static boolean validateHistoryAndPhysicalNoteVitalSignsSectionEntriesOptional( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteVitalSignsSectionEntriesOptional", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1970,6 +2048,8 @@ public static boolean validateHistoryAndPhysicalNoteVitalSignsSectionEntriesOpti public static boolean validateHistoryAndPhysicalNoteInstructionsSection( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteInstructionsSection", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_INSTRUCTIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2036,6 +2116,11 @@ public static boolean validateHistoryAndPhysicalNoteInstructionsSection( public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsiblePartyAssignedEntityHasPersonOrOrganization( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsiblePartyAssignedEntityHasPersonOrOrganization", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_RESPONSIBLE_PARTY_ASSIGNED_ENTITY_HAS_PERSON_OR_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2107,6 +2192,11 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsiblePartyAssignedEntity( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsiblePartyAssignedEntity", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_RESPONSIBLE_PARTY_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2178,6 +2268,11 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipantAssignedEntityHasPersonOrOrganization( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipantAssignedEntityHasPersonOrOrganization", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY_HAS_PERSON_OR_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2249,6 +2344,11 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipantAssignedEntity( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipantAssignedEntity", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_ENCOUNTER_PARTICIPANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2320,6 +2420,10 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheDay( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheDay", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_PRECISE_TO_THE_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2391,6 +2495,10 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheMinute( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheMinute", + "WARNING"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_PRECISE_TO_THE_MINUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2462,6 +2570,10 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheSecond( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4PreciseToTheSecond", + "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_PRECISE_TO_THE_SECOND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2533,6 +2645,11 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4IfMorePreciseThanDayIncludeTimeZoneOffset( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4IfMorePreciseThanDayIncludeTimeZoneOffset", + "WARNING"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2604,6 +2721,10 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EffectiveTime( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EffectiveTime", + "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2675,6 +2796,9 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Id( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Id", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2746,6 +2870,9 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Location( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4Location", "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2817,6 +2944,10 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsibleParty( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4ResponsibleParty", + "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2888,6 +3019,11 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipant( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter4EncounterParticipant", + "INFO"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER4_ENCOUNTER_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2959,6 +3095,9 @@ public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncou public static boolean validateHistoryAndPhysicalNoteComponentOfEncompassingEncounter( HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryAndPhysicalNoteHistoryAndPhysicalNoteComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_HISTORY_AND_PHYSICAL_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3996,6 +4135,8 @@ public static InstructionsSection getInstructionsSection(HistoryAndPhysicalNote public static boolean validateGeneralHeaderConstraintsTemplateId(HistoryAndPhysicalNote historyAndPhysicalNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4071,6 +4212,8 @@ public static boolean validateGeneralHeaderConstraintsCode(HistoryAndPhysicalNot return true; } + DatatypesUtil.increment(context, "HistoryAndPhysicalNoteGeneralHeaderConstraintsCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPastIllnessSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPastIllnessSection2Operations.java index d2cf5567d9..c89bfda65f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPastIllnessSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPastIllnessSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ public static boolean validateHistoryOfPastIllnessSection2TemplateId( HistoryOfPastIllnessSection2 historyOfPastIllnessSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPastIllnessSection2HistoryOfPastIllnessSection2TemplateId", "ERROR"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -213,6 +216,8 @@ public static boolean validateHistoryOfPastIllnessSectionCodeP( HistoryOfPastIllnessSection2 historyOfPastIllnessSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPastIllnessSection2HistoryOfPastIllnessSectionCodeP", "ERROR"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +308,8 @@ public static boolean validateHistoryOfPastIllnessSectionCode( return true; } + DatatypesUtil.increment(context, "HistoryOfPastIllnessSection2HistoryOfPastIllnessSectionCode", "ERROR"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -369,6 +376,9 @@ public static boolean validateHistoryOfPastIllnessSectionProblemObservation( HistoryOfPastIllnessSection2 historyOfPastIllnessSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryOfPastIllnessSection2HistoryOfPastIllnessSectionProblemObservation", "INFO"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPastIllnessSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPastIllnessSectionOperations.java index 721455eaf5..020b49315c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPastIllnessSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPastIllnessSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,8 @@ public static boolean validateHistoryOfPastIllnessSectionTemplateId( HistoryOfPastIllnessSection historyOfPastIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPastIllnessSectionHistoryOfPastIllnessSectionTemplateId", "ERROR"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +175,8 @@ public static boolean validateHistoryOfPastIllnessSectionCode( HistoryOfPastIllnessSection historyOfPastIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPastIllnessSectionHistoryOfPastIllnessSectionCode", "ERROR"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +243,8 @@ public static boolean validateHistoryOfPastIllnessSectionCodeP( HistoryOfPastIllnessSection historyOfPastIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPastIllnessSectionHistoryOfPastIllnessSectionCodeP", "ERROR"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -304,6 +311,8 @@ public static boolean validateHistoryOfPastIllnessSectionTitle( HistoryOfPastIllnessSection historyOfPastIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPastIllnessSectionHistoryOfPastIllnessSectionTitle", "ERROR"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -370,6 +379,8 @@ public static boolean validateHistoryOfPastIllnessSectionText( HistoryOfPastIllnessSection historyOfPastIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPastIllnessSectionHistoryOfPastIllnessSectionText", "ERROR"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -436,6 +447,9 @@ public static boolean validateHistoryOfPastIllnessSectionProblemObservation( HistoryOfPastIllnessSection historyOfPastIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryOfPastIllnessSectionHistoryOfPastIllnessSectionProblemObservation", "INFO"); + if (VALIDATE_HISTORY_OF_PAST_ILLNESS_SECTION_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPresentIllnessSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPresentIllnessSectionOperations.java index f085b0c271..80ad7655eb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPresentIllnessSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HistoryOfPresentIllnessSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validateHistoryOfPresentIllnessSectionTemplateId( HistoryOfPresentIllnessSection historyOfPresentIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HistoryOfPresentIllnessSectionHistoryOfPresentIllnessSectionTemplateId", "ERROR"); + if (VALIDATE_HISTORY_OF_PRESENT_ILLNESS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,8 @@ public static boolean validateHistoryOfPresentIllnessSectionCode( HistoryOfPresentIllnessSection historyOfPresentIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPresentIllnessSectionHistoryOfPresentIllnessSectionCode", "ERROR"); + if (VALIDATE_HISTORY_OF_PRESENT_ILLNESS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +237,8 @@ public static boolean validateHistoryOfPresentIllnessSectionCodeP( HistoryOfPresentIllnessSection historyOfPresentIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPresentIllnessSectionHistoryOfPresentIllnessSectionCodeP", "ERROR"); + if (VALIDATE_HISTORY_OF_PRESENT_ILLNESS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +306,8 @@ public static boolean validateHistoryOfPresentIllnessSectionTitle( HistoryOfPresentIllnessSection historyOfPresentIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPresentIllnessSectionHistoryOfPresentIllnessSectionTitle", "ERROR"); + if (VALIDATE_HISTORY_OF_PRESENT_ILLNESS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +375,8 @@ public static boolean validateHistoryOfPresentIllnessSectionText( HistoryOfPresentIllnessSection historyOfPresentIllnessSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HistoryOfPresentIllnessSectionHistoryOfPresentIllnessSectionText", "ERROR"); + if (VALIDATE_HISTORY_OF_PRESENT_ILLNESS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosis2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosis2Operations.java index 998f30a7e8..3bfe1f21e7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosis2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosis2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ public static boolean validateHospitalAdmissionDiagnosis2TemplateId( HospitalAdmissionDiagnosis2 hospitalAdmissionDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalAdmissionDiagnosis2HospitalAdmissionDiagnosis2TemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -142,6 +145,8 @@ public static boolean validateHospitalAdmissionDiagnosisCodeP( HospitalAdmissionDiagnosis2 hospitalAdmissionDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalAdmissionDiagnosis2HospitalAdmissionDiagnosisCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -302,6 +307,8 @@ public static boolean validateHospitalAdmissionDiagnosisCode( return true; } + DatatypesUtil.increment(context, "HospitalAdmissionDiagnosis2HospitalAdmissionDiagnosisCode", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -367,6 +374,9 @@ public static boolean validateHospitalAdmissionDiagnosisProblemObservation( HospitalAdmissionDiagnosis2 hospitalAdmissionDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalAdmissionDiagnosis2HospitalAdmissionDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosisOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosisOperations.java index 8c5f181155..bde30407b1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosisOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosisOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ public static boolean validateHospitalAdmissionDiagnosisTemplateId( HospitalAdmissionDiagnosis hospitalAdmissionDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalAdmissionDiagnosisHospitalAdmissionDiagnosisTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateHospitalAdmissionDiagnosisClassCode( HospitalAdmissionDiagnosis hospitalAdmissionDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalAdmissionDiagnosisHospitalAdmissionDiagnosisClassCode", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -214,6 +219,8 @@ public static boolean validateHospitalAdmissionDiagnosisClassCode( public static boolean validateHospitalAdmissionDiagnosisCode(HospitalAdmissionDiagnosis hospitalAdmissionDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalAdmissionDiagnosisHospitalAdmissionDiagnosisCode", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -279,6 +286,8 @@ public static boolean validateHospitalAdmissionDiagnosisMoodCode( HospitalAdmissionDiagnosis hospitalAdmissionDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalAdmissionDiagnosisHospitalAdmissionDiagnosisMoodCode", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +377,9 @@ public static boolean validateHospitalAdmissionDiagnosisProblemObservation( HospitalAdmissionDiagnosis hospitalAdmissionDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalAdmissionDiagnosisHospitalAdmissionDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosisSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosisSectionOperations.java index 94694cbf55..00040060e4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosisSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionDiagnosisSectionOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -100,6 +101,9 @@ public static boolean validateHospitalAdmissionDiagnosisSectionTemplateId( HospitalAdmissionDiagnosisSection hospitalAdmissionDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosisSectionTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +173,9 @@ public static boolean validateHospitalAdmissionDiagnosisSectionCode( HospitalAdmissionDiagnosisSection hospitalAdmissionDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosisSectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +243,9 @@ public static boolean validateHospitalAdmissionDiagnosisSectionCodeP( HospitalAdmissionDiagnosisSection hospitalAdmissionDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +313,9 @@ public static boolean validateHospitalAdmissionDiagnosisSectionTitle( HospitalAdmissionDiagnosisSection hospitalAdmissionDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosisSectionTitle", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -370,6 +383,9 @@ public static boolean validateHospitalAdmissionDiagnosisSectionText( HospitalAdmissionDiagnosisSection hospitalAdmissionDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosisSectionText", "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +453,10 @@ public static boolean validateHospitalAdmissionDiagnosisSectionHospitalAdmission HospitalAdmissionDiagnosisSection hospitalAdmissionDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosisSectionHospitalAdmissionDiagnosis", + "WARNING"); + if (VALIDATE_HOSPITAL_ADMISSION_DIAGNOSIS_SECTION_HOSPITAL_ADMISSION_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionMedicationsSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionMedicationsSectionEntriesOptionalOperations.java index c8284355ac..d2a3c10f8c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionMedicationsSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalAdmissionMedicationsSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional HospitalAdmissionMedicationsSectionEntriesOptional hospitalAdmissionMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalAdmissionMedicationsSectionEntriesOptionalHospitalAdmissionMedicationsSectionEntriesOptionalTemplateId", + "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +178,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional HospitalAdmissionMedicationsSectionEntriesOptional hospitalAdmissionMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalAdmissionMedicationsSectionEntriesOptionalHospitalAdmissionMedicationsSectionEntriesOptionalCode", + "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +250,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional HospitalAdmissionMedicationsSectionEntriesOptional hospitalAdmissionMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalAdmissionMedicationsSectionEntriesOptionalHospitalAdmissionMedicationsSectionEntriesOptionalCodeP", + "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +301,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional HospitalAdmissionMedicationsSectionEntriesOptional hospitalAdmissionMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalAdmissionMedicationsSectionEntriesOptionalHospitalAdmissionMedicationsSectionEntriesOptionalText", + "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +394,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional HospitalAdmissionMedicationsSectionEntriesOptional hospitalAdmissionMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalAdmissionMedicationsSectionEntriesOptionalHospitalAdmissionMedicationsSectionEntriesOptionalTitle", + "ERROR"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +466,11 @@ public static boolean validateHospitalAdmissionMedicationsSectionEntriesOptional HospitalAdmissionMedicationsSectionEntriesOptional hospitalAdmissionMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalAdmissionMedicationsSectionEntriesOptionalHospitalAdmissionMedicationsSectionEntriesOptionalAdmissionMedication", + "WARNING"); + if (VALIDATE_HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_ADMISSION_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalConsultationsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalConsultationsSectionOperations.java index 006ffaac93..83d2c08b27 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalConsultationsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalConsultationsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ public static boolean validateHospitalConsultationsSectionTemplateId( HospitalConsultationsSection hospitalConsultationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalConsultationsSectionHospitalConsultationsSectionTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_CONSULTATIONS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateHospitalConsultationsSectionCode( HospitalConsultationsSection hospitalConsultationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalConsultationsSectionHospitalConsultationsSectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_CONSULTATIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validateHospitalConsultationsSectionCodeP( HospitalConsultationsSection hospitalConsultationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalConsultationsSectionHospitalConsultationsSectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_CONSULTATIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validateHospitalConsultationsSectionText( HospitalConsultationsSection hospitalConsultationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalConsultationsSectionHospitalConsultationsSectionText", "ERROR"); + if (VALIDATE_HOSPITAL_CONSULTATIONS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -363,6 +372,8 @@ public static boolean validateHospitalConsultationsSectionTitle( HospitalConsultationsSection hospitalConsultationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalConsultationsSectionHospitalConsultationsSectionTitle", "ERROR"); + if (VALIDATE_HOSPITAL_CONSULTATIONS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalCourseSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalCourseSectionOperations.java index 89683ba46b..a40dc3b1af 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalCourseSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalCourseSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected HospitalCourseSectionOperations() { public static boolean validateHospitalCourseSectionTemplateId(HospitalCourseSection hospitalCourseSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalCourseSectionHospitalCourseSectionTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_COURSE_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateHospitalCourseSectionTemplateId(HospitalCourseSect public static boolean validateHospitalCourseSectionCode(HospitalCourseSection hospitalCourseSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalCourseSectionHospitalCourseSectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_COURSE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateHospitalCourseSectionCode(HospitalCourseSection ho public static boolean validateHospitalCourseSectionCodeP(HospitalCourseSection hospitalCourseSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalCourseSectionHospitalCourseSectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_COURSE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +295,8 @@ public static boolean validateHospitalCourseSectionCodeP(HospitalCourseSection h public static boolean validateHospitalCourseSectionTitle(HospitalCourseSection hospitalCourseSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalCourseSectionHospitalCourseSectionTitle", "ERROR"); + if (VALIDATE_HOSPITAL_COURSE_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +361,8 @@ public static boolean validateHospitalCourseSectionTitle(HospitalCourseSection h public static boolean validateHospitalCourseSectionText(HospitalCourseSection hospitalCourseSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalCourseSectionHospitalCourseSectionText", "ERROR"); + if (VALIDATE_HOSPITAL_COURSE_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosis2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosis2Operations.java index 69f3003cf7..ce2552f40c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosis2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosis2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ public static boolean validateHospitalDischargeDiagnosis2TemplateId( HospitalDischargeDiagnosis2 hospitalDischargeDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalDischargeDiagnosis2HospitalDischargeDiagnosis2TemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -142,6 +145,8 @@ public static boolean validateHospitalDischargeDiagnosisCodeP( HospitalDischargeDiagnosis2 hospitalDischargeDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalDischargeDiagnosis2HospitalDischargeDiagnosisCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -302,6 +307,8 @@ public static boolean validateHospitalDischargeDiagnosisCode( return true; } + DatatypesUtil.increment(context, "HospitalDischargeDiagnosis2HospitalDischargeDiagnosisCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -367,6 +374,9 @@ public static boolean validateHospitalDischargeDiagnosisProblemObservation( HospitalDischargeDiagnosis2 hospitalDischargeDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeDiagnosis2HospitalDischargeDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosisOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosisOperations.java index 0d56c2d0d3..d095dc8127 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosisOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosisOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,9 @@ public static boolean validateHospitalDischargeDiagnosisProblemObservation( HospitalDischargeDiagnosis hospitalDischargeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeDiagnosisHospitalDischargeDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +173,8 @@ public static boolean validateHospitalDischargeDiagnosisTemplateId( HospitalDischargeDiagnosis hospitalDischargeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalDischargeDiagnosisHospitalDischargeDiagnosisTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +242,8 @@ public static boolean validateHospitalDischargeDiagnosisClassCode( HospitalDischargeDiagnosis hospitalDischargeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalDischargeDiagnosisHospitalDischargeDiagnosisClassCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +311,8 @@ public static boolean validateHospitalDischargeDiagnosisMoodCode( HospitalDischargeDiagnosis hospitalDischargeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalDischargeDiagnosisHospitalDischargeDiagnosisMoodCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -370,6 +380,8 @@ public static boolean validateHospitalDischargeDiagnosisMoodCode( public static boolean validateHospitalDischargeDiagnosisCode(HospitalDischargeDiagnosis hospitalDischargeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "HospitalDischargeDiagnosisHospitalDischargeDiagnosisCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosisSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosisSectionOperations.java index 984b4ba1be..f23024c5e8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosisSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeDiagnosisSectionOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -100,6 +101,9 @@ public static boolean validateHospitalDischargeDiagnosisSectionTemplateId( HospitalDischargeDiagnosisSection hospitalDischargeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeDiagnosisSectionHospitalDischargeDiagnosisSectionTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +173,9 @@ public static boolean validateHospitalDischargeDiagnosisSectionCode( HospitalDischargeDiagnosisSection hospitalDischargeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeDiagnosisSectionHospitalDischargeDiagnosisSectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +243,9 @@ public static boolean validateHospitalDischargeDiagnosisSectionCodeP( HospitalDischargeDiagnosisSection hospitalDischargeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeDiagnosisSectionHospitalDischargeDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +313,9 @@ public static boolean validateHospitalDischargeDiagnosisSectionTitle( HospitalDischargeDiagnosisSection hospitalDischargeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeDiagnosisSectionHospitalDischargeDiagnosisSectionTitle", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -370,6 +383,9 @@ public static boolean validateHospitalDischargeDiagnosisSectionText( HospitalDischargeDiagnosisSection hospitalDischargeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeDiagnosisSectionHospitalDischargeDiagnosisSectionText", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +453,10 @@ public static boolean validateHospitalDischargeDiagnosisSectionHospitalDischarge HospitalDischargeDiagnosisSection hospitalDischargeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeDiagnosisSectionHospitalDischargeDiagnosisSectionHospitalDischargeDiagnosis", + "WARNING"); + if (VALIDATE_HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION_HOSPITAL_DISCHARGE_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeInstructionsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeInstructionsSectionOperations.java index 2ea34919c3..00b6794264 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeInstructionsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeInstructionsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validateHospitalDischargeInstructionsSectionTemplateId( HospitalDischargeInstructionsSection hospitalDischargeInstructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeInstructionsSectionHospitalDischargeInstructionsSectionTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_INSTRUCTIONS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateHospitalDischargeInstructionsSectionCode( HospitalDischargeInstructionsSection hospitalDischargeInstructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeInstructionsSectionHospitalDischargeInstructionsSectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_INSTRUCTIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,9 @@ public static boolean validateHospitalDischargeInstructionsSectionCodeP( HospitalDischargeInstructionsSection hospitalDischargeInstructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeInstructionsSectionHospitalDischargeInstructionsSectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_INSTRUCTIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +308,9 @@ public static boolean validateHospitalDischargeInstructionsSectionTitle( HospitalDischargeInstructionsSection hospitalDischargeInstructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeInstructionsSectionHospitalDischargeInstructionsSectionTitle", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_INSTRUCTIONS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +378,9 @@ public static boolean validateHospitalDischargeInstructionsSectionText( HospitalDischargeInstructionsSection hospitalDischargeInstructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeInstructionsSectionHospitalDischargeInstructionsSectionText", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_INSTRUCTIONS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeMedicationsSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeMedicationsSectionEntriesOptionalOperations.java index d0a69fa24f..235d99f2d4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeMedicationsSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeMedicationsSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSectionEntriesOptional hospitalDischargeMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalDischargeMedicationsSectionEntriesOptionalHospitalDischargeMedicationsSectionEntriesOptionalTemplateId", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +178,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSectionEntriesOptional hospitalDischargeMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalDischargeMedicationsSectionEntriesOptionalHospitalDischargeMedicationsSectionEntriesOptionalCode", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +250,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSectionEntriesOptional hospitalDischargeMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalDischargeMedicationsSectionEntriesOptionalHospitalDischargeMedicationsSectionEntriesOptionalCodeP", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +322,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSectionEntriesOptional hospitalDischargeMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalDischargeMedicationsSectionEntriesOptionalHospitalDischargeMedicationsSectionEntriesOptionalTitle", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +394,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSectionEntriesOptional hospitalDischargeMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalDischargeMedicationsSectionEntriesOptionalHospitalDischargeMedicationsSectionEntriesOptionalText", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +466,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSectionEntriesOptional hospitalDischargeMedicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalDischargeMedicationsSectionEntriesOptionalHospitalDischargeMedicationsSectionEntriesOptionalDischargeMedication", + "WARNING"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_DISCHARGE_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeMedicationsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeMedicationsSectionOperations.java index 3b01944638..34659368f9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeMedicationsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeMedicationsSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -153,6 +154,10 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSection hospitalDischargeMedicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeMedicationsSectionHospitalDischargeMedicationsSectionEntriesOptionalTemplateId", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -220,6 +225,10 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSection hospitalDischargeMedicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeMedicationsSectionHospitalDischargeMedicationsSectionEntriesOptionalCodeP", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -314,6 +323,10 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional return true; } + DatatypesUtil.increment( + context, "HospitalDischargeMedicationsSectionHospitalDischargeMedicationsSectionEntriesOptionalCode", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -381,6 +394,10 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSection hospitalDischargeMedicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeMedicationsSectionHospitalDischargeMedicationsSectionEntriesOptionalText", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -448,6 +465,10 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSection hospitalDischargeMedicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeMedicationsSectionHospitalDischargeMedicationsSectionEntriesOptionalTitle", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -515,6 +536,11 @@ public static boolean validateHospitalDischargeMedicationsSectionEntriesOptional HospitalDischargeMedicationsSection hospitalDischargeMedicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "HospitalDischargeMedicationsSectionHospitalDischargeMedicationsSectionEntriesOptionalDischargeMedication", + "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_DISCHARGE_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargePhysicalSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargePhysicalSectionOperations.java index 2abd718cf6..52be00638a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargePhysicalSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargePhysicalSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validateHospitalDischargePhysicalSectionTemplateId( HospitalDischargePhysicalSection hospitalDischargePhysicalSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargePhysicalSectionHospitalDischargePhysicalSectionTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_PHYSICAL_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateHospitalDischargePhysicalSectionCode( HospitalDischargePhysicalSection hospitalDischargePhysicalSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargePhysicalSectionHospitalDischargePhysicalSectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_PHYSICAL_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,9 @@ public static boolean validateHospitalDischargePhysicalSectionCodeP( HospitalDischargePhysicalSection hospitalDischargePhysicalSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargePhysicalSectionHospitalDischargePhysicalSectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_PHYSICAL_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +308,9 @@ public static boolean validateHospitalDischargePhysicalSectionTitle( HospitalDischargePhysicalSection hospitalDischargePhysicalSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargePhysicalSectionHospitalDischargePhysicalSectionTitle", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_PHYSICAL_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +378,9 @@ public static boolean validateHospitalDischargePhysicalSectionText( HospitalDischargePhysicalSection hospitalDischargePhysicalSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargePhysicalSectionHospitalDischargePhysicalSectionText", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_PHYSICAL_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeStudiesSummarySectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeStudiesSummarySectionOperations.java index c247c47b37..cb4eed3880 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeStudiesSummarySectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/HospitalDischargeStudiesSummarySectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validateHospitalDischargeStudiesSummarySectionTemplateId( HospitalDischargeStudiesSummarySection hospitalDischargeStudiesSummarySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeStudiesSummarySectionHospitalDischargeStudiesSummarySectionTemplateId", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_STUDIES_SUMMARY_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateHospitalDischargeStudiesSummarySectionCode( HospitalDischargeStudiesSummarySection hospitalDischargeStudiesSummarySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeStudiesSummarySectionHospitalDischargeStudiesSummarySectionCode", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_STUDIES_SUMMARY_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,9 @@ public static boolean validateHospitalDischargeStudiesSummarySectionCodeP( HospitalDischargeStudiesSummarySection hospitalDischargeStudiesSummarySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeStudiesSummarySectionHospitalDischargeStudiesSummarySectionCodeP", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_STUDIES_SUMMARY_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +308,9 @@ public static boolean validateHospitalDischargeStudiesSummarySectionTitle( HospitalDischargeStudiesSummarySection hospitalDischargeStudiesSummarySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeStudiesSummarySectionHospitalDischargeStudiesSummarySectionTitle", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_STUDIES_SUMMARY_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +378,9 @@ public static boolean validateHospitalDischargeStudiesSummarySectionText( HospitalDischargeStudiesSummarySection hospitalDischargeStudiesSummarySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "HospitalDischargeStudiesSummarySectionHospitalDischargeStudiesSummarySectionText", "ERROR"); + if (VALIDATE_HOSPITAL_DISCHARGE_STUDIES_SUMMARY_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationActivity2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationActivity2Operations.java index 51db3be27b..f966d1dc06 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationActivity2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationActivity2Operations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -137,6 +138,8 @@ protected ImmunizationActivity2Operations() { public static boolean validateImmunizationActivity2TemplateId(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivity2TemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -202,6 +205,8 @@ public static boolean validateImmunizationActivity2TemplateId(ImmunizationActivi public static boolean validateImmunizationActivityStatusCodeP(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityStatusCodeP", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -280,6 +285,8 @@ public static boolean validateImmunizationActivityStatusCodeP(ImmunizationActivi public static boolean validateImmunizationActivity2AuthorParticipation(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivity2AuthorParticipation", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -346,6 +353,9 @@ public static boolean validateImmunizationActivity2AuthorParticipation(Immunizat public static boolean validateImmunizationActivity2EntryRelationshipForSubAdminAct( ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivity2ImmunizationActivity2EntryRelationshipForSubAdminAct", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_ENTRY_RELATIONSHIP_FOR_SUB_ADMIN_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -412,6 +422,9 @@ public static boolean validateImmunizationActivity2EntryRelationshipForSubAdminA public static boolean validateImmunizationActivity2EntryRelationshipTypeCode( ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivity2ImmunizationActivity2EntryRelationshipTypeCode", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -483,6 +496,9 @@ public static boolean validateImmunizationActivity2EntryRelationshipTypeCode( public static boolean validateImmunizationActivity2EntryRelationshipInversionInd( ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivity2ImmunizationActivity2EntryRelationshipInversionInd", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_ENTRY_RELATIONSHIP_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -554,6 +570,9 @@ public static boolean validateImmunizationActivity2EntryRelationshipInversionInd public static boolean validateImmunizationActivity2EntryRelationshipSequenceNumber( ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivity2ImmunizationActivity2EntryRelationshipSequenceNumber", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_ENTRY_RELATIONSHIP_SEQUENCE_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -625,6 +644,9 @@ public static boolean validateImmunizationActivity2EntryRelationshipSequenceNumb public static boolean validateImmunizationActivity2EntryRelationshipSubstanceAdministeredAct( ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivity2ImmunizationActivity2EntryRelationshipSubstanceAdministeredAct", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_ENTRY_RELATIONSHIP_SUBSTANCE_ADMINISTERED_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -696,6 +718,8 @@ public static boolean validateImmunizationActivity2EntryRelationshipSubstanceAdm public static boolean validateImmunizationActivity2CETranslationP(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivity2CETranslationP", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -781,6 +805,8 @@ public static boolean validateImmunizationActivity2CETranslationP(ImmunizationAc public static boolean validateImmunizationActivity2CETranslation(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivity2CETranslation", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY2_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1137,6 +1163,8 @@ public static Instruction2 getConsolInstruction2(ImmunizationActivity2 immunizat public static boolean validateImmunizationActivityTextReference(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityTextReference", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1202,6 +1230,8 @@ public static boolean validateImmunizationActivityTextReference(ImmunizationActi public static boolean validateImmunizationActivityReferenceValue(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityReferenceValue", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1267,6 +1297,8 @@ public static boolean validateImmunizationActivityReferenceValue(ImmunizationAct public static boolean validateImmunizationActivityTextReferenceValue(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityTextReferenceValue", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1332,6 +1364,8 @@ public static boolean validateImmunizationActivityTextReferenceValue(Immunizatio public static boolean validateImmunizationActivityInstructionInversion(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityInstructionInversion", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_INSTRUCTION_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1377,6 +1411,8 @@ public static boolean validateImmunizationActivityInstructionInversion(Immunizat public static boolean validateImmunizationActivityCode(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityCode", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1427,6 +1463,8 @@ public static boolean validateImmunizationActivityStatusCode(ImmunizationActivit return true; } + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityStatusCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1470,6 +1508,8 @@ public static boolean validateImmunizationActivityStatusCode(ImmunizationActivit public static boolean validateImmunizationActivityRepeatNumber(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityRepeatNumber", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1514,6 +1554,8 @@ public static boolean validateImmunizationActivityRepeatNumber(ImmunizationActiv public static boolean validateImmunizationActivityAdministrationUnitCodeP( ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityAdministrationUnitCodeP", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ADMINISTRATION_UNIT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1582,6 +1624,8 @@ public static boolean validateImmunizationActivityAdministrationUnitCode( return true; } + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityAdministrationUnitCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ADMINISTRATION_UNIT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1627,6 +1671,8 @@ public static boolean validateImmunizationActivityAdministrationUnitCode( public static boolean validateImmunizationActivityText(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityText", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1669,6 +1715,8 @@ public static boolean validateImmunizationActivityText(ImmunizationActivity2 imm public static boolean validateImmunizationActivityRouteCodeP(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityRouteCodeP", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ROUTE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1734,6 +1782,8 @@ public static boolean validateImmunizationActivityRouteCode(ImmunizationActivity return true; } + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityRouteCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ROUTE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1972,6 +2022,8 @@ public static boolean validateImmunizationActivityRouteCode(ImmunizationActivity public static boolean validateImmunizationActivityDrugVehicle(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityDrugVehicle", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_DRUG_VEHICLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2037,6 +2089,8 @@ public static boolean validateImmunizationActivityDrugVehicle(ImmunizationActivi public static boolean validateImmunizationActivityIndication(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityIndication", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2101,6 +2155,8 @@ public static boolean validateImmunizationActivityIndication(ImmunizationActivit public static boolean validateImmunizationActivityMedicationSupplyOrder(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityMedicationSupplyOrder", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_MEDICATION_SUPPLY_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2167,6 +2223,8 @@ public static boolean validateImmunizationActivityMedicationSupplyOrder(Immuniza public static boolean validateImmunizationActivityMedicationDispense(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityMedicationDispense", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_MEDICATION_DISPENSE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2232,6 +2290,8 @@ public static boolean validateImmunizationActivityMedicationDispense(Immunizatio public static boolean validateImmunizationActivityReactionObservation(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityReactionObservation", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2297,6 +2357,8 @@ public static boolean validateImmunizationActivityReactionObservation(Immunizati public static boolean validateImmunizationActivityInstructions(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityInstructions", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2362,6 +2424,8 @@ public static boolean validateImmunizationActivityInstructions(ImmunizationActiv public static boolean validateImmunizationActivityConsumable(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityConsumable", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_CONSUMABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2426,6 +2490,8 @@ public static boolean validateImmunizationActivityConsumable(ImmunizationActivit public static boolean validateImmunizationActivityPrecondition(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityPrecondition", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_PRECONDITION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2491,6 +2557,9 @@ public static boolean validateImmunizationActivityPrecondition(ImmunizationActiv public static boolean validateImmunizationActivityConsumableImmunizationMedicationInformation( ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivity2ImmunizationActivityConsumableImmunizationMedicationInformation", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_CONSUMABLE_IMMUNIZATION_MEDICATION_INFORMATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2562,6 +2631,8 @@ public static boolean validateImmunizationActivityConsumableImmunizationMedicati public static boolean validateImmunizationActivityPreconditionTypeCode(ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivity2ImmunizationActivityPreconditionTypeCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_PRECONDITION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2633,6 +2704,10 @@ public static boolean validateImmunizationActivityPreconditionTypeCode(Immunizat public static boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdministration( ImmunizationActivity2 immunizationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivity2ImmunizationActivityPreconditionPreconditionForSubstanceAdministration", + "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_PRECONDITION_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationActivityOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationActivityOperations.java index 719d5c9a0e..485e9cd7c1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationActivityOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationActivityOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.SubstanceAdministrationOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -144,6 +145,8 @@ protected ImmunizationActivityOperations() { public static boolean validateImmunizationActivityTextReference(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityTextReference", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -209,6 +212,8 @@ public static boolean validateImmunizationActivityTextReference(ImmunizationActi public static boolean validateImmunizationActivityReferenceValue(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityReferenceValue", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -274,6 +279,8 @@ public static boolean validateImmunizationActivityReferenceValue(ImmunizationAct public static boolean validateImmunizationActivityTextReferenceValue(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityTextReferenceValue", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -339,6 +346,8 @@ public static boolean validateImmunizationActivityTextReferenceValue(Immunizatio public static boolean validateImmunizationActivityDoseQuantityUnit(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityDoseQuantityUnit", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_DOSE_QUANTITY_UNIT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -404,6 +413,8 @@ public static boolean validateImmunizationActivityDoseQuantityUnit(ImmunizationA public static boolean validateImmunizationActivityInstructionInversion(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityInstructionInversion", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_INSTRUCTION_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -469,6 +480,8 @@ public static boolean validateImmunizationActivityInstructionInversion(Immunizat public static boolean validateImmunizationActivityDrugVehicleTypeCode(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityDrugVehicleTypeCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_DRUG_VEHICLE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -514,6 +527,8 @@ public static boolean validateImmunizationActivityDrugVehicleTypeCode(Immunizati public static boolean validateImmunizationActivityPreconditionTypeCode(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityPreconditionTypeCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_PRECONDITION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -564,6 +579,10 @@ public static boolean validateImmunizationActivityPreconditionTypeCode(Immunizat public static boolean validateImmunizationActivityPreconditionPreconditionForSubstanceAdministration( ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivityImmunizationActivityPreconditionPreconditionForSubstanceAdministration", + "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_PRECONDITION_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -635,6 +654,8 @@ public static boolean validateImmunizationActivityPreconditionPreconditionForSub public static boolean validateImmunizationActivityTemplateId(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityTemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -699,6 +720,8 @@ public static boolean validateImmunizationActivityTemplateId(ImmunizationActivit public static boolean validateImmunizationActivityClassCode(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityClassCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -765,6 +788,8 @@ public static boolean validateImmunizationActivityClassCode(ImmunizationActivity public static boolean validateImmunizationActivityMoodCode(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityMoodCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -808,6 +833,8 @@ public static boolean validateImmunizationActivityMoodCode(ImmunizationActivity public static boolean validateImmunizationActivityId(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityId", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -850,6 +877,8 @@ public static boolean validateImmunizationActivityId(ImmunizationActivity immuni public static boolean validateImmunizationActivityCode(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityCode", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -892,6 +921,8 @@ public static boolean validateImmunizationActivityCode(ImmunizationActivity immu public static boolean validateImmunizationActivityStatusCode(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityStatusCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -935,6 +966,8 @@ public static boolean validateImmunizationActivityStatusCode(ImmunizationActivit public static boolean validateImmunizationActivityEffectiveTime(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityEffectiveTime", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -979,6 +1012,8 @@ public static boolean validateImmunizationActivityEffectiveTime(ImmunizationActi public static boolean validateImmunizationActivityRouteCodeP(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityRouteCodeP", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ROUTE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1044,6 +1079,8 @@ public static boolean validateImmunizationActivityRouteCode(ImmunizationActivity return true; } + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityRouteCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ROUTE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1087,6 +1124,8 @@ public static boolean validateImmunizationActivityRouteCode(ImmunizationActivity public static boolean validateImmunizationActivityApproachSiteCodeP(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityApproachSiteCodeP", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_APPROACH_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1131,6 +1170,8 @@ public static boolean validateImmunizationActivityApproachSiteCodeP(Immunization public static boolean validateImmunizationActivityApproachSiteCode(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityApproachSiteCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_APPROACH_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1175,6 +1216,8 @@ public static boolean validateImmunizationActivityApproachSiteCode(ImmunizationA public static boolean validateImmunizationActivityDoseQuantity(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityDoseQuantity", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_DOSE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1282,6 +1325,8 @@ public static boolean validateImmunizationActivityDoseQuantity(ImmunizationActiv public static boolean validateImmunizationActivityNegationInd(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityNegationInd", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_NEGATION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1389,6 +1434,8 @@ public static boolean validateImmunizationActivityNegationInd(ImmunizationActivi public static boolean validateImmunizationActivityText(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityText", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1561,6 +1608,8 @@ public static boolean validateImmunizationActivityText(ImmunizationActivity immu public static boolean validateImmunizationActivityRepeatNumber(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityRepeatNumber", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1626,6 +1675,8 @@ public static boolean validateImmunizationActivityRepeatNumber(ImmunizationActiv public static boolean validateImmunizationActivityAdministrationUnitCodeP(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityAdministrationUnitCodeP", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ADMINISTRATION_UNIT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1717,6 +1768,8 @@ public static boolean validateImmunizationActivityAdministrationUnitCode(Immuniz return true; } + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityAdministrationUnitCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_ADMINISTRATION_UNIT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1783,6 +1836,8 @@ public static boolean validateImmunizationActivityAdministrationUnitCode(Immuniz public static boolean validateImmunizationActivityDrugVehicle(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityDrugVehicle", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_DRUG_VEHICLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1848,6 +1903,8 @@ public static boolean validateImmunizationActivityDrugVehicle(ImmunizationActivi public static boolean validateImmunizationActivityIndication(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityIndication", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1912,6 +1969,8 @@ public static boolean validateImmunizationActivityIndication(ImmunizationActivit public static boolean validateImmunizationActivityInstructions(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityInstructions", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1977,6 +2036,8 @@ public static boolean validateImmunizationActivityInstructions(ImmunizationActiv public static boolean validateImmunizationActivityMedicationDispense(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityMedicationDispense", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_MEDICATION_DISPENSE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2042,6 +2103,8 @@ public static boolean validateImmunizationActivityMedicationDispense(Immunizatio public static boolean validateImmunizationActivityReactionObservation(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityReactionObservation", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2086,6 +2149,8 @@ public static boolean validateImmunizationActivityReactionObservation(Immunizati public static boolean validateImmunizationActivityPrecondition(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityPrecondition", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_PRECONDITION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2151,6 +2216,8 @@ public static boolean validateImmunizationActivityPrecondition(ImmunizationActiv public static boolean validateImmunizationActivityImmunizationRefusalReason( ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityImmunizationRefusalReason", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_IMMUNIZATION_REFUSAL_REASON__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2217,6 +2284,8 @@ public static boolean validateImmunizationActivityImmunizationRefusalReason( public static boolean validateImmunizationActivityConsumable(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityConsumable", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_CONSUMABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2281,6 +2350,8 @@ public static boolean validateImmunizationActivityConsumable(ImmunizationActivit public static boolean validateImmunizationActivityPerformer(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityPerformer", "WARNING"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2366,6 +2437,8 @@ public static boolean validateImmunizationActivityPerformer(ImmunizationActivity public static boolean validateImmunizationActivityMedicationSupplyOrder(ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationActivityImmunizationActivityMedicationSupplyOrder", "INFO"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_MEDICATION_SUPPLY_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2474,6 +2547,9 @@ public static boolean validateImmunizationActivityMedicationSupplyOrder(Immuniza public static boolean validateImmunizationActivityConsumableImmunizationMedicationInformation( ImmunizationActivity immunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationActivityImmunizationActivityConsumableImmunizationMedicationInformation", "ERROR"); + if (VALIDATE_IMMUNIZATION_ACTIVITY_CONSUMABLE_IMMUNIZATION_MEDICATION_INFORMATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationMedicationInformation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationMedicationInformation2Operations.java index 2d778e08ef..d5098e352a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationMedicationInformation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationMedicationInformation2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -103,6 +104,9 @@ public static boolean validateImmunizationMedicationInformation2TemplateId( ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationMedicationInformation2ImmunizationMedicationInformation2TemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +174,11 @@ public static boolean validateImmunizationMedicationInformation2ImmunizationMedi ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformation2ImmunizationMedicationInformationManufacturedMaterialCETranslationP", + "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION2_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -258,6 +267,11 @@ public static boolean validateImmunizationMedicationInformation2ImmunizationMedi ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformation2ImmunizationMedicationInformationManufacturedMaterialCETranslation", + "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION2_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -340,6 +354,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialOriginalTextReferenceValue", + "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -391,6 +410,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCodeP", + "ERROR"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -456,6 +480,10 @@ public static boolean validateImmunizationMedicationInformationManufacturedMater ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationMedicationInformation2ImmunizationMedicationInformationManufacturedMaterial", + "ERROR"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -502,6 +530,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCodeOriginalText", + "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -553,6 +586,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialOriginalTextReference", + "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -604,6 +642,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialTextReferenceValue", + "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -781,6 +824,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCodeTranslation", + "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -855,6 +903,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCode", + "ERROR"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -937,6 +990,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation2 immunizationMedicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformation2ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialLotNumberText", + "WARNING"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_LOT_NUMBER_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationMedicationInformationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationMedicationInformationOperations.java index 1854761e92..b447d3d896 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationMedicationInformationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationMedicationInformationOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ManufacturedProductOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -106,6 +107,9 @@ public static boolean validateImmunizationMedicationInformationTemplateId( ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationMedicationInformationImmunizationMedicationInformationTemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +177,9 @@ public static boolean validateImmunizationMedicationInformationClassCode( ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationMedicationInformationImmunizationMedicationInformationClassCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -240,6 +247,9 @@ public static boolean validateImmunizationMedicationInformationId( ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationMedicationInformationImmunizationMedicationInformationId", "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -307,6 +317,10 @@ public static boolean validateImmunizationMedicationInformationManufacturerOrgan ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationMedicationInformationImmunizationMedicationInformationManufacturerOrganization", + "WARNING"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURER_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -374,6 +388,9 @@ public static boolean validateImmunizationMedicationInformationManufacturedMater ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterial", "ERROR"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -441,6 +458,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformationImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCodeOriginalText", + "WARNING"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -513,6 +535,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformationImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialOriginalTextReference", + "WARNING"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -585,6 +612,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformationImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialTextReferenceValue", + "WARNING"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -657,6 +689,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformationImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCodeTranslation", + "INFO"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -731,6 +768,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformationImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialCode", + "ERROR"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -803,6 +845,11 @@ public static boolean validateImmunizationMedicationInformationImmunizationMedic ImmunizationMedicationInformation immunizationMedicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ImmunizationMedicationInformationImmunizationMedicationInformationImmunizationMedicationInformationManufacturedMaterialLotNumberText", + "WARNING"); + if (VALIDATE_IMMUNIZATION_MEDICATION_INFORMATION_IMMUNIZATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_LOT_NUMBER_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationRefusalReasonOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationRefusalReasonOperations.java index 59a89fcd7d..6c82cb6773 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationRefusalReasonOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationRefusalReasonOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ public static boolean validateImmunizationRefusalReasonTemplateId( ImmunizationRefusalReason immunizationRefusalReason, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationRefusalReasonImmunizationRefusalReasonTemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATION_REFUSAL_REASON_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateImmunizationRefusalReasonClassCode( ImmunizationRefusalReason immunizationRefusalReason, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationRefusalReasonImmunizationRefusalReasonClassCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_REFUSAL_REASON_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -229,6 +234,8 @@ public static boolean validateImmunizationRefusalReasonClassCode( public static boolean validateImmunizationRefusalReasonCode(ImmunizationRefusalReason immunizationRefusalReason, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationRefusalReasonImmunizationRefusalReasonCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_REFUSAL_REASON_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +300,8 @@ public static boolean validateImmunizationRefusalReasonCode(ImmunizationRefusalR public static boolean validateImmunizationRefusalReasonId(ImmunizationRefusalReason immunizationRefusalReason, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationRefusalReasonImmunizationRefusalReasonId", "ERROR"); + if (VALIDATE_IMMUNIZATION_REFUSAL_REASON_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -357,6 +366,8 @@ public static boolean validateImmunizationRefusalReasonId(ImmunizationRefusalRea public static boolean validateImmunizationRefusalReasonMoodCode(ImmunizationRefusalReason immunizationRefusalReason, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationRefusalReasonImmunizationRefusalReasonMoodCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_REFUSAL_REASON_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -424,6 +435,8 @@ public static boolean validateImmunizationRefusalReasonStatusCode( ImmunizationRefusalReason immunizationRefusalReason, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationRefusalReasonImmunizationRefusalReasonStatusCode", "ERROR"); + if (VALIDATE_IMMUNIZATION_REFUSAL_REASON_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSection2Operations.java index 3fd91bb8b4..d8505b5ea6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected ImmunizationsSection2Operations() { public static boolean validateImmunizationsSection2NullFlavor(ImmunizationsSection2 immunizationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSection2ImmunizationsSection2NullFlavor", "INFO"); + if (VALIDATE_IMMUNIZATIONS_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +166,8 @@ public static boolean validateImmunizationsSection2NullFlavor(ImmunizationsSecti public static boolean validateImmunizationsSection2Title(ImmunizationsSection2 immunizationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSection2ImmunizationsSection2Title", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -226,6 +231,8 @@ public static boolean validateImmunizationsSection2Title(ImmunizationsSection2 i public static boolean validateImmunizationsSection2Text(ImmunizationsSection2 immunizationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSection2ImmunizationsSection2Text", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateImmunizationsSection2Text(ImmunizationsSection2 im public static boolean validateImmunizationsSectionEntriesOptionalTemplateId( ImmunizationsSection2 immunizationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSection2ImmunizationsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -355,6 +364,8 @@ public static boolean validateImmunizationsSectionEntriesOptionalTemplateId( public static boolean validateImmunizationsSectionEntriesOptionalCodeP(ImmunizationsSection2 immunizationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSection2ImmunizationsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -445,6 +456,8 @@ public static boolean validateImmunizationsSectionEntriesOptionalCode(Immunizati return true; } + DatatypesUtil.increment(context, "ImmunizationsSection2ImmunizationsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -510,6 +523,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalCode(Immunizati public static boolean validateImmunizationsSectionEntriesOptionalImmunizationActivity( ImmunizationsSection2 immunizationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSection2ImmunizationsSectionEntriesOptionalImmunizationActivity", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_IMMUNIZATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionEntriesOptional2Operations.java index 321431e4f6..7bb9e1676d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -146,6 +147,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalTemplateId( ImmunizationsSectionEntriesOptional2 immunizationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptional2ImmunizationsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -213,6 +217,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalCodeP( ImmunizationsSectionEntriesOptional2 immunizationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptional2ImmunizationsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -305,6 +312,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptional2ImmunizationsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -372,6 +382,10 @@ public static boolean validateImmunizationsSectionEntriesOptionalImmunizationAct ImmunizationsSectionEntriesOptional2 immunizationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptional2ImmunizationsSectionEntriesOptionalImmunizationActivity", + "WARNING"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_IMMUNIZATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionEntriesOptionalOperations.java index 056b3db59b..2bcb274734 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalTemplateId( ImmunizationsSectionEntriesOptional immunizationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptionalImmunizationsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +176,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalCode( ImmunizationsSectionEntriesOptional immunizationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptionalImmunizationsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +246,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalCodeP( ImmunizationsSectionEntriesOptional immunizationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptionalImmunizationsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +316,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalTitle( ImmunizationsSectionEntriesOptional immunizationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptionalImmunizationsSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +386,9 @@ public static boolean validateImmunizationsSectionEntriesOptionalText( ImmunizationsSectionEntriesOptional immunizationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptionalImmunizationsSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +456,10 @@ public static boolean validateImmunizationsSectionEntriesOptionalImmunizationAct ImmunizationsSectionEntriesOptional immunizationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ImmunizationsSectionEntriesOptionalImmunizationsSectionEntriesOptionalImmunizationActivity", + "WARNING"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_IMMUNIZATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionOperations.java index 38a363c60f..5330025fa1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ImmunizationsSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected ImmunizationsSectionOperations() { public static boolean validateImmunizationsSectionCodeP(ImmunizationsSection immunizationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSectionImmunizationsSectionCodeP", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -187,6 +190,8 @@ public static boolean validateImmunizationsSectionCode(ImmunizationsSection immu return true; } + DatatypesUtil.increment(context, "ImmunizationsSectionImmunizationsSectionCode", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -250,6 +255,8 @@ public static boolean validateImmunizationsSectionCode(ImmunizationsSection immu public static boolean validateImmunizationsSectionTitle(ImmunizationsSection immunizationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSectionImmunizationsSectionTitle", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -313,6 +320,8 @@ public static boolean validateImmunizationsSectionTitle(ImmunizationsSection imm public static boolean validateImmunizationsSectionText(ImmunizationsSection immunizationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSectionImmunizationsSectionText", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -376,6 +385,8 @@ public static boolean validateImmunizationsSectionText(ImmunizationsSection immu public static boolean validateImmunizationsSectionImmunization(ImmunizationsSection immunizationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSectionImmunizationsSectionImmunization", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_IMMUNIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -489,6 +500,8 @@ public static EList getImmunizations(ImmunizationsSection public static boolean validateImmunizationsSectionEntriesOptionalTemplateId( ImmunizationsSection immunizationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ImmunizationsSectionImmunizationsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/Indication2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/Indication2Operations.java index 2558ae8d48..7887fecef6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/Indication2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/Indication2Operations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected Indication2Operations() { public static boolean validateIndicationProblemIndication(Indication2 indication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Indication2IndicationProblemIndication", "INFO"); + if (VALIDATE_INDICATION_PROBLEM_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -157,6 +160,8 @@ public static boolean validateIndicationProblemIndication(Indication2 indication public static boolean validateIndicationCodeNullFlavorValue(Indication2 indication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Indication2IndicationCodeNullFlavorValue", "INFO"); + if (VALIDATE_INDICATION_CODE_NULL_FLAVOR_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -220,6 +225,8 @@ public static boolean validateIndicationCodeNullFlavorValue(Indication2 indicati public static boolean validateIndication2TemplateId(Indication2 indication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Indication2Indication2TemplateId", "ERROR"); + if (VALIDATE_INDICATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -283,6 +290,8 @@ public static boolean validateIndication2TemplateId(Indication2 indication2, Dia public static boolean validateIndicationCodeNullFlavor(Indication2 indication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Indication2IndicationCodeNullFlavor", "INFO"); + if (VALIDATE_INDICATION_CODE_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -325,6 +334,8 @@ public static boolean validateIndicationCodeNullFlavor(Indication2 indication2, public static boolean validateIndicationCodeP(Indication2 indication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Indication2IndicationCodeP", "ERROR"); + if (VALIDATE_INDICATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -387,6 +398,8 @@ public static boolean validateIndicationCode(Indication2 indication2, Diagnostic return true; } + DatatypesUtil.increment(context, "Indication2IndicationCode", "INFO"); + if (VALIDATE_INDICATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -493,6 +506,8 @@ public static boolean validateIndicationCode(Indication2 indication2, Diagnostic public static boolean validateIndicationId(Indication2 indication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Indication2IndicationId", "ERROR"); + if (VALIDATE_INDICATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -554,6 +569,8 @@ public static boolean validateIndicationId(Indication2 indication2, DiagnosticCh public static boolean validateIndicationValueP(Indication2 indication2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Indication2IndicationValueP", "INFO"); + if (VALIDATE_INDICATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -639,6 +656,8 @@ public static boolean validateIndicationValue(Indication2 indication2, Diagnosti return true; } + DatatypesUtil.increment(context, "Indication2IndicationValue", "WARNING"); + if (VALIDATE_INDICATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/IndicationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/IndicationOperations.java index 6982be2d57..21f019a979 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/IndicationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/IndicationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected IndicationOperations() { public static boolean validateIndicationCodeNullFlavor(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationCodeNullFlavor", "INFO"); + if (VALIDATE_INDICATION_CODE_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateIndicationCodeNullFlavor(Indication indication, Di public static boolean validateIndicationTemplateId(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationTemplateId", "ERROR"); + if (VALIDATE_INDICATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -227,6 +232,8 @@ public static boolean validateIndicationTemplateId(Indication indication, Diagno public static boolean validateIndicationClassCode(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationClassCode", "ERROR"); + if (VALIDATE_INDICATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateIndicationClassCode(Indication indication, Diagnos public static boolean validateIndicationMoodCode(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationMoodCode", "ERROR"); + if (VALIDATE_INDICATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -351,6 +360,8 @@ public static boolean validateIndicationMoodCode(Indication indication, Diagnost public static boolean validateIndicationId(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationId", "ERROR"); + if (VALIDATE_INDICATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -412,6 +423,8 @@ public static boolean validateIndicationId(Indication indication, DiagnosticChai public static boolean validateIndicationCodeP(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationCodeP", "ERROR"); + if (VALIDATE_INDICATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -497,6 +510,8 @@ public static boolean validateIndicationCode(Indication indication, DiagnosticCh return true; } + DatatypesUtil.increment(context, "IndicationIndicationCode", "WARNING"); + if (VALIDATE_INDICATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -560,6 +575,8 @@ public static boolean validateIndicationCode(Indication indication, DiagnosticCh public static boolean validateIndicationStatusCode(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationStatusCode", "ERROR"); + if (VALIDATE_INDICATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -623,6 +640,8 @@ public static boolean validateIndicationStatusCode(Indication indication, Diagno public static boolean validateIndicationEffectiveTime(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationEffectiveTime", "WARNING"); + if (VALIDATE_INDICATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -688,6 +707,8 @@ public static boolean validateIndicationEffectiveTime(Indication indication, Dia public static boolean validateIndicationValue(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationValue", "WARNING"); + if (VALIDATE_INDICATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -750,6 +771,8 @@ public static boolean validateIndicationValue(Indication indication, DiagnosticC public static boolean validateIndicationValueP(Indication indication, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "IndicationIndicationValueP", "WARNING"); + if (VALIDATE_INDICATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/Instruction2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/Instruction2Operations.java index f35cda45d1..db55d06424 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/Instruction2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/Instruction2Operations.java @@ -11,6 +11,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -86,6 +87,8 @@ protected Instruction2Operations() { public static boolean validateInstruction2TemplateId(Instruction2 instruction2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Instruction2Instruction2TemplateId", "ERROR"); + if (VALIDATE_INSTRUCTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -149,6 +152,8 @@ public static boolean validateInstruction2TemplateId(Instruction2 instruction2, public static boolean validateInstructionsText(Instruction2 instruction2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "Instruction2InstructionsText", "ERROR"); + if (VALIDATE_INSTRUCTIONS_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsOperations.java index d25db1f5cd..6a2c993f6c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -100,6 +101,8 @@ protected InstructionsOperations() { public static boolean validateInstructionsTextReference(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsTextReference", "WARNING"); + if (VALIDATE_INSTRUCTIONS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +166,8 @@ public static boolean validateInstructionsTextReference(Instructions instruction public static boolean validateInstructionsReferenceValue(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsReferenceValue", "WARNING"); + if (VALIDATE_INSTRUCTIONS_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -226,6 +231,8 @@ public static boolean validateInstructionsReferenceValue(Instructions instructio public static boolean validateInstructionsTextReferenceValue(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsTextReferenceValue", "ERROR"); + if (VALIDATE_INSTRUCTIONS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateInstructionsTextReferenceValue(Instructions instru public static boolean validateInstructionsTemplateId(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsTemplateId", "ERROR"); + if (VALIDATE_INSTRUCTIONS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +361,8 @@ public static boolean validateInstructionsTemplateId(Instructions instructions, public static boolean validateInstructionsClassCode(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsClassCode", "ERROR"); + if (VALIDATE_INSTRUCTIONS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -415,6 +426,8 @@ public static boolean validateInstructionsClassCode(Instructions instructions, D public static boolean validateInstructionsMoodCode(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsMoodCode", "ERROR"); + if (VALIDATE_INSTRUCTIONS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -478,6 +491,8 @@ public static boolean validateInstructionsMoodCode(Instructions instructions, Di public static boolean validateInstructionsCodeP(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsCodeP", "ERROR"); + if (VALIDATE_INSTRUCTIONS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -564,6 +579,8 @@ public static boolean validateInstructionsCode(Instructions instructions, Diagno return true; } + DatatypesUtil.increment(context, "InstructionsInstructionsCode", "WARNING"); + if (VALIDATE_INSTRUCTIONS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -627,6 +644,8 @@ public static boolean validateInstructionsCode(Instructions instructions, Diagno public static boolean validateInstructionsText(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsText", "WARNING"); + if (VALIDATE_INSTRUCTIONS_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -691,6 +710,8 @@ public static boolean validateInstructionsText(Instructions instructions, Diagno public static boolean validateInstructionsStatusCode(Instructions instructions, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsInstructionsStatusCode", "ERROR"); + if (VALIDATE_INSTRUCTIONS_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsSection2Operations.java index 9d0767dbff..8711b024c9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ protected InstructionsSection2Operations() { public static boolean validateInstructionsSection2TemplateId(InstructionsSection2 instructionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSection2InstructionsSection2TemplateId", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateInstructionsSection2TemplateId(InstructionsSection public static boolean validateInstructionsSection2NullFlavor(InstructionsSection2 instructionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSection2InstructionsSection2NullFlavor", "INFO"); + if (VALIDATE_INSTRUCTIONS_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -271,6 +276,8 @@ public static EList getConsolInstruction2s(InstructionsSection2 in public static boolean validateInstructionsSectionCodeP(InstructionsSection2 instructionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSection2InstructionsSectionCodeP", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -357,6 +364,8 @@ public static boolean validateInstructionsSectionCode(InstructionsSection2 instr return true; } + DatatypesUtil.increment(context, "InstructionsSection2InstructionsSectionCode", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -420,6 +429,8 @@ public static boolean validateInstructionsSectionCode(InstructionsSection2 instr public static boolean validateInstructionsSectionInstructions(InstructionsSection2 instructionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSection2InstructionsSectionInstructions", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsSectionOperations.java index 232f83c2c0..98973b004e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InstructionsSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ protected InstructionsSectionOperations() { public static boolean validateInstructionsSectionTemplateId(InstructionsSection instructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSectionInstructionsSectionTemplateId", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -168,6 +171,8 @@ public static boolean validateInstructionsSectionTemplateId(InstructionsSection public static boolean validateInstructionsSectionCode(InstructionsSection instructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSectionInstructionsSectionCode", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +236,8 @@ public static boolean validateInstructionsSectionCode(InstructionsSection instru public static boolean validateInstructionsSectionCodeP(InstructionsSection instructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSectionInstructionsSectionCodeP", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -273,6 +280,8 @@ public static boolean validateInstructionsSectionCodeP(InstructionsSection instr public static boolean validateInstructionsSectionText(InstructionsSection instructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSectionInstructionsSectionText", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -357,6 +366,8 @@ public static boolean validateInstructionsSectionText(InstructionsSection instru public static boolean validateInstructionsSectionTitle(InstructionsSection instructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSectionInstructionsSectionTitle", "ERROR"); + if (VALIDATE_INSTRUCTIONS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -420,6 +431,8 @@ public static boolean validateInstructionsSectionTitle(InstructionsSection instr public static boolean validateInstructionsSectionInstructions(InstructionsSection instructionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InstructionsSectionInstructionsSectionInstructions", "WARNING"); + if (VALIDATE_INSTRUCTIONS_SECTION_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionActOperations.java index 09425503ea..7a15c193e9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionActOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -147,6 +148,8 @@ protected InterventionActOperations() { public static boolean validateInterventionActTemplateId(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActTemplateId", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -210,6 +213,8 @@ public static boolean validateInterventionActTemplateId(InterventionAct interven public static boolean validateInterventionActClassCode(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActClassCode", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -273,6 +278,8 @@ public static boolean validateInterventionActClassCode(InterventionAct intervent public static boolean validateInterventionActMoodCode(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActMoodCode", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -336,6 +343,8 @@ public static boolean validateInterventionActMoodCode(InterventionAct interventi public static boolean validateInterventionActId(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActId", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -399,6 +408,8 @@ public static boolean validateInterventionActId(InterventionAct interventionAct, public static boolean validateInterventionActCodeP(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActCodeP", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -485,6 +496,8 @@ public static boolean validateInterventionActCode(InterventionAct interventionAc return true; } + DatatypesUtil.increment(context, "InterventionActInterventionActCode", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -549,6 +562,8 @@ public static boolean validateInterventionActCode(InterventionAct interventionAc public static boolean validateInterventionActStatusCode(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActStatusCode", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -612,6 +627,8 @@ public static boolean validateInterventionActStatusCode(InterventionAct interven public static boolean validateInterventionActStatusCodeP(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActStatusCodeP", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -675,6 +692,8 @@ public static boolean validateInterventionActStatusCodeP(InterventionAct interve public static boolean validateInterventionActEffectiveTime(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActEffectiveTime", "WARNING"); + if (VALIDATE_INTERVENTION_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -738,6 +757,8 @@ public static boolean validateInterventionActEffectiveTime(InterventionAct inter public static boolean validateInterventionActInterventionAct(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActInterventionAct", "INFO"); + if (VALIDATE_INTERVENTION_ACT_INTERVENTION_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -801,6 +822,8 @@ public static boolean validateInterventionActInterventionAct(InterventionAct int public static boolean validateInterventionActNutritionRecommendation(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActNutritionRecommendation", "INFO"); + if (VALIDATE_INTERVENTION_ACT_NUTRITION_RECOMMENDATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -866,6 +889,8 @@ public static boolean validateInterventionActNutritionRecommendation(Interventio public static boolean validateInterventionActInterventionEntryReference(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActInterventionEntryReference", "INFO"); + if (VALIDATE_INTERVENTION_ACT_INTERVENTION_ENTRY_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -931,6 +956,8 @@ public static boolean validateInterventionActInterventionEntryReference(Interven public static boolean validateInterventionActGoalObsEntryReference(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActGoalObsEntryReference", "WARNING"); + if (VALIDATE_INTERVENTION_ACT_GOAL_OBS_ENTRY_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -996,6 +1023,8 @@ public static boolean validateInterventionActGoalObsEntryReference(InterventionA public static boolean validateInterventionActAuthorParticipation(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActAuthorParticipation", "WARNING"); + if (VALIDATE_INTERVENTION_ACT_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1061,6 +1090,8 @@ public static boolean validateInterventionActAuthorParticipation(InterventionAct public static boolean validateInterventionActAdvanceDirectiveObservation2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActAdvanceDirectiveObservation2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_ADVANCE_DIRECTIVE_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1126,6 +1157,8 @@ public static boolean validateInterventionActAdvanceDirectiveObservation2(Interv public static boolean validateInterventionActImmunizationActivity2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActImmunizationActivity2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_IMMUNIZATION_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1191,6 +1224,8 @@ public static boolean validateInterventionActImmunizationActivity2(InterventionA public static boolean validateInterventionActMedicationActivity2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActMedicationActivity2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_MEDICATION_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1256,6 +1291,8 @@ public static boolean validateInterventionActMedicationActivity2(InterventionAct public static boolean validateInterventionActProcedureActivityAct2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActProcedureActivityAct2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_PROCEDURE_ACTIVITY_ACT2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1321,6 +1358,8 @@ public static boolean validateInterventionActProcedureActivityAct2(InterventionA public static boolean validateInterventionActProcedureActivityObservation2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActProcedureActivityObservation2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_PROCEDURE_ACTIVITY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1386,6 +1425,8 @@ public static boolean validateInterventionActProcedureActivityObservation2(Inter public static boolean validateInterventionActProcedureActivityProcedure2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActProcedureActivityProcedure2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_PROCEDURE_ACTIVITY_PROCEDURE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1451,6 +1492,8 @@ public static boolean validateInterventionActProcedureActivityProcedure2(Interve public static boolean validateInterventionActEncounterActivity2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActEncounterActivity2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_ENCOUNTER_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1516,6 +1559,8 @@ public static boolean validateInterventionActEncounterActivity2(InterventionAct public static boolean validateInterventionActNonMedicinalSupplyActivity2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActNonMedicinalSupplyActivity2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_NON_MEDICINAL_SUPPLY_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1581,6 +1626,8 @@ public static boolean validateInterventionActNonMedicinalSupplyActivity2(Interve public static boolean validateInterventionActInstruction2(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActInstruction2", "INFO"); + if (VALIDATE_INTERVENTION_ACT_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1644,6 +1691,8 @@ public static boolean validateInterventionActInstruction2(InterventionAct interv public static boolean validateInterventionActHandoffCommunicationParticipants(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActHandoffCommunicationParticipants", "INFO"); + if (VALIDATE_INTERVENTION_ACT_HANDOFF_COMMUNICATION_PARTICIPANTS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1710,6 +1759,8 @@ public static boolean validateInterventionActHandoffCommunicationParticipants(In public static boolean validateInterventionActPlannedInterventionAct(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActPlannedInterventionAct", "INFO"); + if (VALIDATE_INTERVENTION_ACT_PLANNED_INTERVENTION_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1775,6 +1826,8 @@ public static boolean validateInterventionActPlannedInterventionAct(Intervention public static boolean validateInterventionActReference(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActReference", "INFO"); + if (VALIDATE_INTERVENTION_ACT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1838,6 +1891,8 @@ public static boolean validateInterventionActReference(InterventionAct intervent public static boolean validateInterventionActReferenceTypeCode(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActReferenceTypeCode", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1908,6 +1963,8 @@ public static boolean validateInterventionActReferenceTypeCode(InterventionAct i public static boolean validateInterventionActReferenceExternalDocumentReference(InterventionAct interventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionActInterventionActReferenceExternalDocumentReference", "ERROR"); + if (VALIDATE_INTERVENTION_ACT_REFERENCE_EXTERNAL_DOCUMENT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionsSection2Operations.java index d881dbf777..252ff7f5e2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected InterventionsSection2Operations() { public static boolean validateInterventionsSection2TemplateId(InterventionsSection2 interventionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSection2InterventionsSection2TemplateId", "ERROR"); + if (VALIDATE_INTERVENTIONS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateInterventionsSection2TemplateId(InterventionsSecti public static boolean validateInterventionsSection2InterventionAct(InterventionsSection2 interventionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSection2InterventionsSection2InterventionAct", "WARNING"); + if (VALIDATE_INTERVENTIONS_SECTION2_INTERVENTION_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +236,8 @@ public static boolean validateInterventionsSection2InterventionAct(Interventions public static boolean validateInterventionsSection2HandoffCommunication(InterventionsSection2 interventionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSection2InterventionsSection2HandoffCommunication", "INFO"); + if (VALIDATE_INTERVENTIONS_SECTION2_HANDOFF_COMMUNICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validateInterventionsSection2HandoffCommunication(Interven public static boolean validateInterventionsSection2PlannedInterventionAct( InterventionsSection2 interventionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSection2InterventionsSection2PlannedInterventionAct", "WARNING"); + if (VALIDATE_INTERVENTIONS_SECTION2_PLANNED_INTERVENTION_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -508,6 +517,8 @@ public static EList getPlannedInterventionActs( public static boolean validateInterventionsSectionCodeP(InterventionsSection2 interventionsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSection2InterventionsSectionCodeP", "ERROR"); + if (VALIDATE_INTERVENTIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -594,6 +605,8 @@ public static boolean validateInterventionsSectionCode(InterventionsSection2 int return true; } + DatatypesUtil.increment(context, "InterventionsSection2InterventionsSectionCode", "ERROR"); + if (VALIDATE_INTERVENTIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionsSectionOperations.java index 22a2f51c1e..f8f13d0e35 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/InterventionsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected InterventionsSectionOperations() { public static boolean validateInterventionsSectionTemplateId(InterventionsSection interventionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSectionInterventionsSectionTemplateId", "ERROR"); + if (VALIDATE_INTERVENTIONS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateInterventionsSectionTemplateId(InterventionsSectio public static boolean validateInterventionsSectionCode(InterventionsSection interventionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSectionInterventionsSectionCode", "ERROR"); + if (VALIDATE_INTERVENTIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -223,6 +228,8 @@ public static boolean validateInterventionsSectionCode(InterventionsSection inte public static boolean validateInterventionsSectionCodeP(InterventionsSection interventionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSectionInterventionsSectionCodeP", "ERROR"); + if (VALIDATE_INTERVENTIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -265,6 +272,8 @@ public static boolean validateInterventionsSectionCodeP(InterventionsSection int public static boolean validateInterventionsSectionText(InterventionsSection interventionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSectionInterventionsSectionText", "ERROR"); + if (VALIDATE_INTERVENTIONS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -349,6 +358,8 @@ public static boolean validateInterventionsSectionText(InterventionsSection inte public static boolean validateInterventionsSectionTitle(InterventionsSection interventionsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "InterventionsSectionInterventionsSectionTitle", "ERROR"); + if (VALIDATE_INTERVENTIONS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/LongitudinalCareWoundObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/LongitudinalCareWoundObservationOperations.java index ad4651ba6f..85a4a453a7 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/LongitudinalCareWoundObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/LongitudinalCareWoundObservationOperations.java @@ -27,6 +27,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -131,6 +132,9 @@ public static boolean validateLongitudinalCareWoundObservationClassCode( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationClassCode", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -198,6 +202,9 @@ public static boolean validateLongitudinalCareWoundObservationMoodCode( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationMoodCode", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -265,6 +272,9 @@ public static boolean validateLongitudinalCareWoundObservationCodeP( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationCodeP", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -357,6 +367,9 @@ public static boolean validateLongitudinalCareWoundObservationCode( return true; } + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationCode", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -424,6 +437,9 @@ public static boolean validateLongitudinalCareWoundObservationValueP( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationValueP", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -516,6 +532,9 @@ public static boolean validateLongitudinalCareWoundObservationValue( return true; } + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationValue", "WARNING"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -562,6 +581,9 @@ public static boolean validateLongitudinalCareWoundObservationTargetSiteCodeP( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationTargetSiteCodeP", "WARNING"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_TARGET_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -652,6 +674,9 @@ public static boolean validateLongitudinalCareWoundObservationTargetSiteCode( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationTargetSiteCode", "WARNING"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -719,6 +744,10 @@ public static boolean validateLongitudinalCareWoundObservationWoundMeasurementOb LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationWoundMeasurementObservation", + "WARNING"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_WOUND_MEASUREMENT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -786,6 +815,9 @@ public static boolean validateLongitudinalCareWoundObservationWoundCharacteristi LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationWoundCharacteristics", "WARNING"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_WOUND_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -853,6 +885,10 @@ public static boolean validateLongitudinalCareWoundObservationHighestPressureUlc LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationHighestPressureUlcerStage", + "INFO"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_HIGHEST_PRESSURE_ULCER_STAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -920,6 +956,9 @@ public static boolean validateLongitudinalCareWoundObservationAuthorParticipatio LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationAuthorParticipation", "WARNING"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -987,6 +1026,11 @@ public static boolean validateLongitudinalCareWoundObservationNumberOfPressureUl LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "LongitudinalCareWoundObservationLongitudinalCareWoundObservationNumberOfPressureUlcersObservation2", + "INFO"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1054,6 +1098,10 @@ public static boolean validateLongitudinalCareWoundObservationCDCRCDValueTermino LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationCDCRCDValueTerminology", + "WARNING"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CDCRCD_VALUE_TERMINOLOGY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1126,6 +1174,9 @@ public static boolean validateLongitudinalCareWoundObservationCDCRCDCode( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationCDCRCDCode", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CDCRCD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1200,6 +1251,9 @@ public static boolean validateLongitudinalCareWoundObservationCDCRName( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationCDCRName", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CDCR_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1272,6 +1326,9 @@ public static boolean validateLongitudinalCareWoundObservationCDCRNameP( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationCDCRNameP", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CDCR_NAME_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1344,6 +1401,9 @@ public static boolean validateLongitudinalCareWoundObservationCDCRValue( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationCDCRValue", "ERROR"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CDCR_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1416,6 +1476,9 @@ public static boolean validateLongitudinalCareWoundObservationCDQualifier( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "LongitudinalCareWoundObservationLongitudinalCareWoundObservationCDQualifier", "INFO"); + if (VALIDATE_LONGITUDINAL_CARE_WOUND_OBSERVATION_CD_QUALIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1684,6 +1747,8 @@ public static boolean validateProblemObservation2TemplateId( LongitudinalCareWoundObservation longitudinalCareWoundObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "LongitudinalCareWoundObservationProblemObservation2TemplateId", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentOrganizerOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentOrganizerOperations.java index dead9f956d..395955b63e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentOrganizerOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentOrganizerOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.OrganizerOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -110,6 +111,9 @@ public static boolean validateMedicalEquipmentOrganizerHasNonMedSupActOrProcActP MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerHasNonMedSupActOrProcActProc", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_HAS_NON_MED_SUP_ACT_OR_PROC_ACT_PROC__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -177,6 +181,8 @@ public static boolean validateMedicalEquipmentOrganizerTemplateId( MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerTemplateId", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -243,6 +249,8 @@ public static boolean validateMedicalEquipmentOrganizerClassCode( MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerClassCode", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -308,6 +316,8 @@ public static boolean validateMedicalEquipmentOrganizerClassCode( public static boolean validateMedicalEquipmentOrganizerMoodCode(MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerMoodCode", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +383,8 @@ public static boolean validateMedicalEquipmentOrganizerMoodCode(MedicalEquipment public static boolean validateMedicalEquipmentOrganizerId(MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerId", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +449,8 @@ public static boolean validateMedicalEquipmentOrganizerId(MedicalEquipmentOrgani public static boolean validateMedicalEquipmentOrganizerCode(MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerCode", "INFO"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -502,6 +516,8 @@ public static boolean validateMedicalEquipmentOrganizerStatusCodeP( MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerStatusCodeP", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -593,6 +609,8 @@ public static boolean validateMedicalEquipmentOrganizerStatusCode( return true; } + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerStatusCode", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -659,6 +677,8 @@ public static boolean validateMedicalEquipmentOrganizerEffectiveTime( MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerEffectiveTime", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -726,6 +746,9 @@ public static boolean validateMedicalEquipmentOrganizerNonMedicinalSupplyActivit MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerNonMedicinalSupplyActivity2", "INFO"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_NON_MEDICINAL_SUPPLY_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -793,6 +816,9 @@ public static boolean validateMedicalEquipmentOrganizerProcedureActivityProcedur MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerProcedureActivityProcedure2", "INFO"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_PROCEDURE_ACTIVITY_PROCEDURE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -859,6 +885,8 @@ public static boolean validateMedicalEquipmentOrganizerProcedureActivityProcedur public static boolean validateMedicalEquipmentOrganizerIVLTSLow(MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerIVLTSLow", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -931,6 +959,8 @@ public static boolean validateMedicalEquipmentOrganizerIVLTSHigh( MedicalEquipmentOrganizer medicalEquipmentOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentOrganizerMedicalEquipmentOrganizerIVLTSHigh", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_ORGANIZER_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentSection2Operations.java index 7c9617f0fe..e0b7e30819 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected MedicalEquipmentSection2Operations() { public static boolean validateMedicalEquipmentSection2TemplateId(MedicalEquipmentSection2 medicalEquipmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentSection2MedicalEquipmentSection2TemplateId", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -167,6 +170,9 @@ public static boolean validateMedicalEquipmentSection2MedicalEquipmentOrganizer( MedicalEquipmentSection2 medicalEquipmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicalEquipmentSection2MedicalEquipmentSection2MedicalEquipmentOrganizer", "INFO"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION2_MEDICAL_EQUIPMENT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -234,6 +240,9 @@ public static boolean validateMedicalEquipmentSection2ProcedureActivityProcedure MedicalEquipmentSection2 medicalEquipmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicalEquipmentSection2MedicalEquipmentSection2ProcedureActivityProcedure2", "WARNING"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION2_PROCEDURE_ACTIVITY_PROCEDURE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -450,6 +459,8 @@ public static EList getProcedureActivityProcedure2s public static boolean validateMedicalEquipmentSectionCodeP(MedicalEquipmentSection2 medicalEquipmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentSection2MedicalEquipmentSectionCodeP", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -537,6 +548,8 @@ public static boolean validateMedicalEquipmentSectionCode(MedicalEquipmentSectio return true; } + DatatypesUtil.increment(context, "MedicalEquipmentSection2MedicalEquipmentSectionCode", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -602,6 +615,9 @@ public static boolean validateMedicalEquipmentSectionNonMedicinalSupplyActivity( MedicalEquipmentSection2 medicalEquipmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicalEquipmentSection2MedicalEquipmentSectionNonMedicinalSupplyActivity", "WARNING"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentSectionOperations.java index 052b449d18..8aabe19800 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalEquipmentSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ protected MedicalEquipmentSectionOperations() { public static boolean validateMedicalEquipmentSectionTemplateId(MedicalEquipmentSection medicalEquipmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentSectionMedicalEquipmentSectionTemplateId", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateMedicalEquipmentSectionTemplateId(MedicalEquipment public static boolean validateMedicalEquipmentSectionCode(MedicalEquipmentSection medicalEquipmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentSectionMedicalEquipmentSectionCode", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +238,8 @@ public static boolean validateMedicalEquipmentSectionCode(MedicalEquipmentSectio public static boolean validateMedicalEquipmentSectionCodeP(MedicalEquipmentSection medicalEquipmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentSectionMedicalEquipmentSectionCodeP", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validateMedicalEquipmentSectionCodeP(MedicalEquipmentSecti public static boolean validateMedicalEquipmentSectionTitle(MedicalEquipmentSection medicalEquipmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentSectionMedicalEquipmentSectionTitle", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -361,6 +370,8 @@ public static boolean validateMedicalEquipmentSectionTitle(MedicalEquipmentSecti public static boolean validateMedicalEquipmentSectionText(MedicalEquipmentSection medicalEquipmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalEquipmentSectionMedicalEquipmentSectionText", "ERROR"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -425,6 +436,9 @@ public static boolean validateMedicalEquipmentSectionText(MedicalEquipmentSectio public static boolean validateMedicalEquipmentSectionNonMedicinalSupplyActivity( MedicalEquipmentSection medicalEquipmentSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicalEquipmentSectionMedicalEquipmentSectionNonMedicinalSupplyActivity", "WARNING"); + if (VALIDATE_MEDICAL_EQUIPMENT_SECTION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalHistorySectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalHistorySectionOperations.java index b538836aae..4395e1d76f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalHistorySectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicalHistorySectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected MedicalHistorySectionOperations() { public static boolean validateMedicalHistorySectionTemplateId(MedicalHistorySection medicalHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalHistorySectionMedicalHistorySectionTemplateId", "ERROR"); + if (VALIDATE_MEDICAL_HISTORY_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateMedicalHistorySectionTemplateId(MedicalHistorySect public static boolean validateMedicalHistorySectionCode(MedicalHistorySection medicalHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalHistorySectionMedicalHistorySectionCode", "ERROR"); + if (VALIDATE_MEDICAL_HISTORY_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateMedicalHistorySectionCode(MedicalHistorySection me public static boolean validateMedicalHistorySectionCodeP(MedicalHistorySection medicalHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalHistorySectionMedicalHistorySectionCodeP", "ERROR"); + if (VALIDATE_MEDICAL_HISTORY_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +295,8 @@ public static boolean validateMedicalHistorySectionCodeP(MedicalHistorySection m public static boolean validateMedicalHistorySectionText(MedicalHistorySection medicalHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalHistorySectionMedicalHistorySectionText", "ERROR"); + if (VALIDATE_MEDICAL_HISTORY_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -351,6 +360,8 @@ public static boolean validateMedicalHistorySectionText(MedicalHistorySection me public static boolean validateMedicalHistorySectionTitle(MedicalHistorySection medicalHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicalHistorySectionMedicalHistorySectionTitle", "ERROR"); + if (VALIDATE_MEDICAL_HISTORY_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationActivity2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationActivity2Operations.java index 46cc9382e2..56c4a71651 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationActivity2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationActivity2Operations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -147,6 +148,9 @@ protected MedicationActivity2Operations() { public static boolean validateMedicationActivity2SubstanceAdministeredActInversionInd( MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationActivity2MedicationActivity2SubstanceAdministeredActInversionInd", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY2_SUBSTANCE_ADMINISTERED_ACT_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -213,6 +217,9 @@ public static boolean validateMedicationActivity2SubstanceAdministeredActInversi public static boolean validateMedicationActivity2SubstanceAdministeredActSequenceNumber( MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationActivity2MedicationActivity2SubstanceAdministeredActSequenceNumber", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY2_SUBSTANCE_ADMINISTERED_ACT_SEQUENCE_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -258,6 +265,9 @@ public static boolean validateMedicationActivity2SubstanceAdministeredActSequenc public static boolean validateMedicationActivity2EffectiveTimeIVLTSLowXorValue( MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationActivity2MedicationActivity2EffectiveTimeIVLTSLowXorValue", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY2_EFFECTIVE_TIME_IVLTS_LOW_XOR_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +313,8 @@ public static boolean validateMedicationActivity2EffectiveTimeIVLTSLowXorValue( public static boolean validateMedicationActivity2TemplateId(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivity2TemplateId", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -409,6 +421,8 @@ public static boolean validateMedicationActivity2TemplateId(MedicationActivity2 public static boolean validateMedicationActivityStatusCodeP(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityStatusCodeP", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -465,6 +479,8 @@ public static boolean validateMedicationActivityStatusCodeP(MedicationActivity2 public static boolean validateMedicationActivityAdministrationUnitCodeP(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityAdministrationUnitCodeP", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_ADMINISTRATION_UNIT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -544,6 +560,8 @@ public static boolean validateMedicationActivityAdministrationUnitCodeP(Medicati public static boolean validateMedicationActivity2DrugMonitoringAct(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivity2DrugMonitoringAct", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY2_DRUG_MONITORING_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -609,6 +627,8 @@ public static boolean validateMedicationActivity2DrugMonitoringAct(MedicationAct public static boolean validateMedicationActivity2AuthorParticipation(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivity2AuthorParticipation", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -674,6 +694,8 @@ public static boolean validateMedicationActivity2AuthorParticipation(MedicationA public static boolean validateMedicationActivity2SubstanceAdministeredAct(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivity2SubstanceAdministeredAct", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY2_SUBSTANCE_ADMINISTERED_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -740,6 +762,8 @@ public static boolean validateMedicationActivity2SubstanceAdministeredAct(Medica public static boolean validateMedicationActivity2MedicationFreeTextSig(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivity2MedicationFreeTextSig", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY2_MEDICATION_FREE_TEXT_SIG__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -805,6 +829,8 @@ public static boolean validateMedicationActivity2MedicationFreeTextSig(Medicatio public static boolean validateMedicationActivity2CETranslationP(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivity2CETranslationP", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY2_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -890,6 +916,8 @@ public static boolean validateMedicationActivity2CETranslationP(MedicationActivi public static boolean validateMedicationActivity2CETranslation(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivity2CETranslation", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY2_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1344,6 +1372,8 @@ public static EList getMedicationFreeTextSigs(MedicationA public static boolean validateMedicationActivityTextReference(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityTextReference", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1409,6 +1439,8 @@ public static boolean validateMedicationActivityTextReference(MedicationActivity public static boolean validateMedicationActivityReferenceValue(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityReferenceValue", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1474,6 +1506,8 @@ public static boolean validateMedicationActivityReferenceValue(MedicationActivit public static boolean validateMedicationActivityTextReferenceValue(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityTextReferenceValue", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1539,6 +1573,8 @@ public static boolean validateMedicationActivityTextReferenceValue(MedicationAct public static boolean validateMedicationActivityInstructionsInversionInd(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityInstructionsInversionInd", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_INSTRUCTIONS_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1605,6 +1641,8 @@ public static boolean validateMedicationActivityInstructionsInversionInd(Medicat public static boolean validateMedicationActivityDoseQuantityorrateQuantity(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityDoseQuantityorrateQuantity", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_DOSE_QUANTITYORRATE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1671,6 +1709,8 @@ public static boolean validateMedicationActivityDoseQuantityorrateQuantity(Medic public static boolean validateMedicationActivityEffectiveTimeIVLTSorTS(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityEffectiveTimeIVLTSorTS", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_IVLT_SOR_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1736,6 +1776,8 @@ public static boolean validateMedicationActivityEffectiveTimeIVLTSorTS(Medicatio public static boolean validateMedicationActivityEffectiveTimeIVLTSLow(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityEffectiveTimeIVLTSLow", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1801,6 +1843,8 @@ public static boolean validateMedicationActivityEffectiveTimeIVLTSLow(Medication public static boolean validateMedicationActivityEffectiveTimeIVLTSHigh(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityEffectiveTimeIVLTSHigh", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1866,6 +1910,8 @@ public static boolean validateMedicationActivityEffectiveTimeIVLTSHigh(Medicatio public static boolean validateMedicationActivityEffectiveTimePIVLTS(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityEffectiveTimePIVLTS", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_PIVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1910,6 +1956,8 @@ public static boolean validateMedicationActivityEffectiveTimePIVLTS(MedicationAc public static boolean validateMedicationActivityRepeatNumber(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityRepeatNumber", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1953,6 +2001,8 @@ public static boolean validateMedicationActivityRepeatNumber(MedicationActivity2 public static boolean validateMedicationActivityRouteCodeP(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityRouteCodeP", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_ROUTE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2017,6 +2067,8 @@ public static boolean validateMedicationActivityRouteCode(MedicationActivity2 me return true; } + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityRouteCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_ROUTE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2080,6 +2132,8 @@ public static boolean validateMedicationActivityRouteCode(MedicationActivity2 me public static boolean validateMedicationActivityCode(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityCode", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2218,6 +2272,8 @@ public static boolean validateMedicationActivityStatusCode(MedicationActivity2 m return true; } + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityStatusCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2269,6 +2325,8 @@ public static boolean validateMedicationActivityAdministrationUnitCode(Medicatio return true; } + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityAdministrationUnitCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_ADMINISTRATION_UNIT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2313,6 +2371,8 @@ public static boolean validateMedicationActivityAdministrationUnitCode(Medicatio public static boolean validateMedicationActivityText(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityText", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2355,6 +2415,8 @@ public static boolean validateMedicationActivityText(MedicationActivity2 medicat public static boolean validateMedicationActivityInstructions(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityInstructions", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2398,6 +2460,8 @@ public static boolean validateMedicationActivityInstructions(MedicationActivity2 public static boolean validateMedicationActivityIndication(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityIndication", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2568,6 +2632,8 @@ public static boolean validateMedicationActivityIndication(MedicationActivity2 m public static boolean validateMedicationActivityDoseQuantity(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityDoseQuantity", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_DOSE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2632,6 +2698,8 @@ public static boolean validateMedicationActivityDoseQuantity(MedicationActivity2 public static boolean validateMedicationActivityConsumable(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityConsumable", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_CONSUMABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2695,6 +2763,8 @@ public static boolean validateMedicationActivityConsumable(MedicationActivity2 m public static boolean validateMedicationActivityMedicationSupplyOrder(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityMedicationSupplyOrder", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_MEDICATION_SUPPLY_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2760,6 +2830,8 @@ public static boolean validateMedicationActivityMedicationSupplyOrder(Medication public static boolean validateMedicationActivityMedicationDispense(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityMedicationDispense", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_MEDICATION_DISPENSE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2825,6 +2897,8 @@ public static boolean validateMedicationActivityMedicationDispense(MedicationAct public static boolean validateMedicationActivityReactionObservation(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityReactionObservation", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2890,6 +2964,8 @@ public static boolean validateMedicationActivityReactionObservation(MedicationAc public static boolean validateMedicationActivityPrecondition(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityPrecondition", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_PRECONDITION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2954,6 +3030,8 @@ public static boolean validateMedicationActivityPrecondition(MedicationActivity2 public static boolean validateMedicationActivityPreconditionTypeCode(MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivity2MedicationActivityPreconditionTypeCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_PRECONDITION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3025,6 +3103,10 @@ public static boolean validateMedicationActivityPreconditionTypeCode(MedicationA public static boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministration( MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationActivity2MedicationActivityPreconditionPreconditionForSubstanceAdministration", + "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_PRECONDITION_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3096,6 +3178,9 @@ public static boolean validateMedicationActivityPreconditionPreconditionForSubst public static boolean validateMedicationActivityConsumableMedicationInformation( MedicationActivity2 medicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationActivity2MedicationActivityConsumableMedicationInformation", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_CONSUMABLE_MEDICATION_INFORMATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationActivityOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationActivityOperations.java index 2da919f78a..f3c79eb238 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationActivityOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationActivityOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.SubstanceAdministrationOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -151,6 +152,8 @@ protected MedicationActivityOperations() { public static boolean validateMedicationActivityDoseQuantityorrateQuantity(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityDoseQuantityorrateQuantity", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_DOSE_QUANTITYORRATE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -217,6 +220,8 @@ public static boolean validateMedicationActivityDoseQuantityorrateQuantity(Medic public static boolean validateMedicationActivityTextReference(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityTextReference", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -282,6 +287,8 @@ public static boolean validateMedicationActivityTextReference(MedicationActivity public static boolean validateMedicationActivityReferenceValue(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityReferenceValue", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -347,6 +354,8 @@ public static boolean validateMedicationActivityReferenceValue(MedicationActivit public static boolean validateMedicationActivityTextReferenceValue(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityTextReferenceValue", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -412,6 +421,8 @@ public static boolean validateMedicationActivityTextReferenceValue(MedicationAct public static boolean validateMedicationActivityEffectiveTimeIVLTSorTS(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityEffectiveTimeIVLTSorTS", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_IVLT_SOR_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -477,6 +488,8 @@ public static boolean validateMedicationActivityEffectiveTimeIVLTSorTS(Medicatio public static boolean validateMedicationActivityEffectiveTimeIVLTSLow(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityEffectiveTimeIVLTSLow", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -542,6 +555,8 @@ public static boolean validateMedicationActivityEffectiveTimeIVLTSLow(Medication public static boolean validateMedicationActivityEffectiveTimeIVLTSHigh(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityEffectiveTimeIVLTSHigh", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -607,6 +622,8 @@ public static boolean validateMedicationActivityEffectiveTimeIVLTSHigh(Medicatio public static boolean validateMedicationActivityEffectiveTimeTSValue(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityEffectiveTimeTSValue", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_TS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -672,6 +689,8 @@ public static boolean validateMedicationActivityEffectiveTimeTSValue(MedicationA public static boolean validateMedicationActivityEffectiveTimePIVLTS(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityEffectiveTimePIVLTS", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_PIVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -737,6 +756,8 @@ public static boolean validateMedicationActivityEffectiveTimePIVLTS(MedicationAc public static boolean validateMedicationActivityEffectiveTimeOperator(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityEffectiveTimeOperator", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_EFFECTIVE_TIME_OPERATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -802,6 +823,8 @@ public static boolean validateMedicationActivityEffectiveTimeOperator(Medication public static boolean validateMedicationActivityDoseQuantityUnit(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityDoseQuantityUnit", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_DOSE_QUANTITY_UNIT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -867,6 +890,8 @@ public static boolean validateMedicationActivityDoseQuantityUnit(MedicationActiv public static boolean validateMedicationActivityDrugVehicleTypeCode(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityDrugVehicleTypeCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_DRUG_VEHICLE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -932,6 +957,8 @@ public static boolean validateMedicationActivityDrugVehicleTypeCode(MedicationAc public static boolean validateMedicationActivityInstructionsInversionInd(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityInstructionsInversionInd", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_INSTRUCTIONS_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -997,6 +1024,8 @@ public static boolean validateMedicationActivityInstructionsInversionInd(Medicat public static boolean validateMedicationActivityRateQuantityUnit(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityRateQuantityUnit", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_RATE_QUANTITY_UNIT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1062,6 +1091,8 @@ public static boolean validateMedicationActivityRateQuantityUnit(MedicationActiv public static boolean validateMedicationActivityTemplateId(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityTemplateId", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1125,6 +1156,8 @@ public static boolean validateMedicationActivityTemplateId(MedicationActivity me public static boolean validateMedicationActivityClassCode(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityClassCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1190,6 +1223,8 @@ public static boolean validateMedicationActivityClassCode(MedicationActivity med public static boolean validateMedicationActivityMoodCode(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityMoodCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1253,6 +1288,8 @@ public static boolean validateMedicationActivityMoodCode(MedicationActivity medi public static boolean validateMedicationActivityId(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityId", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1316,6 +1353,8 @@ public static boolean validateMedicationActivityId(MedicationActivity medication public static boolean validateMedicationActivityCode(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityCode", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1379,6 +1418,8 @@ public static boolean validateMedicationActivityCode(MedicationActivity medicati public static boolean validateMedicationActivityStatusCode(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityStatusCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1442,6 +1483,8 @@ public static boolean validateMedicationActivityStatusCode(MedicationActivity me public static boolean validateMedicationActivityRouteCodeP(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityRouteCodeP", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_ROUTE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1529,6 +1572,8 @@ public static boolean validateMedicationActivityRouteCode(MedicationActivity med return true; } + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityRouteCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_ROUTE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1571,6 +1616,8 @@ public static boolean validateMedicationActivityRouteCode(MedicationActivity med public static boolean validateMedicationActivityApproachSiteCodeP(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityApproachSiteCodeP", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_APPROACH_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1659,6 +1706,8 @@ public static boolean validateMedicationActivityApproachSiteCodeP(MedicationActi public static boolean validateMedicationActivityApproachSiteCode(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityApproachSiteCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_APPROACH_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1724,6 +1773,8 @@ public static boolean validateMedicationActivityApproachSiteCode(MedicationActiv public static boolean validateMedicationActivityDoseQuantity(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityDoseQuantity", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_DOSE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1788,6 +1839,8 @@ public static boolean validateMedicationActivityDoseQuantity(MedicationActivity public static boolean validateMedicationActivityRateQuantity(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityRateQuantity", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_RATE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1852,6 +1905,8 @@ public static boolean validateMedicationActivityRateQuantity(MedicationActivity public static boolean validateMedicationActivityMaxDoseQuantity(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityMaxDoseQuantity", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_MAX_DOSE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1917,6 +1972,8 @@ public static boolean validateMedicationActivityMaxDoseQuantity(MedicationActivi public static boolean validateMedicationActivityAdministrationUnitCodeP(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityAdministrationUnitCodeP", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_ADMINISTRATION_UNIT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2006,6 +2063,8 @@ public static boolean validateMedicationActivityAdministrationUnitCode(Medicatio return true; } + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityAdministrationUnitCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_ADMINISTRATION_UNIT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2071,6 +2130,8 @@ public static boolean validateMedicationActivityAdministrationUnitCode(Medicatio public static boolean validateMedicationActivityText(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityText", "WARNING"); + if (VALIDATE_MEDICATION_ACTIVITY_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2134,6 +2195,8 @@ public static boolean validateMedicationActivityText(MedicationActivity medicati public static boolean validateMedicationActivityRepeatNumber(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityRepeatNumber", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2198,6 +2261,8 @@ public static boolean validateMedicationActivityRepeatNumber(MedicationActivity public static boolean validateMedicationActivityMedicationSupplyOrder(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityMedicationSupplyOrder", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_MEDICATION_SUPPLY_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2263,6 +2328,8 @@ public static boolean validateMedicationActivityMedicationSupplyOrder(Medication public static boolean validateMedicationActivityReactionObservation(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityReactionObservation", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2328,6 +2395,8 @@ public static boolean validateMedicationActivityReactionObservation(MedicationAc public static boolean validateMedicationActivityPerformer(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityPerformer", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2391,6 +2460,8 @@ public static boolean validateMedicationActivityPerformer(MedicationActivity med public static boolean validateMedicationActivityInstructions(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityInstructions", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2455,6 +2526,8 @@ public static boolean validateMedicationActivityInstructions(MedicationActivity public static boolean validateMedicationActivityIndication(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityIndication", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2518,6 +2591,8 @@ public static boolean validateMedicationActivityIndication(MedicationActivity me public static boolean validateMedicationActivityMedicationDispense(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityMedicationDispense", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_MEDICATION_DISPENSE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2562,6 +2637,8 @@ public static boolean validateMedicationActivityMedicationDispense(MedicationAct public static boolean validateMedicationActivityPrecondition(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityPrecondition", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_PRECONDITION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2626,6 +2703,8 @@ public static boolean validateMedicationActivityPrecondition(MedicationActivity public static boolean validateMedicationActivityDrugVehicle(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityDrugVehicle", "INFO"); + if (VALIDATE_MEDICATION_ACTIVITY_DRUG_VEHICLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2711,6 +2790,8 @@ public static boolean validateMedicationActivityDrugVehicle(MedicationActivity m public static boolean validateMedicationActivityConsumable(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityConsumable", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_CONSUMABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2774,6 +2855,9 @@ public static boolean validateMedicationActivityConsumable(MedicationActivity me public static boolean validateMedicationActivityConsumableMedicationInformation( MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationActivityMedicationActivityConsumableMedicationInformation", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_CONSUMABLE_MEDICATION_INFORMATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2845,6 +2929,8 @@ public static boolean validateMedicationActivityConsumableMedicationInformation( public static boolean validateMedicationActivityPreconditionTypeCode(MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationActivityMedicationActivityPreconditionTypeCode", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_PRECONDITION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2915,6 +3001,9 @@ public static boolean validateMedicationActivityPreconditionTypeCode(MedicationA public static boolean validateMedicationActivityPreconditionPreconditionForSubstanceAdministration( MedicationActivity medicationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationActivityMedicationActivityPreconditionPreconditionForSubstanceAdministration", "ERROR"); + if (VALIDATE_MEDICATION_ACTIVITY_PRECONDITION_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationDispense2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationDispense2Operations.java index 22ad837333..e4d90f9561 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationDispense2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationDispense2Operations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,9 @@ protected MedicationDispense2Operations() { public static boolean validateMedicationDispense2ContainsMedicationInformation2( MedicationDispense2 medicationDispense2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationDispense2MedicationDispense2ContainsMedicationInformation2", "INFO"); + if (VALIDATE_MEDICATION_DISPENSE2_CONTAINS_MEDICATION_INFORMATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +167,9 @@ public static boolean validateMedicationDispense2ContainsMedicationInformation2( public static boolean validateMedicationDispense2ContainsImmunizationMedicationInformation2( MedicationDispense2 medicationDispense2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationDispense2MedicationDispense2ContainsImmunizationMedicationInformation2", "INFO"); + if (VALIDATE_MEDICATION_DISPENSE2_CONTAINS_IMMUNIZATION_MEDICATION_INFORMATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -229,6 +236,8 @@ public static boolean validateMedicationDispense2ContainsImmunizationMedicationI public static boolean validateMedicationDispense2TemplateId(MedicationDispense2 medicationDispense2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispense2MedicationDispense2TemplateId", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -272,6 +281,8 @@ public static boolean validateMedicationDispense2TemplateId(MedicationDispense2 public static boolean validateMedicationDispenseStatusCodeP(MedicationDispense2 medicationDispense2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispense2MedicationDispenseStatusCodeP", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +365,9 @@ public static MedicationSupplyOrder2 getConsolMedicationSupplyOrder2(MedicationD public static boolean validateMedicationDispenseContainsMedicationOrImmunization( MedicationDispense2 medicationDispense2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationDispense2MedicationDispenseContainsMedicationOrImmunization", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_CONTAINS_MEDICATION_OR_IMMUNIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -492,6 +506,8 @@ public static boolean validateMedicationDispenseStatusCode(MedicationDispense2 m return true; } + DatatypesUtil.increment(context, "MedicationDispense2MedicationDispenseStatusCode", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -556,6 +572,8 @@ public static boolean validateMedicationDispenseStatusCode(MedicationDispense2 m public static boolean validateMedicationDispenseRepeatNumber(MedicationDispense2 medicationDispense2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispense2MedicationDispenseRepeatNumber", "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -620,6 +638,8 @@ public static boolean validateMedicationDispenseRepeatNumber(MedicationDispense2 public static boolean validateMedicationDispenseMedicationSupplyOrder(MedicationDispense2 medicationDispense2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispense2MedicationDispenseMedicationSupplyOrder", "INFO"); + if (VALIDATE_MEDICATION_DISPENSE_MEDICATION_SUPPLY_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationDispenseOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationDispenseOperations.java index 848cc5400f..1cdaf32a11 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationDispenseOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationDispenseOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.SupplyOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -119,6 +120,9 @@ protected MedicationDispenseOperations() { public static boolean validateMedicationDispenseContainsMedicationOrImmunization( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationDispenseMedicationDispenseContainsMedicationOrImmunization", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_CONTAINS_MEDICATION_OR_IMMUNIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -185,6 +189,8 @@ public static boolean validateMedicationDispenseContainsMedicationOrImmunization public static boolean validateMedicationDispenseTemplateId(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseTemplateId", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -248,6 +254,8 @@ public static boolean validateMedicationDispenseTemplateId(MedicationDispense me public static boolean validateMedicationDispenseClassCode(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseClassCode", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -311,6 +319,8 @@ public static boolean validateMedicationDispenseClassCode(MedicationDispense med public static boolean validateMedicationDispenseEffectiveTime(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseEffectiveTime", "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -376,6 +386,8 @@ public static boolean validateMedicationDispenseEffectiveTime(MedicationDispense public static boolean validateMedicationDispenseId(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseId", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -439,6 +451,8 @@ public static boolean validateMedicationDispenseId(MedicationDispense medication public static boolean validateMedicationDispenseMoodCode(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseMoodCode", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -502,6 +516,8 @@ public static boolean validateMedicationDispenseMoodCode(MedicationDispense medi public static boolean validateMedicationDispenseRepeatNumber(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseRepeatNumber", "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -568,6 +584,8 @@ public static boolean validateMedicationDispenseRepeatNumber(MedicationDispense public static boolean validateMedicationDispenseStatusCode(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseStatusCode", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -631,6 +649,8 @@ public static boolean validateMedicationDispenseStatusCode(MedicationDispense me public static boolean validateMedicationDispenseQuantity(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseQuantity", "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -694,6 +714,8 @@ public static boolean validateMedicationDispenseQuantity(MedicationDispense medi public static boolean validateMedicationDispenseMedicationSupplyOrder(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispenseMedicationSupplyOrder", "INFO"); + if (VALIDATE_MEDICATION_DISPENSE_MEDICATION_SUPPLY_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -759,6 +781,8 @@ public static boolean validateMedicationDispenseMedicationSupplyOrder(Medication public static boolean validateMedicationDispensePerformer(MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationDispenseMedicationDispensePerformer", "INFO"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -822,6 +846,11 @@ public static boolean validateMedicationDispensePerformer(MedicationDispense med public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -893,6 +922,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -964,6 +998,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1014,6 +1053,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1108,6 +1152,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1179,6 +1228,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1250,6 +1304,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1321,6 +1380,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1392,6 +1456,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1463,6 +1532,11 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1534,6 +1608,9 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntityAddr( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntityAddr", "WARNING"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1605,6 +1682,9 @@ public static boolean validateMedicationDispensePerformerMedicationDispenseAssig public static boolean validateMedicationDispensePerformerMedicationDispenseAssignedEntity( MedicationDispense medicationDispense, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationDispenseMedicationDispensePerformerMedicationDispenseAssignedEntity", "ERROR"); + if (VALIDATE_MEDICATION_DISPENSE_PERFORMER_MEDICATION_DISPENSE_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationFreeTextSigOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationFreeTextSigOperations.java index e6a3492122..2414e31e7e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationFreeTextSigOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationFreeTextSigOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.SubstanceAdministrationOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -109,6 +110,8 @@ protected MedicationFreeTextSigOperations() { public static boolean validateMedicationFreeTextSigTextReferenceValue(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigTextReferenceValue", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -174,6 +177,8 @@ public static boolean validateMedicationFreeTextSigTextReferenceValue(Medication public static boolean validateMedicationFreeTextSigTemplateId(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigTemplateId", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +244,8 @@ public static boolean validateMedicationFreeTextSigTemplateId(MedicationFreeText public static boolean validateMedicationFreeTextSigClassCode(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigClassCode", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +313,8 @@ public static boolean validateMedicationFreeTextSigClassCode(MedicationFreeTextS public static boolean validateMedicationFreeTextSigMoodCode(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigMoodCode", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +382,8 @@ public static boolean validateMedicationFreeTextSigMoodCode(MedicationFreeTextSi public static boolean validateMedicationFreeTextSigCode(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigCode", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +448,8 @@ public static boolean validateMedicationFreeTextSigCode(MedicationFreeTextSig me public static boolean validateMedicationFreeTextSigCodeP(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigCodeP", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -501,6 +514,8 @@ public static boolean validateMedicationFreeTextSigCodeP(MedicationFreeTextSig m public static boolean validateMedicationFreeTextSigText(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigText", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -565,6 +580,8 @@ public static boolean validateMedicationFreeTextSigText(MedicationFreeTextSig me public static boolean validateMedicationFreeTextSigConsumable(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigConsumable", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_CONSUMABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -630,6 +647,8 @@ public static boolean validateMedicationFreeTextSigConsumable(MedicationFreeText public static boolean validateMedicationFreeTextSigEDTELValue(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigEDTELValue", "WARNING"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_EDTEL_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -700,6 +719,8 @@ public static boolean validateMedicationFreeTextSigEDTELValue(MedicationFreeText public static boolean validateMedicationFreeTextSigEDReference(MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationFreeTextSigMedicationFreeTextSigEDReference", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_ED_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -774,6 +795,11 @@ public static boolean validateMedicationFreeTextSigEDReference(MedicationFreeTex public static boolean validateMedicationFreeTextSigConsumableManufacturedProductManufacturedLabeledDrugNullFlavor( MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationFreeTextSigMedicationFreeTextSigConsumableManufacturedProductManufacturedLabeledDrugNullFlavor", + "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_CONSUMABLE_MANUFACTURED_PRODUCT_MANUFACTURED_LABELED_DRUG_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -845,6 +871,10 @@ public static boolean validateMedicationFreeTextSigConsumableManufacturedProduct public static boolean validateMedicationFreeTextSigConsumableManufacturedProductManufacturedLabeledDrug( MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationFreeTextSigMedicationFreeTextSigConsumableManufacturedProductManufacturedLabeledDrug", + "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_CONSUMABLE_MANUFACTURED_PRODUCT_MANUFACTURED_LABELED_DRUG__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -916,6 +946,9 @@ public static boolean validateMedicationFreeTextSigConsumableManufacturedProduct public static boolean validateMedicationFreeTextSigConsumableManufacturedProduct( MedicationFreeTextSig medicationFreeTextSig, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationFreeTextSigMedicationFreeTextSigConsumableManufacturedProduct", "ERROR"); + if (VALIDATE_MEDICATION_FREE_TEXT_SIG_CONSUMABLE_MANUFACTURED_PRODUCT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationInformation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationInformation2Operations.java index cc9c81cb3f..39e70dbe0f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationInformation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationInformation2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -100,6 +101,8 @@ protected MedicationInformation2Operations() { public static boolean validateMedicationInformation2TemplateId(MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationInformation2MedicationInformation2TemplateId", "ERROR"); + if (VALIDATE_MEDICATION_INFORMATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -165,6 +168,11 @@ public static boolean validateMedicationInformation2TemplateId(MedicationInforma public static boolean validateMedicationInformation2MedicationInformationManufacturedMaterialCETranslation( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationInformation2MedicationInformation2MedicationInformationManufacturedMaterialCETranslation", + "INFO"); + if (VALIDATE_MEDICATION_INFORMATION2_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +244,11 @@ public static boolean validateMedicationInformation2MedicationInformationManufac public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialReferenceValue( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationInformation2MedicationInformationMedicationInformationManufacturedMaterialReferenceValue", + "INFO"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -286,6 +299,10 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialCodeP( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationInformation2MedicationInformationMedicationInformationManufacturedMaterialCodeP", + "ERROR"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -350,6 +367,8 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationManufacturedMaterial( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationInformation2MedicationInformationManufacturedMaterial", "ERROR"); + if (VALIDATE_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -395,6 +414,11 @@ public static boolean validateMedicationInformationManufacturedMaterial( public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialCodeOriginalText( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationInformation2MedicationInformationMedicationInformationManufacturedMaterialCodeOriginalText", + "INFO"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -445,6 +469,11 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialCodeTranslation( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationInformation2MedicationInformationMedicationInformationManufacturedMaterialCodeTranslation", + "INFO"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -495,6 +524,10 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialReference( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationInformation2MedicationInformationMedicationInformationManufacturedMaterialReference", + "INFO"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -671,6 +704,11 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialOriginalTextReferenceValue( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationInformation2MedicationInformationMedicationInformationManufacturedMaterialOriginalTextReferenceValue", + "INFO"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -744,6 +782,10 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialCode( MedicationInformation2 medicationInformation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationInformation2MedicationInformationMedicationInformationManufacturedMaterialCode", + "ERROR"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationInformationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationInformationOperations.java index 8108fe6e41..7bd5657076 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationInformationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationInformationOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ManufacturedProductOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -104,6 +105,8 @@ protected MedicationInformationOperations() { public static boolean validateMedicationInformationTemplateId(MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationInformationMedicationInformationTemplateId", "ERROR"); + if (VALIDATE_MEDICATION_INFORMATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateMedicationInformationTemplateId(MedicationInformat public static boolean validateMedicationInformationId(MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationInformationMedicationInformationId", "INFO"); + if (VALIDATE_MEDICATION_INFORMATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateMedicationInformationId(MedicationInformation medi public static boolean validateMedicationInformationClassCode(MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationInformationMedicationInformationClassCode", "ERROR"); + if (VALIDATE_MEDICATION_INFORMATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validateMedicationInformationClassCode(MedicationInformati public static boolean validateMedicationInformationManufacturerOrganization( MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationInformationMedicationInformationManufacturerOrganization", "INFO"); + if (VALIDATE_MEDICATION_INFORMATION_MANUFACTURER_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -362,6 +371,8 @@ public static boolean validateMedicationInformationManufacturerOrganization( public static boolean validateMedicationInformationManufacturedMaterial(MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationInformationMedicationInformationManufacturedMaterial", "ERROR"); + if (VALIDATE_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -428,6 +439,11 @@ public static boolean validateMedicationInformationManufacturedMaterial(Medicati public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialCodeOriginalText( MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationInformationMedicationInformationMedicationInformationManufacturedMaterialCodeOriginalText", + "WARNING"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -499,6 +515,10 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialReference( MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationInformationMedicationInformationMedicationInformationManufacturedMaterialReference", + "WARNING"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -570,6 +590,11 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialOriginalTextReferenceValue( MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationInformationMedicationInformationMedicationInformationManufacturedMaterialOriginalTextReferenceValue", + "WARNING"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -641,6 +666,11 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialCodeTranslation( MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "MedicationInformationMedicationInformationMedicationInformationManufacturedMaterialCodeTranslation", + "INFO"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -714,6 +744,10 @@ public static boolean validateMedicationInformationMedicationInformationManufact public static boolean validateMedicationInformationMedicationInformationManufacturedMaterialCode( MedicationInformation medicationInformation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationInformationMedicationInformationMedicationInformationManufacturedMaterialCode", + "ERROR"); + if (VALIDATE_MEDICATION_INFORMATION_MEDICATION_INFORMATION_MANUFACTURED_MATERIAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationSupplyOrder2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationSupplyOrder2Operations.java index ca635285b9..a1542e6325 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationSupplyOrder2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationSupplyOrder2Operations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,9 @@ protected MedicationSupplyOrder2Operations() { public static boolean validateMedicationSupplyOrder2ContainsMedicationInformation2( MedicationSupplyOrder2 medicationSupplyOrder2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationSupplyOrder2MedicationSupplyOrder2ContainsMedicationInformation2", "INFO"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER2_CONTAINS_MEDICATION_INFORMATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateMedicationSupplyOrder2ContainsMedicationInformatio public static boolean validateMedicationSupplyOrder2ContainsImmunizationMedicationInformation2( MedicationSupplyOrder2 medicationSupplyOrder2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationSupplyOrder2MedicationSupplyOrder2ContainsImmunizationMedicationInformation2", "INFO"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER2_CONTAINS_IMMUNIZATION_MEDICATION_INFORMATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +237,8 @@ public static boolean validateMedicationSupplyOrder2ContainsImmunizationMedicati public static boolean validateMedicationSupplyOrder2TemplateId(MedicationSupplyOrder2 medicationSupplyOrder2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrder2MedicationSupplyOrder2TemplateId", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +304,8 @@ public static boolean validateMedicationSupplyOrder2TemplateId(MedicationSupplyO public static boolean validateMedicationSupplyOrderStatusCodeP(MedicationSupplyOrder2 medicationSupplyOrder2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrder2MedicationSupplyOrderStatusCodeP", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -418,6 +429,9 @@ public static Instruction2 getConsolInstruction2(MedicationSupplyOrder2 medicati public static boolean validateMedicationSupplyOrderContainsMedicationOrImmunization( MedicationSupplyOrder2 medicationSupplyOrder2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationSupplyOrder2MedicationSupplyOrderContainsMedicationOrImmunization", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_CONTAINS_MEDICATION_OR_IMMUNIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -484,6 +498,8 @@ public static boolean validateMedicationSupplyOrderContainsMedicationOrImmunizat public static boolean validateMedicationSupplyOrderInstructionInversionInd( MedicationSupplyOrder2 medicationSupplyOrder2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrder2MedicationSupplyOrderInstructionInversionInd", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_INSTRUCTION_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -560,6 +576,8 @@ public static boolean validateMedicationSupplyOrderStatusCode(MedicationSupplyOr return true; } + DatatypesUtil.increment(context, "MedicationSupplyOrder2MedicationSupplyOrderStatusCode", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -625,6 +643,8 @@ public static boolean validateMedicationSupplyOrderStatusCode(MedicationSupplyOr public static boolean validateMedicationSupplyOrderRepeatNumber(MedicationSupplyOrder2 medicationSupplyOrder2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrder2MedicationSupplyOrderRepeatNumber", "WARNING"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -690,6 +710,8 @@ public static boolean validateMedicationSupplyOrderRepeatNumber(MedicationSupply public static boolean validateMedicationSupplyOrderInstructions(MedicationSupplyOrder2 medicationSupplyOrder2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrder2MedicationSupplyOrderInstructions", "INFO"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationSupplyOrderOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationSupplyOrderOperations.java index f89d38067f..71137edb1d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationSupplyOrderOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationSupplyOrderOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SupplyOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -106,6 +107,8 @@ protected MedicationSupplyOrderOperations() { public static boolean validateMedicationSupplyOrderInstructionInversionInd( MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderInstructionInversionInd", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_INSTRUCTION_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +175,8 @@ public static boolean validateMedicationSupplyOrderInstructionInversionInd( public static boolean validateMedicationSupplyOrderEffectiveTimeHigh(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderEffectiveTimeHigh", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +242,9 @@ public static boolean validateMedicationSupplyOrderEffectiveTimeHigh(MedicationS public static boolean validateMedicationSupplyOrderContainsMedicationOrImmunization( MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationSupplyOrderMedicationSupplyOrderContainsMedicationOrImmunization", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_CONTAINS_MEDICATION_OR_IMMUNIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +311,8 @@ public static boolean validateMedicationSupplyOrderContainsMedicationOrImmunizat public static boolean validateMedicationSupplyOrderTemplateId(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderTemplateId", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +378,8 @@ public static boolean validateMedicationSupplyOrderTemplateId(MedicationSupplyOr public static boolean validateMedicationSupplyOrderClassCode(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderClassCode", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -412,6 +424,8 @@ public static boolean validateMedicationSupplyOrderClassCode(MedicationSupplyOrd public static boolean validateMedicationSupplyOrderEffectiveTime(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderEffectiveTime", "WARNING"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -477,6 +491,8 @@ public static boolean validateMedicationSupplyOrderEffectiveTime(MedicationSuppl public static boolean validateMedicationSupplyOrderMoodCode(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderMoodCode", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -520,6 +536,8 @@ public static boolean validateMedicationSupplyOrderMoodCode(MedicationSupplyOrde public static boolean validateMedicationSupplyOrderQuantity(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderQuantity", "WARNING"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -563,6 +581,8 @@ public static boolean validateMedicationSupplyOrderQuantity(MedicationSupplyOrde public static boolean validateMedicationSupplyOrderRepeatNumber(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderRepeatNumber", "WARNING"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -607,6 +627,8 @@ public static boolean validateMedicationSupplyOrderRepeatNumber(MedicationSupply public static boolean validateMedicationSupplyOrderStatusCode(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderStatusCode", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -756,6 +778,8 @@ public static boolean validateMedicationSupplyOrderStatusCode(MedicationSupplyOr public static boolean validateMedicationSupplyOrderId(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderId", "ERROR"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -819,6 +843,8 @@ public static boolean validateMedicationSupplyOrderId(MedicationSupplyOrder medi public static boolean validateMedicationSupplyOrderAuthor(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderAuthor", "INFO"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -883,6 +909,8 @@ public static boolean validateMedicationSupplyOrderAuthor(MedicationSupplyOrder public static boolean validateMedicationSupplyOrderInstructions(MedicationSupplyOrder medicationSupplyOrder, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationSupplyOrderMedicationSupplyOrderInstructions", "INFO"); + if (VALIDATE_MEDICATION_SUPPLY_ORDER_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationUseNoneKnownOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationUseNoneKnownOperations.java index 8c9ab82b80..534483cc61 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationUseNoneKnownOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationUseNoneKnownOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected MedicationUseNoneKnownOperations() { public static boolean validateMedicationUseNoneKnownTextReference(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownTextReference", "WARNING"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateMedicationUseNoneKnownTextReference(MedicationUseN public static boolean validateMedicationUseNoneKnownTextReferenceValue( MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownTextReferenceValue", "WARNING"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateMedicationUseNoneKnownTextReferenceValue( public static boolean validateMedicationUseNoneKnownReferenceValue(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownReferenceValue", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validateMedicationUseNoneKnownReferenceValue(MedicationUse public static boolean validateMedicationUseNoneKnownTemplateId(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownTemplateId", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -362,6 +371,8 @@ public static boolean validateMedicationUseNoneKnownTemplateId(MedicationUseNone public static boolean validateMedicationUseNoneKnownClassCode(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownClassCode", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -427,6 +438,8 @@ public static boolean validateMedicationUseNoneKnownClassCode(MedicationUseNoneK public static boolean validateMedicationUseNoneKnownMoodCode(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownMoodCode", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -492,6 +505,8 @@ public static boolean validateMedicationUseNoneKnownMoodCode(MedicationUseNoneKn public static boolean validateMedicationUseNoneKnownId(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownId", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -556,6 +571,8 @@ public static boolean validateMedicationUseNoneKnownId(MedicationUseNoneKnown me public static boolean validateMedicationUseNoneKnownCodeP(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownCodeP", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -643,6 +660,8 @@ public static boolean validateMedicationUseNoneKnownCode(MedicationUseNoneKnown return true; } + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownCode", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -707,6 +726,8 @@ public static boolean validateMedicationUseNoneKnownCode(MedicationUseNoneKnown public static boolean validateMedicationUseNoneKnownEffectiveTime(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownEffectiveTime", "WARNING"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -773,6 +794,8 @@ public static boolean validateMedicationUseNoneKnownEffectiveTime(MedicationUseN public static boolean validateMedicationUseNoneKnownStatusCode(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownStatusCode", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -838,6 +861,8 @@ public static boolean validateMedicationUseNoneKnownStatusCode(MedicationUseNone public static boolean validateMedicationUseNoneKnownStatusCodeP(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownStatusCodeP", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -903,6 +928,8 @@ public static boolean validateMedicationUseNoneKnownStatusCodeP(MedicationUseNon public static boolean validateMedicationUseNoneKnownText(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownText", "INFO"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -969,6 +996,8 @@ public static boolean validateMedicationUseNoneKnownText(MedicationUseNoneKnown public static boolean validateMedicationUseNoneKnownValue(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownValue", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1033,6 +1062,8 @@ public static boolean validateMedicationUseNoneKnownValue(MedicationUseNoneKnown public static boolean validateMedicationUseNoneKnownValueP(MedicationUseNoneKnown medicationUseNoneKnown, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationUseNoneKnownMedicationUseNoneKnownValueP", "ERROR"); + if (VALIDATE_MEDICATION_USE_NONE_KNOWN_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsAdministeredSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsAdministeredSection2Operations.java index a5087b80b2..5eebfa2709 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsAdministeredSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsAdministeredSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,9 @@ public static boolean validateMedicationsAdministeredSection2TemplateId( MedicationsAdministeredSection2 medicationsAdministeredSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsAdministeredSection2MedicationsAdministeredSection2TemplateId", "ERROR"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -213,6 +217,8 @@ public static boolean validateMedicationsAdministeredSectionCodeP( MedicationsAdministeredSection2 medicationsAdministeredSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsAdministeredSection2MedicationsAdministeredSectionCodeP", "ERROR"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -305,6 +311,8 @@ public static boolean validateMedicationsAdministeredSectionCode( return true; } + DatatypesUtil.increment(context, "MedicationsAdministeredSection2MedicationsAdministeredSectionCode", "ERROR"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -372,6 +380,9 @@ public static boolean validateMedicationsAdministeredSectionMedicationActivity( MedicationsAdministeredSection2 medicationsAdministeredSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsAdministeredSection2MedicationsAdministeredSectionMedicationActivity", "INFO"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsAdministeredSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsAdministeredSectionOperations.java index 2fe58e0cfa..5db0fdf4bc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsAdministeredSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsAdministeredSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,9 @@ public static boolean validateMedicationsAdministeredSectionTemplateId( MedicationsAdministeredSection medicationsAdministeredSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsAdministeredSectionMedicationsAdministeredSectionTemplateId", "ERROR"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +176,8 @@ public static boolean validateMedicationsAdministeredSectionCode( MedicationsAdministeredSection medicationsAdministeredSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsAdministeredSectionMedicationsAdministeredSectionCode", "ERROR"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +245,8 @@ public static boolean validateMedicationsAdministeredSectionCodeP( MedicationsAdministeredSection medicationsAdministeredSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsAdministeredSectionMedicationsAdministeredSectionCodeP", "ERROR"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +293,8 @@ public static boolean validateMedicationsAdministeredSectionText( MedicationsAdministeredSection medicationsAdministeredSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsAdministeredSectionMedicationsAdministeredSectionText", "ERROR"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +383,8 @@ public static boolean validateMedicationsAdministeredSectionTitle( MedicationsAdministeredSection medicationsAdministeredSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsAdministeredSectionMedicationsAdministeredSectionTitle", "ERROR"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +452,9 @@ public static boolean validateMedicationsAdministeredSectionMedicationActivity( MedicationsAdministeredSection medicationsAdministeredSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsAdministeredSectionMedicationsAdministeredSectionMedicationActivity", "INFO"); + if (VALIDATE_MEDICATIONS_ADMINISTERED_SECTION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSection2Operations.java index ef876e5460..a7bba44333 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected MedicationsSection2Operations() { public static boolean validateMedicationsSection2NullFlavor(MedicationsSection2 medicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSection2MedicationsSection2NullFlavor", "INFO"); + if (VALIDATE_MEDICATIONS_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateMedicationsSection2NullFlavor(MedicationsSection2 public static boolean validateMedicationsSection2Title(MedicationsSection2 medicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSection2MedicationsSection2Title", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateMedicationsSection2Title(MedicationsSection2 medic public static boolean validateMedicationsSection2Text(MedicationsSection2 medicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSection2MedicationsSection2Text", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +295,8 @@ public static boolean validateMedicationsSection2Text(MedicationsSection2 medica public static boolean validateMedicationsSectionEntriesOptionalTemplateId(MedicationsSection2 medicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSection2MedicationsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +363,8 @@ public static boolean validateMedicationsSectionEntriesOptionalTemplateId(Medica public static boolean validateMedicationsSectionEntriesOptionalCodeP(MedicationsSection2 medicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSection2MedicationsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -443,6 +454,8 @@ public static boolean validateMedicationsSectionEntriesOptionalCode(MedicationsS return true; } + DatatypesUtil.increment(context, "MedicationsSection2MedicationsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -508,6 +521,9 @@ public static boolean validateMedicationsSectionEntriesOptionalCode(MedicationsS public static boolean validateMedicationsSectionEntriesOptionalMedicationActivity( MedicationsSection2 medicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSection2MedicationsSectionEntriesOptionalMedicationActivity", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionEntriesOptional2Operations.java index ce830d7389..e7d12b0443 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,9 @@ public static boolean validateMedicationsSectionEntriesOptionalAbsenceOfMedicati MedicationsSectionEntriesOptional2 medicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptional2MedicationsSectionEntriesOptionalAbsenceOfMedications", "INFO"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_ABSENCE_OF_MEDICATIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -143,6 +147,9 @@ public static boolean validateMedicationsSectionEntriesOptionalCodeP( MedicationsSectionEntriesOptional2 medicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptional2MedicationsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +240,9 @@ public static boolean validateMedicationsSectionEntriesOptionalTemplateId( MedicationsSectionEntriesOptional2 medicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptional2MedicationsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +383,9 @@ public static boolean validateMedicationsSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptional2MedicationsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +453,10 @@ public static boolean validateMedicationsSectionEntriesOptionalMedicationActivit MedicationsSectionEntriesOptional2 medicationsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptional2MedicationsSectionEntriesOptionalMedicationActivity", + "WARNING"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionEntriesOptionalOperations.java index 1e26b5f91a..203d0a8558 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,9 @@ public static boolean validateMedicationsSectionEntriesOptionalTemplateId( MedicationsSectionEntriesOptional medicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptionalMedicationsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +176,9 @@ public static boolean validateMedicationsSectionEntriesOptionalCode( MedicationsSectionEntriesOptional medicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptionalMedicationsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +246,9 @@ public static boolean validateMedicationsSectionEntriesOptionalCodeP( MedicationsSectionEntriesOptional medicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptionalMedicationsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +316,9 @@ public static boolean validateMedicationsSectionEntriesOptionalTitle( MedicationsSectionEntriesOptional medicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptionalMedicationsSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +386,9 @@ public static boolean validateMedicationsSectionEntriesOptionalText( MedicationsSectionEntriesOptional medicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptionalMedicationsSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +456,9 @@ public static boolean validateMedicationsSectionEntriesOptionalMedicationActivit MedicationsSectionEntriesOptional medicationsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MedicationsSectionEntriesOptionalMedicationsSectionEntriesOptionalMedicationActivity", "WARNING"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionOperations.java index a598c45a2d..7c552fe134 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MedicationsSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected MedicationsSectionOperations() { public static boolean validateMedicationsSectionCodeP(MedicationsSection medicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSectionMedicationsSectionCodeP", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -187,6 +190,8 @@ public static boolean validateMedicationsSectionCode(MedicationsSection medicati return true; } + DatatypesUtil.increment(context, "MedicationsSectionMedicationsSectionCode", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -250,6 +255,8 @@ public static boolean validateMedicationsSectionCode(MedicationsSection medicati public static boolean validateMedicationsSectionTitle(MedicationsSection medicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSectionMedicationsSectionTitle", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -313,6 +320,8 @@ public static boolean validateMedicationsSectionTitle(MedicationsSection medicat public static boolean validateMedicationsSectionText(MedicationsSection medicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSectionMedicationsSectionText", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -376,6 +385,8 @@ public static boolean validateMedicationsSectionText(MedicationsSection medicati public static boolean validateMedicationsSectionMedication(MedicationsSection medicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSectionMedicationsSectionMedication", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -486,6 +497,8 @@ public static EList getMedications(MedicationsSection medica public static boolean validateMedicationsSectionEntriesOptionalTemplateId(MedicationsSection medicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MedicationsSectionMedicationsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusObservation2Operations.java index 567a1bec15..e95089ba1b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusObservation2Operations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -124,6 +125,8 @@ protected MentalStatusObservation2Operations() { public static boolean validateMentalStatusObservation2TemplateId(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2MentalStatusObservation2TemplateId", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -190,6 +193,9 @@ public static boolean validateMentalStatusObservation2AuthorParticipation( MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservation2MentalStatusObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -259,6 +265,8 @@ public static boolean validateMentalStatusObservation2CDTranslation( MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2MentalStatusObservation2CDTranslation", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -331,6 +339,8 @@ public static boolean validateMentalStatusObservation2CDTranslationP( MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2MentalStatusObservation2CDTranslationP", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION2_CD_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -553,6 +563,9 @@ public static boolean validateCognitiveStatusResultObservationValueDatatype( MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservation2CognitiveStatusResultObservationValueDatatype", "WARNING"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_VALUE_DATATYPE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -619,6 +632,8 @@ public static boolean validateCognitiveStatusResultObservationValueDatatype( public static boolean validateResultObservationTextReference(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationTextReference", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -683,6 +698,8 @@ public static boolean validateResultObservationTextReference(MentalStatusObserva public static boolean validateResultObservationTextReferenceValue(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationTextReferenceValue", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -748,6 +765,8 @@ public static boolean validateResultObservationTextReferenceValue(MentalStatusOb public static boolean validateResultObservationReferenceValue(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationReferenceValue", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -813,6 +832,8 @@ public static boolean validateResultObservationReferenceValue(MentalStatusObserv public static boolean validateResultObservationCodeValue(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationCodeValue", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -878,6 +899,8 @@ public static boolean validateResultObservationNoObservationRangeCode( MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationNoObservationRangeCode", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_NO_OBSERVATION_RANGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -944,6 +967,8 @@ public static boolean validateResultObservationNoObservationRangeCode( public static boolean validateResultObservationAuthorMultiplicity(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationAuthorMultiplicity", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_AUTHOR_MULTIPLICITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1009,6 +1034,8 @@ public static boolean validateResultObservationAuthorMultiplicity(MentalStatusOb public static boolean validateResultObservationClassCode(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationClassCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1073,6 +1100,8 @@ public static boolean validateResultObservationClassCode(MentalStatusObservation public static boolean validateResultObservationMoodCode(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationMoodCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1137,6 +1166,8 @@ public static boolean validateResultObservationMoodCode(MentalStatusObservation2 public static boolean validateResultObservationId(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationId", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1200,6 +1231,8 @@ public static boolean validateResultObservationId(MentalStatusObservation2 menta public static boolean validateResultObservationCodeP(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1286,6 +1319,8 @@ public static boolean validateResultObservationCode(MentalStatusObservation2 men return true; } + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1349,6 +1384,8 @@ public static boolean validateResultObservationCode(MentalStatusObservation2 men public static boolean validateResultObservationStatusCodeP(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationStatusCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1435,6 +1472,8 @@ public static boolean validateResultObservationStatusCode(MentalStatusObservatio return true; } + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationStatusCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1499,6 +1538,8 @@ public static boolean validateResultObservationStatusCode(MentalStatusObservatio public static boolean validateResultObservationEffectiveTime(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationEffectiveTime", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1563,6 +1604,8 @@ public static boolean validateResultObservationEffectiveTime(MentalStatusObserva public static boolean validateResultObservationValue(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1626,6 +1669,8 @@ public static boolean validateResultObservationValue(MentalStatusObservation2 me public static boolean validateResultObservationText(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationText", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1689,6 +1734,8 @@ public static boolean validateResultObservationText(MentalStatusObservation2 men public static boolean validateResultObservationInterpretationCode(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationInterpretationCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1754,6 +1801,8 @@ public static boolean validateResultObservationInterpretationCode(MentalStatusOb public static boolean validateResultObservationMethodCode(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationMethodCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1818,6 +1867,8 @@ public static boolean validateResultObservationMethodCode(MentalStatusObservatio public static boolean validateResultObservationTargetSiteCode(MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2ResultObservationTargetSiteCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1884,6 +1935,9 @@ public static boolean validateCognitiveStatusResultObservationAssessmentScaleObs MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservation2CognitiveStatusResultObservationAssessmentScaleObservation", "INFO"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1951,6 +2005,9 @@ public static boolean validateCognitiveStatusResultObservationReferenceRange( MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservation2CognitiveStatusResultObservationReferenceRange", "INFO"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2018,6 +2075,8 @@ public static boolean validateCognitiveStatusResultObservationAuthor( MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservation2CognitiveStatusResultObservationAuthor", "ERROR"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2085,6 +2144,9 @@ public static boolean validateCognitiveStatusResultObservationNonMedicinalSupply MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservation2CognitiveStatusResultObservationNonMedicinalSupplyActivity", "ERROR"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_NON_MEDICINAL_SUPPLY_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2152,6 +2214,9 @@ public static boolean validateCognitiveStatusResultObservationCaregiverCharacter MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservation2CognitiveStatusResultObservationCaregiverCharacteristics", "ERROR"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2219,6 +2284,10 @@ public static boolean validateCognitiveStatusResultObservationReferenceRangeObse MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservation2CognitiveStatusResultObservationReferenceRangeObservationRangeNoCode", + "INFO"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE_NO_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2291,6 +2360,9 @@ public static boolean validateCognitiveStatusResultObservationReferenceRangeObse MentalStatusObservation2 mentalStatusObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservation2CognitiveStatusResultObservationReferenceRangeObservationRange", "ERROR"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_OBSERVATION_REFERENCE_RANGE_OBSERVATION_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusObservationOperations.java index 72324e9f51..d895a96b90 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -105,6 +106,8 @@ protected MentalStatusObservationOperations() { public static boolean validateMentalStatusObservationTemplateId(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationTemplateId", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +173,8 @@ public static boolean validateMentalStatusObservationTemplateId(MentalStatusObse public static boolean validateMentalStatusObservationClassCode(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationClassCode", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -235,6 +240,8 @@ public static boolean validateMentalStatusObservationClassCode(MentalStatusObser public static boolean validateMentalStatusObservationMoodCode(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationMoodCode", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -300,6 +307,8 @@ public static boolean validateMentalStatusObservationMoodCode(MentalStatusObserv public static boolean validateMentalStatusObservationId(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationId", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +373,8 @@ public static boolean validateMentalStatusObservationId(MentalStatusObservation public static boolean validateMentalStatusObservationCodeP(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationCodeP", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -451,6 +462,8 @@ public static boolean validateMentalStatusObservationCode(MentalStatusObservatio return true; } + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationCode", "WARNING"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -516,6 +529,8 @@ public static boolean validateMentalStatusObservationCode(MentalStatusObservatio public static boolean validateMentalStatusObservationStatusCode(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationStatusCode", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -581,6 +596,8 @@ public static boolean validateMentalStatusObservationStatusCode(MentalStatusObse public static boolean validateMentalStatusObservationStatusCodeP(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationStatusCodeP", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -646,6 +663,8 @@ public static boolean validateMentalStatusObservationStatusCodeP(MentalStatusObs public static boolean validateMentalStatusObservationEffectiveTime(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationEffectiveTime", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -713,6 +732,8 @@ public static boolean validateMentalStatusObservationEffectiveTime(MentalStatusO public static boolean validateMentalStatusObservationValue(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationValue", "WARNING"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -777,6 +798,8 @@ public static boolean validateMentalStatusObservationValue(MentalStatusObservati public static boolean validateMentalStatusObservationValueP(MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusObservationMentalStatusObservationValueP", "ERROR"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -841,6 +864,9 @@ public static boolean validateMentalStatusObservationValueP(MentalStatusObservat public static boolean validateMentalStatusObservationAssessmentScaleObservation( MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservationMentalStatusObservationAssessmentScaleObservation", "INFO"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -907,6 +933,9 @@ public static boolean validateMentalStatusObservationAssessmentScaleObservation( public static boolean validateMentalStatusObservationAuthorParticipation( MentalStatusObservation mentalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusObservationMentalStatusObservationAuthorParticipation", "WARNING"); + if (VALIDATE_MENTAL_STATUS_OBSERVATION_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusOrganizer2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusOrganizer2Operations.java index c12968c0b5..2026551059 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusOrganizer2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusOrganizer2Operations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -96,6 +97,8 @@ protected MentalStatusOrganizer2Operations() { public static boolean validateMentalStatusOrganizer2HasCodeOrEffectiveTime( MentalStatusOrganizer2 mentalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusOrganizer2MentalStatusOrganizer2HasCodeOrEffectiveTime", "ERROR"); + if (VALIDATE_MENTAL_STATUS_ORGANIZER2_HAS_CODE_OR_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateMentalStatusOrganizer2HasCodeOrEffectiveTime( public static boolean validateMentalStatusOrganizer2TemplateId(MentalStatusOrganizer2 mentalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusOrganizer2MentalStatusOrganizer2TemplateId", "ERROR"); + if (VALIDATE_MENTAL_STATUS_ORGANIZER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -227,6 +232,8 @@ public static boolean validateMentalStatusOrganizer2TemplateId(MentalStatusOrgan public static boolean validateMentalStatusOrganizer2EffectiveTime(MentalStatusOrganizer2 mentalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusOrganizer2MentalStatusOrganizer2EffectiveTime", "WARNING"); + if (VALIDATE_MENTAL_STATUS_ORGANIZER2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -292,6 +299,8 @@ public static boolean validateMentalStatusOrganizer2EffectiveTime(MentalStatusOr public static boolean validateMentalStatusOrganizer2CDCode(MentalStatusOrganizer2 mentalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusOrganizer2MentalStatusOrganizer2CDCode", "ERROR"); + if (VALIDATE_MENTAL_STATUS_ORGANIZER2_CD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -412,6 +421,9 @@ public static EList getConsolMentalStatusObservation2s public static boolean validateCognitiveStatusResultOrganizerCodeCodeSystem( MentalStatusOrganizer2 mentalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "MentalStatusOrganizer2CognitiveStatusResultOrganizerCodeCodeSystem", "WARNING"); + if (VALIDATE_COGNITIVE_STATUS_RESULT_ORGANIZER_CODE_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -478,6 +490,8 @@ public static boolean validateCognitiveStatusResultOrganizerCodeCodeSystem( public static boolean validateResultOrganizerCode(MentalStatusOrganizer2 mentalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusOrganizer2ResultOrganizerCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -541,6 +555,8 @@ public static boolean validateResultOrganizerCode(MentalStatusOrganizer2 mentalS public static boolean validateResultOrganizerResultObservation(MentalStatusOrganizer2 mentalStatusOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusOrganizer2ResultOrganizerResultObservation", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusSectionOperations.java index c410d48fee..64dac28750 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/MentalStatusSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -104,6 +105,8 @@ protected MentalStatusSectionOperations() { public static boolean validateMentalStatusSectionTemplateId(MentalStatusSection mentalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusSectionMentalStatusSectionTemplateId", "ERROR"); + if (VALIDATE_MENTAL_STATUS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +173,8 @@ public static boolean validateMentalStatusSectionTemplateId(MentalStatusSection public static boolean validateMentalStatusSectionCode(MentalStatusSection mentalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusSectionMentalStatusSectionCode", "ERROR"); + if (VALIDATE_MENTAL_STATUS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +238,8 @@ public static boolean validateMentalStatusSectionCode(MentalStatusSection mental public static boolean validateMentalStatusSectionCodeP(MentalStatusSection mentalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusSectionMentalStatusSectionCodeP", "ERROR"); + if (VALIDATE_MENTAL_STATUS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validateMentalStatusSectionCodeP(MentalStatusSection menta public static boolean validateMentalStatusSectionTitle(MentalStatusSection mentalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusSectionMentalStatusSectionTitle", "ERROR"); + if (VALIDATE_MENTAL_STATUS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -359,6 +368,8 @@ public static boolean validateMentalStatusSectionTitle(MentalStatusSection menta public static boolean validateMentalStatusSectionText(MentalStatusSection mentalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusSectionMentalStatusSectionText", "ERROR"); + if (VALIDATE_MENTAL_STATUS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -422,6 +433,8 @@ public static boolean validateMentalStatusSectionText(MentalStatusSection mental public static boolean validateMentalStatusSectionAssessmentScaleObservation(MentalStatusSection mentalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusSectionMentalStatusSectionAssessmentScaleObservation", "INFO"); + if (VALIDATE_MENTAL_STATUS_SECTION_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -488,6 +501,8 @@ public static boolean validateMentalStatusSectionAssessmentScaleObservation(Ment public static boolean validateMentalStatusSectionMentalStatusOrganizer2(MentalStatusSection mentalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusSectionMentalStatusSectionMentalStatusOrganizer2", "INFO"); + if (VALIDATE_MENTAL_STATUS_SECTION_MENTAL_STATUS_ORGANIZER2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -553,6 +568,8 @@ public static boolean validateMentalStatusSectionMentalStatusOrganizer2(MentalSt public static boolean validateMentalStatusSectionMentalStatusObservation2(MentalStatusSection mentalStatusSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "MentalStatusSectionMentalStatusSectionMentalStatusObservation2", "INFO"); + if (VALIDATE_MENTAL_STATUS_SECTION_MENTAL_STATUS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NonMedicinalSupplyActivity2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NonMedicinalSupplyActivity2Operations.java index c49e72d99d..dd57d3efa2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NonMedicinalSupplyActivity2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NonMedicinalSupplyActivity2Operations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,9 @@ public static boolean validateNonMedicinalSupplyActivity2Instruction2InversionIn NonMedicinalSupplyActivity2 nonMedicinalSupplyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NonMedicinalSupplyActivity2NonMedicinalSupplyActivity2Instruction2InversionInd", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY2_INSTRUCTION2_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -165,6 +169,8 @@ public static boolean validateNonMedicinalSupplyActivity2TemplateId( NonMedicinalSupplyActivity2 nonMedicinalSupplyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivity2NonMedicinalSupplyActivity2TemplateId", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +238,8 @@ public static boolean validateNonMedicinalSupplyActivityStatusCodeP( NonMedicinalSupplyActivity2 nonMedicinalSupplyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivity2NonMedicinalSupplyActivityStatusCodeP", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -313,6 +321,8 @@ public static boolean validateNonMedicinalSupplyActivity2Instruction2( NonMedicinalSupplyActivity2 nonMedicinalSupplyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivity2NonMedicinalSupplyActivity2Instruction2", "INFO"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY2_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -480,6 +490,8 @@ public static boolean validateNonMedicinalSupplyActivityStatusCode( return true; } + DatatypesUtil.increment(context, "NonMedicinalSupplyActivity2NonMedicinalSupplyActivityStatusCode", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -547,6 +559,9 @@ public static boolean validateNonMedicinalSupplyActivityProductInstance( NonMedicinalSupplyActivity2 nonMedicinalSupplyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NonMedicinalSupplyActivity2NonMedicinalSupplyActivityProductInstance", "INFO"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_PRODUCT_INSTANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NonMedicinalSupplyActivityOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NonMedicinalSupplyActivityOperations.java index 9b413930b0..ddec99b737 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NonMedicinalSupplyActivityOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NonMedicinalSupplyActivityOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SupplyOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -104,6 +105,9 @@ public static boolean validateNonMedicinalSupplyActivityEffectiveTimeHigh( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityEffectiveTimeHigh", "WARNING"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -171,6 +175,9 @@ public static boolean validateNonMedicinalSupplyActivityProductInstanceTypeCode( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityProductInstanceTypeCode", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_PRODUCT_INSTANCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +245,8 @@ public static boolean validateNonMedicinalSupplyActivityTemplateId( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityTemplateId", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -305,6 +314,8 @@ public static boolean validateNonMedicinalSupplyActivityClassCode( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityClassCode", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -374,6 +385,8 @@ public static boolean validateNonMedicinalSupplyActivityMoodCode( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityMoodCode", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -439,6 +452,8 @@ public static boolean validateNonMedicinalSupplyActivityMoodCode( public static boolean validateNonMedicinalSupplyActivityId(NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityId", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -504,6 +519,8 @@ public static boolean validateNonMedicinalSupplyActivityStatusCode( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityStatusCode", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -571,6 +588,9 @@ public static boolean validateNonMedicinalSupplyActivityEffectiveTime( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityEffectiveTime", "WARNING"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -638,6 +658,8 @@ public static boolean validateNonMedicinalSupplyActivityQuantity( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityQuantity", "WARNING"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -704,6 +726,9 @@ public static boolean validateNonMedicinalSupplyActivityProductInstance( NonMedicinalSupplyActivity nonMedicinalSupplyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NonMedicinalSupplyActivityNonMedicinalSupplyActivityProductInstance", "ERROR"); + if (VALIDATE_NON_MEDICINAL_SUPPLY_ACTIVITY_PRODUCT_INSTANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NumberOfPressureUlcersObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NumberOfPressureUlcersObservation2Operations.java index fbabb7a4e3..648de8ed5a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NumberOfPressureUlcersObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NumberOfPressureUlcersObservation2Operations.java @@ -11,6 +11,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -101,6 +102,9 @@ public static boolean validateNumberOfPressureUlcersObservation2TemplateId( NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservation2TemplateId", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +174,9 @@ public static boolean validateNumberOfPressureUlcersObservation2CDTranslation( NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservation2CDTranslation", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -242,6 +249,9 @@ public static boolean validateNumberOfPressureUlcersObservation2CDTranslationP( NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservation2CDTranslationP", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION2_CD_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -314,6 +324,11 @@ public static boolean validateNumberOfPressureUlcersObservation2EntryRelationshi NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservation2EntryRelationshipObservationCodeP", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION2_ENTRY_RELATIONSHIP_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -402,6 +417,11 @@ public static boolean validateNumberOfPressureUlcersObservation2EntryRelationshi NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservation2EntryRelationshipObservationCode", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION2_ENTRY_RELATIONSHIP_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -484,6 +504,9 @@ public static boolean validateNumberOfPressureUlcersObservationCodeP( NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationCodeP", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -576,6 +599,9 @@ public static boolean validateNumberOfPressureUlcersObservationCode( return true; } + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationCode", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -643,6 +669,9 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationEntryRelationship", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -710,6 +739,11 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationEntryRelationshipObservationClassCode", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -782,6 +816,11 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationEntryRelationshipObservationMoodCode", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -854,6 +893,11 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationEntryRelationshipObservationValueP", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -942,6 +986,11 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationEntryRelationshipObservationValue", + "WARNING"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1024,6 +1073,10 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationEntryRelationshipTypeCode", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1096,6 +1149,10 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation2 numberOfPressureUlcersObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservation2NumberOfPressureUlcersObservationEntryRelationshipObservation", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NumberOfPressureUlcersObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NumberOfPressureUlcersObservationOperations.java index 28e17dc678..299b3dfb78 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NumberOfPressureUlcersObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NumberOfPressureUlcersObservationOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -109,6 +110,9 @@ public static boolean validateNumberOfPressureUlcersObservationTemplateId( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationTemplateId", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -176,6 +180,9 @@ public static boolean validateNumberOfPressureUlcersObservationClassCode( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationClassCode", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -243,6 +250,9 @@ public static boolean validateNumberOfPressureUlcersObservationMoodCode( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationMoodCode", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -310,6 +320,9 @@ public static boolean validateNumberOfPressureUlcersObservationId( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationId", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -377,6 +390,9 @@ public static boolean validateNumberOfPressureUlcersObservationCodeP( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationCodeP", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -469,6 +485,9 @@ public static boolean validateNumberOfPressureUlcersObservationCode( return true; } + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationCode", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -537,6 +556,9 @@ public static boolean validateNumberOfPressureUlcersObservationStatusCode( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationStatusCode", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -604,6 +626,9 @@ public static boolean validateNumberOfPressureUlcersObservationStatusCodeP( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationStatusCodeP", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -671,6 +696,9 @@ public static boolean validateNumberOfPressureUlcersObservationEffectiveTime( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationEffectiveTime", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -738,6 +766,9 @@ public static boolean validateNumberOfPressureUlcersObservationValue( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationValue", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -805,6 +836,9 @@ public static boolean validateNumberOfPressureUlcersObservationAuthor( NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationAuthor", "INFO"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -872,6 +906,9 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationEntryRelationship", "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -939,6 +976,11 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationEntryRelationshipObservationClassCode", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1011,6 +1053,11 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationEntryRelationshipObservationMoodCode", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1085,6 +1132,11 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationEntryRelationshipObservationValue", + "WARNING"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1157,6 +1209,11 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationEntryRelationshipObservationValueP", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1229,6 +1286,10 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationEntryRelationshipTypeCode", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1301,6 +1362,10 @@ public static boolean validateNumberOfPressureUlcersObservationEntryRelationship NumberOfPressureUlcersObservation numberOfPressureUlcersObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NumberOfPressureUlcersObservationNumberOfPressureUlcersObservationEntryRelationshipObservation", + "ERROR"); + if (VALIDATE_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION_ENTRY_RELATIONSHIP_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionAssessmentOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionAssessmentOperations.java index 6ae3bf306b..0f01f5bbc0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionAssessmentOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionAssessmentOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected NutritionAssessmentOperations() { public static boolean validateNutritionAssessmentValueOfTypeCDIsFromSnomed(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentValueOfTypeCDIsFromSnomed", "WARNING"); + if (VALIDATE_NUTRITION_ASSESSMENT_VALUE_OF_TYPE_CD_IS_FROM_SNOMED__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateNutritionAssessmentValueOfTypeCDIsFromSnomed(Nutri public static boolean validateNutritionAssessmentTemplateId(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentTemplateId", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -228,6 +233,8 @@ public static boolean validateNutritionAssessmentTemplateId(NutritionAssessment public static boolean validateNutritionAssessmentClassCode(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentClassCode", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -292,6 +299,8 @@ public static boolean validateNutritionAssessmentClassCode(NutritionAssessment n public static boolean validateNutritionAssessmentMoodCode(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentMoodCode", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -355,6 +364,8 @@ public static boolean validateNutritionAssessmentMoodCode(NutritionAssessment nu public static boolean validateNutritionAssessmentId(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentId", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -418,6 +429,8 @@ public static boolean validateNutritionAssessmentId(NutritionAssessment nutritio public static boolean validateNutritionAssessmentCodeP(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentCodeP", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -504,6 +517,8 @@ public static boolean validateNutritionAssessmentCode(NutritionAssessment nutrit return true; } + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentCode", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -568,6 +583,8 @@ public static boolean validateNutritionAssessmentCode(NutritionAssessment nutrit public static boolean validateNutritionAssessmentStatusCode(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentStatusCode", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -632,6 +649,8 @@ public static boolean validateNutritionAssessmentStatusCode(NutritionAssessment public static boolean validateNutritionAssessmentStatusCodeP(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentStatusCodeP", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -697,6 +716,8 @@ public static boolean validateNutritionAssessmentStatusCodeP(NutritionAssessment public static boolean validateNutritionAssessmentEffectiveTime(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentEffectiveTime", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -762,6 +783,8 @@ public static boolean validateNutritionAssessmentEffectiveTime(NutritionAssessme public static boolean validateNutritionAssessmentValue(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentValue", "ERROR"); + if (VALIDATE_NUTRITION_ASSESSMENT_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -825,6 +848,8 @@ public static boolean validateNutritionAssessmentValue(NutritionAssessment nutri public static boolean validateNutritionAssessmentAuthorParticipation(NutritionAssessment nutritionAssessment, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionAssessmentNutritionAssessmentAuthorParticipation", "WARNING"); + if (VALIDATE_NUTRITION_ASSESSMENT_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionRecommendationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionRecommendationOperations.java index d982e14285..81e5cab506 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionRecommendationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionRecommendationOperations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -113,6 +114,8 @@ protected NutritionRecommendationOperations() { public static boolean validateNutritionRecommendationTemplateId(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationTemplateId", "ERROR"); + if (VALIDATE_NUTRITION_RECOMMENDATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -178,6 +181,8 @@ public static boolean validateNutritionRecommendationTemplateId(NutritionRecomme public static boolean validateNutritionRecommendationClassCode(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationClassCode", "ERROR"); + if (VALIDATE_NUTRITION_RECOMMENDATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -243,6 +248,8 @@ public static boolean validateNutritionRecommendationClassCode(NutritionRecommen public static boolean validateNutritionRecommendationMoodCodeP(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationMoodCodeP", "ERROR"); + if (VALIDATE_NUTRITION_RECOMMENDATION_MOOD_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -331,6 +338,8 @@ public static boolean validateNutritionRecommendationMoodCode(NutritionRecommend return true; } + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationMoodCode", "ERROR"); + if (VALIDATE_NUTRITION_RECOMMENDATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -396,6 +405,8 @@ public static boolean validateNutritionRecommendationMoodCode(NutritionRecommend public static boolean validateNutritionRecommendationCodeP(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationCodeP", "ERROR"); + if (VALIDATE_NUTRITION_RECOMMENDATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -483,6 +494,8 @@ public static boolean validateNutritionRecommendationCode(NutritionRecommendatio return true; } + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationCode", "WARNING"); + if (VALIDATE_NUTRITION_RECOMMENDATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -548,6 +561,8 @@ public static boolean validateNutritionRecommendationCode(NutritionRecommendatio public static boolean validateNutritionRecommendationStatusCode(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationStatusCode", "ERROR"); + if (VALIDATE_NUTRITION_RECOMMENDATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -613,6 +628,8 @@ public static boolean validateNutritionRecommendationStatusCode(NutritionRecomme public static boolean validateNutritionRecommendationStatusCodeP(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationStatusCodeP", "ERROR"); + if (VALIDATE_NUTRITION_RECOMMENDATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -678,6 +695,8 @@ public static boolean validateNutritionRecommendationStatusCodeP(NutritionRecomm public static boolean validateNutritionRecommendationEffectiveTime(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationEffectiveTime", "WARNING"); + if (VALIDATE_NUTRITION_RECOMMENDATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -743,6 +762,8 @@ public static boolean validateNutritionRecommendationEffectiveTime(NutritionReco public static boolean validateNutritionRecommendationPlannedEncounter2( NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationPlannedEncounter2", "INFO"); + if (VALIDATE_NUTRITION_RECOMMENDATION_PLANNED_ENCOUNTER2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -809,6 +830,9 @@ public static boolean validateNutritionRecommendationPlannedEncounter2( public static boolean validateNutritionRecommendationPlannedMedicationActivity2( NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NutritionRecommendationNutritionRecommendationPlannedMedicationActivity2", "INFO"); + if (VALIDATE_NUTRITION_RECOMMENDATION_PLANNED_MEDICATION_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -875,6 +899,8 @@ public static boolean validateNutritionRecommendationPlannedMedicationActivity2( public static boolean validateNutritionRecommendationPlannedObservation2( NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationPlannedObservation2", "INFO"); + if (VALIDATE_NUTRITION_RECOMMENDATION_PLANNED_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -941,6 +967,8 @@ public static boolean validateNutritionRecommendationPlannedObservation2( public static boolean validateNutritionRecommendationPlannedProcedure2( NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationPlannedProcedure2", "INFO"); + if (VALIDATE_NUTRITION_RECOMMENDATION_PLANNED_PROCEDURE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1007,6 +1035,8 @@ public static boolean validateNutritionRecommendationPlannedProcedure2( public static boolean validateNutritionRecommendationPlannedSupply2(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationPlannedSupply2", "INFO"); + if (VALIDATE_NUTRITION_RECOMMENDATION_PLANNED_SUPPLY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1072,6 +1102,8 @@ public static boolean validateNutritionRecommendationPlannedSupply2(NutritionRec public static boolean validateNutritionRecommendationPlannedAct2(NutritionRecommendation nutritionRecommendation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionRecommendationNutritionRecommendationPlannedAct2", "INFO"); + if (VALIDATE_NUTRITION_RECOMMENDATION_PLANNED_ACT2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionSectionOperations.java index 0ddafc56cf..43fc33673c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected NutritionSectionOperations() { public static boolean validateNutritionSectionTemplateId(NutritionSection nutritionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionSectionNutritionSectionTemplateId", "ERROR"); + if (VALIDATE_NUTRITION_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +166,8 @@ public static boolean validateNutritionSectionTemplateId(NutritionSection nutrit public static boolean validateNutritionSectionCode(NutritionSection nutritionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionSectionNutritionSectionCode", "ERROR"); + if (VALIDATE_NUTRITION_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -226,6 +231,8 @@ public static boolean validateNutritionSectionCode(NutritionSection nutritionSec public static boolean validateNutritionSectionCodeP(NutritionSection nutritionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionSectionNutritionSectionCodeP", "ERROR"); + if (VALIDATE_NUTRITION_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateNutritionSectionCodeP(NutritionSection nutritionSe public static boolean validateNutritionSectionTitle(NutritionSection nutritionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionSectionNutritionSectionTitle", "ERROR"); + if (VALIDATE_NUTRITION_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +361,8 @@ public static boolean validateNutritionSectionTitle(NutritionSection nutritionSe public static boolean validateNutritionSectionText(NutritionSection nutritionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionSectionNutritionSectionText", "ERROR"); + if (VALIDATE_NUTRITION_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -415,6 +426,8 @@ public static boolean validateNutritionSectionText(NutritionSection nutritionSec public static boolean validateNutritionSectionNutritionalStatusObservation(NutritionSection nutritionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionSectionNutritionSectionNutritionalStatusObservation", "WARNING"); + if (VALIDATE_NUTRITION_SECTION_NUTRITIONAL_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionalStatusObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionalStatusObservationOperations.java index 36aeed4e6e..bac9bcba48 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionalStatusObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/NutritionalStatusObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -105,6 +106,8 @@ public static boolean validateNutritionalStatusObservationTemplateId( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationTemplateId", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +175,8 @@ public static boolean validateNutritionalStatusObservationClassCode( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationClassCode", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +244,8 @@ public static boolean validateNutritionalStatusObservationMoodCode( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationMoodCode", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +313,8 @@ public static boolean validateNutritionalStatusObservationId( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationId", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -371,6 +380,8 @@ public static boolean validateNutritionalStatusObservationCodeP( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationCodeP", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -462,6 +473,8 @@ public static boolean validateNutritionalStatusObservationCode( return true; } + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationCode", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -529,6 +542,8 @@ public static boolean validateNutritionalStatusObservationStatusCode( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationStatusCode", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -596,6 +611,9 @@ public static boolean validateNutritionalStatusObservationStatusCodeP( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NutritionalStatusObservationNutritionalStatusObservationStatusCodeP", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -663,6 +681,9 @@ public static boolean validateNutritionalStatusObservationEffectiveTime( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NutritionalStatusObservationNutritionalStatusObservationEffectiveTime", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -732,6 +753,8 @@ public static boolean validateNutritionalStatusObservationValue( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationValue", "WARNING"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -799,6 +822,8 @@ public static boolean validateNutritionalStatusObservationValueP( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "NutritionalStatusObservationNutritionalStatusObservationValueP", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -866,6 +891,9 @@ public static boolean validateNutritionalStatusObservationNutritionAssessment( NutritionalStatusObservation nutritionalStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "NutritionalStatusObservationNutritionalStatusObservationNutritionAssessment", "ERROR"); + if (VALIDATE_NUTRITIONAL_STATUS_OBSERVATION_NUTRITION_ASSESSMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ObjectiveSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ObjectiveSectionOperations.java index 48956de3be..a0087a4d31 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ObjectiveSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ObjectiveSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected ObjectiveSectionOperations() { public static boolean validateObjectiveSectionTemplateId(ObjectiveSection objectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ObjectiveSectionObjectiveSectionTemplateId", "ERROR"); + if (VALIDATE_OBJECTIVE_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -159,6 +162,8 @@ public static boolean validateObjectiveSectionTemplateId(ObjectiveSection object public static boolean validateObjectiveSectionCode(ObjectiveSection objectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ObjectiveSectionObjectiveSectionCode", "ERROR"); + if (VALIDATE_OBJECTIVE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -222,6 +227,8 @@ public static boolean validateObjectiveSectionCode(ObjectiveSection objectiveSec public static boolean validateObjectiveSectionCodeP(ObjectiveSection objectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ObjectiveSectionObjectiveSectionCodeP", "ERROR"); + if (VALIDATE_OBJECTIVE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +292,8 @@ public static boolean validateObjectiveSectionCodeP(ObjectiveSection objectiveSe public static boolean validateObjectiveSectionText(ObjectiveSection objectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ObjectiveSectionObjectiveSectionText", "ERROR"); + if (VALIDATE_OBJECTIVE_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -348,6 +357,8 @@ public static boolean validateObjectiveSectionText(ObjectiveSection objectiveSec public static boolean validateObjectiveSectionTitle(ObjectiveSection objectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ObjectiveSectionObjectiveSectionTitle", "ERROR"); + if (VALIDATE_OBJECTIVE_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ObserverContextOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ObserverContextOperations.java index 2ede8c31a9..378a9dcda0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ObserverContextOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ObserverContextOperations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.AuthorOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -87,6 +88,8 @@ protected ObserverContextOperations() { public static boolean validateObserverContextTemplateId(ObserverContext observerContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ObserverContextObserverContextTemplateId", "ERROR"); + if (VALIDATE_OBSERVER_CONTEXT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -150,6 +153,8 @@ public static boolean validateObserverContextTemplateId(ObserverContext observer public static boolean validateObserverContextAssignedAuthor(ObserverContext observerContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ObserverContextObserverContextAssignedAuthor", "ERROR"); + if (VALIDATE_OBSERVER_CONTEXT_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNote2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNote2Operations.java index b4482a2978..d98cf7c7d6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNote2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNote2Operations.java @@ -11,6 +11,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -161,6 +162,8 @@ protected OperativeNote2Operations() { public static boolean validateOperativeNote2CodeP(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2CodeP", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -247,6 +250,8 @@ public static boolean validateOperativeNote2Code(OperativeNote2 operativeNote2, return true; } + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2Code", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -310,6 +315,8 @@ public static boolean validateOperativeNote2Code(OperativeNote2 operativeNote2, public static boolean validateOperativeNote2DocumentationOf(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2DocumentationOf", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +380,8 @@ public static boolean validateOperativeNote2DocumentationOf(OperativeNote2 opera public static boolean validateOperativeNote2Authorization(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2Authorization", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_AUTHORIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -436,6 +445,8 @@ public static boolean validateOperativeNote2Authorization(OperativeNote2 operati public static boolean validateOperativeNote2AnesthesiaSection2(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2AnesthesiaSection2", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_ANESTHESIA_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -500,6 +511,8 @@ public static boolean validateOperativeNote2AnesthesiaSection2(OperativeNote2 op public static boolean validateOperativeNote2ComplicationsSection2(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2ComplicationsSection2", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_COMPLICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -565,6 +578,8 @@ public static boolean validateOperativeNote2ComplicationsSection2(OperativeNote2 public static boolean validateOperativeNote2PreoperativeDiagnosisSection2(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2PreoperativeDiagnosisSection2", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_PREOPERATIVE_DIAGNOSIS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -630,6 +645,8 @@ public static boolean validateOperativeNote2PreoperativeDiagnosisSection2(Operat public static boolean validateOperativeNote2ProcedureEstimatedBloodLossSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2ProcedureEstimatedBloodLossSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -696,6 +713,8 @@ public static boolean validateOperativeNote2ProcedureEstimatedBloodLossSection(O public static boolean validateOperativeNote2ProcedureFindingsSection2(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2ProcedureFindingsSection2", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_PROCEDURE_FINDINGS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -761,6 +780,8 @@ public static boolean validateOperativeNote2ProcedureFindingsSection2(OperativeN public static boolean validateOperativeNote2ProcedureSpecimensTakenSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2ProcedureSpecimensTakenSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_PROCEDURE_SPECIMENS_TAKEN_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -826,6 +847,8 @@ public static boolean validateOperativeNote2ProcedureSpecimensTakenSection(Opera public static boolean validateOperativeNote2ProcedureDescriptionSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2ProcedureDescriptionSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_PROCEDURE_DESCRIPTION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -891,6 +914,8 @@ public static boolean validateOperativeNote2ProcedureDescriptionSection(Operativ public static boolean validateOperativeNote2PostoperativeDiagnosisSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2PostoperativeDiagnosisSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_POSTOPERATIVE_DIAGNOSIS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -956,6 +981,8 @@ public static boolean validateOperativeNote2PostoperativeDiagnosisSection(Operat public static boolean validateOperativeNote2ProcedureImplantsSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2ProcedureImplantsSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_PROCEDURE_IMPLANTS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1021,6 +1048,8 @@ public static boolean validateOperativeNote2ProcedureImplantsSection(OperativeNo public static boolean validateOperativeNote2OperativeNoteFluidSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2OperativeNoteFluidSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_OPERATIVE_NOTE_FLUID_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1086,6 +1115,8 @@ public static boolean validateOperativeNote2OperativeNoteFluidSection(OperativeN public static boolean validateOperativeNote2OperativeNoteSurgicalProcedureSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2OperativeNoteSurgicalProcedureSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_OPERATIVE_NOTE_SURGICAL_PROCEDURE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1152,6 +1183,8 @@ public static boolean validateOperativeNote2OperativeNoteSurgicalProcedureSectio public static boolean validateOperativeNote2PlanOfTreatmentSection2(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2PlanOfTreatmentSection2", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1217,6 +1250,8 @@ public static boolean validateOperativeNote2PlanOfTreatmentSection2(OperativeNot public static boolean validateOperativeNote2PlannedProcedureSection2(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2PlannedProcedureSection2", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_PLANNED_PROCEDURE_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1282,6 +1317,8 @@ public static boolean validateOperativeNote2PlannedProcedureSection2(OperativeNo public static boolean validateOperativeNote2ProcedureDispositionSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2ProcedureDispositionSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_PROCEDURE_DISPOSITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1347,6 +1384,8 @@ public static boolean validateOperativeNote2ProcedureDispositionSection(Operativ public static boolean validateOperativeNote2ProcedureIndicationsSection2(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2ProcedureIndicationsSection2", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_PROCEDURE_INDICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1412,6 +1451,8 @@ public static boolean validateOperativeNote2ProcedureIndicationsSection2(Operati public static boolean validateOperativeNote2SurgicalDrainsSection(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2SurgicalDrainsSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_SURGICAL_DRAINS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1477,6 +1518,9 @@ public static boolean validateOperativeNote2SurgicalDrainsSection(OperativeNote2 public static boolean validateOperativeNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_US_REALM_DATE_AND_TIME_DT_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1527,6 +1571,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventUSRealmDa public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntityCode( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerAssignedEntityCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1631,6 +1678,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntityCodeP( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerAssignedEntityCodeP", "WARNING"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1716,6 +1766,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerTypeCode( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerTypeCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1787,6 +1840,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssignedEntity( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerAssignedEntity", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1837,6 +1893,10 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCode( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCode", + "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1941,6 +2001,10 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCodeP( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCodeP", + "WARNING"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2026,6 +2090,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsTypeCode( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerAssistantsTypeCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2097,6 +2164,10 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntity( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntity", + "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2168,6 +2239,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_HAS_HIGH_WHEN_NO_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2239,6 +2313,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventEffective public static boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTimeNoHighIfWidth( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventEffectiveTimeNoHighIfWidth", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_NO_HIGH_IF_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2310,6 +2387,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventEffective public static boolean validateOperativeNote2DocumentationOfServiceEventProcedureCodes(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventProcedureCodes", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PROCEDURE_CODES__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2381,6 +2461,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventProcedure public static boolean validateOperativeNote2DocumentationOfServiceEventEffectiveTime(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventEffectiveTime", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2452,6 +2535,8 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventEffective public static boolean validateOperativeNote2DocumentationOfServiceEventCode(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2DocumentationOfServiceEventCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2523,6 +2608,8 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventCode(Oper public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformer", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2594,6 +2681,9 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEventPerformerAssistants( OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNote2OperativeNote2DocumentationOfServiceEventPerformerAssistants", "INFO"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2665,6 +2755,8 @@ public static boolean validateOperativeNote2DocumentationOfServiceEventPerformer public static boolean validateOperativeNote2DocumentationOfServiceEvent(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2DocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2735,6 +2827,8 @@ public static boolean validateOperativeNote2DocumentationOfServiceEvent(Operativ public static boolean validateOperativeNote2AuthorizationConsentClassCode(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2AuthorizationConsentClassCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_AUTHORIZATION_CONSENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2806,6 +2900,8 @@ public static boolean validateOperativeNote2AuthorizationConsentClassCode(Operat public static boolean validateOperativeNote2AuthorizationConsentMoodCode(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2AuthorizationConsentMoodCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_AUTHORIZATION_CONSENT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2876,6 +2972,8 @@ public static boolean validateOperativeNote2AuthorizationConsentMoodCode(Operati public static boolean validateOperativeNote2AuthorizationConsentStatusCode(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2AuthorizationConsentStatusCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_AUTHORIZATION_CONSENT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2947,6 +3045,8 @@ public static boolean validateOperativeNote2AuthorizationConsentStatusCode(Opera public static boolean validateOperativeNote2AuthorizationTypeCode(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2AuthorizationTypeCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_AUTHORIZATION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3017,6 +3117,8 @@ public static boolean validateOperativeNote2AuthorizationTypeCode(OperativeNote2 public static boolean validateOperativeNote2AuthorizationConsent(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2OperativeNote2AuthorizationConsent", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE2_AUTHORIZATION_CONSENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3819,6 +3921,8 @@ public static SurgicalDrainsSection getSurgicalDrainsSection(OperativeNote2 oper public static boolean validateUSRealmHeader2TemplateId(OperativeNote2 operativeNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNote2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteFluidSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteFluidSectionOperations.java index f6c2cf9d1f..b398d0be8e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteFluidSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteFluidSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ public static boolean validateOperativeNoteFluidSectionTemplateId( OperativeNoteFluidSection operativeNoteFluidSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteFluidSectionOperativeNoteFluidSectionTemplateId", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_FLUID_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateOperativeNoteFluidSectionTemplateId( public static boolean validateOperativeNoteFluidSectionCode(OperativeNoteFluidSection operativeNoteFluidSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteFluidSectionOperativeNoteFluidSectionCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_FLUID_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -226,6 +231,8 @@ public static boolean validateOperativeNoteFluidSectionCode(OperativeNoteFluidSe public static boolean validateOperativeNoteFluidSectionCodeP(OperativeNoteFluidSection operativeNoteFluidSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteFluidSectionOperativeNoteFluidSectionCodeP", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_FLUID_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -291,6 +298,8 @@ public static boolean validateOperativeNoteFluidSectionCodeP(OperativeNoteFluidS public static boolean validateOperativeNoteFluidSectionText(OperativeNoteFluidSection operativeNoteFluidSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteFluidSectionOperativeNoteFluidSectionText", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_FLUID_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -355,6 +364,8 @@ public static boolean validateOperativeNoteFluidSectionText(OperativeNoteFluidSe public static boolean validateOperativeNoteFluidSectionTitle(OperativeNoteFluidSection operativeNoteFluidSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteFluidSectionOperativeNoteFluidSectionTitle", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_FLUID_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteOperations.java index 9f3d6c7bd2..8273a3a3a9 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -161,6 +162,8 @@ protected OperativeNoteOperations() { public static boolean validateGeneralHeaderConstraintsCodeP(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteGeneralHeaderConstraintsCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +240,8 @@ public static boolean validateGeneralHeaderConstraintsCodeP(OperativeNote operat public static boolean validateOperativeNoteDocumentationOf(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteDocumentationOf", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -300,6 +305,8 @@ public static boolean validateOperativeNoteDocumentationOf(OperativeNote operati public static boolean validateOperativeNoteAnesthesiaSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteAnesthesiaSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_ANESTHESIA_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -363,6 +370,8 @@ public static boolean validateOperativeNoteAnesthesiaSection(OperativeNote opera public static boolean validateOperativeNoteComplicationsSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteComplicationsSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_COMPLICATIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -427,6 +436,8 @@ public static boolean validateOperativeNoteComplicationsSection(OperativeNote op public static boolean validateOperativeNotePostoperativeDiagnosisSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNotePostoperativeDiagnosisSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_POSTOPERATIVE_DIAGNOSIS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -492,6 +503,8 @@ public static boolean validateOperativeNotePostoperativeDiagnosisSection(Operati public static boolean validateOperativeNotePreoperativeDiagnosisSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNotePreoperativeDiagnosisSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_PREOPERATIVE_DIAGNOSIS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -557,6 +570,8 @@ public static boolean validateOperativeNotePreoperativeDiagnosisSection(Operativ public static boolean validateOperativeNoteProcedureEstimatedBloodLossSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteProcedureEstimatedBloodLossSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -622,6 +637,8 @@ public static boolean validateOperativeNoteProcedureEstimatedBloodLossSection(Op public static boolean validateOperativeNoteProcedureFindingsSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteProcedureFindingsSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_PROCEDURE_FINDINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -687,6 +704,8 @@ public static boolean validateOperativeNoteProcedureFindingsSection(OperativeNot public static boolean validateOperativeNoteProcedureSpecimensTakenSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteProcedureSpecimensTakenSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_PROCEDURE_SPECIMENS_TAKEN_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -752,6 +771,8 @@ public static boolean validateOperativeNoteProcedureSpecimensTakenSection(Operat public static boolean validateOperativeNoteProcedureDescriptionSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteProcedureDescriptionSection", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_PROCEDURE_DESCRIPTION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -817,6 +838,8 @@ public static boolean validateOperativeNoteProcedureDescriptionSection(Operative public static boolean validateOperativeNoteProcedureImplantsSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteProcedureImplantsSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_PROCEDURE_IMPLANTS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -882,6 +905,8 @@ public static boolean validateOperativeNoteProcedureImplantsSection(OperativeNot public static boolean validateOperativeNoteOperativeNoteFluidSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteOperativeNoteFluidSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_OPERATIVE_NOTE_FLUID_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -947,6 +972,8 @@ public static boolean validateOperativeNoteOperativeNoteFluidSection(OperativeNo public static boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteOperativeNoteSurgicalProcedureSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_OPERATIVE_NOTE_SURGICAL_PROCEDURE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1013,6 +1040,8 @@ public static boolean validateOperativeNoteOperativeNoteSurgicalProcedureSection public static boolean validateOperativeNotePlanOfCareSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNotePlanOfCareSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_PLAN_OF_CARE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1077,6 +1106,8 @@ public static boolean validateOperativeNotePlanOfCareSection(OperativeNote opera public static boolean validateOperativeNotePlannedProcedureSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNotePlannedProcedureSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_PLANNED_PROCEDURE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1142,6 +1173,8 @@ public static boolean validateOperativeNotePlannedProcedureSection(OperativeNote public static boolean validateOperativeNoteProcedureDispositionSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteProcedureDispositionSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_PROCEDURE_DISPOSITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1207,6 +1240,8 @@ public static boolean validateOperativeNoteProcedureDispositionSection(Operative public static boolean validateOperativeNoteProcedureIndicationsSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteProcedureIndicationsSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_PROCEDURE_INDICATIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1272,6 +1307,8 @@ public static boolean validateOperativeNoteProcedureIndicationsSection(Operative public static boolean validateOperativeNoteSurgicalDrainsSection(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteSurgicalDrainsSection", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_SURGICAL_DRAINS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1339,6 +1376,10 @@ public static boolean validateOperativeNoteSurgicalDrainsSection(OperativeNote o public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntityCode( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntityCode", + "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PRIMARY_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1410,6 +1451,10 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPer public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntityCodeP( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntityCodeP", + "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PRIMARY_PERFORMER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1481,6 +1526,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPer public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerTypeCode( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventPrimaryPerformerTypeCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PRIMARY_PERFORMER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1552,6 +1600,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPer public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntity( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventPrimaryPerformerAssignedEntity", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PRIMARY_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1623,6 +1674,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPer public static boolean validateOperativeNoteDocumentationOfServiceEventProcedureCodes(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventProcedureCodes", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PROCEDURE_CODES__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1694,6 +1748,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventProcedureC public static boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeHasLow( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventEffectiveTimeHasLow", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_HAS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1765,6 +1822,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventEffectiveT public static boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_HAS_HIGH_WHEN_NO_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1836,6 +1896,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventEffectiveT public static boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTimeNoHighIfWidth( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventEffectiveTimeNoHighIfWidth", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_NO_HIGH_IF_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1907,6 +1970,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventEffectiveT public static boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheDay(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventPreciseToTheDay", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PRECISE_TO_THE_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1978,6 +2044,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventPreciseToT public static boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheMinute( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventPreciseToTheMinute", "WARNING"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PRECISE_TO_THE_MINUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2049,6 +2118,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventPreciseToT public static boolean validateOperativeNoteDocumentationOfServiceEventPreciseToTheSecond( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventPreciseToTheSecond", "INFO"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PRECISE_TO_THE_SECOND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2120,6 +2192,10 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventPreciseToT public static boolean validateOperativeNoteDocumentationOfServiceEventIfMorePreciseThanDayIncludeTimeZoneOffset( OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventIfMorePreciseThanDayIncludeTimeZoneOffset", + "WARNING"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2191,6 +2267,8 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventIfMorePrec public static boolean validateOperativeNoteDocumentationOfServiceEventCode(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteDocumentationOfServiceEventCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2262,6 +2340,8 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventCode(Opera public static boolean validateOperativeNoteDocumentationOfServiceEventEffectiveTime(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteDocumentationOfServiceEventEffectiveTime", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2333,6 +2413,9 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventEffectiveT public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPerformer(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteOperativeNoteDocumentationOfServiceEventPrimaryPerformer", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT_PRIMARY_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2404,6 +2487,8 @@ public static boolean validateOperativeNoteDocumentationOfServiceEventPrimaryPer public static boolean validateOperativeNoteDocumentationOfServiceEvent(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteOperativeNoteDocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3205,6 +3290,8 @@ public static SurgicalDrainsSection getSurgicalDrainsSection(OperativeNote opera public static boolean validateGeneralHeaderConstraintsTemplateId(OperativeNote operativeNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OperativeNoteGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3280,6 +3367,8 @@ public static boolean validateGeneralHeaderConstraintsCode(OperativeNote operati return true; } + DatatypesUtil.increment(context, "OperativeNoteGeneralHeaderConstraintsCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteSurgicalProcedureSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteSurgicalProcedureSectionOperations.java index 7751df4dc0..7d03330248 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteSurgicalProcedureSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OperativeNoteSurgicalProcedureSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validateOperativeNoteSurgicalProcedureSectionTemplateId( OperativeNoteSurgicalProcedureSection operativeNoteSurgicalProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteSurgicalProcedureSectionOperativeNoteSurgicalProcedureSectionTemplateId", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_SURGICAL_PROCEDURE_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateOperativeNoteSurgicalProcedureSectionCode( OperativeNoteSurgicalProcedureSection operativeNoteSurgicalProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteSurgicalProcedureSectionOperativeNoteSurgicalProcedureSectionCode", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_SURGICAL_PROCEDURE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,9 @@ public static boolean validateOperativeNoteSurgicalProcedureSectionCodeP( OperativeNoteSurgicalProcedureSection operativeNoteSurgicalProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteSurgicalProcedureSectionOperativeNoteSurgicalProcedureSectionCodeP", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_SURGICAL_PROCEDURE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +308,9 @@ public static boolean validateOperativeNoteSurgicalProcedureSectionText( OperativeNoteSurgicalProcedureSection operativeNoteSurgicalProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteSurgicalProcedureSectionOperativeNoteSurgicalProcedureSectionText", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_SURGICAL_PROCEDURE_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +378,9 @@ public static boolean validateOperativeNoteSurgicalProcedureSectionTitle( OperativeNoteSurgicalProcedureSection operativeNoteSurgicalProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OperativeNoteSurgicalProcedureSectionOperativeNoteSurgicalProcedureSectionTitle", "ERROR"); + if (VALIDATE_OPERATIVE_NOTE_SURGICAL_PROCEDURE_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OutcomeObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OutcomeObservationOperations.java index 7b891ca772..7f0f4f3b75 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OutcomeObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/OutcomeObservationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -113,6 +114,9 @@ protected OutcomeObservationOperations() { public static boolean validateOutcomeObservationProgTowardGoalObsInversionIndIsTrue( OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OutcomeObservationOutcomeObservationProgTowardGoalObsInversionIndIsTrue", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_PROG_TOWARD_GOAL_OBS_INVERSION_IND_IS_TRUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -179,6 +183,8 @@ public static boolean validateOutcomeObservationProgTowardGoalObsInversionIndIsT public static boolean validateOutcomeObservationTemplateId(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationTemplateId", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -242,6 +248,8 @@ public static boolean validateOutcomeObservationTemplateId(OutcomeObservation ou public static boolean validateOutcomeObservationClassCode(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationClassCode", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -305,6 +313,8 @@ public static boolean validateOutcomeObservationClassCode(OutcomeObservation out public static boolean validateOutcomeObservationMoodCode(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationMoodCode", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +378,8 @@ public static boolean validateOutcomeObservationMoodCode(OutcomeObservation outc public static boolean validateOutcomeObservationId(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationId", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -431,6 +443,8 @@ public static boolean validateOutcomeObservationId(OutcomeObservation outcomeObs public static boolean validateOutcomeObservationCodeP(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationCodeP", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -517,6 +531,8 @@ public static boolean validateOutcomeObservationCode(OutcomeObservation outcomeO return true; } + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationCode", "WARNING"); + if (VALIDATE_OUTCOME_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -580,6 +596,8 @@ public static boolean validateOutcomeObservationCode(OutcomeObservation outcomeO public static boolean validateOutcomeObservationValue(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationValue", "WARNING"); + if (VALIDATE_OUTCOME_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -643,6 +661,8 @@ public static boolean validateOutcomeObservationValue(OutcomeObservation outcome public static boolean validateOutcomeObservationEntryReferenceGoalObs(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationEntryReferenceGoalObs", "WARNING"); + if (VALIDATE_OUTCOME_OBSERVATION_ENTRY_REFERENCE_GOAL_OBS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -708,6 +728,8 @@ public static boolean validateOutcomeObservationEntryReferenceGoalObs(OutcomeObs public static boolean validateOutcomeObservationEntryReferenceInterventionAct(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationEntryReferenceInterventionAct", "INFO"); + if (VALIDATE_OUTCOME_OBSERVATION_ENTRY_REFERENCE_INTERVENTION_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -774,6 +796,8 @@ public static boolean validateOutcomeObservationEntryReferenceInterventionAct(Ou public static boolean validateOutcomeObservationAuthorParticipation(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationAuthorParticipation", "WARNING"); + if (VALIDATE_OUTCOME_OBSERVATION_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -839,6 +863,9 @@ public static boolean validateOutcomeObservationAuthorParticipation(OutcomeObser public static boolean validateOutcomeObservationProgressTowardGoalObservation(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OutcomeObservationOutcomeObservationProgressTowardGoalObservation", "WARNING"); + if (VALIDATE_OUTCOME_OBSERVATION_PROGRESS_TOWARD_GOAL_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -905,6 +932,8 @@ public static boolean validateOutcomeObservationProgressTowardGoalObservation(Ou public static boolean validateOutcomeObservationReference(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationReference", "INFO"); + if (VALIDATE_OUTCOME_OBSERVATION_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -968,6 +997,8 @@ public static boolean validateOutcomeObservationReference(OutcomeObservation out public static boolean validateOutcomeObservationEntryRelationship(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationEntryRelationship", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1033,6 +1064,8 @@ public static boolean validateOutcomeObservationEntryRelationship(OutcomeObserva public static boolean validateOutcomeObservationReferenceTypeCode(OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "OutcomeObservationOutcomeObservationReferenceTypeCode", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1103,6 +1136,9 @@ public static boolean validateOutcomeObservationReferenceTypeCode(OutcomeObserva public static boolean validateOutcomeObservationReferenceExternalDocumentReference( OutcomeObservation outcomeObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "OutcomeObservationOutcomeObservationReferenceExternalDocumentReference", "ERROR"); + if (VALIDATE_OUTCOME_OBSERVATION_REFERENCE_EXTERNAL_DOCUMENT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PatientReferralActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PatientReferralActOperations.java index 62693f9316..67f886a21b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PatientReferralActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PatientReferralActOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -126,6 +127,8 @@ protected PatientReferralActOperations() { public static boolean validatePatientReferralActTemplateId(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActTemplateId", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -190,6 +193,8 @@ public static boolean validatePatientReferralActTemplateId(PatientReferralAct pa public static boolean validatePatientReferralActClassCode(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActClassCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -253,6 +258,8 @@ public static boolean validatePatientReferralActClassCode(PatientReferralAct pat public static boolean validatePatientReferralActMoodCodeP(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActMoodCodeP", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_MOOD_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -340,6 +347,8 @@ public static boolean validatePatientReferralActMoodCode(PatientReferralAct pati return true; } + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActMoodCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -403,6 +412,8 @@ public static boolean validatePatientReferralActMoodCode(PatientReferralAct pati public static boolean validatePatientReferralActId(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActId", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -466,6 +477,8 @@ public static boolean validatePatientReferralActId(PatientReferralAct patientRef public static boolean validatePatientReferralActCodeP(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActCodeP", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -552,6 +565,8 @@ public static boolean validatePatientReferralActCode(PatientReferralAct patientR return true; } + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -616,6 +631,8 @@ public static boolean validatePatientReferralActCode(PatientReferralAct patientR public static boolean validatePatientReferralActStatusCode(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActStatusCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -680,6 +697,8 @@ public static boolean validatePatientReferralActStatusCode(PatientReferralAct pa public static boolean validatePatientReferralActStatusCodeP(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActStatusCodeP", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -745,6 +764,8 @@ public static boolean validatePatientReferralActStatusCodeP(PatientReferralAct p public static boolean validatePatientReferralActEffectiveTime(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActEffectiveTime", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -810,6 +831,8 @@ public static boolean validatePatientReferralActEffectiveTime(PatientReferralAct public static boolean validatePatientReferralActPriorityCode(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActPriorityCode", "WARNING"); + if (VALIDATE_PATIENT_REFERRAL_ACT_PRIORITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -875,6 +898,8 @@ public static boolean validatePatientReferralActPriorityCode(PatientReferralAct public static boolean validatePatientReferralActEntryRelationship(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActEntryRelationship", "INFO"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -940,6 +965,8 @@ public static boolean validatePatientReferralActEntryRelationship(PatientReferra public static boolean validatePatientReferralActAuthorParticipation(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActAuthorParticipation", "WARNING"); + if (VALIDATE_PATIENT_REFERRAL_ACT_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1005,6 +1032,8 @@ public static boolean validatePatientReferralActAuthorParticipation(PatientRefer public static boolean validatePatientReferralActIndication2(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActIndication2", "INFO"); + if (VALIDATE_PATIENT_REFERRAL_ACT_INDICATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1069,6 +1098,8 @@ public static boolean validatePatientReferralActIndication2(PatientReferralAct p public static boolean validatePatientReferralActParticipant(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActParticipant", "INFO"); + if (VALIDATE_PATIENT_REFERRAL_ACT_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1133,6 +1164,9 @@ public static boolean validatePatientReferralActParticipant(PatientReferralAct p public static boolean validatePatientReferralActEntryRelationshipObservationClassCode( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationClassCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1204,6 +1238,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationClas public static boolean validatePatientReferralActEntryRelationshipObservationMoodCode( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationMoodCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1275,6 +1312,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationMood public static boolean validatePatientReferralActEntryRelationshipObservationCodeP( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationCodeP", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1362,6 +1402,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationCode public static boolean validatePatientReferralActEntryRelationshipObservationCode( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1444,6 +1487,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationCode public static boolean validatePatientReferralActEntryRelationshipObservationStatusCode( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationStatusCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1515,6 +1561,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationStat public static boolean validatePatientReferralActEntryRelationshipObservationStatusCodeP( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationStatusCodeP", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1586,6 +1635,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationStat public static boolean validatePatientReferralActEntryRelationshipObservationPriorityCodeP( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationPriorityCodeP", "WARNING"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_PRIORITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1673,6 +1725,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationPrio public static boolean validatePatientReferralActEntryRelationshipObservationPriorityCode( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationPriorityCode", "WARNING"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_PRIORITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1756,6 +1811,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationPrio public static boolean validatePatientReferralActEntryRelationshipObservationValue( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationValue", "WARNING"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1827,6 +1885,9 @@ public static boolean validatePatientReferralActEntryRelationshipObservationValu public static boolean validatePatientReferralActEntryRelationshipObservationValueP( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActEntryRelationshipObservationValueP", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1898,6 +1959,8 @@ public static boolean validatePatientReferralActEntryRelationshipObservationValu public static boolean validatePatientReferralActEntryRelationshipTypeCode(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActEntryRelationshipTypeCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1969,6 +2032,8 @@ public static boolean validatePatientReferralActEntryRelationshipTypeCode(Patien public static boolean validatePatientReferralActEntryRelationshipObservation(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActEntryRelationshipObservation", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_ENTRY_RELATIONSHIP_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2040,6 +2105,8 @@ public static boolean validatePatientReferralActEntryRelationshipObservation(Pat public static boolean validatePatientReferralActParticipantParticipantRoleCodeP( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActParticipantParticipantRoleCodeP", "INFO"); + if (VALIDATE_PATIENT_REFERRAL_ACT_PARTICIPANT_PARTICIPANT_ROLE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2127,6 +2194,9 @@ public static boolean validatePatientReferralActParticipantParticipantRoleCodeP( public static boolean validatePatientReferralActParticipantParticipantRoleCode( PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PatientReferralActPatientReferralActParticipantParticipantRoleCode", "WARNING"); + if (VALIDATE_PATIENT_REFERRAL_ACT_PARTICIPANT_PARTICIPANT_ROLE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2208,6 +2278,8 @@ public static boolean validatePatientReferralActParticipantParticipantRoleCode( public static boolean validatePatientReferralActParticipantTypeCode(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActParticipantTypeCode", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2278,6 +2350,8 @@ public static boolean validatePatientReferralActParticipantTypeCode(PatientRefer public static boolean validatePatientReferralActParticipantParticipantRole(PatientReferralAct patientReferralAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PatientReferralActPatientReferralActParticipantParticipantRole", "ERROR"); + if (VALIDATE_PATIENT_REFERRAL_ACT_PARTICIPANT_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PayersSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PayersSection2Operations.java index 75a26dca4a..ec6d2af179 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PayersSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PayersSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected PayersSection2Operations() { public static boolean validatePayersSection2TemplateId(PayersSection2 payersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSection2PayersSection2TemplateId", "ERROR"); + if (VALIDATE_PAYERS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -205,6 +208,8 @@ public static EList getConsolCoverageActivity2s(PayersSection public static boolean validatePayersSectionCodeP(PayersSection2 payersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSection2PayersSectionCodeP", "ERROR"); + if (VALIDATE_PAYERS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -291,6 +296,8 @@ public static boolean validatePayersSectionCode(PayersSection2 payersSection2, D return true; } + DatatypesUtil.increment(context, "PayersSection2PayersSectionCode", "ERROR"); + if (VALIDATE_PAYERS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +361,8 @@ public static boolean validatePayersSectionCode(PayersSection2 payersSection2, D public static boolean validatePayersSectionCoverageActivity(PayersSection2 payersSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSection2PayersSectionCoverageActivity", "WARNING"); + if (VALIDATE_PAYERS_SECTION_COVERAGE_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PayersSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PayersSectionOperations.java index 4e242d6886..f63a8721b5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PayersSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PayersSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ protected PayersSectionOperations() { public static boolean validatePayersSectionTemplateId(PayersSection payersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSectionPayersSectionTemplateId", "ERROR"); + if (VALIDATE_PAYERS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -167,6 +170,8 @@ public static boolean validatePayersSectionTemplateId(PayersSection payersSectio public static boolean validatePayersSectionCode(PayersSection payersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSectionPayersSectionCode", "ERROR"); + if (VALIDATE_PAYERS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validatePayersSectionCode(PayersSection payersSection, Dia public static boolean validatePayersSectionCodeP(PayersSection payersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSectionPayersSectionCodeP", "ERROR"); + if (VALIDATE_PAYERS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +300,8 @@ public static boolean validatePayersSectionCodeP(PayersSection payersSection, Di public static boolean validatePayersSectionTitle(PayersSection payersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSectionPayersSectionTitle", "ERROR"); + if (VALIDATE_PAYERS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -356,6 +365,8 @@ public static boolean validatePayersSectionTitle(PayersSection payersSection, Di public static boolean validatePayersSectionText(PayersSection payersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSectionPayersSectionText", "ERROR"); + if (VALIDATE_PAYERS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -419,6 +430,8 @@ public static boolean validatePayersSectionText(PayersSection payersSection, Dia public static boolean validatePayersSectionCoverageActivity(PayersSection payersSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PayersSectionPayersSectionCoverageActivity", "WARNING"); + if (VALIDATE_PAYERS_SECTION_COVERAGE_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalExamSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalExamSection2Operations.java index 176f05f49a..96dddbab59 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalExamSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalExamSection2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -112,6 +113,8 @@ protected PhysicalExamSection2Operations() { public static boolean validatePhysicalExamSection2TemplateId(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSection2TemplateId", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -177,6 +180,8 @@ public static boolean validatePhysicalExamSection2TemplateId(PhysicalExamSection public static boolean validatePhysicalExamSection2WoundObservation(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSection2WoundObservation", "INFO"); + if (VALIDATE_PHYSICAL_EXAM_SECTION2_WOUND_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -242,6 +247,8 @@ public static boolean validatePhysicalExamSection2WoundObservation(PhysicalExamS public static boolean validatePhysicalExamSection2Component(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSection2Component", "INFO"); + if (VALIDATE_PHYSICAL_EXAM_SECTION2_COMPONENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -308,6 +315,8 @@ public static boolean validatePhysicalExamSection2Component(PhysicalExamSection2 public static boolean validatePhysicalExamSection2ComponentSectionCode(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSection2ComponentSectionCode", "WARNING"); + if (VALIDATE_PHYSICAL_EXAM_SECTION2_COMPONENT_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -379,6 +388,8 @@ public static boolean validatePhysicalExamSection2ComponentSectionCode(PhysicalE public static boolean validatePhysicalExamSection2ComponentSectionCodeP(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSection2ComponentSectionCodeP", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION2_COMPONENT_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -450,6 +461,8 @@ public static boolean validatePhysicalExamSection2ComponentSectionCodeP(Physical public static boolean validatePhysicalExamSection2ComponentSectionTitle(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSection2ComponentSectionTitle", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION2_COMPONENT_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -521,6 +534,8 @@ public static boolean validatePhysicalExamSection2ComponentSectionTitle(Physical public static boolean validatePhysicalExamSection2ComponentSectionText(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSection2ComponentSectionText", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION2_COMPONENT_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -592,6 +607,8 @@ public static boolean validatePhysicalExamSection2ComponentSectionText(PhysicalE public static boolean validatePhysicalExamSection2ComponentSection(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSection2ComponentSection", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION2_COMPONENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -861,6 +878,8 @@ public static EList getConsolNumberOfPressure public static boolean validatePhysicalExamSectionCodeP(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSectionCodeP", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -947,6 +966,8 @@ public static boolean validatePhysicalExamSectionCode(PhysicalExamSection2 physi return true; } + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSectionCode", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1010,6 +1031,8 @@ public static boolean validatePhysicalExamSectionCode(PhysicalExamSection2 physi public static boolean validatePhysicalExamSectionPressureUlcerObservation(PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSectionPressureUlcerObservation", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_PRESSURE_ULCER_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1076,6 +1099,8 @@ public static boolean validatePhysicalExamSectionPressureUlcerObservation(Physic public static boolean validatePhysicalExamSectionHighestPressureUlcerStage( PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSection2PhysicalExamSectionHighestPressureUlcerStage", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_HIGHEST_PRESSURE_ULCER_STAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1142,6 +1167,9 @@ public static boolean validatePhysicalExamSectionHighestPressureUlcerStage( public static boolean validatePhysicalExamSectionNumberOfPressureUlcersObservation( PhysicalExamSection2 physicalExamSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicalExamSection2PhysicalExamSectionNumberOfPressureUlcersObservation", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalExamSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalExamSectionOperations.java index 1351ddeae7..3a491d53e5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalExamSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalExamSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -108,6 +109,8 @@ protected PhysicalExamSectionOperations() { public static boolean validatePhysicalExamSectionTemplateId(PhysicalExamSection physicalExamSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSectionPhysicalExamSectionTemplateId", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -174,6 +177,8 @@ public static boolean validatePhysicalExamSectionTemplateId(PhysicalExamSection public static boolean validatePhysicalExamSectionCode(PhysicalExamSection physicalExamSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSectionPhysicalExamSectionCode", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +242,8 @@ public static boolean validatePhysicalExamSectionCode(PhysicalExamSection physic public static boolean validatePhysicalExamSectionCodeP(PhysicalExamSection physicalExamSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSectionPhysicalExamSectionCodeP", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -300,6 +307,8 @@ public static boolean validatePhysicalExamSectionCodeP(PhysicalExamSection physi public static boolean validatePhysicalExamSectionTitle(PhysicalExamSection physicalExamSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSectionPhysicalExamSectionTitle", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -363,6 +372,8 @@ public static boolean validatePhysicalExamSectionTitle(PhysicalExamSection physi public static boolean validatePhysicalExamSectionText(PhysicalExamSection physicalExamSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSectionPhysicalExamSectionText", "ERROR"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -426,6 +437,8 @@ public static boolean validatePhysicalExamSectionText(PhysicalExamSection physic public static boolean validatePhysicalExamSectionPressureUlcerObservation(PhysicalExamSection physicalExamSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSectionPhysicalExamSectionPressureUlcerObservation", "INFO"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_PRESSURE_ULCER_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -492,6 +505,9 @@ public static boolean validatePhysicalExamSectionPressureUlcerObservation(Physic public static boolean validatePhysicalExamSectionNumberOfPressureUlcersObservation( PhysicalExamSection physicalExamSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicalExamSectionPhysicalExamSectionNumberOfPressureUlcersObservation", "INFO"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_NUMBER_OF_PRESSURE_ULCERS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -558,6 +574,8 @@ public static boolean validatePhysicalExamSectionNumberOfPressureUlcersObservati public static boolean validatePhysicalExamSectionHighestPressureUlcerStage(PhysicalExamSection physicalExamSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalExamSectionPhysicalExamSectionHighestPressureUlcerStage", "INFO"); + if (VALIDATE_PHYSICAL_EXAM_SECTION_HIGHEST_PRESSURE_ULCER_STAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalFindingsOfSkinSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalFindingsOfSkinSectionOperations.java index 19362b606f..6bb2e46a77 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalFindingsOfSkinSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicalFindingsOfSkinSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -99,6 +100,9 @@ public static boolean validatePhysicalFindingsOfSkinSectionTemplateId( PhysicalFindingsOfSkinSection physicalFindingsOfSkinSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicalFindingsOfSkinSectionPhysicalFindingsOfSkinSectionTemplateId", "ERROR"); + if (VALIDATE_PHYSICAL_FINDINGS_OF_SKIN_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -168,6 +172,8 @@ public static boolean validatePhysicalFindingsOfSkinSectionCode( PhysicalFindingsOfSkinSection physicalFindingsOfSkinSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalFindingsOfSkinSectionPhysicalFindingsOfSkinSectionCode", "ERROR"); + if (VALIDATE_PHYSICAL_FINDINGS_OF_SKIN_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -235,6 +241,8 @@ public static boolean validatePhysicalFindingsOfSkinSectionCodeP( PhysicalFindingsOfSkinSection physicalFindingsOfSkinSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalFindingsOfSkinSectionPhysicalFindingsOfSkinSectionCodeP", "ERROR"); + if (VALIDATE_PHYSICAL_FINDINGS_OF_SKIN_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -302,6 +310,8 @@ public static boolean validatePhysicalFindingsOfSkinSectionTitle( PhysicalFindingsOfSkinSection physicalFindingsOfSkinSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalFindingsOfSkinSectionPhysicalFindingsOfSkinSectionTitle", "ERROR"); + if (VALIDATE_PHYSICAL_FINDINGS_OF_SKIN_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -369,6 +379,8 @@ public static boolean validatePhysicalFindingsOfSkinSectionText( PhysicalFindingsOfSkinSection physicalFindingsOfSkinSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicalFindingsOfSkinSectionPhysicalFindingsOfSkinSectionText", "ERROR"); + if (VALIDATE_PHYSICAL_FINDINGS_OF_SKIN_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -436,6 +448,9 @@ public static boolean validatePhysicalFindingsOfSkinSectionWoundObservation( PhysicalFindingsOfSkinSection physicalFindingsOfSkinSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicalFindingsOfSkinSectionPhysicalFindingsOfSkinSectionWoundObservation", "INFO"); + if (VALIDATE_PHYSICAL_FINDINGS_OF_SKIN_SECTION_WOUND_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianReadingStudyPerformer2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianReadingStudyPerformer2Operations.java index 4f44d33c67..d7cb9e8e81 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianReadingStudyPerformer2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianReadingStudyPerformer2Operations.java @@ -7,6 +7,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -82,6 +83,9 @@ public static boolean validatePhysicianReadingStudyPerformer2TemplateId( PhysicianReadingStudyPerformer2 physicianReadingStudyPerformer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianReadingStudyPerformer2PhysicianReadingStudyPerformer2TemplateId", "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianReadingStudyPerformerOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianReadingStudyPerformerOperations.java index 9ffca97bd4..4ad1d52f3b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianReadingStudyPerformerOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianReadingStudyPerformerOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.mdht.uml.hl7.rim.operations.ParticipationOperations; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; @@ -108,6 +109,9 @@ public static boolean validatePhysicianReadingStudyPerformerTemplateId( PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerTemplateId", "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -175,6 +179,8 @@ public static boolean validatePhysicianReadingStudyPerformerTime( PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerTime", "INFO"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -242,6 +248,9 @@ public static boolean validatePhysicianReadingStudyPerformerTypeCode( PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerTypeCode", "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -309,6 +318,9 @@ public static boolean validatePhysicianReadingStudyPerformerAssignedEntity( PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerAssignedEntity", "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -376,6 +388,11 @@ public static boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstra PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheDayIVLTS", + "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_DAY_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -448,6 +465,11 @@ public static boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstra PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheMinuteIVLTS", + "WARNING"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_MINUTE_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -520,6 +542,11 @@ public static boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstra PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDateAndTimeDTPreciseToTheSecondIVLTS", + "INFO"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_PRECISE_TO_THE_SECOND_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -592,6 +619,11 @@ public static boolean validatePhysicianReadingStudyPerformerGeneralHeaderConstra PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerGeneralHeaderConstraintsUSRealmDateAndTimeDTIfMorePreciseThanDayIncludeTimeZoneOffsetIVLTS", + "WARNING"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_GENERAL_HEADER_CONSTRAINTS_US_REALM_DATE_AND_TIME_DT_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET_IVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -643,6 +675,10 @@ public static boolean validatePhysicianReadingStudyPerformerAssignedEntityHasNat PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerAssignedEntityHasNationalProviderId", + "WARNING"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -715,6 +751,9 @@ public static boolean validatePhysicianReadingStudyPerformerAssignedEntityHasDIC PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerAssignedEntityHasDICOM", "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_ASSIGNED_ENTITY_HAS_DICOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -808,6 +847,11 @@ public static boolean validatePhysicianReadingStudyPerformerAssignedEntityHasAss PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerAssignedEntityHasAssignedPersonOrRepresentedOrganization", + "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_ASSIGNED_ENTITY_HAS_ASSIGNED_PERSON_OR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -859,6 +903,9 @@ public static boolean validatePhysicianReadingStudyPerformerAssignedEntityCode( PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerAssignedEntityCode", "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -952,6 +999,9 @@ public static boolean validatePhysicianReadingStudyPerformerAssignedEntityId( PhysicianReadingStudyPerformer physicianReadingStudyPerformer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianReadingStudyPerformerPhysicianReadingStudyPerformerAssignedEntityId", "ERROR"); + if (VALIDATE_PHYSICIAN_READING_STUDY_PERFORMER_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianofRecordParticipant2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianofRecordParticipant2Operations.java index 08d6bf8e75..85ec9dda52 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianofRecordParticipant2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianofRecordParticipant2Operations.java @@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -97,6 +98,9 @@ public static boolean validatePhysicianofRecordParticipant2TemplateId( PhysicianofRecordParticipant2 physicianofRecordParticipant2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipant2PhysicianofRecordParticipant2TemplateId", "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,11 @@ public static boolean validatePhysicianofRecordParticipant2AssignedEntityReprese PhysicianofRecordParticipant2 physicianofRecordParticipant2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PhysicianofRecordParticipant2PhysicianofRecordParticipant2AssignedEntityRepresentedOrganizationName", + "WARNING"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT2_ASSIGNED_ENTITY_REPRESENTED_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +245,10 @@ public static boolean validatePhysicianofRecordParticipant2AssignedEntityReprese PhysicianofRecordParticipant2 physicianofRecordParticipant2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipant2PhysicianofRecordParticipant2AssignedEntityRepresentedOrganization", + "INFO"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT2_ASSIGNED_ENTITY_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -308,6 +321,9 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntity( PhysicianofRecordParticipant2 physicianofRecordParticipant2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipant2PhysicianofRecordParticipantAssignedEntity", "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -375,6 +391,10 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityAssigned PhysicianofRecordParticipant2 physicianofRecordParticipant2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipant2PhysicianofRecordParticipantAssignedEntityAssignedPersonName", + "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_ASSIGNED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -447,6 +467,10 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityHasNatio PhysicianofRecordParticipant2 physicianofRecordParticipant2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipant2PhysicianofRecordParticipantAssignedEntityHasNationalProviderId", + "WARNING"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -519,6 +543,10 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityAssigned PhysicianofRecordParticipant2 physicianofRecordParticipant2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipant2PhysicianofRecordParticipantAssignedEntityAssignedPerson", + "WARNING"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianofRecordParticipantOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianofRecordParticipantOperations.java index 7497716fe4..9b81e95e8d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianofRecordParticipantOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PhysicianofRecordParticipantOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.mdht.uml.hl7.rim.operations.ParticipationOperations; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; @@ -104,6 +105,8 @@ public static boolean validatePhysicianofRecordParticipantTemplateId( PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicianofRecordParticipantPhysicianofRecordParticipantTemplateId", "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -171,6 +174,8 @@ public static boolean validatePhysicianofRecordParticipantTypeCode( PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PhysicianofRecordParticipantPhysicianofRecordParticipantTypeCode", "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +243,9 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntity( PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipantPhysicianofRecordParticipantAssignedEntity", "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -305,6 +313,10 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityAssigned PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipantPhysicianofRecordParticipantAssignedEntityAssignedPersonName", + "WARNING"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_ASSIGNED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -377,6 +389,10 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityHasDICOM PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipantPhysicianofRecordParticipantAssignedEntityHasDICOMOrNUCCCode", + "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_HAS_DICOM_OR_NUCC_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -449,6 +465,10 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityHasNatio PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipantPhysicianofRecordParticipantAssignedEntityHasNationalProviderId", + "WARNING"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_HAS_NATIONAL_PROVIDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -521,6 +541,9 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityCode( PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipantPhysicianofRecordParticipantAssignedEntityCode", "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -593,6 +616,9 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityId( PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipantPhysicianofRecordParticipantAssignedEntityId", "ERROR"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -665,6 +691,9 @@ public static boolean validatePhysicianofRecordParticipantAssignedEntityAssigned PhysicianofRecordParticipant physicianofRecordParticipant, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PhysicianofRecordParticipantPhysicianofRecordParticipantAssignedEntityAssignedPerson", "WARNING"); + if (VALIDATE_PHYSICIANOF_RECORD_PARTICIPANT_ASSIGNED_ENTITY_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityActOperations.java index d378e7c14e..4a37fc4c88 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityActOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -93,6 +94,8 @@ protected PlanOfCareActivityActOperations() { public static boolean validatePlanOfCareActivityActTemplateId(PlanOfCareActivityAct planOfCareActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityActPlanOfCareActivityActTemplateId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -158,6 +161,8 @@ public static boolean validatePlanOfCareActivityActTemplateId(PlanOfCareActivity public static boolean validatePlanOfCareActivityActClassCode(PlanOfCareActivityAct planOfCareActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityActPlanOfCareActivityActClassCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validatePlanOfCareActivityActClassCode(PlanOfCareActivityA public static boolean validatePlanOfCareActivityActMoodCode(PlanOfCareActivityAct planOfCareActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityActPlanOfCareActivityActMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -290,6 +297,8 @@ public static boolean validatePlanOfCareActivityActMoodCode(PlanOfCareActivityAc public static boolean validatePlanOfCareActivityActId(PlanOfCareActivityAct planOfCareActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityActPlanOfCareActivityActId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityEncounterOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityEncounterOperations.java index 90397353be..0b73ee45c2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityEncounterOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityEncounterOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ public static boolean validatePlanOfCareActivityEncounterTemplateId( PlanOfCareActivityEncounter planOfCareActivityEncounter, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityEncounterPlanOfCareActivityEncounterTemplateId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ENCOUNTER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validatePlanOfCareActivityEncounterClassCode( PlanOfCareActivityEncounter planOfCareActivityEncounter, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityEncounterPlanOfCareActivityEncounterClassCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ENCOUNTER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validatePlanOfCareActivityEncounterMoodCode( PlanOfCareActivityEncounter planOfCareActivityEncounter, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityEncounterPlanOfCareActivityEncounterMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ENCOUNTER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validatePlanOfCareActivityEncounterMoodCode( public static boolean validatePlanOfCareActivityEncounterId(PlanOfCareActivityEncounter planOfCareActivityEncounter, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityEncounterPlanOfCareActivityEncounterId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityObservationOperations.java index 2a0f515c59..2093db193b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,9 @@ public static boolean validatePlanOfCareActivityObservationTemplateId( PlanOfCareActivityObservation planOfCareActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfCareActivityObservationPlanOfCareActivityObservationTemplateId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +165,9 @@ public static boolean validatePlanOfCareActivityObservationClassCode( PlanOfCareActivityObservation planOfCareActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfCareActivityObservationPlanOfCareActivityObservationClassCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +237,8 @@ public static boolean validatePlanOfCareActivityObservationMoodCode( PlanOfCareActivityObservation planOfCareActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityObservationPlanOfCareActivityObservationMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +306,8 @@ public static boolean validatePlanOfCareActivityObservationId( PlanOfCareActivityObservation planOfCareActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityObservationPlanOfCareActivityObservationId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityProcedureOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityProcedureOperations.java index b26afc88cf..ac7c72ea94 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityProcedureOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivityProcedureOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ public static boolean validatePlanOfCareActivityProcedureTemplateId( PlanOfCareActivityProcedure planOfCareActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityProcedurePlanOfCareActivityProcedureTemplateId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_PROCEDURE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validatePlanOfCareActivityProcedureClassCode( PlanOfCareActivityProcedure planOfCareActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityProcedurePlanOfCareActivityProcedureClassCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_PROCEDURE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validatePlanOfCareActivityProcedureMoodCode( PlanOfCareActivityProcedure planOfCareActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityProcedurePlanOfCareActivityProcedureMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_PROCEDURE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validatePlanOfCareActivityProcedureMoodCode( public static boolean validatePlanOfCareActivityProcedureId(PlanOfCareActivityProcedure planOfCareActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivityProcedurePlanOfCareActivityProcedureId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_PROCEDURE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivitySubstanceAdministrationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivitySubstanceAdministrationOperations.java index e39b7d8cc9..8e1ce1b184 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivitySubstanceAdministrationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivitySubstanceAdministrationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SubstanceAdministrationOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,10 @@ public static boolean validatePlanOfCareActivitySubstanceAdministrationTemplateI PlanOfCareActivitySubstanceAdministration planOfCareActivitySubstanceAdministration, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfCareActivitySubstanceAdministrationPlanOfCareActivitySubstanceAdministrationTemplateId", + "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUBSTANCE_ADMINISTRATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +166,10 @@ public static boolean validatePlanOfCareActivitySubstanceAdministrationClassCode PlanOfCareActivitySubstanceAdministration planOfCareActivitySubstanceAdministration, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfCareActivitySubstanceAdministrationPlanOfCareActivitySubstanceAdministrationClassCode", + "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUBSTANCE_ADMINISTRATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +239,10 @@ public static boolean validatePlanOfCareActivitySubstanceAdministrationMoodCode( PlanOfCareActivitySubstanceAdministration planOfCareActivitySubstanceAdministration, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfCareActivitySubstanceAdministrationPlanOfCareActivitySubstanceAdministrationMoodCode", + "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUBSTANCE_ADMINISTRATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +310,9 @@ public static boolean validatePlanOfCareActivitySubstanceAdministrationId( PlanOfCareActivitySubstanceAdministration planOfCareActivitySubstanceAdministration, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfCareActivitySubstanceAdministrationPlanOfCareActivitySubstanceAdministrationId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUBSTANCE_ADMINISTRATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivitySupplyOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivitySupplyOperations.java index 320779518f..2f74e08160 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivitySupplyOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareActivitySupplyOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SupplyOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -93,6 +94,8 @@ protected PlanOfCareActivitySupplyOperations() { public static boolean validatePlanOfCareActivitySupplyTemplateId(PlanOfCareActivitySupply planOfCareActivitySupply, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivitySupplyPlanOfCareActivitySupplyTemplateId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUPPLY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -158,6 +161,8 @@ public static boolean validatePlanOfCareActivitySupplyTemplateId(PlanOfCareActiv public static boolean validatePlanOfCareActivitySupplyClassCode(PlanOfCareActivitySupply planOfCareActivitySupply, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivitySupplyPlanOfCareActivitySupplyClassCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUPPLY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validatePlanOfCareActivitySupplyClassCode(PlanOfCareActivi public static boolean validatePlanOfCareActivitySupplyMoodCode(PlanOfCareActivitySupply planOfCareActivitySupply, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivitySupplyPlanOfCareActivitySupplyMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUPPLY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -290,6 +297,8 @@ public static boolean validatePlanOfCareActivitySupplyMoodCode(PlanOfCareActivit public static boolean validatePlanOfCareActivitySupplyId(PlanOfCareActivitySupply planOfCareActivitySupply, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareActivitySupplyPlanOfCareActivitySupplyId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUPPLY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareSectionOperations.java index 383d3181aa..6a2ad2600d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfCareSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -120,6 +121,8 @@ protected PlanOfCareSectionOperations() { public static boolean validatePlanOfCareSectionTemplateId(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionTemplateId", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -185,6 +188,8 @@ public static boolean validatePlanOfCareSectionTemplateId(PlanOfCareSection plan public static boolean validatePlanOfCareSectionCode(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -248,6 +253,8 @@ public static boolean validatePlanOfCareSectionCode(PlanOfCareSection planOfCare public static boolean validatePlanOfCareSectionCodeP(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionCodeP", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -311,6 +318,8 @@ public static boolean validatePlanOfCareSectionCodeP(PlanOfCareSection planOfCar public static boolean validatePlanOfCareSectionTitle(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionTitle", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -374,6 +383,8 @@ public static boolean validatePlanOfCareSectionTitle(PlanOfCareSection planOfCar public static boolean validatePlanOfCareSectionText(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionText", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +448,8 @@ public static boolean validatePlanOfCareSectionText(PlanOfCareSection planOfCare public static boolean validatePlanOfCareSectionPlanOfCareActivityAct(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionPlanOfCareActivityAct", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -502,6 +515,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivityAct(PlanOfCareS public static boolean validatePlanOfCareSectionPlanOfCareActivityEncounter(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionPlanOfCareActivityEncounter", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -568,6 +583,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivityEncounter(PlanO public static boolean validatePlanOfCareSectionPlanOfCareActivityObservation(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionPlanOfCareActivityObservation", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -634,6 +651,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivityObservation(Pla public static boolean validatePlanOfCareSectionPlanOfCareActivityProcedure(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionPlanOfCareActivityProcedure", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -700,6 +719,9 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivityProcedure(PlanO public static boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration( PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfCareSectionPlanOfCareSectionPlanOfCareActivitySubstanceAdministration", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_SUBSTANCE_ADMINISTRATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -766,6 +788,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdmini public static boolean validatePlanOfCareSectionPlanOfCareActivitySupply(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionPlanOfCareActivitySupply", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_SUPPLY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -831,6 +855,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivitySupply(PlanOfCa public static boolean validatePlanOfCareSectionInstructions(PlanOfCareSection planOfCareSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfCareSectionPlanOfCareSectionInstructions", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfTreatmentSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfTreatmentSection2Operations.java index ca30245423..ccaadc1716 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfTreatmentSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlanOfTreatmentSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -125,6 +126,8 @@ protected PlanOfTreatmentSection2Operations() { public static boolean validatePlanOfTreatmentSection2TemplateId(PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfTreatmentSection2TemplateId", "ERROR"); + if (VALIDATE_PLAN_OF_TREATMENT_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -190,6 +193,8 @@ public static boolean validatePlanOfTreatmentSection2TemplateId(PlanOfTreatmentS public static boolean validatePlanOfTreatmentSection2HandoffCommunication( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfTreatmentSection2HandoffCommunication", "INFO"); + if (VALIDATE_PLAN_OF_TREATMENT_SECTION2_HANDOFF_COMMUNICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -256,6 +261,9 @@ public static boolean validatePlanOfTreatmentSection2HandoffCommunication( public static boolean validatePlanOfTreatmentSection2NutritionRecommendation( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfTreatmentSection2PlanOfTreatmentSection2NutritionRecommendation", "INFO"); + if (VALIDATE_PLAN_OF_TREATMENT_SECTION2_NUTRITION_RECOMMENDATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -322,6 +330,9 @@ public static boolean validatePlanOfTreatmentSection2NutritionRecommendation( public static boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfTreatmentSection2PlanOfTreatmentSection2PlannedImmunizationActivity", "INFO"); + if (VALIDATE_PLAN_OF_TREATMENT_SECTION2_PLANNED_IMMUNIZATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -388,6 +399,8 @@ public static boolean validatePlanOfTreatmentSection2PlannedImmunizationActivity public static boolean validatePlanOfTreatmentSection2GoalObservation( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfTreatmentSection2GoalObservation", "INFO"); + if (VALIDATE_PLAN_OF_TREATMENT_SECTION2_GOAL_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -986,6 +999,8 @@ public static EList getGoalObservations(PlanOfTreatmentSection2 public static boolean validatePlanOfCareSectionCodeP(PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfCareSectionCodeP", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1073,6 +1088,8 @@ public static boolean validatePlanOfCareSectionCode(PlanOfTreatmentSection2 plan return true; } + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfCareSectionCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1136,6 +1153,9 @@ public static boolean validatePlanOfCareSectionCode(PlanOfTreatmentSection2 plan public static boolean validatePlanOfCareSectionPlanOfCareActivityObservation( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfTreatmentSection2PlanOfCareSectionPlanOfCareActivityObservation", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1202,6 +1222,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivityObservation( public static boolean validatePlanOfCareSectionPlanOfCareActivityEncounter( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfCareSectionPlanOfCareActivityEncounter", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1268,6 +1290,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivityEncounter( public static boolean validatePlanOfCareSectionPlanOfCareActivityAct( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfCareSectionPlanOfCareActivityAct", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1334,6 +1358,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivityAct( public static boolean validatePlanOfCareSectionPlanOfCareActivityProcedure( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfCareSectionPlanOfCareActivityProcedure", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1400,6 +1426,9 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivityProcedure( public static boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdministration( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlanOfTreatmentSection2PlanOfCareSectionPlanOfCareActivitySubstanceAdministration", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_SUBSTANCE_ADMINISTRATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1466,6 +1495,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivitySubstanceAdmini public static boolean validatePlanOfCareSectionPlanOfCareActivitySupply( PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfCareSectionPlanOfCareActivitySupply", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_PLAN_OF_CARE_ACTIVITY_SUPPLY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1532,6 +1563,8 @@ public static boolean validatePlanOfCareSectionPlanOfCareActivitySupply( public static boolean validatePlanOfCareSectionInstructions(PlanOfTreatmentSection2 planOfTreatmentSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlanOfTreatmentSection2PlanOfCareSectionInstructions", "INFO"); + if (VALIDATE_PLAN_OF_CARE_SECTION_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedAct2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedAct2Operations.java index 5bca05b879..a91918c7c6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedAct2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedAct2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -107,6 +108,8 @@ protected PlannedAct2Operations() { public static boolean validatePlannedAct2CodeFromLoincOrSnomed(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2CodeFromLoincOrSnomed", "WARNING"); + if (VALIDATE_PLANNED_ACT2_CODE_FROM_LOINC_OR_SNOMED__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -171,6 +174,8 @@ public static boolean validatePlannedAct2CodeFromLoincOrSnomed(PlannedAct2 plann public static boolean validatePlannedAct2TemplateId(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2TemplateId", "ERROR"); + if (VALIDATE_PLANNED_ACT2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -234,6 +239,8 @@ public static boolean validatePlannedAct2TemplateId(PlannedAct2 plannedAct2, Dia public static boolean validatePlannedAct2Code(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2Code", "ERROR"); + if (VALIDATE_PLANNED_ACT2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validatePlannedAct2Code(PlannedAct2 plannedAct2, Diagnosti public static boolean validatePlannedAct2StatusCode(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2StatusCode", "ERROR"); + if (VALIDATE_PLANNED_ACT2_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -360,6 +369,8 @@ public static boolean validatePlannedAct2StatusCode(PlannedAct2 plannedAct2, Dia public static boolean validatePlannedAct2StatusCodeP(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2StatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_ACT2_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -423,6 +434,8 @@ public static boolean validatePlannedAct2StatusCodeP(PlannedAct2 plannedAct2, Di public static boolean validatePlannedAct2EffectiveTime(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2EffectiveTime", "WARNING"); + if (VALIDATE_PLANNED_ACT2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -486,6 +499,8 @@ public static boolean validatePlannedAct2EffectiveTime(PlannedAct2 plannedAct2, public static boolean validatePlannedAct2Indication2(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2Indication2", "INFO"); + if (VALIDATE_PLANNED_ACT2_INDICATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -549,6 +564,8 @@ public static boolean validatePlannedAct2Indication2(PlannedAct2 plannedAct2, Di public static boolean validatePlannedAct2Instruction2(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2Instruction2", "INFO"); + if (VALIDATE_PLANNED_ACT2_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -612,6 +629,8 @@ public static boolean validatePlannedAct2Instruction2(PlannedAct2 plannedAct2, D public static boolean validatePlannedAct2AuthorParticipation(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2AuthorParticipation", "WARNING"); + if (VALIDATE_PLANNED_ACT2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -675,6 +694,8 @@ public static boolean validatePlannedAct2AuthorParticipation(PlannedAct2 planned public static boolean validatePlannedAct2Performer(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2Performer", "INFO"); + if (VALIDATE_PLANNED_ACT2_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -738,6 +759,8 @@ public static boolean validatePlannedAct2Performer(PlannedAct2 plannedAct2, Diag public static boolean validatePlannedAct2PriorityPreference(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlannedAct2PriorityPreference", "INFO"); + if (VALIDATE_PLANNED_ACT2_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -941,6 +964,8 @@ public static EList getPriorityPreferences(PlannedAct2 plann public static boolean validatePlanOfCareActivityActMoodCode(PlannedAct2 plannedAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedAct2PlanOfCareActivityActMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedCoverageOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedCoverageOperations.java index 53272c87d2..ab26087163 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedCoverageOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedCoverageOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -110,6 +111,8 @@ protected PlannedCoverageOperations() { public static boolean validatePlannedCoverageTemplateId(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageTemplateId", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +176,8 @@ public static boolean validatePlannedCoverageTemplateId(PlannedCoverage plannedC public static boolean validatePlannedCoverageClassCode(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageClassCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +241,8 @@ public static boolean validatePlannedCoverageClassCode(PlannedCoverage plannedCo public static boolean validatePlannedCoverageMoodCode(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageMoodCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -299,6 +306,8 @@ public static boolean validatePlannedCoverageMoodCode(PlannedCoverage plannedCov public static boolean validatePlannedCoverageId(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageId", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -362,6 +371,8 @@ public static boolean validatePlannedCoverageId(PlannedCoverage plannedCoverage, public static boolean validatePlannedCoverageCodeP(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageCodeP", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -448,6 +459,8 @@ public static boolean validatePlannedCoverageCode(PlannedCoverage plannedCoverag return true; } + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -512,6 +525,8 @@ public static boolean validatePlannedCoverageCode(PlannedCoverage plannedCoverag public static boolean validatePlannedCoverageStatusCode(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageStatusCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -575,6 +590,8 @@ public static boolean validatePlannedCoverageStatusCode(PlannedCoverage plannedC public static boolean validatePlannedCoverageStatusCodeP(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageStatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -638,6 +655,8 @@ public static boolean validatePlannedCoverageStatusCodeP(PlannedCoverage planned public static boolean validatePlannedCoverageEntryRelationship(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationship", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -703,6 +722,8 @@ public static boolean validatePlannedCoverageEntryRelationship(PlannedCoverage p public static boolean validatePlannedCoverageAuthorParticipation(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageAuthorParticipation", "INFO"); + if (VALIDATE_PLANNED_COVERAGE_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -768,6 +789,8 @@ public static boolean validatePlannedCoverageAuthorParticipation(PlannedCoverage public static boolean validatePlannedCoverageEntryRelationshipActClassCode(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipActClassCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -839,6 +862,8 @@ public static boolean validatePlannedCoverageEntryRelationshipActClassCode(Plann public static boolean validatePlannedCoverageEntryRelationshipActMoodCode(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipActMoodCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -910,6 +935,8 @@ public static boolean validatePlannedCoverageEntryRelationshipActMoodCode(Planne public static boolean validatePlannedCoverageEntryRelationshipActId(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipActId", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -980,6 +1007,8 @@ public static boolean validatePlannedCoverageEntryRelationshipActId(PlannedCover public static boolean validatePlannedCoverageEntryRelationshipActCodeP(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipActCodeP", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1066,6 +1095,8 @@ public static boolean validatePlannedCoverageEntryRelationshipActCodeP(PlannedCo public static boolean validatePlannedCoverageEntryRelationshipActCode(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipActCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1146,6 +1177,8 @@ public static boolean validatePlannedCoverageEntryRelationshipActCode(PlannedCov public static boolean validatePlannedCoverageEntryRelationshipActStatusCode(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipActStatusCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1217,6 +1250,8 @@ public static boolean validatePlannedCoverageEntryRelationshipActStatusCode(Plan public static boolean validatePlannedCoverageEntryRelationshipActStatusCodeP(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipActStatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1288,6 +1323,8 @@ public static boolean validatePlannedCoverageEntryRelationshipActStatusCodeP(Pla public static boolean validatePlannedCoverageEntryRelationshipTypeCode(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipTypeCode", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1358,6 +1395,8 @@ public static boolean validatePlannedCoverageEntryRelationshipTypeCode(PlannedCo public static boolean validatePlannedCoverageEntryRelationshipAct(PlannedCoverage plannedCoverage, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedCoveragePlannedCoverageEntryRelationshipAct", "ERROR"); + if (VALIDATE_PLANNED_COVERAGE_ENTRY_RELATIONSHIP_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedEncounter2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedEncounter2Operations.java index eed633741b..58e553f170 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedEncounter2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedEncounter2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -111,6 +112,9 @@ protected PlannedEncounter2Operations() { public static boolean validatePlannedEncounter2ParticipantServiceDeliveryLocationTypeCode( PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedEncounter2PlannedEncounter2ParticipantServiceDeliveryLocationTypeCode", "ERROR"); + if (VALIDATE_PLANNED_ENCOUNTER2_PARTICIPANT_SERVICE_DELIVERY_LOCATION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -177,6 +181,8 @@ public static boolean validatePlannedEncounter2ParticipantServiceDeliveryLocatio public static boolean validatePlannedEncounter2TemplateId(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2TemplateId", "ERROR"); + if (VALIDATE_PLANNED_ENCOUNTER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -227,6 +233,8 @@ public static boolean validatePlannedEncounter2Code(PlannedEncounter2 plannedEnc return true; } + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2Code", "WARNING"); + if (VALIDATE_PLANNED_ENCOUNTER2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -313,6 +321,8 @@ public static boolean validatePlannedEncounter2Code(PlannedEncounter2 plannedEnc public static boolean validatePlannedEncounter2CodeP(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2CodeP", "WARNING"); + if (VALIDATE_PLANNED_ENCOUNTER2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -390,6 +400,8 @@ public static boolean validatePlannedEncounter2CodeP(PlannedEncounter2 plannedEn public static boolean validatePlannedEncounter2StatusCode(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2StatusCode", "ERROR"); + if (VALIDATE_PLANNED_ENCOUNTER2_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -453,6 +465,8 @@ public static boolean validatePlannedEncounter2StatusCode(PlannedEncounter2 plan public static boolean validatePlannedEncounter2StatusCodeP(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2StatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_ENCOUNTER2_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -516,6 +530,8 @@ public static boolean validatePlannedEncounter2StatusCodeP(PlannedEncounter2 pla public static boolean validatePlannedEncounter2EffectiveTime(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2EffectiveTime", "WARNING"); + if (VALIDATE_PLANNED_ENCOUNTER2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -580,6 +596,8 @@ public static boolean validatePlannedEncounter2EffectiveTime(PlannedEncounter2 p public static boolean validatePlannedEncounter2Performer(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2Performer", "INFO"); + if (VALIDATE_PLANNED_ENCOUNTER2_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -643,6 +661,8 @@ public static boolean validatePlannedEncounter2Performer(PlannedEncounter2 plann public static boolean validatePlannedEncounter2ServiceDeliveryLocation(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2ServiceDeliveryLocation", "INFO"); + if (VALIDATE_PLANNED_ENCOUNTER2_SERVICE_DELIVERY_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -708,6 +728,8 @@ public static boolean validatePlannedEncounter2ServiceDeliveryLocation(PlannedEn public static boolean validatePlannedEncounter2PriorityPreference(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2PriorityPreference", "INFO"); + if (VALIDATE_PLANNED_ENCOUNTER2_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -773,6 +795,8 @@ public static boolean validatePlannedEncounter2PriorityPreference(PlannedEncount public static boolean validatePlannedEncounter2Indication2(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2Indication2", "INFO"); + if (VALIDATE_PLANNED_ENCOUNTER2_INDICATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -836,6 +860,8 @@ public static boolean validatePlannedEncounter2Indication2(PlannedEncounter2 pla public static boolean validatePlannedEncounter2AuthorParticipation(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2AuthorParticipation", "WARNING"); + if (VALIDATE_PLANNED_ENCOUNTER2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -901,6 +927,8 @@ public static boolean validatePlannedEncounter2AuthorParticipation(PlannedEncoun public static boolean validatePlannedEncounter2PerformerAssignedEntity(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlannedEncounter2PerformerAssignedEntity", "ERROR"); + if (VALIDATE_PLANNED_ENCOUNTER2_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1114,6 +1142,8 @@ public static EList getIndication2s(PlannedEncounter2 plannedEncoun public static boolean validatePlanOfCareActivityEncounterMoodCode(PlannedEncounter2 plannedEncounter2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedEncounter2PlanOfCareActivityEncounterMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_ENCOUNTER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedImmunizationActivityOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedImmunizationActivityOperations.java index 0cf52ca31c..f3caf8f7fd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedImmunizationActivityOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedImmunizationActivityOperations.java @@ -24,6 +24,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.SubstanceAdministrationOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -133,6 +134,8 @@ public static boolean validatePlannedImmunizationActivityTemplateId( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityTemplateId", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -200,6 +203,8 @@ public static boolean validatePlannedImmunizationActivityClassCode( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityClassCode", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -267,6 +272,8 @@ public static boolean validatePlannedImmunizationActivityMoodCodeP( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityMoodCodeP", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_MOOD_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -358,6 +365,8 @@ public static boolean validatePlannedImmunizationActivityMoodCode( return true; } + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityMoodCode", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -424,6 +433,8 @@ public static boolean validatePlannedImmunizationActivityMoodCode( public static boolean validatePlannedImmunizationActivityId(PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityId", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -490,6 +501,8 @@ public static boolean validatePlannedImmunizationActivityStatusCode( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityStatusCode", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -557,6 +570,8 @@ public static boolean validatePlannedImmunizationActivityStatusCodeP( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityStatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -624,6 +639,9 @@ public static boolean validatePlannedImmunizationActivityEffectiveTime( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedImmunizationActivityPlannedImmunizationActivityEffectiveTime", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -691,6 +709,8 @@ public static boolean validatePlannedImmunizationActivityRepeatNumber( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityRepeatNumber", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -758,6 +778,8 @@ public static boolean validatePlannedImmunizationActivityRouteCodeP( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityRouteCodeP", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_ROUTE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -849,6 +871,8 @@ public static boolean validatePlannedImmunizationActivityRouteCode( return true; } + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityRouteCode", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_ROUTE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -903,6 +927,9 @@ public static boolean validatePlannedImmunizationActivityApproachSiteCode( return true; } + DatatypesUtil.increment( + context, "PlannedImmunizationActivityPlannedImmunizationActivityApproachSiteCode", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_APPROACH_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -993,6 +1020,9 @@ public static boolean validatePlannedImmunizationActivityApproachSiteCodeP( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedImmunizationActivityPlannedImmunizationActivityApproachSiteCodeP", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_APPROACH_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1075,6 +1105,8 @@ public static boolean validatePlannedImmunizationActivityDoseQuantity( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityDoseQuantity", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_DOSE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1142,6 +1174,8 @@ public static boolean validatePlannedImmunizationActivityPerformer( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityPerformer", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1209,6 +1243,9 @@ public static boolean validatePlannedImmunizationActivityAuthorParticipation( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedImmunizationActivityPlannedImmunizationActivityAuthorParticipation", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1276,6 +1313,9 @@ public static boolean validatePlannedImmunizationActivityPriorityPreference( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedImmunizationActivityPlannedImmunizationActivityPriorityPreference", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1343,6 +1383,8 @@ public static boolean validatePlannedImmunizationActivityIndication2( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityIndication2", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_INDICATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1410,6 +1452,8 @@ public static boolean validatePlannedImmunizationActivityInstruction2( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityInstruction2", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1477,6 +1521,8 @@ public static boolean validatePlannedImmunizationActivityPrecondition( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityPrecondition", "INFO"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_PRECONDITION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1544,6 +1590,8 @@ public static boolean validatePlannedImmunizationActivityConsumable( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityConsumable", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_CONSUMABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1611,6 +1659,9 @@ public static boolean validatePlannedImmunizationActivityCETranslationP( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedImmunizationActivityPlannedImmunizationActivityCETranslationP", "WARNING"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1699,6 +1750,9 @@ public static boolean validatePlannedImmunizationActivityCETranslation( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedImmunizationActivityPlannedImmunizationActivityCETranslation", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1780,6 +1834,8 @@ public static boolean validatePlannedImmunizationActivityIVLPQUnit( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedImmunizationActivityPlannedImmunizationActivityIVLPQUnit", "WARNING"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_IVLPQ_UNIT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1852,6 +1908,11 @@ public static boolean validatePlannedImmunizationActivityConsumableImmunizationM PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PlannedImmunizationActivityPlannedImmunizationActivityConsumableImmunizationMedicationInformation2", + "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_CONSUMABLE_IMMUNIZATION_MEDICATION_INFORMATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1924,6 +1985,9 @@ public static boolean validatePlannedImmunizationActivityPreconditionTypeCode( PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedImmunizationActivityPlannedImmunizationActivityPreconditionTypeCode", "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_PRECONDITION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1996,6 +2060,11 @@ public static boolean validatePlannedImmunizationActivityPreconditionPreconditio PlannedImmunizationActivity plannedImmunizationActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PlannedImmunizationActivityPlannedImmunizationActivityPreconditionPreconditionForSubstanceAdministration2", + "ERROR"); + if (VALIDATE_PLANNED_IMMUNIZATION_ACTIVITY_PRECONDITION_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedInterventionActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedInterventionActOperations.java index 8893c6d06e..af117d145f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedInterventionActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedInterventionActOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -164,6 +165,8 @@ protected PlannedInterventionActOperations() { public static boolean validatePlannedInterventionActTemplateId(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActTemplateId", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -229,6 +232,8 @@ public static boolean validatePlannedInterventionActTemplateId(PlannedInterventi public static boolean validatePlannedInterventionActClassCode(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActClassCode", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -294,6 +299,8 @@ public static boolean validatePlannedInterventionActClassCode(PlannedInterventio public static boolean validatePlannedInterventionActMoodCodeP(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActMoodCodeP", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_MOOD_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -382,6 +389,8 @@ public static boolean validatePlannedInterventionActMoodCode(PlannedIntervention return true; } + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActMoodCode", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -447,6 +456,8 @@ public static boolean validatePlannedInterventionActMoodCode(PlannedIntervention public static boolean validatePlannedInterventionActId(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActId", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -510,6 +521,8 @@ public static boolean validatePlannedInterventionActId(PlannedInterventionAct pl public static boolean validatePlannedInterventionActCodeP(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActCodeP", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -597,6 +610,8 @@ public static boolean validatePlannedInterventionActCode(PlannedInterventionAct return true; } + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActCode", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -662,6 +677,8 @@ public static boolean validatePlannedInterventionActCode(PlannedInterventionAct public static boolean validatePlannedInterventionActStatusCode(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActStatusCode", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -727,6 +744,8 @@ public static boolean validatePlannedInterventionActStatusCode(PlannedInterventi public static boolean validatePlannedInterventionActStatusCodeP(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActStatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -792,6 +811,8 @@ public static boolean validatePlannedInterventionActStatusCodeP(PlannedIntervent public static boolean validatePlannedInterventionActEffectiveTime(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActEffectiveTime", "WARNING"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -857,6 +878,8 @@ public static boolean validatePlannedInterventionActEffectiveTime(PlannedInterve public static boolean validatePlannedInterventionActAuthorParticipation( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActAuthorParticipation", "WARNING"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -923,6 +946,9 @@ public static boolean validatePlannedInterventionActAuthorParticipation( public static boolean validatePlannedInterventionActAdvanceDirectiveObservation2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActAdvanceDirectiveObservation2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_ADVANCE_DIRECTIVE_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -989,6 +1015,8 @@ public static boolean validatePlannedInterventionActAdvanceDirectiveObservation2 public static boolean validatePlannedInterventionActImmunizationActivity2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActImmunizationActivity2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_IMMUNIZATION_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1055,6 +1083,8 @@ public static boolean validatePlannedInterventionActImmunizationActivity2( public static boolean validatePlannedInterventionActMedicationActivity2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActMedicationActivity2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_MEDICATION_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1121,6 +1151,8 @@ public static boolean validatePlannedInterventionActMedicationActivity2( public static boolean validatePlannedInterventionActProcedureActivityAct2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActProcedureActivityAct2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PROCEDURE_ACTIVITY_ACT2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1187,6 +1219,8 @@ public static boolean validatePlannedInterventionActProcedureActivityAct2( public static boolean validatePlannedInterventionActInterventionAct(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActInterventionAct", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_INTERVENTION_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1252,6 +1286,9 @@ public static boolean validatePlannedInterventionActInterventionAct(PlannedInter public static boolean validatePlannedInterventionActProcedureActivityObservation2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActProcedureActivityObservation2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PROCEDURE_ACTIVITY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1318,6 +1355,9 @@ public static boolean validatePlannedInterventionActProcedureActivityObservation public static boolean validatePlannedInterventionActProcedureActivityProcedure2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActProcedureActivityProcedure2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PROCEDURE_ACTIVITY_PROCEDURE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1384,6 +1424,8 @@ public static boolean validatePlannedInterventionActProcedureActivityProcedure2( public static boolean validatePlannedInterventionActEncounterActivity2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActEncounterActivity2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_ENCOUNTER_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1450,6 +1492,8 @@ public static boolean validatePlannedInterventionActEncounterActivity2( public static boolean validatePlannedInterventionActInstruction2(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActInstruction2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1515,6 +1559,9 @@ public static boolean validatePlannedInterventionActInstruction2(PlannedInterven public static boolean validatePlannedInterventionActNonMedicinalSupplyActivity2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActNonMedicinalSupplyActivity2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_NON_MEDICINAL_SUPPLY_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1581,6 +1628,8 @@ public static boolean validatePlannedInterventionActNonMedicinalSupplyActivity2( public static boolean validatePlannedInterventionActPlannedAct2(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActPlannedAct2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PLANNED_ACT2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1646,6 +1695,8 @@ public static boolean validatePlannedInterventionActPlannedAct2(PlannedIntervent public static boolean validatePlannedInterventionActPlannedEncounter2(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActPlannedEncounter2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PLANNED_ENCOUNTER2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1712,6 +1763,8 @@ public static boolean validatePlannedInterventionActPlannedEncounter2(PlannedInt public static boolean validatePlannedInterventionActPlannedObservation2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActPlannedObservation2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PLANNED_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1778,6 +1831,8 @@ public static boolean validatePlannedInterventionActPlannedObservation2( public static boolean validatePlannedInterventionActPlannedProcedure2(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActPlannedProcedure2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PLANNED_PROCEDURE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1844,6 +1899,9 @@ public static boolean validatePlannedInterventionActPlannedProcedure2(PlannedInt public static boolean validatePlannedInterventionActPlannedMedicationActivity2( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActPlannedMedicationActivity2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PLANNED_MEDICATION_ACTIVITY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1910,6 +1968,8 @@ public static boolean validatePlannedInterventionActPlannedMedicationActivity2( public static boolean validatePlannedInterventionActPlannedSupply2(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActPlannedSupply2", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PLANNED_SUPPLY2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1975,6 +2035,8 @@ public static boolean validatePlannedInterventionActPlannedSupply2(PlannedInterv public static boolean validatePlannedInterventionActNutritionRecommendation( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActNutritionRecommendation", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_NUTRITION_RECOMMENDATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2041,6 +2103,9 @@ public static boolean validatePlannedInterventionActNutritionRecommendation( public static boolean validatePlannedInterventionActEntryReferenceDocInstance( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActEntryReferenceDocInstance", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_ENTRY_REFERENCE_DOC_INSTANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2107,6 +2172,8 @@ public static boolean validatePlannedInterventionActEntryReferenceDocInstance( public static boolean validatePlannedInterventionActEntryReferenceGoalObs( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActEntryReferenceGoalObs", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_ENTRY_REFERENCE_GOAL_OBS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2173,6 +2240,9 @@ public static boolean validatePlannedInterventionActEntryReferenceGoalObs( public static boolean validatePlannedInterventionActHandoffCommunicationParticipants( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActHandoffCommunicationParticipants", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_HANDOFF_COMMUNICATION_PARTICIPANTS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2239,6 +2309,9 @@ public static boolean validatePlannedInterventionActHandoffCommunicationParticip public static boolean validatePlannedInterventionActPlannedImmunizationActivity( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActPlannedImmunizationActivity", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_PLANNED_IMMUNIZATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2305,6 +2378,8 @@ public static boolean validatePlannedInterventionActPlannedImmunizationActivity( public static boolean validatePlannedInterventionActReference(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActReference", "INFO"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2370,6 +2445,8 @@ public static boolean validatePlannedInterventionActReference(PlannedInterventio public static boolean validatePlannedInterventionActReferenceTypeCode(PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedInterventionActPlannedInterventionActReferenceTypeCode", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2441,6 +2518,9 @@ public static boolean validatePlannedInterventionActReferenceTypeCode(PlannedInt public static boolean validatePlannedInterventionActReferenceExternalDocumentReference( PlannedInterventionAct plannedInterventionAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedInterventionActPlannedInterventionActReferenceExternalDocumentReference", "ERROR"); + if (VALIDATE_PLANNED_INTERVENTION_ACT_REFERENCE_EXTERNAL_DOCUMENT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedMedicationActivity2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedMedicationActivity2Operations.java index 343e055438..834483583b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedMedicationActivity2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedMedicationActivity2Operations.java @@ -26,6 +26,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -141,6 +142,9 @@ public static boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSorTS( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2EffectiveTimeIVLTSorTS", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_EFFECTIVE_TIME_IVLT_SOR_TS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -208,6 +212,9 @@ public static boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSLow( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2EffectiveTimeIVLTSLow", "WARNING"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_EFFECTIVE_TIME_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -275,6 +282,9 @@ public static boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSHigh( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2EffectiveTimeIVLTSHigh", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_EFFECTIVE_TIME_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -342,6 +352,9 @@ public static boolean validatePlannedMedicationActivity2EffectiveTimeIVLTSLowXor PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2EffectiveTimeIVLTSLowXorValue", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_EFFECTIVE_TIME_IVLTS_LOW_XOR_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -409,6 +422,9 @@ public static boolean validatePlannedMedicationActivity2EffectiveTimePIVLTS( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2EffectiveTimePIVLTS", "WARNING"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_EFFECTIVE_TIME_PIVLTS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -476,6 +492,8 @@ public static boolean validatePlannedMedicationActivity2TemplateId( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2TemplateId", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -544,6 +562,8 @@ public static boolean validatePlannedMedicationActivity2StatusCode( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2StatusCode", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -611,6 +631,8 @@ public static boolean validatePlannedMedicationActivity2StatusCodeP( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2StatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -678,6 +700,8 @@ public static boolean validatePlannedMedicationActivity2RepeatNumber( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2RepeatNumber", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -745,6 +769,8 @@ public static boolean validatePlannedMedicationActivity2RouteCodeP( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2RouteCodeP", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_ROUTE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -836,6 +862,8 @@ public static boolean validatePlannedMedicationActivity2RouteCode( return true; } + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2RouteCode", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_ROUTE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -903,6 +931,9 @@ public static boolean validatePlannedMedicationActivity2ApproachSiteCodeP( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2ApproachSiteCodeP", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_APPROACH_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -995,6 +1026,9 @@ public static boolean validatePlannedMedicationActivity2ApproachSiteCode( return true; } + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2ApproachSiteCode", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_APPROACH_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1062,6 +1096,8 @@ public static boolean validatePlannedMedicationActivity2DoseQuantity( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2DoseQuantity", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_DOSE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1129,6 +1165,8 @@ public static boolean validatePlannedMedicationActivity2RateQuantity( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2RateQuantity", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_RATE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1196,6 +1234,8 @@ public static boolean validatePlannedMedicationActivity2MaxDoseQuantity( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2MaxDoseQuantity", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_MAX_DOSE_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1263,6 +1303,9 @@ public static boolean validatePlannedMedicationActivity2AdministrationUnitCodeP( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2AdministrationUnitCodeP", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_ADMINISTRATION_UNIT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1356,6 +1399,9 @@ public static boolean validatePlannedMedicationActivity2AdministrationUnitCode( return true; } + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2AdministrationUnitCode", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_ADMINISTRATION_UNIT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1423,6 +1469,8 @@ public static boolean validatePlannedMedicationActivity2Performer( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2Performer", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1490,6 +1538,9 @@ public static boolean validatePlannedMedicationActivity2AuthorParticipation( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2AuthorParticipation", "WARNING"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1557,6 +1608,9 @@ public static boolean validatePlannedMedicationActivity2PriorityPreference( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2PriorityPreference", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1624,6 +1678,8 @@ public static boolean validatePlannedMedicationActivity2Indication2( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2Indication2", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_INDICATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1691,6 +1747,8 @@ public static boolean validatePlannedMedicationActivity2Instruction2( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2Instruction2", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1758,6 +1816,8 @@ public static boolean validatePlannedMedicationActivity2Consumable( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2Consumable", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_CONSUMABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1825,6 +1885,8 @@ public static boolean validatePlannedMedicationActivity2Precondition( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2Precondition", "INFO"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_PRECONDITION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1892,6 +1954,9 @@ public static boolean validatePlannedMedicationActivity2CETranslationP( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2CETranslationP", "WARNING"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_CE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1980,6 +2045,8 @@ public static boolean validatePlannedMedicationActivity2CETranslation( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedMedicationActivity2PlannedMedicationActivity2CETranslation", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2061,6 +2128,9 @@ public static boolean validatePlannedMedicationActivity2IVLPQdoseQuantityUnit( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2IVLPQdoseQuantityUnit", "WARNING"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_IVLP_QDOSE_QUANTITY_UNIT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2133,6 +2203,9 @@ public static boolean validatePlannedMedicationActivity2IVLPQrateQuantityUnit( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2IVLPQrateQuantityUnit", "WARNING"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_IVLP_QRATE_QUANTITY_UNIT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2205,6 +2278,9 @@ public static boolean validatePlannedMedicationActivity2ConsumableMedicationInfo PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2ConsumableMedicationInformation2", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_CONSUMABLE_MEDICATION_INFORMATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2277,6 +2353,9 @@ public static boolean validatePlannedMedicationActivity2PreconditionTypeCode( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlannedMedicationActivity2PreconditionTypeCode", "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_PRECONDITION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2349,6 +2428,11 @@ public static boolean validatePlannedMedicationActivity2PreconditionPrecondition PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PlannedMedicationActivity2PlannedMedicationActivity2PreconditionPreconditionForSubstanceAdministration2", + "ERROR"); + if (VALIDATE_PLANNED_MEDICATION_ACTIVITY2_PRECONDITION_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2566,6 +2650,9 @@ public static boolean validatePlanOfCareActivitySubstanceAdministrationMoodCode( PlannedMedicationActivity2 plannedMedicationActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedMedicationActivity2PlanOfCareActivitySubstanceAdministrationMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUBSTANCE_ADMINISTRATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedObservation2Operations.java index 89f0d4db6d..bf7d03ac2d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedObservation2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -114,6 +115,8 @@ protected PlannedObservation2Operations() { public static boolean validatePlannedObservation2TemplateId(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2TemplateId", "ERROR"); + if (VALIDATE_PLANNED_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -178,6 +181,8 @@ public static boolean validatePlannedObservation2TemplateId(PlannedObservation2 public static boolean validatePlannedObservation2CodeP(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2CodeP", "ERROR"); + if (VALIDATE_PLANNED_OBSERVATION2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -264,6 +269,8 @@ public static boolean validatePlannedObservation2Code(PlannedObservation2 planne return true; } + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2Code", "WARNING"); + if (VALIDATE_PLANNED_OBSERVATION2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -328,6 +335,8 @@ public static boolean validatePlannedObservation2Code(PlannedObservation2 planne public static boolean validatePlannedObservation2StatusCode(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2StatusCode", "ERROR"); + if (VALIDATE_PLANNED_OBSERVATION2_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -392,6 +401,8 @@ public static boolean validatePlannedObservation2StatusCode(PlannedObservation2 public static boolean validatePlannedObservation2StatusCodeP(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2StatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_OBSERVATION2_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -457,6 +468,8 @@ public static boolean validatePlannedObservation2StatusCodeP(PlannedObservation2 public static boolean validatePlannedObservation2EffectiveTime(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2EffectiveTime", "WARNING"); + if (VALIDATE_PLANNED_OBSERVATION2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -522,6 +535,8 @@ public static boolean validatePlannedObservation2EffectiveTime(PlannedObservatio public static boolean validatePlannedObservation2Value(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2Value", "INFO"); + if (VALIDATE_PLANNED_OBSERVATION2_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -585,6 +600,8 @@ public static boolean validatePlannedObservation2Value(PlannedObservation2 plann public static boolean validatePlannedObservation2MethodCode(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2MethodCode", "INFO"); + if (VALIDATE_PLANNED_OBSERVATION2_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -649,6 +666,8 @@ public static boolean validatePlannedObservation2MethodCode(PlannedObservation2 public static boolean validatePlannedObservation2TargetSiteCodeP(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2TargetSiteCodeP", "WARNING"); + if (VALIDATE_PLANNED_OBSERVATION2_TARGET_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -738,6 +757,8 @@ public static boolean validatePlannedObservation2TargetSiteCode(PlannedObservati return true; } + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2TargetSiteCode", "ERROR"); + if (VALIDATE_PLANNED_OBSERVATION2_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -803,6 +824,8 @@ public static boolean validatePlannedObservation2TargetSiteCode(PlannedObservati public static boolean validatePlannedObservation2Performer(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2Performer", "INFO"); + if (VALIDATE_PLANNED_OBSERVATION2_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -866,6 +889,8 @@ public static boolean validatePlannedObservation2Performer(PlannedObservation2 p public static boolean validatePlannedObservation2AuthorParticipation(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_PLANNED_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -931,6 +956,8 @@ public static boolean validatePlannedObservation2AuthorParticipation(PlannedObse public static boolean validatePlannedObservation2PriorityPreference(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2PriorityPreference", "INFO"); + if (VALIDATE_PLANNED_OBSERVATION2_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -996,6 +1023,8 @@ public static boolean validatePlannedObservation2PriorityPreference(PlannedObser public static boolean validatePlannedObservation2Indication2(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2Indication2", "INFO"); + if (VALIDATE_PLANNED_OBSERVATION2_INDICATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1060,6 +1089,8 @@ public static boolean validatePlannedObservation2Indication2(PlannedObservation2 public static boolean validatePlannedObservation2Instruction2(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2Instruction2", "INFO"); + if (VALIDATE_PLANNED_OBSERVATION2_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1124,6 +1155,8 @@ public static boolean validatePlannedObservation2Instruction2(PlannedObservation public static boolean validatePlannedObservation2PlannedCoverage(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlannedObservation2PlannedCoverage", "INFO"); + if (VALIDATE_PLANNED_OBSERVATION2_PLANNED_COVERAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1379,6 +1412,8 @@ public static EList getPlannedCoverages(PlannedObservation2 pla public static boolean validatePlanOfCareActivityObservationMoodCode(PlannedObservation2 plannedObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedObservation2PlanOfCareActivityObservationMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedure2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedure2Operations.java index 16f2acd785..f2a64fe676 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedure2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedure2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -115,6 +116,8 @@ protected PlannedProcedure2Operations() { public static boolean validatePlannedProcedure2CodeFromLoincOrSnomed(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2CodeFromLoincOrSnomed", "WARNING"); + if (VALIDATE_PLANNED_PROCEDURE2_CODE_FROM_LOINC_OR_SNOMED__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -180,6 +183,8 @@ public static boolean validatePlannedProcedure2CodeFromLoincOrSnomed(PlannedProc public static boolean validatePlannedProcedure2CodeFromCptOrIcd(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2CodeFromCptOrIcd", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE2_CODE_FROM_CPT_OR_ICD__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -245,6 +250,8 @@ public static boolean validatePlannedProcedure2CodeFromCptOrIcd(PlannedProcedure public static boolean validatePlannedProcedure2Instruction2InversionInd(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2Instruction2InversionInd", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE2_INSTRUCTION2_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -310,6 +317,8 @@ public static boolean validatePlannedProcedure2Instruction2InversionInd(PlannedP public static boolean validatePlannedProcedure2TemplateId(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2TemplateId", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +382,8 @@ public static boolean validatePlannedProcedure2TemplateId(PlannedProcedure2 plan public static boolean validatePlannedProcedure2Code(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2Code", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +448,8 @@ public static boolean validatePlannedProcedure2Code(PlannedProcedure2 plannedPro public static boolean validatePlannedProcedure2StatusCode(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2StatusCode", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE2_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -500,6 +513,8 @@ public static boolean validatePlannedProcedure2StatusCode(PlannedProcedure2 plan public static boolean validatePlannedProcedure2StatusCodeP(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2StatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE2_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -563,6 +578,8 @@ public static boolean validatePlannedProcedure2StatusCodeP(PlannedProcedure2 pla public static boolean validatePlannedProcedure2EffectiveTime(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2EffectiveTime", "WARNING"); + if (VALIDATE_PLANNED_PROCEDURE2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -627,6 +644,8 @@ public static boolean validatePlannedProcedure2EffectiveTime(PlannedProcedure2 p public static boolean validatePlannedProcedure2MethodCode(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2MethodCode", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE2_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -690,6 +709,8 @@ public static boolean validatePlannedProcedure2MethodCode(PlannedProcedure2 plan public static boolean validatePlannedProcedure2TargetSiteCodeP(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2TargetSiteCodeP", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE2_TARGET_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -778,6 +799,8 @@ public static boolean validatePlannedProcedure2TargetSiteCode(PlannedProcedure2 return true; } + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2TargetSiteCode", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE2_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -843,6 +866,8 @@ public static boolean validatePlannedProcedure2TargetSiteCode(PlannedProcedure2 public static boolean validatePlannedProcedure2Performer(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2Performer", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE2_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -906,6 +931,8 @@ public static boolean validatePlannedProcedure2Performer(PlannedProcedure2 plann public static boolean validatePlannedProcedure2AuthorParticipation(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2AuthorParticipation", "WARNING"); + if (VALIDATE_PLANNED_PROCEDURE2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -971,6 +998,8 @@ public static boolean validatePlannedProcedure2AuthorParticipation(PlannedProced public static boolean validatePlannedProcedure2PriorityPreference(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2PriorityPreference", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE2_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1036,6 +1065,8 @@ public static boolean validatePlannedProcedure2PriorityPreference(PlannedProcedu public static boolean validatePlannedProcedure2Indication2(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2Indication2", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE2_INDICATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1099,6 +1130,8 @@ public static boolean validatePlannedProcedure2Indication2(PlannedProcedure2 pla public static boolean validatePlannedProcedure2Instruction2(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2Instruction2", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE2_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1162,6 +1195,8 @@ public static boolean validatePlannedProcedure2Instruction2(PlannedProcedure2 pl public static boolean validatePlannedProcedure2PlannedCoverage(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlannedProcedure2PlannedCoverage", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE2_PLANNED_COVERAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1417,6 +1452,8 @@ public static EList getPlannedCoverages(PlannedProcedure2 plann public static boolean validatePlanOfCareActivityProcedureMoodCode(PlannedProcedure2 plannedProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedure2PlanOfCareActivityProcedureMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_PROCEDURE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedureSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedureSection2Operations.java index 66e66c776f..014ddc1182 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedureSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedureSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected PlannedProcedureSection2Operations() { public static boolean validatePlannedProcedureSection2TemplateId(PlannedProcedureSection2 plannedProcedureSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedureSection2PlannedProcedureSection2TemplateId", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -208,6 +211,8 @@ public static EList getConsolPlannedProcedure2s( public static boolean validatePlannedProcedureSectionCodeP(PlannedProcedureSection2 plannedProcedureSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedureSection2PlannedProcedureSectionCodeP", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +300,8 @@ public static boolean validatePlannedProcedureSectionCode(PlannedProcedureSectio return true; } + DatatypesUtil.increment(context, "PlannedProcedureSection2PlannedProcedureSectionCode", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -360,6 +367,9 @@ public static boolean validatePlannedProcedureSectionPlanOfCareActivityProcedure PlannedProcedureSection2 plannedProcedureSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedProcedureSection2PlannedProcedureSectionPlanOfCareActivityProcedure", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_PLAN_OF_CARE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedureSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedureSectionOperations.java index 287c5e7157..c2145e22ba 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedureSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedProcedureSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ protected PlannedProcedureSectionOperations() { public static boolean validatePlannedProcedureSectionTemplateId(PlannedProcedureSection plannedProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedureSectionPlannedProcedureSectionTemplateId", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validatePlannedProcedureSectionTemplateId(PlannedProcedure public static boolean validatePlannedProcedureSectionCode(PlannedProcedureSection plannedProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedureSectionPlannedProcedureSectionCode", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +238,8 @@ public static boolean validatePlannedProcedureSectionCode(PlannedProcedureSectio public static boolean validatePlannedProcedureSectionCodeP(PlannedProcedureSection plannedProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedureSectionPlannedProcedureSectionCodeP", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -276,6 +283,8 @@ public static boolean validatePlannedProcedureSectionCodeP(PlannedProcedureSecti public static boolean validatePlannedProcedureSectionText(PlannedProcedureSection plannedProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedureSectionPlannedProcedureSectionText", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -361,6 +370,8 @@ public static boolean validatePlannedProcedureSectionText(PlannedProcedureSectio public static boolean validatePlannedProcedureSectionTitle(PlannedProcedureSection plannedProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedProcedureSectionPlannedProcedureSectionTitle", "ERROR"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -425,6 +436,9 @@ public static boolean validatePlannedProcedureSectionTitle(PlannedProcedureSecti public static boolean validatePlannedProcedureSectionPlanOfCareActivityProcedure( PlannedProcedureSection plannedProcedureSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedProcedureSectionPlannedProcedureSectionPlanOfCareActivityProcedure", "INFO"); + if (VALIDATE_PLANNED_PROCEDURE_SECTION_PLAN_OF_CARE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedSupply2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedSupply2Operations.java index 8adbc5b0fb..c328bdb5b2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedSupply2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PlannedSupply2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -120,6 +121,8 @@ protected PlannedSupply2Operations() { public static boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2MedInfoXorImmunXorProductInstance", "ERROR"); + if (VALIDATE_PLANNED_SUPPLY2_MED_INFO_XOR_IMMUN_XOR_PRODUCT_INSTANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -186,6 +189,8 @@ public static boolean validatePlannedSupply2MedInfoXorImmunXorProductInstance(Pl public static boolean validatePlannedSupply2TemplateId(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2TemplateId", "ERROR"); + if (VALIDATE_PLANNED_SUPPLY2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -250,6 +255,8 @@ public static boolean validatePlannedSupply2TemplateId(PlannedSupply2 plannedSup public static boolean validatePlannedSupply2StatusCode(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2StatusCode", "ERROR"); + if (VALIDATE_PLANNED_SUPPLY2_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -313,6 +320,8 @@ public static boolean validatePlannedSupply2StatusCode(PlannedSupply2 plannedSup public static boolean validatePlannedSupply2StatusCodeP(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2StatusCodeP", "ERROR"); + if (VALIDATE_PLANNED_SUPPLY2_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -376,6 +385,8 @@ public static boolean validatePlannedSupply2StatusCodeP(PlannedSupply2 plannedSu public static boolean validatePlannedSupply2EffectiveTime(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2EffectiveTime", "WARNING"); + if (VALIDATE_PLANNED_SUPPLY2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -439,6 +450,8 @@ public static boolean validatePlannedSupply2EffectiveTime(PlannedSupply2 planned public static boolean validatePlannedSupply2RepeatNumber(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2RepeatNumber", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_REPEAT_NUMBER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -502,6 +515,8 @@ public static boolean validatePlannedSupply2RepeatNumber(PlannedSupply2 plannedS public static boolean validatePlannedSupply2Quantity(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2Quantity", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_QUANTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -565,6 +580,8 @@ public static boolean validatePlannedSupply2Quantity(PlannedSupply2 plannedSuppl public static boolean validatePlannedSupply2Product(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2Product", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_PRODUCT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -628,6 +645,8 @@ public static boolean validatePlannedSupply2Product(PlannedSupply2 plannedSupply public static boolean validatePlannedSupply2Performer(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2Performer", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -691,6 +710,8 @@ public static boolean validatePlannedSupply2Performer(PlannedSupply2 plannedSupp public static boolean validatePlannedSupply2AuthorParticipation(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2AuthorParticipation", "WARNING"); + if (VALIDATE_PLANNED_SUPPLY2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -756,6 +777,8 @@ public static boolean validatePlannedSupply2AuthorParticipation(PlannedSupply2 p public static boolean validatePlannedSupply2ProductInstance(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2ProductInstance", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_PRODUCT_INSTANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -819,6 +842,8 @@ public static boolean validatePlannedSupply2ProductInstance(PlannedSupply2 plann public static boolean validatePlannedSupply2PriorityPreference(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2PriorityPreference", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -883,6 +908,8 @@ public static boolean validatePlannedSupply2PriorityPreference(PlannedSupply2 pl public static boolean validatePlannedSupply2Indication2(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2Indication2", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_INDICATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -946,6 +973,8 @@ public static boolean validatePlannedSupply2Indication2(PlannedSupply2 plannedSu public static boolean validatePlannedSupply2Instruction2(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2Instruction2", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_INSTRUCTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1009,6 +1038,8 @@ public static boolean validatePlannedSupply2Instruction2(PlannedSupply2 plannedS public static boolean validatePlannedSupply2PlannedCoverage(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2PlannedCoverage", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_PLANNED_COVERAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1072,6 +1103,8 @@ public static boolean validatePlannedSupply2PlannedCoverage(PlannedSupply2 plann public static boolean validatePlannedSupply2ProductRecommended(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2ProductRecommended", "WARNING"); + if (VALIDATE_PLANNED_SUPPLY2_PRODUCT_RECOMMENDED__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1136,6 +1169,9 @@ public static boolean validatePlannedSupply2ProductRecommended(PlannedSupply2 pl public static boolean validatePlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2( PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PlannedSupply2PlannedSupply2ProductManufacturedProductMedInfo2XorImmunMedInfo2", "ERROR"); + if (VALIDATE_PLANNED_SUPPLY2_PRODUCT_MANUFACTURED_PRODUCT_MED_INFO2_XOR_IMMUN_MED_INFO2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1207,6 +1243,8 @@ public static boolean validatePlannedSupply2ProductManufacturedProductMedInfo2Xo public static boolean validatePlannedSupply2ProductManufacturedProduct(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlannedSupply2ProductManufacturedProduct", "INFO"); + if (VALIDATE_PLANNED_SUPPLY2_PRODUCT_MANUFACTURED_PRODUCT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1512,6 +1550,8 @@ public static EList getPlannedCoverages(PlannedSupply2 plannedS public static boolean validatePlanOfCareActivitySupplyMoodCode(PlannedSupply2 plannedSupply2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PlannedSupply2PlanOfCareActivitySupplyMoodCode", "ERROR"); + if (VALIDATE_PLAN_OF_CARE_ACTIVITY_SUPPLY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PolicyActivity2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PolicyActivity2Operations.java index 2f07df841b..a36298b4ab 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PolicyActivity2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PolicyActivity2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -138,6 +139,8 @@ protected PolicyActivity2Operations() { public static boolean validatePolicyActivity2TemplateId(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivity2TemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -180,6 +183,8 @@ public static boolean validatePolicyActivity2TemplateId(PolicyActivity2 policyAc public static boolean validatePolicyActivityStatusCodeP(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityStatusCodeP", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -235,6 +240,11 @@ public static boolean validatePolicyActivityStatusCodeP(PolicyActivity2 policyAc public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +295,11 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -335,6 +350,11 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -385,6 +405,10 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -435,6 +459,10 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -485,6 +513,11 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -535,6 +568,11 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -585,6 +623,10 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -635,6 +677,11 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -685,6 +732,11 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2PayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -735,6 +787,11 @@ public static boolean validatePolicyActivity2PayerPayerAssignedEntityGeneralHead public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -785,6 +842,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -835,6 +897,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -885,6 +952,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -935,6 +1007,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -985,6 +1062,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1035,6 +1117,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1085,6 +1172,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1135,6 +1227,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1185,6 +1282,11 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivity2PolicyActivity2GuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1235,6 +1337,10 @@ public static boolean validatePolicyActivity2GuarantorGuarantorAssignedEntityGen public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityDateOfBirthInSDTCbirthTime( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivityCoverageCoverageRoleCoveragePlayingEntityDateOfBirthInSDTCbirthTime", + "INFO"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_COVERAGE_PLAYING_ENTITY_DATE_OF_BIRTH_IN_SDT_CBIRTH_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1285,6 +1391,9 @@ public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingE public static boolean validatePolicyActivity2CoverageCoverageRoleCoveragePlayingEntitySDTCBirthTime( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivity2CoverageCoverageRoleCoveragePlayingEntitySDTCBirthTime", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_COVERAGE_COVERAGE_ROLE_COVERAGE_PLAYING_ENTITY_SDTC_BIRTH_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1335,6 +1444,8 @@ public static boolean validatePolicyActivity2CoverageCoverageRoleCoveragePlaying public static boolean validatePolicyActivity2CDTranslation(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivity2CDTranslation", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1384,6 +1495,8 @@ public static boolean validatePolicyActivity2CDTranslation(PolicyActivity2 polic public static boolean validatePolicyActivity2CDTranslationP(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivity2CDTranslationP", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY2_CD_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1433,6 +1546,8 @@ public static boolean validatePolicyActivity2CDTranslationP(PolicyActivity2 poli public static boolean validatePolicyActivityCodeP(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityCodeP", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2071,6 +2186,8 @@ public static boolean validatePolicyActivityCode(PolicyActivity2 policyActivity2 return true; } + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityCode", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2143,6 +2260,8 @@ public static boolean validatePolicyActivityStatusCode(PolicyActivity2 policyAct return true; } + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityStatusCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2206,6 +2325,8 @@ public static boolean validatePolicyActivityStatusCode(PolicyActivity2 policyAct public static boolean validatePolicyActivityPayer(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityPayer", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2269,6 +2390,8 @@ public static boolean validatePolicyActivityPayer(PolicyActivity2 policyActivity public static boolean validatePolicyActivityGuarantor(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityGuarantor", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2332,6 +2455,8 @@ public static boolean validatePolicyActivityGuarantor(PolicyActivity2 policyActi public static boolean validatePolicyActivityCoverage(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityCoverage", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2395,6 +2520,8 @@ public static boolean validatePolicyActivityCoverage(PolicyActivity2 policyActiv public static boolean validatePolicyActivityPayerPayerAssignedEntityAddr(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityPayerPayerAssignedEntityAddr", "INFO"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2466,6 +2593,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityAddr(PolicyA public static boolean validatePolicyActivityPayerPayerAssignedEntityTelecom(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityPayerPayerAssignedEntityTelecom", "INFO"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2537,6 +2666,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityTelecom(Poli public static boolean validatePolicyActivityPayerTemplateId(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityPayerTemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2607,6 +2738,8 @@ public static boolean validatePolicyActivityPayerTemplateId(PolicyActivity2 poli public static boolean validatePolicyActivityPayerPayerAssignedEntity(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityPayerPayerAssignedEntity", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2677,6 +2810,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntity(PolicyActiv public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCodeP(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityGuarantorGuarantorAssignedEntityCodeP", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2764,6 +2899,8 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCode public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCode(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityGuarantorGuarantorAssignedEntityCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2845,6 +2982,9 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCode public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityAddr(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivityGuarantorGuarantorAssignedEntityAddr", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2916,6 +3056,9 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityAddr public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTelecom(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivityGuarantorGuarantorAssignedEntityTelecom", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2987,6 +3130,8 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTele public static boolean validatePolicyActivityGuarantorTemplateId(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityGuarantorTemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3057,6 +3202,8 @@ public static boolean validatePolicyActivityGuarantorTemplateId(PolicyActivity2 public static boolean validatePolicyActivityGuarantorTypeCode(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityGuarantorTypeCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3127,6 +3274,8 @@ public static boolean validatePolicyActivityGuarantorTypeCode(PolicyActivity2 po public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntity(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityGuarantorGuarantorAssignedEntity", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3198,6 +3347,9 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntity(Pol public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityName( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivityCoverageCoverageRoleCoveragePlayingEntityName", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_COVERAGE_PLAYING_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3269,6 +3421,8 @@ public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingE public static boolean validatePolicyActivityCoverageCoverageRoleId(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityCoverageCoverageRoleId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3339,6 +3493,9 @@ public static boolean validatePolicyActivityCoverageCoverageRoleId(PolicyActivit public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity( PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivity2PolicyActivityCoverageCoverageRoleCoveragePlayingEntity", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_COVERAGE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3410,6 +3567,8 @@ public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingE public static boolean validatePolicyActivityCoverageTemplateId(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityCoverageTemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3480,6 +3639,8 @@ public static boolean validatePolicyActivityCoverageTemplateId(PolicyActivity2 p public static boolean validatePolicyActivityCoverageCoverageRole(PolicyActivity2 policyActivity2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivity2PolicyActivityCoverageCoverageRole", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PolicyActivityOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PolicyActivityOperations.java index 0fe1c828f5..c158c9ac5a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PolicyActivityOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PolicyActivityOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -187,6 +188,8 @@ protected PolicyActivityOperations() { public static boolean validatePolicyActivityTemplateId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityTemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -250,6 +253,8 @@ public static boolean validatePolicyActivityTemplateId(PolicyActivity policyActi public static boolean validatePolicyActivityClassCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityClassCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -292,6 +297,8 @@ public static boolean validatePolicyActivityClassCode(PolicyActivity policyActiv public static boolean validatePolicyActivityCodeP(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCodeP", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -355,6 +362,8 @@ public static boolean validatePolicyActivityCode(PolicyActivity policyActivity, return true; } + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCode", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -397,6 +406,8 @@ public static boolean validatePolicyActivityCode(PolicyActivity policyActivity, public static boolean validatePolicyActivityId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -525,6 +536,8 @@ public static boolean validatePolicyActivityId(PolicyActivity policyActivity, Di public static boolean validatePolicyActivityMoodCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityMoodCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -589,6 +602,8 @@ public static boolean validatePolicyActivityMoodCode(PolicyActivity policyActivi public static boolean validatePolicyActivityStatusCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityStatusCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -652,6 +667,8 @@ public static boolean validatePolicyActivityStatusCode(PolicyActivity policyActi public static boolean validatePolicyActivityPayer(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayer", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -715,6 +732,8 @@ public static boolean validatePolicyActivityPayer(PolicyActivity policyActivity, public static boolean validatePolicyActivityGuarantor(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityGuarantor", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -778,6 +797,8 @@ public static boolean validatePolicyActivityGuarantor(PolicyActivity policyActiv public static boolean validatePolicyActivityCoverage(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverage", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -841,6 +862,8 @@ public static boolean validatePolicyActivityCoverage(PolicyActivity policyActivi public static boolean validatePolicyActivityHolder(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityHolder", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -904,6 +927,8 @@ public static boolean validatePolicyActivityHolder(PolicyActivity policyActivity public static boolean validatePolicyActivityEntryRelationship(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityEntryRelationship", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -968,6 +993,11 @@ public static boolean validatePolicyActivityEntryRelationship(PolicyActivity pol public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1039,6 +1069,11 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1110,6 +1145,11 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1160,6 +1200,10 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1254,6 +1298,10 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1325,6 +1373,11 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1396,6 +1449,10 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1467,6 +1524,10 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1538,6 +1599,11 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1609,6 +1675,11 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityPayerPayerAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1680,6 +1751,9 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityGeneralHeade public static boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganizationName( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityPayerOrganizationName", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_PAYER_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1751,6 +1825,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganiz public static boolean validatePolicyActivityPayerPayerAssignedEntityId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1800,6 +1876,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityId(PolicyAct public static boolean validatePolicyActivityPayerPayerAssignedEntityCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityCode", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1903,6 +1981,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityCode(PolicyA public static boolean validatePolicyActivityPayerPayerAssignedEntityCodeP(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityCodeP", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1988,6 +2068,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityCodeP(Policy public static boolean validatePolicyActivityPayerPayerAssignedEntityAddr(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityAddr", "INFO"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2058,6 +2140,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityAddr(PolicyA public static boolean validatePolicyActivityPayerPayerAssignedEntityTelecom(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityTelecom", "INFO"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2129,6 +2213,9 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityTelecom(Poli public static boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganization(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityPayerPayerAssignedEntityPayerOrganization", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY_PAYER_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2200,6 +2287,8 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntityPayerOrganiz public static boolean validatePolicyActivityPayerTemplateId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayerTemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2270,6 +2359,8 @@ public static boolean validatePolicyActivityPayerTemplateId(PolicyActivity polic public static boolean validatePolicyActivityPayerTypeCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayerTypeCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2340,6 +2431,8 @@ public static boolean validatePolicyActivityPayerTypeCode(PolicyActivity policyA public static boolean validatePolicyActivityPayerPayerAssignedEntity(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityPayerPayerAssignedEntity", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_PAYER_PAYER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2410,6 +2503,11 @@ public static boolean validatePolicyActivityPayerPayerAssignedEntity(PolicyActiv public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2481,6 +2579,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2552,6 +2655,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2602,6 +2710,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2696,6 +2809,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2767,6 +2885,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2838,6 +2961,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2909,6 +3037,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2980,6 +3113,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3051,6 +3189,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3122,6 +3265,9 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityGene public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityPersonNameAndOrOrgName( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityPersonNameAndOrOrgName", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_PERSON_NAME_AND_OR_ORG_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3195,6 +3341,8 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityPers public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3266,6 +3414,8 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCode public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCodeP(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityCodeP", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3337,6 +3487,8 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityCode public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityAddr(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityAddr", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3408,6 +3560,9 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityAddr public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTelecom(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntityTelecom", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3479,6 +3634,8 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntityTele public static boolean validatePolicyActivityGuarantorTemplateId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityGuarantorTemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3549,6 +3706,8 @@ public static boolean validatePolicyActivityGuarantorTemplateId(PolicyActivity p public static boolean validatePolicyActivityGuarantorTime(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityGuarantorTime", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3619,6 +3778,8 @@ public static boolean validatePolicyActivityGuarantorTime(PolicyActivity policyA public static boolean validatePolicyActivityGuarantorTypeCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityGuarantorTypeCode", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3689,6 +3850,8 @@ public static boolean validatePolicyActivityGuarantorTypeCode(PolicyActivity pol public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntity(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityGuarantorGuarantorAssignedEntity", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_GUARANTOR_GUARANTOR_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3760,6 +3923,11 @@ public static boolean validatePolicyActivityGuarantorGuarantorAssignedEntity(Pol public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3831,6 +3999,11 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3902,6 +4075,11 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3952,6 +4130,10 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUseP( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4046,6 +4228,10 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUse( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4117,6 +4303,10 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressCountry( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4188,6 +4378,10 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressState( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4259,6 +4453,10 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressCity( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4330,6 +4528,10 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressPostalCode( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4401,6 +4603,11 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityCoverageCoverageRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4472,6 +4679,9 @@ public static boolean validatePolicyActivityCoverageCoverageRoleGeneralHeaderCon public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntityName( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityCoverageCoverageRoleCoveragePlayingEntityName", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_COVERAGE_PLAYING_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4543,6 +4753,8 @@ public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingE public static boolean validatePolicyActivityCoverageCoverageRoleId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageCoverageRoleId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4615,6 +4827,8 @@ public static boolean validatePolicyActivityCoverageCoverageRoleId(PolicyActivit public static boolean validatePolicyActivityCoverageCoverageRoleCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageCoverageRoleCode", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4685,6 +4899,8 @@ public static boolean validatePolicyActivityCoverageCoverageRoleCode(PolicyActiv public static boolean validatePolicyActivityCoverageCoverageRoleCodeP(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageCoverageRoleCodeP", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4755,6 +4971,8 @@ public static boolean validatePolicyActivityCoverageCoverageRoleCodeP(PolicyActi public static boolean validatePolicyActivityCoverageCoverageRoleAddr(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageCoverageRoleAddr", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4825,6 +5043,9 @@ public static boolean validatePolicyActivityCoverageCoverageRoleAddr(PolicyActiv public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingEntity(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityCoverageCoverageRoleCoveragePlayingEntity", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE_COVERAGE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4896,6 +5117,8 @@ public static boolean validatePolicyActivityCoverageCoverageRoleCoveragePlayingE public static boolean validatePolicyActivityCoverageLowTime(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageLowTime", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_LOW_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4966,6 +5189,8 @@ public static boolean validatePolicyActivityCoverageLowTime(PolicyActivity polic public static boolean validatePolicyActivityCoverageHighTime(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageHighTime", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_HIGH_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5036,6 +5261,8 @@ public static boolean validatePolicyActivityCoverageHighTime(PolicyActivity poli public static boolean validatePolicyActivityCoverageTemplateId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageTemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5106,6 +5333,8 @@ public static boolean validatePolicyActivityCoverageTemplateId(PolicyActivity po public static boolean validatePolicyActivityCoverageTypeCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageTypeCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5176,6 +5405,8 @@ public static boolean validatePolicyActivityCoverageTypeCode(PolicyActivity poli public static boolean validatePolicyActivityCoverageTime(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageTime", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5246,6 +5477,8 @@ public static boolean validatePolicyActivityCoverageTime(PolicyActivity policyAc public static boolean validatePolicyActivityCoverageCoverageRole(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityCoverageCoverageRole", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_COVERAGE_COVERAGE_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5316,6 +5549,11 @@ public static boolean validatePolicyActivityCoverageCoverageRole(PolicyActivity public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5387,6 +5625,11 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5458,6 +5701,11 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5508,6 +5756,10 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUseP( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5602,6 +5854,9 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUse( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressUse", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5673,6 +5928,10 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressCountry( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5744,6 +6003,10 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressState( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5815,6 +6078,9 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressCity( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressCity", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5886,6 +6152,10 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressPostalCode( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5957,6 +6227,11 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "PolicyActivityPolicyActivityHolderHolderRoleGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6028,6 +6303,8 @@ public static boolean validatePolicyActivityHolderHolderRoleGeneralHeaderConstra public static boolean validatePolicyActivityHolderHolderRoleId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityHolderHolderRoleId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6098,6 +6375,8 @@ public static boolean validatePolicyActivityHolderHolderRoleId(PolicyActivity po public static boolean validatePolicyActivityHolderHolderRoleAddr(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityHolderHolderRoleAddr", "WARNING"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6168,6 +6447,8 @@ public static boolean validatePolicyActivityHolderHolderRoleAddr(PolicyActivity public static boolean validatePolicyActivityHolderTemplateId(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityHolderTemplateId", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6238,6 +6519,8 @@ public static boolean validatePolicyActivityHolderTemplateId(PolicyActivity poli public static boolean validatePolicyActivityHolderTypeCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityHolderTypeCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6308,6 +6591,8 @@ public static boolean validatePolicyActivityHolderTypeCode(PolicyActivity policy public static boolean validatePolicyActivityHolderTime(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityHolderTime", "INFO"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6378,6 +6663,8 @@ public static boolean validatePolicyActivityHolderTime(PolicyActivity policyActi public static boolean validatePolicyActivityHolderHolderRole(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityHolderHolderRole", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_HOLDER_HOLDER_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6448,6 +6735,8 @@ public static boolean validatePolicyActivityHolderHolderRole(PolicyActivity poli public static boolean validatePolicyActivityEntryRelationshipTargetActActivity(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityEntryRelationshipTargetActActivity", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_ENTRY_RELATIONSHIP_TARGET_ACT_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6519,6 +6808,9 @@ public static boolean validatePolicyActivityEntryRelationshipTargetActActivity(P public static boolean validatePolicyActivityEntryRelationshipDescriptionCoveragePlan(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PolicyActivityPolicyActivityEntryRelationshipDescriptionCoveragePlan", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_ENTRY_RELATIONSHIP_DESCRIPTION_COVERAGE_PLAN__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6590,6 +6882,8 @@ public static boolean validatePolicyActivityEntryRelationshipDescriptionCoverage public static boolean validatePolicyActivityEntryRelationshipTypeCode(PolicyActivity policyActivity, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PolicyActivityPolicyActivityEntryRelationshipTypeCode", "ERROR"); + if (VALIDATE_POLICY_ACTIVITY_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostoperativeDiagnosisSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostoperativeDiagnosisSectionOperations.java index e9942a37eb..e69289603c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostoperativeDiagnosisSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostoperativeDiagnosisSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validatePostoperativeDiagnosisSectionTemplateId( PostoperativeDiagnosisSection postoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PostoperativeDiagnosisSectionPostoperativeDiagnosisSectionTemplateId", "ERROR"); + if (VALIDATE_POSTOPERATIVE_DIAGNOSIS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,8 @@ public static boolean validatePostoperativeDiagnosisSectionCode( PostoperativeDiagnosisSection postoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostoperativeDiagnosisSectionPostoperativeDiagnosisSectionCode", "ERROR"); + if (VALIDATE_POSTOPERATIVE_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +237,8 @@ public static boolean validatePostoperativeDiagnosisSectionCodeP( PostoperativeDiagnosisSection postoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostoperativeDiagnosisSectionPostoperativeDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_POSTOPERATIVE_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +306,8 @@ public static boolean validatePostoperativeDiagnosisSectionText( PostoperativeDiagnosisSection postoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostoperativeDiagnosisSectionPostoperativeDiagnosisSectionText", "ERROR"); + if (VALIDATE_POSTOPERATIVE_DIAGNOSIS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +375,8 @@ public static boolean validatePostoperativeDiagnosisSectionTitle( PostoperativeDiagnosisSection postoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostoperativeDiagnosisSectionPostoperativeDiagnosisSectionTitle", "ERROR"); + if (VALIDATE_POSTOPERATIVE_DIAGNOSIS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosis2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosis2Operations.java index 6fd6a7369e..4f20b51632 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosis2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosis2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected PostprocedureDiagnosis2Operations() { public static boolean validatePostprocedureDiagnosis2TemplateId(PostprocedureDiagnosis2 postprocedureDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosis2PostprocedureDiagnosis2TemplateId", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -139,6 +142,8 @@ public static boolean validatePostprocedureDiagnosis2TemplateId(PostprocedureDia public static boolean validatePostprocedureDiagnosisCodeP(PostprocedureDiagnosis2 postprocedureDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosis2PostprocedureDiagnosisCodeP", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +302,8 @@ public static boolean validatePostprocedureDiagnosisCode(PostprocedureDiagnosis2 return true; } + DatatypesUtil.increment(context, "PostprocedureDiagnosis2PostprocedureDiagnosisCode", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -361,6 +368,8 @@ public static boolean validatePostprocedureDiagnosisCode(PostprocedureDiagnosis2 public static boolean validatePostprocedureDiagnosisProblemObservation( PostprocedureDiagnosis2 postprocedureDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosis2PostprocedureDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisOperations.java index 323dda43e9..d8cb64c84c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected PostprocedureDiagnosisOperations() { public static boolean validatePostprocedureDiagnosisTemplateId(PostprocedureDiagnosis postprocedureDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisPostprocedureDiagnosisTemplateId", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validatePostprocedureDiagnosisTemplateId(PostprocedureDiag public static boolean validatePostprocedureDiagnosisClassCode(PostprocedureDiagnosis postprocedureDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisPostprocedureDiagnosisClassCode", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +236,8 @@ public static boolean validatePostprocedureDiagnosisClassCode(PostprocedureDiagn public static boolean validatePostprocedureDiagnosisMoodCode(PostprocedureDiagnosis postprocedureDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisPostprocedureDiagnosisMoodCode", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validatePostprocedureDiagnosisMoodCode(PostprocedureDiagno public static boolean validatePostprocedureDiagnosisCode(PostprocedureDiagnosis postprocedureDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisPostprocedureDiagnosisCode", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -361,6 +370,8 @@ public static boolean validatePostprocedureDiagnosisCode(PostprocedureDiagnosis public static boolean validatePostprocedureDiagnosisProblemObservation( PostprocedureDiagnosis postprocedureDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisPostprocedureDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisSection2Operations.java index 5992c9ea69..7bb4f1e3d3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisSection2Operations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,9 @@ public static boolean validatePostprocedureDiagnosisSection2TemplateId( PostprocedureDiagnosisSection2 postprocedureDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PostprocedureDiagnosisSection2PostprocedureDiagnosisSection2TemplateId", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -208,6 +212,8 @@ public static boolean validatePostprocedureDiagnosisSectionCodeP( PostprocedureDiagnosisSection2 postprocedureDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisSection2PostprocedureDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -300,6 +306,8 @@ public static boolean validatePostprocedureDiagnosisSectionCode( return true; } + DatatypesUtil.increment(context, "PostprocedureDiagnosisSection2PostprocedureDiagnosisSectionCode", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -367,6 +375,9 @@ public static boolean validatePostprocedureDiagnosisSectionPostprocedureDiagnosi PostprocedureDiagnosisSection2 postprocedureDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PostprocedureDiagnosisSection2PostprocedureDiagnosisSectionPostprocedureDiagnosis", "WARNING"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_POSTPROCEDURE_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisSectionOperations.java index f85da297bf..122d6ca11a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PostprocedureDiagnosisSectionOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -100,6 +101,9 @@ public static boolean validatePostprocedureDiagnosisSectionTemplateId( PostprocedureDiagnosisSection postprocedureDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PostprocedureDiagnosisSectionPostprocedureDiagnosisSectionTemplateId", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -146,6 +150,8 @@ public static boolean validatePostprocedureDiagnosisSectionCodeP( PostprocedureDiagnosisSection postprocedureDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisSectionPostprocedureDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +242,8 @@ public static boolean validatePostprocedureDiagnosisSectionCode( PostprocedureDiagnosisSection postprocedureDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisSectionPostprocedureDiagnosisSectionCode", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -282,6 +290,8 @@ public static boolean validatePostprocedureDiagnosisSectionText( PostprocedureDiagnosisSection postprocedureDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisSectionPostprocedureDiagnosisSectionText", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -370,6 +380,8 @@ public static boolean validatePostprocedureDiagnosisSectionTitle( PostprocedureDiagnosisSection postprocedureDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PostprocedureDiagnosisSectionPostprocedureDiagnosisSectionTitle", "ERROR"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +449,9 @@ public static boolean validatePostprocedureDiagnosisSectionPostprocedureDiagnosi PostprocedureDiagnosisSection postprocedureDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PostprocedureDiagnosisSectionPostprocedureDiagnosisSectionPostprocedureDiagnosis", "WARNING"); + if (VALIDATE_POSTPROCEDURE_DIAGNOSIS_SECTION_POSTPROCEDURE_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreconditionForSubstanceAdministration2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreconditionForSubstanceAdministration2Operations.java index 1756c4646e..85066cdcfd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreconditionForSubstanceAdministration2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreconditionForSubstanceAdministration2Operations.java @@ -7,6 +7,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -88,6 +89,10 @@ public static boolean validatePreconditionForSubstanceAdministration2TemplateId( PreconditionForSubstanceAdministration2 preconditionForSubstanceAdministration2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministration2PreconditionForSubstanceAdministration2TemplateId", + "ERROR"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -155,6 +160,9 @@ public static boolean validatePreconditionForSubstanceAdministrationCodeP( PreconditionForSubstanceAdministration2 preconditionForSubstanceAdministration2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministration2PreconditionForSubstanceAdministrationCodeP", "ERROR"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -222,6 +230,9 @@ public static boolean validatePreconditionForSubstanceAdministrationValueP( PreconditionForSubstanceAdministration2 preconditionForSubstanceAdministration2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministration2PreconditionForSubstanceAdministrationValueP", "ERROR"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -291,6 +302,9 @@ public static boolean validatePreconditionForSubstanceAdministrationCode( PreconditionForSubstanceAdministration2 preconditionForSubstanceAdministration2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministration2PreconditionForSubstanceAdministrationCode", "ERROR"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -358,6 +372,9 @@ public static boolean validatePreconditionForSubstanceAdministrationText( PreconditionForSubstanceAdministration2 preconditionForSubstanceAdministration2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministration2PreconditionForSubstanceAdministrationText", "ERROR"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -427,6 +444,9 @@ public static boolean validatePreconditionForSubstanceAdministrationValue( PreconditionForSubstanceAdministration2 preconditionForSubstanceAdministration2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministration2PreconditionForSubstanceAdministrationValue", "ERROR"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreconditionForSubstanceAdministrationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreconditionForSubstanceAdministrationOperations.java index 1f8dba5183..5e79468dd1 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreconditionForSubstanceAdministrationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreconditionForSubstanceAdministrationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.CriterionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,9 @@ public static boolean validatePreconditionForSubstanceAdministrationTemplateId( PreconditionForSubstanceAdministration preconditionForSubstanceAdministration, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministrationPreconditionForSubstanceAdministrationTemplateId", "ERROR"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +165,9 @@ public static boolean validatePreconditionForSubstanceAdministrationCode( PreconditionForSubstanceAdministration preconditionForSubstanceAdministration, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministrationPreconditionForSubstanceAdministrationCode", "WARNING"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -228,6 +235,9 @@ public static boolean validatePreconditionForSubstanceAdministrationText( PreconditionForSubstanceAdministration preconditionForSubstanceAdministration, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministrationPreconditionForSubstanceAdministrationText", "INFO"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +305,9 @@ public static boolean validatePreconditionForSubstanceAdministrationValue( PreconditionForSubstanceAdministration preconditionForSubstanceAdministration, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreconditionForSubstanceAdministrationPreconditionForSubstanceAdministrationValue", "WARNING"); + if (VALIDATE_PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PregnancyObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PregnancyObservationOperations.java index 376afeff45..d062f04536 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PregnancyObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PregnancyObservationOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -104,6 +105,8 @@ protected PregnancyObservationOperations() { public static boolean validatePregnancyObservationTemplateId(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationTemplateId", "ERROR"); + if (VALIDATE_PREGNANCY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -168,6 +171,8 @@ public static boolean validatePregnancyObservationTemplateId(PregnancyObservatio public static boolean validatePregnancyObservationClassCode(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationClassCode", "ERROR"); + if (VALIDATE_PREGNANCY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validatePregnancyObservationClassCode(PregnancyObservation public static boolean validatePregnancyObservationMoodCode(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationMoodCode", "ERROR"); + if (VALIDATE_PREGNANCY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validatePregnancyObservationMoodCode(PregnancyObservation public static boolean validatePregnancyObservationCodeP(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationCodeP", "ERROR"); + if (VALIDATE_PREGNANCY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -382,6 +391,8 @@ public static boolean validatePregnancyObservationCode(PregnancyObservation preg return true; } + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationCode", "ERROR"); + if (VALIDATE_PREGNANCY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -446,6 +457,8 @@ public static boolean validatePregnancyObservationCode(PregnancyObservation preg public static boolean validatePregnancyObservationStatusCode(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationStatusCode", "ERROR"); + if (VALIDATE_PREGNANCY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -512,6 +525,8 @@ public static boolean validatePregnancyObservationStatusCode(PregnancyObservatio public static boolean validatePregnancyObservationValue(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationValue", "ERROR"); + if (VALIDATE_PREGNANCY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -575,6 +590,8 @@ public static boolean validatePregnancyObservationValue(PregnancyObservation pre public static boolean validatePregnancyObservationValueP(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationValueP", "ERROR"); + if (VALIDATE_PREGNANCY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -638,6 +655,8 @@ public static boolean validatePregnancyObservationValueP(PregnancyObservation pr public static boolean validatePregnancyObservationEffectiveTime(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationEffectiveTime", "WARNING"); + if (VALIDATE_PREGNANCY_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -703,6 +722,8 @@ public static boolean validatePregnancyObservationEffectiveTime(PregnancyObserva public static boolean validatePregnancyObservationEstimatedDateOfDelivery(PregnancyObservation pregnancyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PregnancyObservationPregnancyObservationEstimatedDateOfDelivery", "INFO"); + if (VALIDATE_PREGNANCY_OBSERVATION_ESTIMATED_DATE_OF_DELIVERY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosis2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosis2Operations.java index ae20b356dd..ba50bb1df8 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosis2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosis2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected PreoperativeDiagnosis2Operations() { public static boolean validatePreoperativeDiagnosis2TemplateId(PreoperativeDiagnosis2 preoperativeDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosis2PreoperativeDiagnosis2TemplateId", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -139,6 +142,8 @@ public static boolean validatePreoperativeDiagnosis2TemplateId(PreoperativeDiagn public static boolean validatePreoperativeDiagnosisCodeP(PreoperativeDiagnosis2 preoperativeDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosis2PreoperativeDiagnosisCodeP", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +302,8 @@ public static boolean validatePreoperativeDiagnosisCode(PreoperativeDiagnosis2 p return true; } + DatatypesUtil.increment(context, "PreoperativeDiagnosis2PreoperativeDiagnosisCode", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -360,6 +367,8 @@ public static boolean validatePreoperativeDiagnosisCode(PreoperativeDiagnosis2 p public static boolean validatePreoperativeDiagnosisProblemObservation(PreoperativeDiagnosis2 preoperativeDiagnosis2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosis2PreoperativeDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisOperations.java index 7cf82fe3b8..4043c2ec07 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected PreoperativeDiagnosisOperations() { public static boolean validatePreoperativeDiagnosisTemplateId(PreoperativeDiagnosis preoperativeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisPreoperativeDiagnosisTemplateId", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validatePreoperativeDiagnosisTemplateId(PreoperativeDiagno public static boolean validatePreoperativeDiagnosisClassCode(PreoperativeDiagnosis preoperativeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisPreoperativeDiagnosisClassCode", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -209,6 +214,8 @@ public static boolean validatePreoperativeDiagnosisClassCode(PreoperativeDiagnos public static boolean validatePreoperativeDiagnosisCode(PreoperativeDiagnosis preoperativeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisPreoperativeDiagnosisCode", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -272,6 +279,8 @@ public static boolean validatePreoperativeDiagnosisCode(PreoperativeDiagnosis pr public static boolean validatePreoperativeDiagnosisMoodCode(PreoperativeDiagnosis preoperativeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisPreoperativeDiagnosisMoodCode", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -359,6 +368,8 @@ public static boolean validatePreoperativeDiagnosisMoodCode(PreoperativeDiagnosi public static boolean validatePreoperativeDiagnosisProblemObservation(PreoperativeDiagnosis preoperativeDiagnosis, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisPreoperativeDiagnosisProblemObservation", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisSection2Operations.java index aa362db288..6195348215 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisSection2Operations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,9 @@ public static boolean validatePreoperativeDiagnosisSection2TemplateId( PreoperativeDiagnosisSection2 preoperativeDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreoperativeDiagnosisSection2PreoperativeDiagnosisSection2TemplateId", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -208,6 +212,8 @@ public static boolean validatePreoperativeDiagnosisSectionCodeP( PreoperativeDiagnosisSection2 preoperativeDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisSection2PreoperativeDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -299,6 +305,8 @@ public static boolean validatePreoperativeDiagnosisSectionCode( return true; } + DatatypesUtil.increment(context, "PreoperativeDiagnosisSection2PreoperativeDiagnosisSectionCode", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -366,6 +374,9 @@ public static boolean validatePreoperativeDiagnosisSectionPreoperativeDiagnosis( PreoperativeDiagnosisSection2 preoperativeDiagnosisSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreoperativeDiagnosisSection2PreoperativeDiagnosisSectionPreoperativeDiagnosis", "WARNING"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_PREOPERATIVE_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisSectionOperations.java index 05706e338c..a7ea11041f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PreoperativeDiagnosisSectionOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -100,6 +101,8 @@ public static boolean validatePreoperativeDiagnosisSectionTemplateId( PreoperativeDiagnosisSection preoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisSectionPreoperativeDiagnosisSectionTemplateId", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validatePreoperativeDiagnosisSectionCode( PreoperativeDiagnosisSection preoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisSectionPreoperativeDiagnosisSectionCode", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -235,6 +240,8 @@ public static boolean validatePreoperativeDiagnosisSectionCodeP( PreoperativeDiagnosisSection preoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisSectionPreoperativeDiagnosisSectionCodeP", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -281,6 +288,8 @@ public static boolean validatePreoperativeDiagnosisSectionText( PreoperativeDiagnosisSection preoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisSectionPreoperativeDiagnosisSectionText", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +377,8 @@ public static boolean validatePreoperativeDiagnosisSectionTitle( PreoperativeDiagnosisSection preoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PreoperativeDiagnosisSectionPreoperativeDiagnosisSectionTitle", "ERROR"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -435,6 +446,9 @@ public static boolean validatePreoperativeDiagnosisSectionPreoperativeDiagnosis( PreoperativeDiagnosisSection preoperativeDiagnosisSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PreoperativeDiagnosisSectionPreoperativeDiagnosisSectionPreoperativeDiagnosis", "WARNING"); + if (VALIDATE_PREOPERATIVE_DIAGNOSIS_SECTION_PREOPERATIVE_DIAGNOSIS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PressureUlcerObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PressureUlcerObservationOperations.java index e732f6017d..e11983acec 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PressureUlcerObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PressureUlcerObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -139,6 +140,8 @@ public static boolean validatePressureUlcerObservationHasTextReference( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationHasTextReference", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_HAS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -206,6 +209,8 @@ public static boolean validatePressureUlcerObservationTextReferenceValue( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationTextReferenceValue", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -273,6 +278,9 @@ public static boolean validatePressureUlcerObservationHasTextReferenceValue( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationHasTextReferenceValue", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_HAS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -340,6 +348,8 @@ public static boolean validatePressureUlcerObservationValueNullFlavor( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationValueNullFlavor", "INFO"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_VALUE_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -407,6 +417,9 @@ public static boolean validatePressureUlcerObservationTargetSiteQualifier( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationTargetSiteQualifier", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TARGET_SITE_QUALIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -474,6 +487,9 @@ public static boolean validatePressureUlcerObservationTargetSiteQualifierName( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationTargetSiteQualifierName", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TARGET_SITE_QUALIFIER_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -541,6 +557,9 @@ public static boolean validatePressureUlcerObservationTargetSiteQualifierNameCod PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationTargetSiteQualifierNameCode", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TARGET_SITE_QUALIFIER_NAME_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -608,6 +627,9 @@ public static boolean validatePressureUlcerObservationTargetSiteQualifierValue( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationTargetSiteQualifierValue", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TARGET_SITE_QUALIFIER_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -675,6 +697,9 @@ public static boolean validatePressureUlcerObservationTargetSiteQualifierValueCo PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationTargetSiteQualifierValueCode", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TARGET_SITE_QUALIFIER_VALUE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -741,6 +766,8 @@ public static boolean validatePressureUlcerObservationTargetSiteQualifierValueCo public static boolean validatePressureUlcerObservationTemplateId(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationTemplateId", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -806,6 +833,8 @@ public static boolean validatePressureUlcerObservationTemplateId(PressureUlcerOb public static boolean validatePressureUlcerObservationClassCode(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationClassCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -871,6 +900,8 @@ public static boolean validatePressureUlcerObservationClassCode(PressureUlcerObs public static boolean validatePressureUlcerObservationMoodCode(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationMoodCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -936,6 +967,8 @@ public static boolean validatePressureUlcerObservationMoodCode(PressureUlcerObse public static boolean validatePressureUlcerObservationNegationInd(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationNegationInd", "INFO"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_NEGATION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1001,6 +1034,8 @@ public static boolean validatePressureUlcerObservationNegationInd(PressureUlcerO public static boolean validatePressureUlcerObservationId(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationId", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1065,6 +1100,8 @@ public static boolean validatePressureUlcerObservationId(PressureUlcerObservatio public static boolean validatePressureUlcerObservationCodeP(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationCodeP", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1152,6 +1189,8 @@ public static boolean validatePressureUlcerObservationCode(PressureUlcerObservat return true; } + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationCode", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1216,6 +1255,8 @@ public static boolean validatePressureUlcerObservationCode(PressureUlcerObservat public static boolean validatePressureUlcerObservationText(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationText", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1281,6 +1322,8 @@ public static boolean validatePressureUlcerObservationText(PressureUlcerObservat public static boolean validatePressureUlcerObservationStatusCode(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationStatusCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1347,6 +1390,8 @@ public static boolean validatePressureUlcerObservationEffectiveTime( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationEffectiveTime", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1415,6 +1460,8 @@ public static boolean validatePressureUlcerObservationEffectiveTime( public static boolean validatePressureUlcerObservationValue(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationValue", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1479,6 +1526,8 @@ public static boolean validatePressureUlcerObservationValue(PressureUlcerObserva public static boolean validatePressureUlcerObservationValueP(PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationValueP", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1532,6 +1581,8 @@ public static boolean validatePressureUlcerObservationTargetSiteCode( return true; } + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationTargetSiteCode", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1622,6 +1673,8 @@ public static boolean validatePressureUlcerObservationTargetSiteCodeP( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PressureUlcerObservationPressureUlcerObservationTargetSiteCodeP", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_TARGET_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1703,6 +1756,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1770,6 +1826,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship2( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship2", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1837,6 +1896,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship3( PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship3", "WARNING"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP3__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1904,6 +1966,10 @@ public static boolean validatePressureUlcerObservationEntryRelationship1Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship1Observation1ClassCode", + "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP1_OBSERVATION1_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1976,6 +2042,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship1Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship1Observation1MoodCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP1_OBSERVATION1_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2048,6 +2117,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship1Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship1Observation1CodeP", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP1_OBSERVATION1_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2136,6 +2208,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship1Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship1Observation1Code", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP1_OBSERVATION1_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2218,6 +2293,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship1Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship1Observation1Value", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP1_OBSERVATION1_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2290,6 +2368,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship1TypeCode PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship1TypeCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP1_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2362,6 +2443,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship1Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship1Observation1", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP1_OBSERVATION1__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2434,6 +2518,10 @@ public static boolean validatePressureUlcerObservationEntryRelationship2Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship2Observation2ClassCode", + "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP2_OBSERVATION2_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2506,6 +2594,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship2Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship2Observation2MoodCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP2_OBSERVATION2_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2578,6 +2669,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship2Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship2Observation2CodeP", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP2_OBSERVATION2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2666,6 +2760,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship2Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship2Observation2Code", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP2_OBSERVATION2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2748,6 +2845,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship2Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship2Observation2Value", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP2_OBSERVATION2_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2820,6 +2920,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship2TypeCode PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship2TypeCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP2_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2892,6 +2995,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship2Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship2Observation2", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP2_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2964,6 +3070,10 @@ public static boolean validatePressureUlcerObservationEntryRelationship3Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship3Observation3ClassCode", + "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP3_OBSERVATION3_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3036,6 +3146,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship3Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship3Observation3MoodCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP3_OBSERVATION3_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3108,6 +3221,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship3Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship3Observation3CodeP", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP3_OBSERVATION3_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3196,6 +3312,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship3Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship3Observation3Code", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP3_OBSERVATION3_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3278,6 +3397,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship3Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship3Observation3Value", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP3_OBSERVATION3_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3350,6 +3472,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship3TypeCode PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship3TypeCode", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP3_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3422,6 +3547,9 @@ public static boolean validatePressureUlcerObservationEntryRelationship3Observat PressureUlcerObservation pressureUlcerObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PressureUlcerObservationPressureUlcerObservationEntryRelationship3Observation3", "ERROR"); + if (VALIDATE_PRESSURE_ULCER_OBSERVATION_ENTRY_RELATIONSHIP3_OBSERVATION3__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PriorityPreferenceOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PriorityPreferenceOperations.java index 22e8e7fe77..763536d0e4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PriorityPreferenceOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PriorityPreferenceOperations.java @@ -9,6 +9,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -92,6 +93,8 @@ protected PriorityPreferenceOperations() { public static boolean validatePriorityPreferenceTemplateId(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceTemplateId", "ERROR"); + if (VALIDATE_PRIORITY_PREFERENCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -155,6 +158,8 @@ public static boolean validatePriorityPreferenceTemplateId(PriorityPreference pr public static boolean validatePriorityPreferenceClassCode(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceClassCode", "ERROR"); + if (VALIDATE_PRIORITY_PREFERENCE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -218,6 +223,8 @@ public static boolean validatePriorityPreferenceClassCode(PriorityPreference pri public static boolean validatePriorityPreferenceMoodCode(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceMoodCode", "ERROR"); + if (VALIDATE_PRIORITY_PREFERENCE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -281,6 +288,8 @@ public static boolean validatePriorityPreferenceMoodCode(PriorityPreference prio public static boolean validatePriorityPreferenceId(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceId", "ERROR"); + if (VALIDATE_PRIORITY_PREFERENCE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -344,6 +353,8 @@ public static boolean validatePriorityPreferenceId(PriorityPreference priorityPr public static boolean validatePriorityPreferenceCodeP(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceCodeP", "ERROR"); + if (VALIDATE_PRIORITY_PREFERENCE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -430,6 +441,8 @@ public static boolean validatePriorityPreferenceCode(PriorityPreference priority return true; } + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceCode", "ERROR"); + if (VALIDATE_PRIORITY_PREFERENCE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -493,6 +506,8 @@ public static boolean validatePriorityPreferenceCode(PriorityPreference priority public static boolean validatePriorityPreferenceEffectiveTime(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceEffectiveTime", "WARNING"); + if (VALIDATE_PRIORITY_PREFERENCE_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -560,6 +575,8 @@ public static boolean validatePriorityPreferenceEffectiveTime(PriorityPreference public static boolean validatePriorityPreferenceValue(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceValue", "ERROR"); + if (VALIDATE_PRIORITY_PREFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -623,6 +640,8 @@ public static boolean validatePriorityPreferenceValue(PriorityPreference priorit public static boolean validatePriorityPreferenceValueP(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceValueP", "ERROR"); + if (VALIDATE_PRIORITY_PREFERENCE_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -686,6 +705,8 @@ public static boolean validatePriorityPreferenceValueP(PriorityPreference priori public static boolean validatePriorityPreferenceAuthorParticipation(PriorityPreference priorityPreference, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PriorityPreferencePriorityPreferenceAuthorParticipation", "WARNING"); + if (VALIDATE_PRIORITY_PREFERENCE_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemConcernAct2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemConcernAct2Operations.java index 3bdcbee797..bc9818512b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemConcernAct2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemConcernAct2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -104,6 +105,8 @@ protected ProblemConcernAct2Operations() { public static boolean validateProblemConcernAct2TemplateId(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernAct2TemplateId", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -147,6 +150,8 @@ public static boolean validateProblemConcernAct2TemplateId(ProblemConcernAct2 pr public static boolean validateProblemConcernActStatusCodeP(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernActStatusCodeP", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -203,6 +208,8 @@ public static boolean validateProblemConcernActStatusCodeP(ProblemConcernAct2 pr public static boolean validateProblemConcernAct2AuthorParticipation(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernAct2AuthorParticipation", "WARNING"); + if (VALIDATE_PROBLEM_CONCERN_ACT2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -247,6 +254,8 @@ public static boolean validateProblemConcernAct2AuthorParticipation(ProblemConce public static boolean validateProblemConcernAct2PriorityPreference(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernAct2PriorityPreference", "INFO"); + if (VALIDATE_PROBLEM_CONCERN_ACT2_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -346,6 +355,8 @@ public static EList getConsolProblemObservation2s(ProblemCo public static boolean validateProblemConcernActEffectiveTimeLow(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernActEffectiveTimeLow", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -390,6 +401,8 @@ public static boolean validateProblemConcernActEffectiveTimeLow(ProblemConcernAc public static boolean validateProblemConcernActEffectiveTimeHigh(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernActEffectiveTimeHigh", "INFO"); + if (VALIDATE_PROBLEM_CONCERN_ACT_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -610,6 +623,8 @@ public static boolean validateProblemConcernActStatusCode(ProblemConcernAct2 pro return true; } + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernActStatusCode", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -673,6 +688,8 @@ public static boolean validateProblemConcernActStatusCode(ProblemConcernAct2 pro public static boolean validateProblemConcernActEffectiveTime(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernActEffectiveTime", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -738,6 +755,8 @@ public static boolean validateProblemConcernActEffectiveTime(ProblemConcernAct2 public static boolean validateProblemConcernActCodeP(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernActCodeP", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -824,6 +843,8 @@ public static boolean validateProblemConcernActCode(ProblemConcernAct2 problemCo return true; } + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernActCode", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -887,6 +908,8 @@ public static boolean validateProblemConcernActCode(ProblemConcernAct2 problemCo public static boolean validateProblemConcernActProblemObservation(ProblemConcernAct2 problemConcernAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernAct2ProblemConcernActProblemObservation", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemConcernActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemConcernActOperations.java index ddea0640ab..194ab6ab72 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemConcernActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemConcernActOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -107,6 +108,8 @@ protected ProblemConcernActOperations() { public static boolean validateProblemConcernActEffectiveTimeLow(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActEffectiveTimeLow", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +175,8 @@ public static boolean validateProblemConcernActEffectiveTimeLow(ProblemConcernAc public static boolean validateProblemConcernActEffectiveTimeHigh(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActEffectiveTimeHigh", "WARNING"); + if (VALIDATE_PROBLEM_CONCERN_ACT_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +242,8 @@ public static boolean validateProblemConcernActEffectiveTimeHigh(ProblemConcernA public static boolean validateProblemConcernActTemplateId(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -300,6 +307,8 @@ public static boolean validateProblemConcernActTemplateId(ProblemConcernAct prob public static boolean validateProblemConcernActClassCode(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActClassCode", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -363,6 +372,8 @@ public static boolean validateProblemConcernActClassCode(ProblemConcernAct probl public static boolean validateProblemConcernActMoodCode(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActMoodCode", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -426,6 +437,8 @@ public static boolean validateProblemConcernActMoodCode(ProblemConcernAct proble public static boolean validateProblemConcernActId(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActId", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -489,6 +502,8 @@ public static boolean validateProblemConcernActId(ProblemConcernAct problemConce public static boolean validateProblemConcernActCodeP(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActCodeP", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -575,6 +590,8 @@ public static boolean validateProblemConcernActCode(ProblemConcernAct problemCon return true; } + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActCode", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -640,6 +657,8 @@ public static boolean validateProblemConcernActCode(ProblemConcernAct problemCon public static boolean validateProblemConcernActStatusCode(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActStatusCode", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -703,6 +722,8 @@ public static boolean validateProblemConcernActStatusCode(ProblemConcernAct prob public static boolean validateProblemConcernActEffectiveTime(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActEffectiveTime", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -768,6 +789,8 @@ public static boolean validateProblemConcernActEffectiveTime(ProblemConcernAct p public static boolean validateProblemConcernActProblemObservation(ProblemConcernAct problemConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemConcernActProblemConcernActProblemObservation", "ERROR"); + if (VALIDATE_PROBLEM_CONCERN_ACT_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemObservation2Operations.java index 221a294216..ba21a6525a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemObservation2Operations.java @@ -22,6 +22,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -133,6 +134,8 @@ protected ProblemObservation2Operations() { public static boolean validateProblemObservationValueNullFlavorUnknown(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationValueNullFlavorUnknown", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_NULL_FLAVOR_UNKNOWN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -198,6 +201,8 @@ public static boolean validateProblemObservationValueNullFlavorUnknown(ProblemOb public static boolean validateProblemObservation2IfSnomedRequireTranslation(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2IfSnomedRequireTranslation", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION2_IF_SNOMED_REQUIRE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -264,6 +269,9 @@ public static boolean validateProblemObservation2IfSnomedRequireTranslation(Prob public static boolean validateProblemObservation2IfSnomedRequireTranslationFromLoinc( ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProblemObservation2ProblemObservation2IfSnomedRequireTranslationFromLoinc", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION2_IF_SNOMED_REQUIRE_TRANSLATION_FROM_LOINC__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -330,6 +338,8 @@ public static boolean validateProblemObservation2IfSnomedRequireTranslationFromL public static boolean validateProblemObservation2TemplateId(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2TemplateId", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +383,8 @@ public static boolean validateProblemObservation2TemplateId(ProblemObservation2 public static boolean validateProblemObservationStatusCodeP(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationStatusCodeP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -429,6 +441,8 @@ public static boolean validateProblemObservationStatusCodeP(ProblemObservation2 public static boolean validateProblemObservation2PrognosisObservation(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2PrognosisObservation", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION2_PROGNOSIS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -473,6 +487,8 @@ public static boolean validateProblemObservation2PrognosisObservation(ProblemObs public static boolean validateProblemObservation2PriorityPreference(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2PriorityPreference", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION2_PRIORITY_PREFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -517,6 +533,8 @@ public static boolean validateProblemObservation2PriorityPreference(ProblemObser public static boolean validateProblemObservation2AuthorParticipation(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -561,6 +579,8 @@ public static boolean validateProblemObservation2AuthorParticipation(ProblemObse public static boolean validateProblemObservation2CDQualifier(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2CDQualifier", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION2_CD_QUALIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -610,6 +630,8 @@ public static boolean validateProblemObservation2CDQualifier(ProblemObservation2 public static boolean validateProblemObservation2CDCode(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2CDCode", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION2_CD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -659,6 +681,8 @@ public static boolean validateProblemObservation2CDCode(ProblemObservation2 prob public static boolean validateProblemObservation2CDCodeTranslation(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2CDCodeTranslation", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION2_CD_CODE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -708,6 +732,8 @@ public static boolean validateProblemObservation2CDCodeTranslation(ProblemObserv public static boolean validateProblemObservation2CDCodeTranslationP(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservation2CDCodeTranslationP", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION2_CD_CODE_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -834,6 +860,8 @@ public static ProblemStatus2 getConsolProblemStatus(ProblemObservation2 problemO public static boolean validateProblemObservationHasTextReference(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationHasTextReference", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -878,6 +906,8 @@ public static boolean validateProblemObservationHasTextReference(ProblemObservat public static boolean validateProblemObservationTextReferenceValue(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationTextReferenceValue", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -922,6 +952,8 @@ public static boolean validateProblemObservationTextReferenceValue(ProblemObserv public static boolean validateProblemObservationHasTextReferenceValue(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationHasTextReferenceValue", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -966,6 +998,8 @@ public static boolean validateProblemObservationHasTextReferenceValue(ProblemObs public static boolean validateProblemObservationHasOnsetDate(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationHasOnsetDate", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_ONSET_DATE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1010,6 +1044,8 @@ public static boolean validateProblemObservationHasOnsetDate(ProblemObservation2 public static boolean validateProblemObservationHasResolutionDate(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationHasResolutionDate", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_RESOLUTION_DATE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1054,6 +1090,8 @@ public static boolean validateProblemObservationHasResolutionDate(ProblemObserva public static boolean validateProblemObservationValueNullFlavor(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationValueNullFlavor", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1124,6 +1162,8 @@ public static HealthStatusObservation getConsolHealthStatusObservation(ProblemOb public static boolean validateProblemObservationNegationInd(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationNegationInd", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_NEGATION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1167,6 +1207,8 @@ public static boolean validateProblemObservationNegationInd(ProblemObservation2 public static boolean validateProblemObservationEffectiveTime(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationEffectiveTime", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1211,6 +1253,8 @@ public static boolean validateProblemObservationEffectiveTime(ProblemObservation public static boolean validateProblemObservationValueP(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationValueP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1274,6 +1318,8 @@ public static boolean validateProblemObservationValue(ProblemObservation2 proble return true; } + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationValue", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1316,6 +1362,8 @@ public static boolean validateProblemObservationValue(ProblemObservation2 proble public static boolean validateProblemObservationCodeP(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationCodeP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1379,6 +1427,8 @@ public static boolean validateProblemObservationCode(ProblemObservation2 problem return true; } + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationCode", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1949,6 +1999,8 @@ public static boolean validateProblemObservationCode(ProblemObservation2 problem public static boolean validateProblemObservationText(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationText", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2021,6 +2073,8 @@ public static boolean validateProblemObservationStatusCode(ProblemObservation2 p return true; } + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationStatusCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2085,6 +2139,8 @@ public static boolean validateProblemObservationStatusCode(ProblemObservation2 p public static boolean validateProblemObservationHealthStatusObservation(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationHealthStatusObservation", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_HEALTH_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2150,6 +2206,8 @@ public static boolean validateProblemObservationHealthStatusObservation(ProblemO public static boolean validateProblemObservationProblemStatus(ProblemObservation2 problemObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservation2ProblemObservationProblemStatus", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_PROBLEM_STATUS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemObservationOperations.java index cfacbbfb6c..828a469048 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemObservationOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -122,6 +123,8 @@ protected ProblemObservationOperations() { public static boolean validateProblemObservationHasTextReference(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationHasTextReference", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -187,6 +190,8 @@ public static boolean validateProblemObservationHasTextReference(ProblemObservat public static boolean validateProblemObservationTextReferenceValue(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationTextReferenceValue", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -252,6 +257,8 @@ public static boolean validateProblemObservationTextReferenceValue(ProblemObserv public static boolean validateProblemObservationHasTextReferenceValue(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationHasTextReferenceValue", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -317,6 +324,8 @@ public static boolean validateProblemObservationHasTextReferenceValue(ProblemObs public static boolean validateProblemObservationHasOnsetDate(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationHasOnsetDate", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_ONSET_DATE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -382,6 +391,8 @@ public static boolean validateProblemObservationHasOnsetDate(ProblemObservation public static boolean validateProblemObservationHasResolutionDate(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationHasResolutionDate", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_HAS_RESOLUTION_DATE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -447,6 +458,8 @@ public static boolean validateProblemObservationHasResolutionDate(ProblemObserva public static boolean validateProblemObservationValueNullFlavor(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationValueNullFlavor", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -512,6 +525,8 @@ public static boolean validateProblemObservationValueNullFlavor(ProblemObservati public static boolean validateProblemObservationAgeObservationInversion(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationAgeObservationInversion", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_AGE_OBSERVATION_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -577,6 +592,8 @@ public static boolean validateProblemObservationAgeObservationInversion(ProblemO public static boolean validateProblemObservationValueTranslation(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationValueTranslation", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -642,6 +659,8 @@ public static boolean validateProblemObservationValueTranslation(ProblemObservat public static boolean validateProblemObservationValueTranslationCode(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationValueTranslationCode", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_TRANSLATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -707,6 +726,8 @@ public static boolean validateProblemObservationValueTranslationCode(ProblemObse public static boolean validateProblemObservationTemplateId(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -770,6 +791,8 @@ public static boolean validateProblemObservationTemplateId(ProblemObservation pr public static boolean validateProblemObservationClassCode(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationClassCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -833,6 +856,8 @@ public static boolean validateProblemObservationClassCode(ProblemObservation pro public static boolean validateProblemObservationMoodCode(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationMoodCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -896,6 +921,8 @@ public static boolean validateProblemObservationMoodCode(ProblemObservation prob public static boolean validateProblemObservationNegationInd(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationNegationInd", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_NEGATION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -960,6 +987,8 @@ public static boolean validateProblemObservationNegationInd(ProblemObservation p public static boolean validateProblemObservationId(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationId", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1023,6 +1052,8 @@ public static boolean validateProblemObservationId(ProblemObservation problemObs public static boolean validateProblemObservationCodeP(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationCodeP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1109,6 +1140,8 @@ public static boolean validateProblemObservationCode(ProblemObservation problemO return true; } + DatatypesUtil.increment(context, "ProblemObservationProblemObservationCode", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1172,6 +1205,8 @@ public static boolean validateProblemObservationCode(ProblemObservation problemO public static boolean validateProblemObservationText(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationText", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1236,6 +1271,8 @@ public static boolean validateProblemObservationText(ProblemObservation problemO public static boolean validateProblemObservationStatusCode(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationStatusCode", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1299,6 +1336,8 @@ public static boolean validateProblemObservationStatusCode(ProblemObservation pr public static boolean validateProblemObservationEffectiveTime(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationEffectiveTime", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1366,6 +1405,8 @@ public static boolean validateProblemObservationEffectiveTime(ProblemObservation public static boolean validateProblemObservationValue(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationValue", "WARNING"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1429,6 +1470,8 @@ public static boolean validateProblemObservationValue(ProblemObservation problem public static boolean validateProblemObservationValueP(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationValueP", "ERROR"); + if (VALIDATE_PROBLEM_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1492,6 +1535,8 @@ public static boolean validateProblemObservationValueP(ProblemObservation proble public static boolean validateProblemObservationAgeObservation(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationAgeObservation", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_AGE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1557,6 +1602,8 @@ public static boolean validateProblemObservationAgeObservation(ProblemObservatio public static boolean validateProblemObservationHealthStatusObservation(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationHealthStatusObservation", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_HEALTH_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1622,6 +1669,8 @@ public static boolean validateProblemObservationHealthStatusObservation(ProblemO public static boolean validateProblemObservationProblemStatus(ProblemObservation problemObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemObservationProblemObservationProblemStatus", "INFO"); + if (VALIDATE_PROBLEM_OBSERVATION_PROBLEM_STATUS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSection2Operations.java index 94083505ad..8147658220 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected ProblemSection2Operations() { public static boolean validateProblemSection2NullFlavor(ProblemSection2 problemSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSection2ProblemSection2NullFlavor", "INFO"); + if (VALIDATE_PROBLEM_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateProblemSection2NullFlavor(ProblemSection2 problemS public static boolean validateProblemSection2Title(ProblemSection2 problemSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSection2ProblemSection2Title", "ERROR"); + if (VALIDATE_PROBLEM_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -227,6 +232,8 @@ public static boolean validateProblemSection2Title(ProblemSection2 problemSectio public static boolean validateProblemSection2Text(ProblemSection2 problemSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSection2ProblemSection2Text", "ERROR"); + if (VALIDATE_PROBLEM_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -336,6 +343,8 @@ public static HealthStatusObservation2 getConsolHealthStatusObservation2(Problem public static boolean validateProblemSectionEntriesOptionalTemplateId(ProblemSection2 problemSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSection2ProblemSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -401,6 +410,8 @@ public static boolean validateProblemSectionEntriesOptionalTemplateId(ProblemSec public static boolean validateProblemSectionEntriesOptionalCodeP(ProblemSection2 problemSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSection2ProblemSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -490,6 +501,8 @@ public static boolean validateProblemSectionEntriesOptionalCode(ProblemSection2 return true; } + DatatypesUtil.increment(context, "ProblemSection2ProblemSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -555,6 +568,8 @@ public static boolean validateProblemSectionEntriesOptionalCode(ProblemSection2 public static boolean validateProblemSectionEntriesOptionalProblemConcern(ProblemSection2 problemSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSection2ProblemSectionEntriesOptionalProblemConcern", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_PROBLEM_CONCERN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -620,6 +635,9 @@ public static boolean validateProblemSectionEntriesOptionalProblemConcern(Proble public static boolean validateProblemSectionEntriesOptional2HealthStatusObservation2( ProblemSection2 problemSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProblemSection2ProblemSectionEntriesOptional2HealthStatusObservation2", "INFO"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL2_HEALTH_STATUS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionEntriesOptional2Operations.java index 0312b6c4e8..63d7180077 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -99,6 +100,9 @@ public static boolean validateProblemSectionEntriesOptional2HealthStatusObservat ProblemSectionEntriesOptional2 problemSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProblemSectionEntriesOptional2ProblemSectionEntriesOptional2HealthStatusObservation2", "INFO"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL2_HEALTH_STATUS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -262,6 +266,9 @@ public static boolean validateProblemSectionEntriesOptionalTemplateId( ProblemSectionEntriesOptional2 problemSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProblemSectionEntriesOptional2ProblemSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -329,6 +336,8 @@ public static boolean validateProblemSectionEntriesOptionalCodeP( ProblemSectionEntriesOptional2 problemSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionEntriesOptional2ProblemSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -421,6 +430,8 @@ public static boolean validateProblemSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment(context, "ProblemSectionEntriesOptional2ProblemSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -488,6 +499,9 @@ public static boolean validateProblemSectionEntriesOptionalProblemConcern( ProblemSectionEntriesOptional2 problemSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProblemSectionEntriesOptional2ProblemSectionEntriesOptionalProblemConcern", "WARNING"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_PROBLEM_CONCERN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionEntriesOptionalOperations.java index 2e0092ffe9..2d700344d0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,9 @@ public static boolean validateProblemSectionEntriesOptionalTemplateId( ProblemSectionEntriesOptional problemSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProblemSectionEntriesOptionalProblemSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +176,8 @@ public static boolean validateProblemSectionEntriesOptionalCode( ProblemSectionEntriesOptional problemSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionEntriesOptionalProblemSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +245,8 @@ public static boolean validateProblemSectionEntriesOptionalCodeP( ProblemSectionEntriesOptional problemSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionEntriesOptionalProblemSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +314,8 @@ public static boolean validateProblemSectionEntriesOptionalTitle( ProblemSectionEntriesOptional problemSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionEntriesOptionalProblemSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +383,8 @@ public static boolean validateProblemSectionEntriesOptionalText( ProblemSectionEntriesOptional problemSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionEntriesOptionalProblemSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +452,9 @@ public static boolean validateProblemSectionEntriesOptionalProblemConcern( ProblemSectionEntriesOptional problemSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProblemSectionEntriesOptionalProblemSectionEntriesOptionalProblemConcern", "WARNING"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_PROBLEM_CONCERN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionOperations.java index 28a0688733..7da33736fa 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -148,6 +149,8 @@ public static EList getConsolProblemConcerns(ProblemSection p public static boolean validateProblemSectionEntriesOptionalTemplateId(ProblemSection problemSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionProblemSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -213,6 +216,8 @@ public static boolean validateProblemSectionEntriesOptionalTemplateId(ProblemSec public static boolean validateProblemSectionEntriesOptionalCodeP(ProblemSection problemSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionProblemSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -302,6 +307,8 @@ public static boolean validateProblemSectionEntriesOptionalCode(ProblemSection p return true; } + DatatypesUtil.increment(context, "ProblemSectionProblemSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -367,6 +374,8 @@ public static boolean validateProblemSectionEntriesOptionalCode(ProblemSection p public static boolean validateProblemSectionEntriesOptionalText(ProblemSection problemSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionProblemSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -432,6 +441,8 @@ public static boolean validateProblemSectionEntriesOptionalText(ProblemSection p public static boolean validateProblemSectionEntriesOptionalTitle(ProblemSection problemSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionProblemSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -497,6 +508,8 @@ public static boolean validateProblemSectionEntriesOptionalTitle(ProblemSection public static boolean validateProblemSectionEntriesOptionalProblemConcern(ProblemSection problemSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemSectionProblemSectionEntriesOptionalProblemConcern", "ERROR"); + if (VALIDATE_PROBLEM_SECTION_ENTRIES_OPTIONAL_PROBLEM_CONCERN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemStatus2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemStatus2Operations.java index 927903cf0f..436b453b44 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemStatus2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemStatus2Operations.java @@ -7,17 +7,13 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; - +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; - import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; - import org.openhealthtools.mdht.uml.cda.consol.ConsolPackage; import org.openhealthtools.mdht.uml.cda.consol.ProblemStatus2; - import org.openhealthtools.mdht.uml.cda.consol.util.ConsolValidator; - import org.openhealthtools.mdht.uml.cda.consol2.ConsolPlugin; /** @@ -92,6 +88,8 @@ protected ProblemStatus2Operations() { public static boolean validateProblemStatus2TemplateId(ProblemStatus2 problemStatus2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatus2ProblemStatus2TemplateId", "ERROR"); + if (VALIDATE_PROBLEM_STATUS2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -155,6 +153,8 @@ public static boolean validateProblemStatus2TemplateId(ProblemStatus2 problemSta public static boolean validateProblemStatusTextReference(ProblemStatus2 problemStatus2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatus2ProblemStatusTextReference", "INFO"); + if (VALIDATE_PROBLEM_STATUS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -218,6 +218,8 @@ public static boolean validateProblemStatusTextReference(ProblemStatus2 problemS public static boolean validateProblemStatusReferenceValue(ProblemStatus2 problemStatus2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatus2ProblemStatusReferenceValue", "INFO"); + if (VALIDATE_PROBLEM_STATUS_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -281,6 +283,8 @@ public static boolean validateProblemStatusReferenceValue(ProblemStatus2 problem public static boolean validateProblemStatusTextReferenceValue(ProblemStatus2 problemStatus2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatus2ProblemStatusTextReferenceValue", "INFO"); + if (VALIDATE_PROBLEM_STATUS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -345,6 +349,8 @@ public static boolean validateProblemStatusTextReferenceValue(ProblemStatus2 pro public static boolean validateProblemStatusText(ProblemStatus2 problemStatus2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatus2ProblemStatusText", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -410,6 +416,8 @@ public static boolean validateProblemStatusText(ProblemStatus2 problemStatus2, D public static boolean validateProblemStatusValue(ProblemStatus2 problemStatus2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatus2ProblemStatusValue", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemStatusOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemStatusOperations.java index 01f0bd4f8d..ac59f4b121 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemStatusOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProblemStatusOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -99,6 +100,8 @@ protected ProblemStatusOperations() { public static boolean validateProblemStatusTextReference(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusTextReference", "WARNING"); + if (VALIDATE_PROBLEM_STATUS_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateProblemStatusTextReference(ProblemStatus problemSt public static boolean validateProblemStatusReferenceValue(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusReferenceValue", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateProblemStatusReferenceValue(ProblemStatus problemS public static boolean validateProblemStatusTextReferenceValue(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusTextReferenceValue", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateProblemStatusTextReferenceValue(ProblemStatus prob public static boolean validateProblemStatusTemplateId(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusTemplateId", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +361,8 @@ public static boolean validateProblemStatusTemplateId(ProblemStatus problemStatu public static boolean validateProblemStatusClassCode(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusClassCode", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -415,6 +426,8 @@ public static boolean validateProblemStatusClassCode(ProblemStatus problemStatus public static boolean validateProblemStatusMoodCode(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusMoodCode", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -480,6 +493,8 @@ public static boolean validateProblemStatusMoodCode(ProblemStatus problemStatus, public static boolean validateProblemStatusCode(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusCode", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -543,6 +558,8 @@ public static boolean validateProblemStatusCode(ProblemStatus problemStatus, Dia public static boolean validateProblemStatusText(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusText", "WARNING"); + if (VALIDATE_PROBLEM_STATUS_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -607,6 +624,8 @@ public static boolean validateProblemStatusText(ProblemStatus problemStatus, Dia public static boolean validateProblemStatusStatusCode(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusStatusCode", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -672,6 +691,8 @@ public static boolean validateProblemStatusStatusCode(ProblemStatus problemStatu public static boolean validateProblemStatusValue(ProblemStatus problemStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProblemStatusProblemStatusValue", "ERROR"); + if (VALIDATE_PROBLEM_STATUS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityAct2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityAct2Operations.java index 6bd5005529..7dc448619b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityAct2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityAct2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -114,6 +115,8 @@ protected ProcedureActivityAct2Operations() { public static boolean validateProcedureActivityAct2CodeSuggestedCodeSystems( ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityAct2CodeSuggestedCodeSystems", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT2_CODE_SUGGESTED_CODE_SYSTEMS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -180,6 +183,8 @@ public static boolean validateProcedureActivityAct2CodeSuggestedCodeSystems( public static boolean validateProcedureActivityAct2TemplateId(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityAct2TemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateProcedureActivityAct2TemplateId(ProcedureActivityA public static boolean validateProcedureActivityActStatusCodeP(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActStatusCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -281,6 +288,8 @@ public static boolean validateProcedureActivityActStatusCodeP(ProcedureActivityA public static boolean validateProcedureActivityAct2AuthorParticipation(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityAct2AuthorParticipation", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -408,6 +417,8 @@ public static EList getConsolMedicationActivity2s( public static boolean validateProcedureActivityActInstructionsInversion(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActInstructionsInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_INSTRUCTIONS_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -453,6 +464,8 @@ public static boolean validateProcedureActivityActInstructionsInversion(Procedur public static boolean validateProcedureActivityActMoodCode(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -671,6 +684,8 @@ public static boolean validateProcedureActivityActStatusCode(ProcedureActivityAc return true; } + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActStatusCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -736,6 +751,8 @@ public static boolean validateProcedureActivityActStatusCode(ProcedureActivityAc public static boolean validateProcedureActivityActEffectiveTime(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActEffectiveTime", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -801,6 +818,8 @@ public static boolean validateProcedureActivityActEffectiveTime(ProcedureActivit public static boolean validateProcedureActivityActInstructions(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActInstructions", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -866,6 +885,8 @@ public static boolean validateProcedureActivityActInstructions(ProcedureActivity public static boolean validateProcedureActivityActIndication(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActIndication", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -930,6 +951,8 @@ public static boolean validateProcedureActivityActIndication(ProcedureActivityAc public static boolean validateProcedureActivityActMedicationActivity(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActMedicationActivity", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -995,6 +1018,8 @@ public static boolean validateProcedureActivityActMedicationActivity(ProcedureAc public static boolean validateProcedureActivityActPerformer(ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityAct2ProcedureActivityActPerformer", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1059,6 +1084,11 @@ public static boolean validateProcedureActivityActPerformer(ProcedureActivityAct public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationTelecom( ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityAct2ProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_PROCEDURE_ACT_REPRESENTED_ORGANIZATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1130,6 +1160,11 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationAddr( ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityAct2ProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_PROCEDURE_ACT_REPRESENTED_ORGANIZATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1201,6 +1236,10 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityTelecom( ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityAct2ProcedureActivityActProcedureActPerformerProcedureActAssignedEntityTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1272,6 +1311,11 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityRepresentedOrganization( ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityAct2ProcedureActivityActProcedureActPerformerProcedureActAssignedEntityRepresentedOrganization", + "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1343,6 +1387,9 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerAssignedEntity( ProcedureActivityAct2 procedureActivityAct2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityAct2ProcedureActivityActProcedureActPerformerAssignedEntity", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityActOperations.java index 59ae1a015c..acc635f58e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityActOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -121,6 +122,8 @@ protected ProcedureActivityActOperations() { public static boolean validateProcedureActivityActCodeCodeSystems(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActCodeCodeSystems", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_CODE_CODE_SYSTEMS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -186,6 +189,8 @@ public static boolean validateProcedureActivityActCodeCodeSystems(ProcedureActiv public static boolean validateProcedureActivityActCodeOriginalText(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActCodeOriginalText", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_CODE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -251,6 +256,8 @@ public static boolean validateProcedureActivityActCodeOriginalText(ProcedureActi public static boolean validateProcedureActivityActOriginalTextReference(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActOriginalTextReference", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -317,6 +324,8 @@ public static boolean validateProcedureActivityActOriginalTextReference(Procedur public static boolean validateProcedureActivityActOriginalTextReferenceValue( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActOriginalTextReferenceValue", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -404,6 +413,8 @@ public static boolean validateProcedureActivityActOriginalTextReferenceValue( public static boolean validateProcedureActivityActReferenceValue(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActReferenceValue", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -448,6 +459,8 @@ public static boolean validateProcedureActivityActReferenceValue(ProcedureActivi public static boolean validateProcedureActivityActEncounterInversion(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActEncounterInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ENCOUNTER_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -534,6 +547,9 @@ public static boolean validateProcedureActivityActEncounterInversion(ProcedureAc public static boolean validateProcedureActivityActServiceDeliveryLocationTypeCode( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActServiceDeliveryLocationTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_SERVICE_DELIVERY_LOCATION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -600,6 +616,8 @@ public static boolean validateProcedureActivityActServiceDeliveryLocationTypeCod public static boolean validateProcedureActivityActInstructionsInversion(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActInstructionsInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_INSTRUCTIONS_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -666,6 +684,8 @@ public static boolean validateProcedureActivityActInstructionsInversion(Procedur public static boolean validateProcedureActivityActTemplateId(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -731,6 +751,8 @@ public static boolean validateProcedureActivityActTemplateId(ProcedureActivityAc public static boolean validateProcedureActivityActClassCode(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActClassCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -797,6 +819,8 @@ public static boolean validateProcedureActivityActClassCode(ProcedureActivityAct public static boolean validateProcedureActivityActMoodCode(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -861,6 +885,8 @@ public static boolean validateProcedureActivityActMoodCode(ProcedureActivityAct public static boolean validateProcedureActivityActId(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -924,6 +950,8 @@ public static boolean validateProcedureActivityActId(ProcedureActivityAct proced public static boolean validateProcedureActivityActCode(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -989,6 +1017,8 @@ public static boolean validateProcedureActivityActCode(ProcedureActivityAct proc public static boolean validateProcedureActivityActStatusCode(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActStatusCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1054,6 +1084,8 @@ public static boolean validateProcedureActivityActStatusCode(ProcedureActivityAc public static boolean validateProcedureActivityActEffectiveTime(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActEffectiveTime", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1119,6 +1151,8 @@ public static boolean validateProcedureActivityActEffectiveTime(ProcedureActivit public static boolean validateProcedureActivityActPriorityCodeP(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActPriorityCodeP", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PRIORITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1207,6 +1241,8 @@ public static boolean validateProcedureActivityActPriorityCode(ProcedureActivity return true; } + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActPriorityCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PRIORITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1272,6 +1308,8 @@ public static boolean validateProcedureActivityActPriorityCode(ProcedureActivity public static boolean validateProcedureActivityActPerformer(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActPerformer", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1336,6 +1374,8 @@ public static boolean validateProcedureActivityActPerformer(ProcedureActivityAct public static boolean validateProcedureActivityActServiceDeliveryLocation(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActServiceDeliveryLocation", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_SERVICE_DELIVERY_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1402,6 +1442,8 @@ public static boolean validateProcedureActivityActServiceDeliveryLocation(Proced public static boolean validateProcedureActivityActInstructions(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActInstructions", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1467,6 +1509,8 @@ public static boolean validateProcedureActivityActInstructions(ProcedureActivity public static boolean validateProcedureActivityActIndication(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActIndication", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1531,6 +1575,8 @@ public static boolean validateProcedureActivityActIndication(ProcedureActivityAc public static boolean validateProcedureActivityActMedicationActivity(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActMedicationActivity", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1596,6 +1642,8 @@ public static boolean validateProcedureActivityActMedicationActivity(ProcedureAc public static boolean validateProcedureActivityActEntryRelationship(ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActEntryRelationship", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1661,6 +1709,11 @@ public static boolean validateProcedureActivityActEntryRelationship(ProcedureAct public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationId( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityActProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationId", + "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_PROCEDURE_ACT_REPRESENTED_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1732,6 +1785,11 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationName( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityActProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationName", + "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_PROCEDURE_ACT_REPRESENTED_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1803,6 +1861,11 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationTelecom( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityActProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_PROCEDURE_ACT_REPRESENTED_ORGANIZATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1874,6 +1937,11 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationAddr( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityActProcedureActivityActProcedureActPerformerProcedureActAssignedEntityProcedureActRepresentedOrganizationAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_PROCEDURE_ACT_REPRESENTED_ORGANIZATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1945,6 +2013,10 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityId( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActProcedureActPerformerProcedureActAssignedEntityId", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2016,6 +2088,10 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityAddr( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActProcedureActPerformerProcedureActAssignedEntityAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2087,6 +2163,10 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityTelecom( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActProcedureActPerformerProcedureActAssignedEntityTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2158,6 +2238,11 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerProcedureActAssignedEntityRepresentedOrganization( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityActProcedureActivityActProcedureActPerformerProcedureActAssignedEntityRepresentedOrganization", + "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_PROCEDURE_ACT_ASSIGNED_ENTITY_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2229,6 +2314,9 @@ public static boolean validateProcedureActivityActProcedureActPerformerProcedure public static boolean validateProcedureActivityActProcedureActPerformerAssignedEntity( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActProcedureActPerformerAssignedEntity", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_PROCEDURE_ACT_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2300,6 +2388,10 @@ public static boolean validateProcedureActivityActProcedureActPerformerAssignedE public static boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterClassCode( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActEntryRelationshipProcedureActEncounterClassCode", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ENTRY_RELATIONSHIP_PROCEDURE_ACT_ENCOUNTER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2371,6 +2463,9 @@ public static boolean validateProcedureActivityActEntryRelationshipProcedureActE public static boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterMoodCode( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActEntryRelationshipProcedureActEncounterMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ENTRY_RELATIONSHIP_PROCEDURE_ACT_ENCOUNTER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2442,6 +2537,9 @@ public static boolean validateProcedureActivityActEntryRelationshipProcedureActE public static boolean validateProcedureActivityActEntryRelationshipProcedureActEncounterId( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActEntryRelationshipProcedureActEncounterId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ENTRY_RELATIONSHIP_PROCEDURE_ACT_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2513,6 +2611,9 @@ public static boolean validateProcedureActivityActEntryRelationshipProcedureActE public static boolean validateProcedureActivityActEntryRelationshipInversionInd( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActEntryRelationshipInversionInd", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ENTRY_RELATIONSHIP_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2584,6 +2685,8 @@ public static boolean validateProcedureActivityActEntryRelationshipInversionInd( public static boolean validateProcedureActivityActEntryRelationshipTypeCode( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityActProcedureActivityActEntryRelationshipTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2655,6 +2758,9 @@ public static boolean validateProcedureActivityActEntryRelationshipTypeCode( public static boolean validateProcedureActivityActEntryRelationshipProcedureActEncounter( ProcedureActivityAct procedureActivityAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityActProcedureActivityActEntryRelationshipProcedureActEncounter", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_ACT_ENTRY_RELATIONSHIP_PROCEDURE_ACT_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityObservation2Operations.java index aea2bd2abd..8a683d1cd2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityObservation2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -120,6 +121,9 @@ public static boolean validateProcedureActivityObservation2CodeSuggestedCodeSyst ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservation2CodeSuggestedCodeSystems", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION2_CODE_SUGGESTED_CODE_SYSTEMS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -187,6 +191,9 @@ public static boolean validateProcedureActivityObservation2TemplateId( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservation2TemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +240,9 @@ public static boolean validateProcedureActivityObservationStatusCodeP( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationStatusCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +303,9 @@ public static boolean validateProcedureActivityObservation2AuthorParticipation( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -339,6 +352,9 @@ public static boolean validateProcedureActivityObservation2ReactionObservation2( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservation2ReactionObservation2", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION2_REACTION_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -385,6 +401,9 @@ public static boolean validateProcedureActivityObservation2ANYNullFlavor( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservation2ANYNullFlavor", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION2_ANY_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -548,6 +567,9 @@ public static boolean validateProcedureActivityObservationInstructionsInversion( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationInstructionsInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_INSTRUCTIONS_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -594,6 +616,9 @@ public static boolean validateProcedureActivityObservationCodeCodeSystems( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationCodeCodeSystems", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_CODE_CODE_SYSTEMS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -640,6 +665,9 @@ public static boolean validateProcedureActivityObservationTargetSiteCodeP( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationTargetSiteCodeP", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_TARGET_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -710,6 +738,9 @@ public static boolean validateProcedureActivityObservationTargetSiteCode( return true; } + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationTargetSiteCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -756,6 +787,8 @@ public static boolean validateProcedureActivityObservationMoodCode( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservation2ProcedureActivityObservationMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1105,6 +1138,9 @@ public static boolean validateProcedureActivityObservationStatusCode( return true; } + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationStatusCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1172,6 +1208,8 @@ public static boolean validateProcedureActivityObservationValue( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservation2ProcedureActivityObservationValue", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1239,6 +1277,8 @@ public static boolean validateProcedureActivityObservationIndication( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservation2ProcedureActivityObservationIndication", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1306,6 +1346,9 @@ public static boolean validateProcedureActivityObservationMedicationActivity( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationMedicationActivity", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1373,6 +1416,9 @@ public static boolean validateProcedureActivityObservationInstructions( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationInstructions", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1440,6 +1486,9 @@ public static boolean validateProcedureActivityObservationPerformer( ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservation2ProcedureActivityObservationPerformer", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1507,6 +1556,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservation2ProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1579,6 +1633,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservation2ProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1651,6 +1710,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation2 procedureActivityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservation2ProcedureActivityObservationProcedureObservationPerformerAssignedEntity", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityObservationOperations.java index 64474ad3b9..9d484111c6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityObservationOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -147,6 +148,9 @@ public static boolean validateProcedureActivityObservationCodeCodeSystems( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationCodeCodeSystems", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_CODE_CODE_SYSTEMS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -214,6 +218,9 @@ public static boolean validateProcedureActivityObservationCodeOriginalText( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationCodeOriginalText", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_CODE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -281,6 +288,9 @@ public static boolean validateProcedureActivityObservationOriginalTextReference( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationOriginalTextReference", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -348,6 +358,9 @@ public static boolean validateProcedureActivityObservationOriginalTextReferenceV ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationOriginalTextReferenceValue", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -415,6 +428,9 @@ public static boolean validateProcedureActivityObservationReferenceValue( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationReferenceValue", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -482,6 +498,9 @@ public static boolean validateProcedureActivityObservationEncounterInversion( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationEncounterInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ENCOUNTER_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -549,6 +568,10 @@ public static boolean validateProcedureActivityObservationServiceDeliveryLocatio ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationServiceDeliveryLocationTypeCode", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_SERVICE_DELIVERY_LOCATION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -616,6 +639,9 @@ public static boolean validateProcedureActivityObservationInstructionsInversion( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationInstructionsInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_INSTRUCTIONS_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -683,6 +709,8 @@ public static boolean validateProcedureActivityObservationTemplateId( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -750,6 +778,8 @@ public static boolean validateProcedureActivityObservationClassCode( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationClassCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -819,6 +849,8 @@ public static boolean validateProcedureActivityObservationMoodCode( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -886,6 +918,8 @@ public static boolean validateProcedureActivityObservationId( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -951,6 +985,8 @@ public static boolean validateProcedureActivityObservationCode( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1019,6 +1055,8 @@ public static boolean validateProcedureActivityObservationStatusCode( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationStatusCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1065,6 +1103,8 @@ public static boolean validateProcedureActivityObservationValue( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationValue", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1132,6 +1172,9 @@ public static boolean validateProcedureActivityObservationEffectiveTime( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationEffectiveTime", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1199,6 +1242,9 @@ public static boolean validateProcedureActivityObservationPriorityCodeP( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationPriorityCodeP", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PRIORITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1312,6 +1358,9 @@ public static boolean validateProcedureActivityObservationPriorityCode( return true; } + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationPriorityCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PRIORITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1379,6 +1428,8 @@ public static boolean validateProcedureActivityObservationMethodCode( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationMethodCode", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1446,6 +1497,9 @@ public static boolean validateProcedureActivityObservationTargetSiteCodeP( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationTargetSiteCodeP", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_TARGET_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1539,6 +1593,9 @@ public static boolean validateProcedureActivityObservationTargetSiteCode( return true; } + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationTargetSiteCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1606,6 +1663,9 @@ public static boolean validateProcedureActivityObservationPerformer( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationPerformer", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1673,6 +1733,9 @@ public static boolean validateProcedureActivityObservationServiceDeliveryLocatio ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationServiceDeliveryLocation", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_SERVICE_DELIVERY_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1740,6 +1803,9 @@ public static boolean validateProcedureActivityObservationInstructions( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationInstructions", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_INSTRUCTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1807,6 +1873,8 @@ public static boolean validateProcedureActivityObservationIndication( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityObservationProcedureActivityObservationIndication", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1874,6 +1942,9 @@ public static boolean validateProcedureActivityObservationMedicationActivity( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationMedicationActivity", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1941,6 +2012,9 @@ public static boolean validateProcedureActivityObservationEntryRelationship( ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationEntryRelationship", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2008,6 +2082,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityProcedureObservationRepresentedOrganizationId", + "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_PROCEDURE_OBSERVATION_REPRESENTED_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2080,6 +2159,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityProcedureObservationRepresentedOrganizationName", + "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_PROCEDURE_OBSERVATION_REPRESENTED_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2152,6 +2236,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityProcedureObservationRepresentedOrganizationTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_PROCEDURE_OBSERVATION_REPRESENTED_ORGANIZATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2224,6 +2313,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityProcedureObservationRepresentedOrganizationAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_PROCEDURE_OBSERVATION_REPRESENTED_ORGANIZATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2296,6 +2390,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityId", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2368,6 +2467,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2440,6 +2544,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2512,6 +2621,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerProcedureObservationAssignedEntityRepresentedOrganization", + "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_PROCEDURE_OBSERVATION_ASSIGNED_ENTITY_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2584,6 +2698,11 @@ public static boolean validateProcedureActivityObservationProcedureObservationPe ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationProcedureObservationPerformerAssignedEntity", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_PROCEDURE_OBSERVATION_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2656,6 +2775,11 @@ public static boolean validateProcedureActivityObservationEntryRelationshipProce ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationEntryRelationshipProcedureObservationEncounterClassCode", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ENTRY_RELATIONSHIP_PROCEDURE_OBSERVATION_ENCOUNTER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2728,6 +2852,11 @@ public static boolean validateProcedureActivityObservationEntryRelationshipProce ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationEntryRelationshipProcedureObservationEncounterMoodCode", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ENTRY_RELATIONSHIP_PROCEDURE_OBSERVATION_ENCOUNTER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2800,6 +2929,11 @@ public static boolean validateProcedureActivityObservationEntryRelationshipProce ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationEntryRelationshipProcedureObservationEncounterId", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ENTRY_RELATIONSHIP_PROCEDURE_OBSERVATION_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2872,6 +3006,9 @@ public static boolean validateProcedureActivityObservationEntryRelationshipInver ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationEntryRelationshipInversionInd", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ENTRY_RELATIONSHIP_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2944,6 +3081,9 @@ public static boolean validateProcedureActivityObservationEntryRelationshipTypeC ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityObservationProcedureActivityObservationEntryRelationshipTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3016,6 +3156,11 @@ public static boolean validateProcedureActivityObservationEntryRelationshipProce ProcedureActivityObservation procedureActivityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityObservationProcedureActivityObservationEntryRelationshipProcedureObservationEncounter", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_OBSERVATION_ENTRY_RELATIONSHIP_PROCEDURE_OBSERVATION_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityProcedure2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityProcedure2Operations.java index d837a6164c..1d62be09af 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityProcedure2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityProcedure2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -120,6 +121,9 @@ public static boolean validateProcedureActivityProcedure2CodeSuggestedCodeSystem ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedure2CodeSuggestedCodeSystems", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE2_CODE_SUGGESTED_CODE_SYSTEMS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -187,6 +191,8 @@ public static boolean validateProcedureActivityProcedure2TemplateId( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedure2ProcedureActivityProcedure2TemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +239,8 @@ public static boolean validateProcedureActivityProcedureStatusCodeP( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedure2ProcedureActivityProcedureStatusCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +301,9 @@ public static boolean validateProcedureActivityProcedure2AuthorParticipation( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedure2AuthorParticipation", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -339,6 +350,9 @@ public static boolean validateProcedureActivityProcedure2ReactionObservation2( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedure2ReactionObservation2", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE2_REACTION_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -496,6 +510,9 @@ public static boolean validateProcedureActivityProcedureInstructionsInversion( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedureInstructionsInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_INSTRUCTIONS_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -542,6 +559,9 @@ public static boolean validateProcedureActivityProcedureCodeCodeSystems( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedureCodeCodeSystems", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_CODE_CODE_SYSTEMS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -588,6 +608,9 @@ public static boolean validateProcedureActivityProcedureServiceDeliveryLocationT ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedureServiceDeliveryLocationTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_SERVICE_DELIVERY_LOCATION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -634,6 +657,9 @@ public static boolean validateProcedureActivityProcedureTargetSiteCodeP( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedureTargetSiteCodeP", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_TARGET_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -702,6 +728,9 @@ public static boolean validateProcedureActivityProcedureTargetSiteCode( return true; } + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedureTargetSiteCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -748,6 +777,8 @@ public static boolean validateProcedureActivityProcedureMoodCode( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedure2ProcedureActivityProcedureMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1096,6 +1127,8 @@ public static boolean validateProcedureActivityProcedureStatusCode( return true; } + DatatypesUtil.increment(context, "ProcedureActivityProcedure2ProcedureActivityProcedureStatusCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1163,6 +1196,8 @@ public static boolean validateProcedureActivityProcedureIndication( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedure2ProcedureActivityProcedureIndication", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1230,6 +1265,9 @@ public static boolean validateProcedureActivityProcedureMedicationActivity( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedureMedicationActivity", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1297,6 +1335,9 @@ public static boolean validateProcedureActivityProcedurePatientInstruction( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedurePatientInstruction", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PATIENT_INSTRUCTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1364,6 +1405,8 @@ public static boolean validateProcedureActivityProcedureSpecimen( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedure2ProcedureActivityProcedureSpecimen", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_SPECIMEN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1431,6 +1474,8 @@ public static boolean validateProcedureActivityProcedurePerformer( ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedure2ProcedureActivityProcedurePerformer", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1498,6 +1543,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedure2ProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1570,6 +1620,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedure2ProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1642,6 +1697,10 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure2 procedureActivityProcedure2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedure2ProcedureActivityProcedureProcedureActivityPerformerAssignedEntity", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityProcedureOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityProcedureOperations.java index 8142128bbf..f28c2e6f0e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityProcedureOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureActivityProcedureOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -153,6 +154,9 @@ public static boolean validateProcedureActivityProcedureCodeCodeSystems( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureCodeCodeSystems", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_CODE_CODE_SYSTEMS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -220,6 +224,9 @@ public static boolean validateProcedureActivityProcedureCodeOriginalText( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureCodeOriginalText", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_CODE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,9 @@ public static boolean validateProcedureActivityProcedureOriginalTextReference( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureOriginalTextReference", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +364,9 @@ public static boolean validateProcedureActivityProcedureOriginalTextReferenceVal ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureOriginalTextReferenceValue", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -421,6 +434,8 @@ public static boolean validateProcedureActivityProcedureReferenceValue( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureReferenceValue", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -488,6 +503,9 @@ public static boolean validateProcedureActivityProcedureEncounterInversion( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureEncounterInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ENCOUNTER_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -555,6 +573,9 @@ public static boolean validateProcedureActivityProcedureProductInstanceTypeCode( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureProductInstanceTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PRODUCT_INSTANCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -622,6 +643,9 @@ public static boolean validateProcedureActivityProcedureServiceDeliveryLocationT ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureServiceDeliveryLocationTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_SERVICE_DELIVERY_LOCATION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -689,6 +713,9 @@ public static boolean validateProcedureActivityProcedureInstructionsInversion( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureInstructionsInversion", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_INSTRUCTIONS_INVERSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -756,6 +783,8 @@ public static boolean validateProcedureActivityProcedureTemplateId( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -823,6 +852,8 @@ public static boolean validateProcedureActivityProcedureClassCode( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureClassCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -892,6 +923,8 @@ public static boolean validateProcedureActivityProcedureMoodCode( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -957,6 +990,8 @@ public static boolean validateProcedureActivityProcedureMoodCode( public static boolean validateProcedureActivityProcedureId(ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureId", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1021,6 +1056,8 @@ public static boolean validateProcedureActivityProcedureId(ProcedureActivityProc public static boolean validateProcedureActivityProcedureCode(ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1088,6 +1125,8 @@ public static boolean validateProcedureActivityProcedureStatusCode( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureStatusCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1155,6 +1194,9 @@ public static boolean validateProcedureActivityProcedureEffectiveTime( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureEffectiveTime", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1222,6 +1264,8 @@ public static boolean validateProcedureActivityProcedurePriorityCodeP( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedurePriorityCodeP", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PRIORITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1313,6 +1357,8 @@ public static boolean validateProcedureActivityProcedurePriorityCode( return true; } + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedurePriorityCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PRIORITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1380,6 +1426,8 @@ public static boolean validateProcedureActivityProcedureMethodCode( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureMethodCode", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1447,6 +1495,9 @@ public static boolean validateProcedureActivityProcedureTargetSiteCodeP( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureTargetSiteCodeP", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_TARGET_SITE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1538,6 +1589,8 @@ public static boolean validateProcedureActivityProcedureTargetSiteCode( return true; } + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureTargetSiteCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1605,6 +1658,8 @@ public static boolean validateProcedureActivityProcedureIndication( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureIndication", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1672,6 +1727,8 @@ public static boolean validateProcedureActivityProcedureSpecimen( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureSpecimen", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_SPECIMEN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1738,6 +1795,9 @@ public static boolean validateProcedureActivityProcedureServiceDeliveryLocation( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureServiceDeliveryLocation", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_SERVICE_DELIVERY_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1805,6 +1865,8 @@ public static boolean validateProcedureActivityProcedurePerformer( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedurePerformer", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1872,6 +1934,9 @@ public static boolean validateProcedureActivityProcedureMedicationActivity( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureMedicationActivity", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1939,6 +2004,9 @@ public static boolean validateProcedureActivityProcedurePatientInstruction( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedurePatientInstruction", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PATIENT_INSTRUCTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2006,6 +2074,8 @@ public static boolean validateProcedureActivityProcedureProductInstance( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureActivityProcedureProcedureActivityProcedureProductInstance", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PRODUCT_INSTANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2073,6 +2143,9 @@ public static boolean validateProcedureActivityProcedureEntryRelationship( ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureEntryRelationship", "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2140,6 +2213,9 @@ public static boolean validateProcedureActivityProcedureProcedureSpecimenSpecime ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureProcedureSpecimenSpecimenRole", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_SPECIMEN_SPECIMEN_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2212,6 +2288,9 @@ public static boolean validateProcedureActivityProcedureProcedureSpecimenSpecime ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureProcedureSpecimenSpecimentRoleId", "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_SPECIMEN_SPECIMENT_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2284,6 +2363,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityProcedureActivityRepresentedOrganizationId", + "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_PROCEDURE_ACTIVITY_REPRESENTED_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2356,6 +2440,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityProcedureActivityRepresentedOrganizationName", + "INFO"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_PROCEDURE_ACTIVITY_REPRESENTED_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2428,6 +2517,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityProcedureActivityRepresentedOrganizationTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_PROCEDURE_ACTIVITY_REPRESENTED_ORGANIZATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2500,6 +2594,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityProcedureActivityRepresentedOrganizationAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_PROCEDURE_ACTIVITY_REPRESENTED_ORGANIZATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2572,6 +2671,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityId", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2644,6 +2748,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityAddr", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2716,6 +2825,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityTelecom", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2788,6 +2902,11 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerProcedureActivityAssignedEntityRepresentedOrganization", + "WARNING"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_PROCEDURE_ACTIVITY_ASSIGNED_ENTITY_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2860,6 +2979,10 @@ public static boolean validateProcedureActivityProcedureProcedureActivityPerform ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureProcedureActivityPerformerAssignedEntity", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_PROCEDURE_ACTIVITY_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2932,6 +3055,11 @@ public static boolean validateProcedureActivityProcedureEntryRelationshipProcedu ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureEntryRelationshipProcedureActivityEncounterClassCode", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ENTRY_RELATIONSHIP_PROCEDURE_ACTIVITY_ENCOUNTER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3004,6 +3132,11 @@ public static boolean validateProcedureActivityProcedureEntryRelationshipProcedu ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureEntryRelationshipProcedureActivityEncounterMoodCode", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ENTRY_RELATIONSHIP_PROCEDURE_ACTIVITY_ENCOUNTER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3076,6 +3209,11 @@ public static boolean validateProcedureActivityProcedureEntryRelationshipProcedu ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureActivityProcedureProcedureActivityProcedureEntryRelationshipProcedureActivityEncounterId", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ENTRY_RELATIONSHIP_PROCEDURE_ACTIVITY_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3148,6 +3286,9 @@ public static boolean validateProcedureActivityProcedureEntryRelationshipInversi ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureEntryRelationshipInversionInd", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ENTRY_RELATIONSHIP_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3220,6 +3361,9 @@ public static boolean validateProcedureActivityProcedureEntryRelationshipTypeCod ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureEntryRelationshipTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3292,6 +3436,10 @@ public static boolean validateProcedureActivityProcedureEntryRelationshipProcedu ProcedureActivityProcedure procedureActivityProcedure, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureActivityProcedureProcedureActivityProcedureEntryRelationshipProcedureActivityEncounter", + "ERROR"); + if (VALIDATE_PROCEDURE_ACTIVITY_PROCEDURE_ENTRY_RELATIONSHIP_PROCEDURE_ACTIVITY_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureContextOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureContextOperations.java index 16c2c070ff..ddfa63ba12 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureContextOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureContextOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected ProcedureContextOperations() { public static boolean validateProcedureContextEffectiveTimeValue(ProcedureContext procedureContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureContextProcedureContextEffectiveTimeValue", "ERROR"); + if (VALIDATE_PROCEDURE_CONTEXT_EFFECTIVE_TIME_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateProcedureContextEffectiveTimeValue(ProcedureContex public static boolean validateProcedureContextTemplateId(ProcedureContext procedureContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureContextProcedureContextTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_CONTEXT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -223,6 +228,8 @@ public static boolean validateProcedureContextTemplateId(ProcedureContext proced public static boolean validateProcedureContextClassCode(ProcedureContext procedureContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureContextProcedureContextClassCode", "ERROR"); + if (VALIDATE_PROCEDURE_CONTEXT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -286,6 +293,8 @@ public static boolean validateProcedureContextClassCode(ProcedureContext procedu public static boolean validateProcedureContextMoodCode(ProcedureContext procedureContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureContextProcedureContextMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_CONTEXT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -349,6 +358,8 @@ public static boolean validateProcedureContextMoodCode(ProcedureContext procedur public static boolean validateProcedureContextCode(ProcedureContext procedureContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureContextProcedureContextCode", "ERROR"); + if (VALIDATE_PROCEDURE_CONTEXT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -412,6 +423,8 @@ public static boolean validateProcedureContextCode(ProcedureContext procedureCon public static boolean validateProcedureContextEffectiveTime(ProcedureContext procedureContext, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureContextProcedureContextEffectiveTime", "WARNING"); + if (VALIDATE_PROCEDURE_CONTEXT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureDescriptionSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureDescriptionSectionOperations.java index 75526b134a..fdea692fda 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureDescriptionSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureDescriptionSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ public static boolean validateProcedureDescriptionSectionTemplateId( ProcedureDescriptionSection procedureDescriptionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDescriptionSectionProcedureDescriptionSectionTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_DESCRIPTION_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateProcedureDescriptionSectionCode( ProcedureDescriptionSection procedureDescriptionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDescriptionSectionProcedureDescriptionSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_DESCRIPTION_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validateProcedureDescriptionSectionCodeP( ProcedureDescriptionSection procedureDescriptionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDescriptionSectionProcedureDescriptionSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_DESCRIPTION_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validateProcedureDescriptionSectionText( ProcedureDescriptionSection procedureDescriptionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDescriptionSectionProcedureDescriptionSectionText", "ERROR"); + if (VALIDATE_PROCEDURE_DESCRIPTION_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -362,6 +371,8 @@ public static boolean validateProcedureDescriptionSectionTitle( ProcedureDescriptionSection procedureDescriptionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDescriptionSectionProcedureDescriptionSectionTitle", "ERROR"); + if (VALIDATE_PROCEDURE_DESCRIPTION_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureDispositionSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureDispositionSectionOperations.java index 2bc514e1eb..f509d1f20e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureDispositionSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureDispositionSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ public static boolean validateProcedureDispositionSectionTemplateId( ProcedureDispositionSection procedureDispositionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDispositionSectionProcedureDispositionSectionTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_DISPOSITION_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateProcedureDispositionSectionCode( ProcedureDispositionSection procedureDispositionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDispositionSectionProcedureDispositionSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_DISPOSITION_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validateProcedureDispositionSectionCodeP( ProcedureDispositionSection procedureDispositionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDispositionSectionProcedureDispositionSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_DISPOSITION_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -296,6 +303,8 @@ public static boolean validateProcedureDispositionSectionText( ProcedureDispositionSection procedureDispositionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDispositionSectionProcedureDispositionSectionText", "ERROR"); + if (VALIDATE_PROCEDURE_DISPOSITION_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -362,6 +371,8 @@ public static boolean validateProcedureDispositionSectionTitle( ProcedureDispositionSection procedureDispositionSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureDispositionSectionProcedureDispositionSectionTitle", "ERROR"); + if (VALIDATE_PROCEDURE_DISPOSITION_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureEstimatedBloodLossSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureEstimatedBloodLossSectionOperations.java index ca9fdd643f..a343549b65 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureEstimatedBloodLossSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureEstimatedBloodLossSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validateProcedureEstimatedBloodLossSectionTemplateId( ProcedureEstimatedBloodLossSection procedureEstimatedBloodLossSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureEstimatedBloodLossSectionProcedureEstimatedBloodLossSectionTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateProcedureEstimatedBloodLossSectionCode( ProcedureEstimatedBloodLossSection procedureEstimatedBloodLossSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureEstimatedBloodLossSectionProcedureEstimatedBloodLossSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,9 @@ public static boolean validateProcedureEstimatedBloodLossSectionCodeP( ProcedureEstimatedBloodLossSection procedureEstimatedBloodLossSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureEstimatedBloodLossSectionProcedureEstimatedBloodLossSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +308,9 @@ public static boolean validateProcedureEstimatedBloodLossSectionText( ProcedureEstimatedBloodLossSection procedureEstimatedBloodLossSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureEstimatedBloodLossSectionProcedureEstimatedBloodLossSectionText", "ERROR"); + if (VALIDATE_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +378,9 @@ public static boolean validateProcedureEstimatedBloodLossSectionTitle( ProcedureEstimatedBloodLossSection procedureEstimatedBloodLossSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureEstimatedBloodLossSectionProcedureEstimatedBloodLossSectionTitle", "ERROR"); + if (VALIDATE_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureFindingsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureFindingsSection2Operations.java index 359e4eca42..37b12e5d72 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureFindingsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureFindingsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ public static boolean validateProcedureFindingsSection2TemplateId( ProcedureFindingsSection2 procedureFindingsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSection2ProcedureFindingsSection2TemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -211,6 +214,8 @@ public static EList getConsolProblemObservation2s( public static boolean validateProcedureFindingsSectionCodeP(ProcedureFindingsSection2 procedureFindingsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSection2ProcedureFindingsSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +303,8 @@ public static boolean validateProcedureFindingsSectionCode(ProcedureFindingsSect return true; } + DatatypesUtil.increment(context, "ProcedureFindingsSection2ProcedureFindingsSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -363,6 +370,8 @@ public static boolean validateProcedureFindingsSectionProblemObservation( ProcedureFindingsSection2 procedureFindingsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSection2ProcedureFindingsSectionProblemObservation", "INFO"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureFindingsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureFindingsSectionOperations.java index 2fb9ed3e8f..912d1bed18 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureFindingsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureFindingsSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ protected ProcedureFindingsSectionOperations() { public static boolean validateProcedureFindingsSectionTemplateId(ProcedureFindingsSection procedureFindingsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSectionProcedureFindingsSectionTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateProcedureFindingsSectionTemplateId(ProcedureFindin public static boolean validateProcedureFindingsSectionCode(ProcedureFindingsSection procedureFindingsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSectionProcedureFindingsSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +238,8 @@ public static boolean validateProcedureFindingsSectionCode(ProcedureFindingsSect public static boolean validateProcedureFindingsSectionCodeP(ProcedureFindingsSection procedureFindingsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSectionProcedureFindingsSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -276,6 +283,8 @@ public static boolean validateProcedureFindingsSectionCodeP(ProcedureFindingsSec public static boolean validateProcedureFindingsSectionText(ProcedureFindingsSection procedureFindingsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSectionProcedureFindingsSectionText", "ERROR"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -361,6 +370,8 @@ public static boolean validateProcedureFindingsSectionText(ProcedureFindingsSect public static boolean validateProcedureFindingsSectionTitle(ProcedureFindingsSection procedureFindingsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSectionProcedureFindingsSectionTitle", "ERROR"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -426,6 +437,8 @@ public static boolean validateProcedureFindingsSectionProblemObservation( ProcedureFindingsSection procedureFindingsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureFindingsSectionProcedureFindingsSectionProblemObservation", "INFO"); + if (VALIDATE_PROCEDURE_FINDINGS_SECTION_PROBLEM_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureImplantsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureImplantsSectionOperations.java index 72a929f7df..84f6847d7f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureImplantsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureImplantsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected ProcedureImplantsSectionOperations() { public static boolean validateProcedureImplantsSectionTemplateId(ProcedureImplantsSection procedureImplantsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureImplantsSectionProcedureImplantsSectionTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_IMPLANTS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateProcedureImplantsSectionTemplateId(ProcedureImplan public static boolean validateProcedureImplantsSectionCode(ProcedureImplantsSection procedureImplantsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureImplantsSectionProcedureImplantsSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_IMPLANTS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateProcedureImplantsSectionCode(ProcedureImplantsSect public static boolean validateProcedureImplantsSectionCodeP(ProcedureImplantsSection procedureImplantsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureImplantsSectionProcedureImplantsSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_IMPLANTS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateProcedureImplantsSectionCodeP(ProcedureImplantsSec public static boolean validateProcedureImplantsSectionText(ProcedureImplantsSection procedureImplantsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureImplantsSectionProcedureImplantsSectionText", "ERROR"); + if (VALIDATE_PROCEDURE_IMPLANTS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +362,8 @@ public static boolean validateProcedureImplantsSectionText(ProcedureImplantsSect public static boolean validateProcedureImplantsSectionTitle(ProcedureImplantsSection procedureImplantsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureImplantsSectionProcedureImplantsSectionTitle", "ERROR"); + if (VALIDATE_PROCEDURE_IMPLANTS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureIndicationsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureIndicationsSection2Operations.java index f3ea13bb70..0539e1604f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureIndicationsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureIndicationsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ public static boolean validateProcedureIndicationsSection2TemplateId( ProcedureIndicationsSection2 procedureIndicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSection2ProcedureIndicationsSection2TemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -210,6 +213,8 @@ public static boolean validateProcedureIndicationsSectionCodeP( ProcedureIndicationsSection2 procedureIndicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSection2ProcedureIndicationsSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -300,6 +305,8 @@ public static boolean validateProcedureIndicationsSectionCode( return true; } + DatatypesUtil.increment(context, "ProcedureIndicationsSection2ProcedureIndicationsSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -366,6 +373,8 @@ public static boolean validateProcedureIndicationsSectionIndication( ProcedureIndicationsSection2 procedureIndicationsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSection2ProcedureIndicationsSectionIndication", "INFO"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureIndicationsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureIndicationsSectionOperations.java index 782fbff18f..bb75b0135f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureIndicationsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureIndicationsSectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,8 @@ public static boolean validateProcedureIndicationsSectionTemplateId( ProcedureIndicationsSection procedureIndicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSectionProcedureIndicationsSectionTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +175,8 @@ public static boolean validateProcedureIndicationsSectionCode( ProcedureIndicationsSection procedureIndicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSectionProcedureIndicationsSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +243,8 @@ public static boolean validateProcedureIndicationsSectionCodeP( ProcedureIndicationsSection procedureIndicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSectionProcedureIndicationsSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -283,6 +290,8 @@ public static boolean validateProcedureIndicationsSectionText( ProcedureIndicationsSection procedureIndicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSectionProcedureIndicationsSectionText", "ERROR"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -370,6 +379,8 @@ public static boolean validateProcedureIndicationsSectionTitle( ProcedureIndicationsSection procedureIndicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSectionProcedureIndicationsSectionTitle", "ERROR"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -436,6 +447,8 @@ public static boolean validateProcedureIndicationsSectionIndication( ProcedureIndicationsSection procedureIndicationsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureIndicationsSectionProcedureIndicationsSectionIndication", "INFO"); + if (VALIDATE_PROCEDURE_INDICATIONS_SECTION_INDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureNote2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureNote2Operations.java index 035a94504e..7cbf8087e5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureNote2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureNote2Operations.java @@ -11,6 +11,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -216,6 +217,11 @@ protected ProcedureNote2Operations() { public static boolean validateProcedureNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureNote2ProcedureNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_HAS_AN_ASSEMENT_AND_PLAN_SECTION2_OR_BOTH_ASSEMENT_SECTION_AND_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -282,6 +288,11 @@ public static boolean validateProcedureNote2HasAnAssementAndPlanSection2OrBothAs public static boolean validateProcedureNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureNote2ProcedureNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOES_NOT_HAVE_ASSEMENT_AND_PLAN_SECTION2_WHEN_ASSEMENT_OR_PLAN_OF_TREATMENT2_ARE_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -348,6 +359,10 @@ public static boolean validateProcedureNote2DoesNotHaveAssementAndPlanSection2Wh public static boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReasonForVisitSection( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DoesNotHaveChiefComplaintWithChiefComplaintOrReasonForVisitSection", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOES_NOT_HAVE_CHIEF_COMPLAINT_WITH_CHIEF_COMPLAINT_OR_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -414,6 +429,8 @@ public static boolean validateProcedureNote2DoesNotHaveChiefComplaintWithChiefCo public static boolean validateProcedureNote2CodeP(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2CodeP", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -500,6 +517,8 @@ public static boolean validateProcedureNote2Code(ProcedureNote2 procedureNote2, return true; } + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2Code", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -563,6 +582,8 @@ public static boolean validateProcedureNote2Code(ProcedureNote2 procedureNote2, public static boolean validateProcedureNote2Participant(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2Participant", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -626,6 +647,8 @@ public static boolean validateProcedureNote2Participant(ProcedureNote2 procedure public static boolean validateProcedureNote2DocumentationOf(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2DocumentationOf", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -689,6 +712,8 @@ public static boolean validateProcedureNote2DocumentationOf(ProcedureNote2 proce public static boolean validateProcedureNote2Authorization(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2Authorization", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_AUTHORIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -752,6 +777,8 @@ public static boolean validateProcedureNote2Authorization(ProcedureNote2 procedu public static boolean validateProcedureNote2ComponentOf(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ComponentOf", "WARNING"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -815,6 +842,8 @@ public static boolean validateProcedureNote2ComponentOf(ProcedureNote2 procedure public static boolean validateProcedureNote2ComplicationsSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ComplicationsSection2", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_COMPLICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -880,6 +909,8 @@ public static boolean validateProcedureNote2ComplicationsSection2(ProcedureNote2 public static boolean validateProcedureNote2ProcedureDescriptionSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ProcedureDescriptionSection", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_PROCEDURE_DESCRIPTION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -945,6 +976,8 @@ public static boolean validateProcedureNote2ProcedureDescriptionSection(Procedur public static boolean validateProcedureNote2ProcedureIndicationsSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ProcedureIndicationsSection2", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_PROCEDURE_INDICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1010,6 +1043,8 @@ public static boolean validateProcedureNote2ProcedureIndicationsSection2(Procedu public static boolean validateProcedureNote2PostprocedureDiagnosisSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2PostprocedureDiagnosisSection2", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_POSTPROCEDURE_DIAGNOSIS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1075,6 +1110,8 @@ public static boolean validateProcedureNote2PostprocedureDiagnosisSection2(Proce public static boolean validateProcedureNote2AssessmentSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AssessmentSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1139,6 +1176,8 @@ public static boolean validateProcedureNote2AssessmentSection(ProcedureNote2 pro public static boolean validateProcedureNote2AssessmentAndPlanSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AssessmentAndPlanSection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_ASSESSMENT_AND_PLAN_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1204,6 +1243,8 @@ public static boolean validateProcedureNote2AssessmentAndPlanSection2(ProcedureN public static boolean validateProcedureNote2PlanOfTreatmentSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2PlanOfTreatmentSection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1269,6 +1310,8 @@ public static boolean validateProcedureNote2PlanOfTreatmentSection2(ProcedureNot public static boolean validateProcedureNote2AllergiesSectionEntriesOptional2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AllergiesSectionEntriesOptional2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_ALLERGIES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1334,6 +1377,8 @@ public static boolean validateProcedureNote2AllergiesSectionEntriesOptional2(Pro public static boolean validateProcedureNote2AnesthesiaSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AnesthesiaSection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_ANESTHESIA_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1398,6 +1443,8 @@ public static boolean validateProcedureNote2AnesthesiaSection2(ProcedureNote2 pr public static boolean validateProcedureNote2ChiefComplaintSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ChiefComplaintSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1463,6 +1510,8 @@ public static boolean validateProcedureNote2ChiefComplaintSection(ProcedureNote2 public static boolean validateProcedureNote2ChiefComplaintAndReasonForVisitSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ChiefComplaintAndReasonForVisitSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1529,6 +1578,8 @@ public static boolean validateProcedureNote2ChiefComplaintAndReasonForVisitSecti public static boolean validateProcedureNote2FamilyHistorySection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2FamilyHistorySection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_FAMILY_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1594,6 +1645,8 @@ public static boolean validateProcedureNote2FamilyHistorySection2(ProcedureNote2 public static boolean validateProcedureNote2HistoryOfPastIllnessSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2HistoryOfPastIllnessSection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_HISTORY_OF_PAST_ILLNESS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1659,6 +1712,8 @@ public static boolean validateProcedureNote2HistoryOfPastIllnessSection2(Procedu public static boolean validateProcedureNote2HistoryOfPresentIllnessSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2HistoryOfPresentIllnessSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1724,6 +1779,8 @@ public static boolean validateProcedureNote2HistoryOfPresentIllnessSection(Proce public static boolean validateProcedureNote2MedicalHistorySection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2MedicalHistorySection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_MEDICAL_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1789,6 +1846,8 @@ public static boolean validateProcedureNote2MedicalHistorySection(ProcedureNote2 public static boolean validateProcedureNote2MedicationsSectionEntriesOptional2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2MedicationsSectionEntriesOptional2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_MEDICATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1855,6 +1914,8 @@ public static boolean validateProcedureNote2MedicationsSectionEntriesOptional2(P public static boolean validateProcedureNote2MedicationsAdministeredSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2MedicationsAdministeredSection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_MEDICATIONS_ADMINISTERED_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1920,6 +1981,8 @@ public static boolean validateProcedureNote2MedicationsAdministeredSection2(Proc public static boolean validateProcedureNote2PhysicalExamSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2PhysicalExamSection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PHYSICAL_EXAM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1985,6 +2048,8 @@ public static boolean validateProcedureNote2PhysicalExamSection2(ProcedureNote2 public static boolean validateProcedureNote2PlannedProcedureSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2PlannedProcedureSection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PLANNED_PROCEDURE_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2050,6 +2115,8 @@ public static boolean validateProcedureNote2PlannedProcedureSection2(ProcedureNo public static boolean validateProcedureNote2ProcedureDispositionSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ProcedureDispositionSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PROCEDURE_DISPOSITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2115,6 +2182,8 @@ public static boolean validateProcedureNote2ProcedureDispositionSection(Procedur public static boolean validateProcedureNote2ProcedureEstimatedBloodLossSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ProcedureEstimatedBloodLossSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2181,6 +2250,8 @@ public static boolean validateProcedureNote2ProcedureEstimatedBloodLossSection(P public static boolean validateProcedureNote2ProcedureFindingsSection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ProcedureFindingsSection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PROCEDURE_FINDINGS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2246,6 +2317,8 @@ public static boolean validateProcedureNote2ProcedureFindingsSection2(ProcedureN public static boolean validateProcedureNote2ProcedureImplantsSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ProcedureImplantsSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PROCEDURE_IMPLANTS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2311,6 +2384,8 @@ public static boolean validateProcedureNote2ProcedureImplantsSection(ProcedureNo public static boolean validateProcedureNote2ProcedureSpecimensTakenSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ProcedureSpecimensTakenSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PROCEDURE_SPECIMENS_TAKEN_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2376,6 +2451,8 @@ public static boolean validateProcedureNote2ProcedureSpecimensTakenSection(Proce public static boolean validateProcedureNote2ProceduresSectionEntriesOptional2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ProceduresSectionEntriesOptional2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_PROCEDURES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2442,6 +2519,8 @@ public static boolean validateProcedureNote2ProceduresSectionEntriesOptional2(Pr public static boolean validateProcedureNote2ReasonForVisitSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ReasonForVisitSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2507,6 +2586,8 @@ public static boolean validateProcedureNote2ReasonForVisitSection(ProcedureNote2 public static boolean validateProcedureNote2ReviewOfSystemsSection(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ReviewOfSystemsSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2572,6 +2653,8 @@ public static boolean validateProcedureNote2ReviewOfSystemsSection(ProcedureNote public static boolean validateProcedureNote2SocialHistorySection2(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2SocialHistorySection2", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_SOCIAL_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2637,6 +2720,8 @@ public static boolean validateProcedureNote2SocialHistorySection2(ProcedureNote2 public static boolean validateProcedureNote2ParticipantAssociatedEntityClassCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ParticipantAssociatedEntityClassCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2708,6 +2793,9 @@ public static boolean validateProcedureNote2ParticipantAssociatedEntityClassCode public static boolean validateProcedureNote2ParticipantAssociatedEntityAssociatedPerson( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2ParticipantAssociatedEntityAssociatedPerson", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2779,6 +2867,8 @@ public static boolean validateProcedureNote2ParticipantAssociatedEntityAssociate public static boolean validateProcedureNote2ParticipantTypeCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ParticipantTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2851,6 +2941,8 @@ public static boolean validateProcedureNote2ParticipantTypeCode(ProcedureNote2 p public static boolean validateProcedureNote2ParticipantFunctionCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ParticipantFunctionCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_PARTICIPANT_FUNCTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2921,6 +3013,8 @@ public static boolean validateProcedureNote2ParticipantFunctionCode(ProcedureNot public static boolean validateProcedureNote2ParticipantFunctionCodeP(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ParticipantFunctionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_PARTICIPANT_FUNCTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2991,6 +3085,8 @@ public static boolean validateProcedureNote2ParticipantFunctionCodeP(ProcedureNo public static boolean validateProcedureNote2ParticipantAssociatedEntity(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ParticipantAssociatedEntity", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_PARTICIPANT_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3061,6 +3157,9 @@ public static boolean validateProcedureNote2ParticipantAssociatedEntity(Procedur public static boolean validateProcedureNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_US_REALM_DATE_AND_TIME_DT_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3132,6 +3231,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventUSRealmDa public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntityCodeP( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerAssignedEntityCodeP", "WARNING"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3219,6 +3321,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntityCode( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerAssignedEntityCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3300,6 +3405,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerTypeCode( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3371,6 +3479,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssignedEntity( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerAssignedEntity", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3442,6 +3553,10 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCodeP( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCodeP", + "WARNING"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3529,6 +3644,10 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCode( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntityCode", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3610,6 +3729,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsTypeCode( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerAssistantsTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3681,6 +3803,10 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntity( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerAssistantsAssignedEntity", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3752,6 +3878,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_HAS_HIGH_WHEN_NO_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3823,6 +3952,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventEffective public static boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTimeNoHighIfWidth( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventEffectiveTimeNoHighIfWidth", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_NO_HIGH_IF_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3894,6 +4026,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventEffective public static boolean validateProcedureNote2DocumentationOfServiceEventProcedureCodes(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventProcedureCodes", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PROCEDURE_CODES__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3965,6 +4100,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventProcedure public static boolean validateProcedureNote2DocumentationOfServiceEventEffectiveTime(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventEffectiveTime", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4036,6 +4174,8 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventEffective public static boolean validateProcedureNote2DocumentationOfServiceEventCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4107,6 +4247,8 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventCode(Proc public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformer", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4178,6 +4320,9 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEventPerformerAssistants( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEventPerformerAssistants", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSISTANTS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4249,6 +4394,8 @@ public static boolean validateProcedureNote2DocumentationOfServiceEventPerformer public static boolean validateProcedureNote2DocumentationOfServiceEvent(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2DocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4319,6 +4466,8 @@ public static boolean validateProcedureNote2DocumentationOfServiceEvent(Procedur public static boolean validateProcedureNote2AuthorizationConsentClassCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AuthorizationConsentClassCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_AUTHORIZATION_CONSENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4390,6 +4539,8 @@ public static boolean validateProcedureNote2AuthorizationConsentClassCode(Proced public static boolean validateProcedureNote2AuthorizationConsentMoodCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AuthorizationConsentMoodCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_AUTHORIZATION_CONSENT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4460,6 +4611,8 @@ public static boolean validateProcedureNote2AuthorizationConsentMoodCode(Procedu public static boolean validateProcedureNote2AuthorizationConsentStatusCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AuthorizationConsentStatusCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_AUTHORIZATION_CONSENT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4531,6 +4684,8 @@ public static boolean validateProcedureNote2AuthorizationConsentStatusCode(Proce public static boolean validateProcedureNote2AuthorizationTypeCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AuthorizationTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_AUTHORIZATION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4601,6 +4756,8 @@ public static boolean validateProcedureNote2AuthorizationTypeCode(ProcedureNote2 public static boolean validateProcedureNote2AuthorizationConsent(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2AuthorizationConsent", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_AUTHORIZATION_CONSENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4671,6 +4828,10 @@ public static boolean validateProcedureNote2AuthorizationConsent(ProcedureNote2 public static boolean validateProcedureNote2ComponentOfEncompassingEncounterEncounterParticipantTypeCode( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2ComponentOfEncompassingEncounterEncounterParticipantTypeCode", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4742,6 +4903,10 @@ public static boolean validateProcedureNote2ComponentOfEncompassingEncounterEnco public static boolean validateProcedureNote2ComponentOfEncompassingEncounterLocationHealthCareFacilityId( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2ComponentOfEncompassingEncounterLocationHealthCareFacilityId", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_LOCATION_HEALTH_CARE_FACILITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4813,6 +4978,9 @@ public static boolean validateProcedureNote2ComponentOfEncompassingEncounterLoca public static boolean validateProcedureNote2ComponentOfEncompassingEncounterLocationHealthCareFacility( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2ComponentOfEncompassingEncounterLocationHealthCareFacility", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_LOCATION_HEALTH_CARE_FACILITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4884,6 +5052,8 @@ public static boolean validateProcedureNote2ComponentOfEncompassingEncounterLoca public static boolean validateProcedureNote2ComponentOfEncompassingEncounterId(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ComponentOfEncompassingEncounterId", "WARNING"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4955,6 +5125,8 @@ public static boolean validateProcedureNote2ComponentOfEncompassingEncounterId(P public static boolean validateProcedureNote2ComponentOfEncompassingEncounterCode(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ComponentOfEncompassingEncounterCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5026,6 +5198,9 @@ public static boolean validateProcedureNote2ComponentOfEncompassingEncounterCode public static boolean validateProcedureNote2ComponentOfEncompassingEncounterEncounterParticipant( ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2ComponentOfEncompassingEncounterEncounterParticipant", "INFO"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ENCOUNTER_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5097,6 +5272,9 @@ public static boolean validateProcedureNote2ComponentOfEncompassingEncounterEnco public static boolean validateProcedureNote2ComponentOfEncompassingEncounterLocation(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNote2ProcedureNote2ComponentOfEncompassingEncounterLocation", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5168,6 +5346,8 @@ public static boolean validateProcedureNote2ComponentOfEncompassingEncounterLoca public static boolean validateProcedureNote2ComponentOfEncompassingEncounter(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2ProcedureNote2ComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6518,6 +6698,8 @@ public static SocialHistorySection2 getSocialHistorySection2(ProcedureNote2 proc public static boolean validateUSRealmHeader2TemplateId(ProcedureNote2 procedureNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNote2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureNoteOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureNoteOperations.java index c18e350f83..d711fdae1f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureNoteOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureNoteOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -211,6 +212,10 @@ protected ProcedureNoteOperations() { public static boolean validateProcedureNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_HAS_AN_ASSEMENT_AND_PLAN_SECTION_OR_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -277,6 +282,11 @@ public static boolean validateProcedureNoteHasAnAssementAndPlanSectionOrIndividu public static boolean validateProcedureNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureNoteProcedureNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOES_NOT_HAVE_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS_WHEN_ASSEMENT_AND_PLAN_SECTION_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -343,6 +353,11 @@ public static boolean validateProcedureNoteDoesNotHaveIndividualAssementAndPlanS public static boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProcedureNoteProcedureNoteDoesNotHaveChiefComplaintAndReasonForVisitWithChiefComplaintSectionOrReasonSection", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOES_NOT_HAVE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_WITH_CHIEF_COMPLAINT_SECTION_OR_REASON_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -409,6 +424,8 @@ public static boolean validateProcedureNoteDoesNotHaveChiefComplaintAndReasonFor public static boolean validateProcedureNoteSectionTitles(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteSectionTitles", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_SECTION_TITLES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -472,6 +489,8 @@ public static boolean validateProcedureNoteSectionTitles(ProcedureNote procedure public static boolean validateGeneralHeaderConstraintsCodeP(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteGeneralHeaderConstraintsCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -548,6 +567,8 @@ public static boolean validateGeneralHeaderConstraintsCodeP(ProcedureNote proced public static boolean validateProcedureNoteComponentOf(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteComponentOf", "WARNING"); + if (VALIDATE_PROCEDURE_NOTE_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -611,6 +632,8 @@ public static boolean validateProcedureNoteComponentOf(ProcedureNote procedureNo public static boolean validateProcedureNoteAssessmentSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteAssessmentSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -674,6 +697,8 @@ public static boolean validateProcedureNoteAssessmentSection(ProcedureNote proce public static boolean validateProcedureNotePlanOfCareSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNotePlanOfCareSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PLAN_OF_CARE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -738,6 +763,8 @@ public static boolean validateProcedureNotePlanOfCareSection(ProcedureNote proce public static boolean validateProcedureNoteAssessmentAndPlanSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteAssessmentAndPlanSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_ASSESSMENT_AND_PLAN_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -803,6 +830,8 @@ public static boolean validateProcedureNoteAssessmentAndPlanSection(ProcedureNot public static boolean validateProcedureNoteComplicationsSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteComplicationsSection", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_COMPLICATIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -867,6 +896,8 @@ public static boolean validateProcedureNoteComplicationsSection(ProcedureNote pr public static boolean validateProcedureNotePostprocedureDiagnosisSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNotePostprocedureDiagnosisSection", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_POSTPROCEDURE_DIAGNOSIS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -932,6 +963,8 @@ public static boolean validateProcedureNotePostprocedureDiagnosisSection(Procedu public static boolean validateProcedureNoteProcedureDescriptionSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteProcedureDescriptionSection", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_PROCEDURE_DESCRIPTION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -997,6 +1030,8 @@ public static boolean validateProcedureNoteProcedureDescriptionSection(Procedure public static boolean validateProcedureNoteProcedureIndicationsSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteProcedureIndicationsSection", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_PROCEDURE_INDICATIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1062,6 +1097,8 @@ public static boolean validateProcedureNoteProcedureIndicationsSection(Procedure public static boolean validateProcedureNoteAllergiesSectionEntriesOptional(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteAllergiesSectionEntriesOptional", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_ALLERGIES_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1127,6 +1164,8 @@ public static boolean validateProcedureNoteAllergiesSectionEntriesOptional(Proce public static boolean validateProcedureNoteAnesthesiaSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteAnesthesiaSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_ANESTHESIA_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1190,6 +1229,8 @@ public static boolean validateProcedureNoteAnesthesiaSection(ProcedureNote proce public static boolean validateProcedureNoteChiefComplaintSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteChiefComplaintSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1255,6 +1296,8 @@ public static boolean validateProcedureNoteChiefComplaintSection(ProcedureNote p public static boolean validateProcedureNoteChiefComplaintAndReasonForVisitSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteChiefComplaintAndReasonForVisitSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1321,6 +1364,8 @@ public static boolean validateProcedureNoteChiefComplaintAndReasonForVisitSectio public static boolean validateProcedureNoteFamilyHistorySection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteFamilyHistorySection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_FAMILY_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1386,6 +1431,8 @@ public static boolean validateProcedureNoteFamilyHistorySection(ProcedureNote pr public static boolean validateProcedureNoteHistoryOfPastIllnessSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteHistoryOfPastIllnessSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_HISTORY_OF_PAST_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1451,6 +1498,8 @@ public static boolean validateProcedureNoteHistoryOfPastIllnessSection(Procedure public static boolean validateProcedureNoteHistoryOfPresentIllnessSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteHistoryOfPresentIllnessSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1516,6 +1565,8 @@ public static boolean validateProcedureNoteHistoryOfPresentIllnessSection(Proced public static boolean validateProcedureNoteMedicalHistorySection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteMedicalHistorySection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_MEDICAL_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1581,6 +1632,8 @@ public static boolean validateProcedureNoteMedicalHistorySection(ProcedureNote p public static boolean validateProcedureNoteMedicationsSectionEntriesOptional(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteMedicationsSectionEntriesOptional", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1646,6 +1699,8 @@ public static boolean validateProcedureNoteMedicationsSectionEntriesOptional(Pro public static boolean validateProcedureNoteMedicationsAdministeredSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteMedicationsAdministeredSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_MEDICATIONS_ADMINISTERED_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1711,6 +1766,8 @@ public static boolean validateProcedureNoteMedicationsAdministeredSection(Proced public static boolean validateProcedureNotePhysicalExamSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNotePhysicalExamSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PHYSICAL_EXAM_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1775,6 +1832,8 @@ public static boolean validateProcedureNotePhysicalExamSection(ProcedureNote pro public static boolean validateProcedureNotePlannedProcedureSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNotePlannedProcedureSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PLANNED_PROCEDURE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1840,6 +1899,8 @@ public static boolean validateProcedureNotePlannedProcedureSection(ProcedureNote public static boolean validateProcedureNoteProcedureDispositionSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteProcedureDispositionSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PROCEDURE_DISPOSITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1905,6 +1966,8 @@ public static boolean validateProcedureNoteProcedureDispositionSection(Procedure public static boolean validateProcedureNoteProcedureEstimatedBloodLossSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteProcedureEstimatedBloodLossSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1970,6 +2033,8 @@ public static boolean validateProcedureNoteProcedureEstimatedBloodLossSection(Pr public static boolean validateProcedureNoteProcedureFindingsSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteProcedureFindingsSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PROCEDURE_FINDINGS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2035,6 +2100,8 @@ public static boolean validateProcedureNoteProcedureFindingsSection(ProcedureNot public static boolean validateProcedureNoteProcedureImplantsSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteProcedureImplantsSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PROCEDURE_IMPLANTS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2100,6 +2167,8 @@ public static boolean validateProcedureNoteProcedureImplantsSection(ProcedureNot public static boolean validateProcedureNoteProcedureSpecimensTakenSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteProcedureSpecimensTakenSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PROCEDURE_SPECIMENS_TAKEN_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2165,6 +2234,8 @@ public static boolean validateProcedureNoteProcedureSpecimensTakenSection(Proced public static boolean validateProcedureNoteProceduresSectionEntriesOptional(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteProceduresSectionEntriesOptional", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PROCEDURES_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2230,6 +2301,8 @@ public static boolean validateProcedureNoteProceduresSectionEntriesOptional(Proc public static boolean validateProcedureNoteReasonForVisitSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteReasonForVisitSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_REASON_FOR_VISIT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2295,6 +2368,8 @@ public static boolean validateProcedureNoteReasonForVisitSection(ProcedureNote p public static boolean validateProcedureNoteReviewOfSystemsSection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteReviewOfSystemsSection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2360,6 +2435,8 @@ public static boolean validateProcedureNoteReviewOfSystemsSection(ProcedureNote public static boolean validateProcedureNoteSocialHistorySection(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteSocialHistorySection", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_SOCIAL_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2425,6 +2502,8 @@ public static boolean validateProcedureNoteSocialHistorySection(ProcedureNote pr public static boolean validateProcedureNoteParticipant1(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteParticipant1", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_PARTICIPANT1__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2488,6 +2567,8 @@ public static boolean validateProcedureNoteParticipant1(ProcedureNote procedureN public static boolean validateProcedureNoteDocumentationOf(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteDocumentationOf", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2551,6 +2632,10 @@ public static boolean validateProcedureNoteDocumentationOf(ProcedureNote procedu public static boolean validateProcedureNoteComponentOfEncompassingEncounter5LocationHealthCareFacilityId( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteComponentOfEncompassingEncounter5LocationHealthCareFacilityId", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER5_LOCATION_HEALTH_CARE_FACILITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2622,6 +2707,9 @@ public static boolean validateProcedureNoteComponentOfEncompassingEncounter5Loca public static boolean validateProcedureNoteComponentOfEncompassingEncounter5LocationHealthCareFacility( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteComponentOfEncompassingEncounter5LocationHealthCareFacility", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER5_LOCATION_HEALTH_CARE_FACILITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2693,6 +2781,10 @@ public static boolean validateProcedureNoteComponentOfEncompassingEncounter5Loca public static boolean validateProcedureNoteComponentOfEncompassingEncounter5EncounterParticipantTypeCode( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteComponentOfEncompassingEncounter5EncounterParticipantTypeCode", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER5_ENCOUNTER_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2764,6 +2856,8 @@ public static boolean validateProcedureNoteComponentOfEncompassingEncounter5Enco public static boolean validateProcedureNoteComponentOfEncompassingEncounter5Code(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteComponentOfEncompassingEncounter5Code", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER5_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2835,6 +2929,9 @@ public static boolean validateProcedureNoteComponentOfEncompassingEncounter5Code public static boolean validateProcedureNoteComponentOfEncompassingEncounter5Location(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteComponentOfEncompassingEncounter5Location", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER5_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2906,6 +3003,9 @@ public static boolean validateProcedureNoteComponentOfEncompassingEncounter5Loca public static boolean validateProcedureNoteComponentOfEncompassingEncounter5EncounterParticipant( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteComponentOfEncompassingEncounter5EncounterParticipant", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER5_ENCOUNTER_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2977,6 +3077,8 @@ public static boolean validateProcedureNoteComponentOfEncompassingEncounter5Enco public static boolean validateProcedureNoteComponentOfEncompassingEncounter5(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteComponentOfEncompassingEncounter5", "WARNING"); + if (VALIDATE_PROCEDURE_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER5__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3048,6 +3150,10 @@ public static boolean validateProcedureNoteComponentOfEncompassingEncounter5(Pro public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntityCodeP( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntityCodeP", + "WARNING"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PRIMARY_PERFORMER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3135,6 +3241,10 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPe public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntityCode( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntityCode", + "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PRIMARY_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3216,6 +3326,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPe public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerTypeCode( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerTypeCode", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PRIMARY_PERFORMER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3287,6 +3400,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPe public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntity( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1PrimaryPerformerAssignedEntity", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PRIMARY_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3358,6 +3474,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPe public static boolean validateProcedureNoteDocumentationOfServiceEvent1ProcedureCodes(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1ProcedureCodes", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PROCEDURE_CODES__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3429,6 +3548,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1Procedure public static boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeHasLow( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1EffectiveTimeHasLow", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_EFFECTIVE_TIME_HAS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3500,6 +3622,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1Effective public static boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeHasHighWhenNoWidth( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1EffectiveTimeHasHighWhenNoWidth", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_EFFECTIVE_TIME_HAS_HIGH_WHEN_NO_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3571,6 +3696,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1Effective public static boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTimeNoHighIfWidth( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1EffectiveTimeNoHighIfWidth", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_EFFECTIVE_TIME_NO_HIGH_IF_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3642,6 +3770,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1Effective public static boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheDay(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1PreciseToTheDay", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PRECISE_TO_THE_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3713,6 +3844,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseTo public static boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheMinute( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1PreciseToTheMinute", "WARNING"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PRECISE_TO_THE_MINUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3784,6 +3918,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseTo public static boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseToTheSecond( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1PreciseToTheSecond", "INFO"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PRECISE_TO_THE_SECOND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3855,6 +3992,10 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1PreciseTo public static boolean validateProcedureNoteDocumentationOfServiceEvent1IfMorePreciseThanDayIncludeTimeZoneOffset( ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1IfMorePreciseThanDayIncludeTimeZoneOffset", + "WARNING"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3926,6 +4067,8 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1IfMorePre public static boolean validateProcedureNoteDocumentationOfServiceEvent1Code(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1Code", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3997,6 +4140,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1Code(Proc public static boolean validateProcedureNoteDocumentationOfServiceEvent1EffectiveTime(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1EffectiveTime", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4068,6 +4214,9 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1Effective public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1PrimaryPerformer", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1_PRIMARY_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4139,6 +4288,8 @@ public static boolean validateProcedureNoteDocumentationOfServiceEvent1PrimaryPe public static boolean validateProcedureNoteDocumentationOfServiceEvent1(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteProcedureNoteDocumentationOfServiceEvent1", "ERROR"); + if (VALIDATE_PROCEDURE_NOTE_DOCUMENTATION_OF_SERVICE_EVENT1__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5485,6 +5636,8 @@ public static SocialHistorySection getSocialHistorySection(ProcedureNote procedu public static boolean validateGeneralHeaderConstraintsTemplateId(ProcedureNote procedureNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureNoteGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5560,6 +5713,8 @@ public static boolean validateGeneralHeaderConstraintsCode(ProcedureNote procedu return true; } + DatatypesUtil.increment(context, "ProcedureNoteGeneralHeaderConstraintsCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureSpecimensTakenSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureSpecimensTakenSectionOperations.java index a1e9b936a3..fc656663af 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureSpecimensTakenSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProcedureSpecimensTakenSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,9 @@ public static boolean validateProcedureSpecimensTakenSectionTemplateId( ProcedureSpecimensTakenSection procedureSpecimensTakenSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProcedureSpecimensTakenSectionProcedureSpecimensTakenSectionTemplateId", "ERROR"); + if (VALIDATE_PROCEDURE_SPECIMENS_TAKEN_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,8 @@ public static boolean validateProcedureSpecimensTakenSectionCode( ProcedureSpecimensTakenSection procedureSpecimensTakenSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureSpecimensTakenSectionProcedureSpecimensTakenSectionCode", "ERROR"); + if (VALIDATE_PROCEDURE_SPECIMENS_TAKEN_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +237,8 @@ public static boolean validateProcedureSpecimensTakenSectionCodeP( ProcedureSpecimensTakenSection procedureSpecimensTakenSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureSpecimensTakenSectionProcedureSpecimensTakenSectionCodeP", "ERROR"); + if (VALIDATE_PROCEDURE_SPECIMENS_TAKEN_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +306,8 @@ public static boolean validateProcedureSpecimensTakenSectionText( ProcedureSpecimensTakenSection procedureSpecimensTakenSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureSpecimensTakenSectionProcedureSpecimensTakenSectionText", "ERROR"); + if (VALIDATE_PROCEDURE_SPECIMENS_TAKEN_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +375,8 @@ public static boolean validateProcedureSpecimensTakenSectionTitle( ProcedureSpecimensTakenSection procedureSpecimensTakenSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProcedureSpecimensTakenSectionProcedureSpecimensTakenSectionTitle", "ERROR"); + if (VALIDATE_PROCEDURE_SPECIMENS_TAKEN_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSection2Operations.java index 940f73511a..ee417e7f0b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSection2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -111,6 +112,8 @@ protected ProceduresSection2Operations() { public static boolean validateProceduresSection2HasProcedureActivity(ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSection2HasProcedureActivity", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION2_HAS_PROCEDURE_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -176,6 +179,8 @@ public static boolean validateProceduresSection2HasProcedureActivity(ProceduresS public static boolean validateProceduresSection2NullFlavor(ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSection2NullFlavor", "INFO"); + if (VALIDATE_PROCEDURES_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +244,8 @@ public static boolean validateProceduresSection2NullFlavor(ProceduresSection2 pr public static boolean validateProceduresSection2Title(ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSection2Title", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -302,6 +309,8 @@ public static boolean validateProceduresSection2Title(ProceduresSection2 procedu public static boolean validateProceduresSection2Text(ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSection2Text", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +374,8 @@ public static boolean validateProceduresSection2Text(ProceduresSection2 procedur public static boolean validateProceduresSection2Entry(ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSection2Entry", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION2_ENTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -428,6 +439,8 @@ public static boolean validateProceduresSection2Entry(ProceduresSection2 procedu public static boolean validateProceduresSection2EntryProcedureActivityAct2(ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSection2EntryProcedureActivityAct2", "INFO"); + if (VALIDATE_PROCEDURES_SECTION2_ENTRY_PROCEDURE_ACTIVITY_ACT2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -499,6 +512,9 @@ public static boolean validateProceduresSection2EntryProcedureActivityAct2(Proce public static boolean validateProceduresSection2EntryProcedureActivityObservation2( ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSection2ProceduresSection2EntryProcedureActivityObservation2", "INFO"); + if (VALIDATE_PROCEDURES_SECTION2_ENTRY_PROCEDURE_ACTIVITY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -570,6 +586,9 @@ public static boolean validateProceduresSection2EntryProcedureActivityObservatio public static boolean validateProceduresSection2EntryProcedureActivityProcedure2( ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSection2ProceduresSection2EntryProcedureActivityProcedure2", "INFO"); + if (VALIDATE_PROCEDURES_SECTION2_ENTRY_PROCEDURE_ACTIVITY_PROCEDURE2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -641,6 +660,8 @@ public static boolean validateProceduresSection2EntryProcedureActivityProcedure2 public static boolean validateProceduresSectionEntriesOptionalTemplateId(ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -765,6 +786,8 @@ public static EList getConsolProcedureActivityAct2s(Proce public static boolean validateProceduresSectionEntriesOptionalCodeP(ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -854,6 +877,8 @@ public static boolean validateProceduresSectionEntriesOptionalCode(ProceduresSec return true; } + DatatypesUtil.increment(context, "ProceduresSection2ProceduresSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -919,6 +944,9 @@ public static boolean validateProceduresSectionEntriesOptionalCode(ProceduresSec public static boolean validateProceduresSectionEntriesOptionalProcedureActivityProcedure( ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSection2ProceduresSectionEntriesOptionalProcedureActivityProcedure", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -985,6 +1013,9 @@ public static boolean validateProceduresSectionEntriesOptionalProcedureActivityP public static boolean validateProceduresSectionEntriesOptionalProcedureActivityObservation( ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSection2ProceduresSectionEntriesOptionalProcedureActivityObservation", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1051,6 +1082,9 @@ public static boolean validateProceduresSectionEntriesOptionalProcedureActivityO public static boolean validateProceduresSectionEntriesOptionalProcedureActivityAct( ProceduresSection2 proceduresSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSection2ProceduresSectionEntriesOptionalProcedureActivityAct", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionEntriesOptional2Operations.java index 0c22d4a017..79902a57b0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -252,6 +253,9 @@ public static boolean validateProceduresSectionEntriesOptionalTemplateId( ProceduresSectionEntriesOptional2 proceduresSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptional2ProceduresSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -319,6 +323,9 @@ public static boolean validateProceduresSectionEntriesOptionalCodeP( ProceduresSectionEntriesOptional2 proceduresSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptional2ProceduresSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -411,6 +418,9 @@ public static boolean validateProceduresSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptional2ProceduresSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -478,6 +488,10 @@ public static boolean validateProceduresSectionEntriesOptionalProcedureActivityP ProceduresSectionEntriesOptional2 proceduresSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptional2ProceduresSectionEntriesOptionalProcedureActivityProcedure", + "INFO"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -545,6 +559,10 @@ public static boolean validateProceduresSectionEntriesOptionalProcedureActivityO ProceduresSectionEntriesOptional2 proceduresSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptional2ProceduresSectionEntriesOptionalProcedureActivityObservation", + "INFO"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -612,6 +630,9 @@ public static boolean validateProceduresSectionEntriesOptionalProcedureActivityA ProceduresSectionEntriesOptional2 proceduresSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptional2ProceduresSectionEntriesOptionalProcedureActivityAct", "INFO"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionEntriesOptionalOperations.java index 0bc5fba22f..7e27397b7b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -109,6 +110,9 @@ public static boolean validateProceduresSectionEntriesOptionalTemplateId( ProceduresSectionEntriesOptional proceduresSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptionalProceduresSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -178,6 +182,9 @@ public static boolean validateProceduresSectionEntriesOptionalCode( ProceduresSectionEntriesOptional proceduresSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptionalProceduresSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -245,6 +252,9 @@ public static boolean validateProceduresSectionEntriesOptionalCodeP( ProceduresSectionEntriesOptional proceduresSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptionalProceduresSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -312,6 +322,9 @@ public static boolean validateProceduresSectionEntriesOptionalTitle( ProceduresSectionEntriesOptional proceduresSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptionalProceduresSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -379,6 +392,9 @@ public static boolean validateProceduresSectionEntriesOptionalText( ProceduresSectionEntriesOptional proceduresSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptionalProceduresSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -446,6 +462,10 @@ public static boolean validateProceduresSectionEntriesOptionalProcedureActivityP ProceduresSectionEntriesOptional proceduresSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptionalProceduresSectionEntriesOptionalProcedureActivityProcedure", + "INFO"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -513,6 +533,10 @@ public static boolean validateProceduresSectionEntriesOptionalProcedureActivityO ProceduresSectionEntriesOptional proceduresSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptionalProceduresSectionEntriesOptionalProcedureActivityObservation", + "INFO"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -580,6 +604,9 @@ public static boolean validateProceduresSectionEntriesOptionalProcedureActivityA ProceduresSectionEntriesOptional proceduresSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProceduresSectionEntriesOptionalProceduresSectionEntriesOptionalProcedureActivityAct", "INFO"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_PROCEDURE_ACTIVITY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionOperations.java index 866fc82296..db4af4c2aa 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProceduresSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -108,6 +109,8 @@ protected ProceduresSectionOperations() { public static boolean validateProceduresSectionHasProcedureActivity(ProceduresSection proceduresSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionHasProcedureActivity", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_HAS_PROCEDURE_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +176,8 @@ public static boolean validateProceduresSectionHasProcedureActivity(ProceduresSe public static boolean validateProceduresSectionTitle(ProceduresSection proceduresSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionTitle", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -236,6 +241,8 @@ public static boolean validateProceduresSectionTitle(ProceduresSection procedure public static boolean validateProceduresSectionProcedureActivityProcedure(ProceduresSection proceduresSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionProcedureActivityProcedure", "INFO"); + if (VALIDATE_PROCEDURES_SECTION_PROCEDURE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -301,6 +308,8 @@ public static boolean validateProceduresSectionProcedureActivityProcedure(Proced public static boolean validateProceduresSectionProcedureActivityObservation(ProceduresSection proceduresSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionProcedureActivityObservation", "INFO"); + if (VALIDATE_PROCEDURES_SECTION_PROCEDURE_ACTIVITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -367,6 +376,8 @@ public static boolean validateProceduresSectionProcedureActivityObservation(Proc public static boolean validateProceduresSectionProcedureActivityAct(ProceduresSection proceduresSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionProcedureActivityAct", "INFO"); + if (VALIDATE_PROCEDURES_SECTION_PROCEDURE_ACTIVITY_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -580,6 +591,8 @@ public static EList getConsolProcedureActivityActs(Procedu public static boolean validateProceduresSectionEntriesOptionalTemplateId(ProceduresSection proceduresSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -645,6 +658,8 @@ public static boolean validateProceduresSectionEntriesOptionalTemplateId(Procedu public static boolean validateProceduresSectionEntriesOptionalCodeP(ProceduresSection proceduresSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -734,6 +749,8 @@ public static boolean validateProceduresSectionEntriesOptionalCode(ProceduresSec return true; } + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -799,6 +816,8 @@ public static boolean validateProceduresSectionEntriesOptionalCode(ProceduresSec public static boolean validateProceduresSectionEntriesOptionalText(ProceduresSection proceduresSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProceduresSectionProceduresSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_PROCEDURES_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProductInstanceOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProductInstanceOperations.java index 64c2684dbe..99f0d5f99b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProductInstanceOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProductInstanceOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ParticipantRoleOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -101,6 +102,8 @@ protected ProductInstanceOperations() { public static boolean validateProductInstanceTemplateId(ProductInstance productInstance, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProductInstanceProductInstanceTemplateId", "ERROR"); + if (VALIDATE_PRODUCT_INSTANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateProductInstanceTemplateId(ProductInstance productI public static boolean validateProductInstanceClassCode(ProductInstance productInstance, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProductInstanceProductInstanceClassCode", "ERROR"); + if (VALIDATE_PRODUCT_INSTANCE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -227,6 +232,8 @@ public static boolean validateProductInstanceClassCode(ProductInstance productIn public static boolean validateProductInstanceId(ProductInstance productInstance, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProductInstanceProductInstanceId", "ERROR"); + if (VALIDATE_PRODUCT_INSTANCE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -290,6 +297,8 @@ public static boolean validateProductInstanceId(ProductInstance productInstance, public static boolean validateProductInstanceScopingEntity(ProductInstance productInstance, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProductInstanceProductInstanceScopingEntity", "ERROR"); + if (VALIDATE_PRODUCT_INSTANCE_SCOPING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +362,8 @@ public static boolean validateProductInstanceScopingEntity(ProductInstance produ public static boolean validateProductInstancePlayingDevice(ProductInstance productInstance, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProductInstanceProductInstancePlayingDevice", "ERROR"); + if (VALIDATE_PRODUCT_INSTANCE_PLAYING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -416,6 +427,8 @@ public static boolean validateProductInstancePlayingDevice(ProductInstance produ public static boolean validateProductInstanceScopingEntityId(ProductInstance productInstance, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProductInstanceProductInstanceScopingEntityId", "ERROR"); + if (VALIDATE_PRODUCT_INSTANCE_SCOPING_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -486,6 +499,8 @@ public static boolean validateProductInstanceScopingEntityId(ProductInstance pro public static boolean validateProductInstancePlayingDeviceCode(ProductInstance productInstance, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProductInstanceProductInstancePlayingDeviceCode", "WARNING"); + if (VALIDATE_PRODUCT_INSTANCE_PLAYING_DEVICE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PrognosisObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PrognosisObservationOperations.java index 6c3d8f4b4f..b6d41d42be 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PrognosisObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PrognosisObservationOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected PrognosisObservationOperations() { public static boolean validatePrognosisObservationTemplateId(PrognosisObservation prognosisObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationTemplateId", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -159,6 +162,8 @@ public static boolean validatePrognosisObservationTemplateId(PrognosisObservatio public static boolean validatePrognosisObservationClassCode(PrognosisObservation prognosisObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationClassCode", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -223,6 +228,8 @@ public static boolean validatePrognosisObservationClassCode(PrognosisObservation public static boolean validatePrognosisObservationMoodCode(PrognosisObservation prognosisObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationMoodCode", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validatePrognosisObservationMoodCode(PrognosisObservation public static boolean validatePrognosisObservationCodeP(PrognosisObservation prognosisObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationCodeP", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +382,8 @@ public static boolean validatePrognosisObservationCode(PrognosisObservation prog return true; } + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationCode", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +448,8 @@ public static boolean validatePrognosisObservationCode(PrognosisObservation prog public static boolean validatePrognosisObservationStatusCode(PrognosisObservation prognosisObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationStatusCode", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -501,6 +514,8 @@ public static boolean validatePrognosisObservationStatusCode(PrognosisObservatio public static boolean validatePrognosisObservationStatusCodeP(PrognosisObservation prognosisObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationStatusCodeP", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -566,6 +581,8 @@ public static boolean validatePrognosisObservationStatusCodeP(PrognosisObservati public static boolean validatePrognosisObservationEffectiveTime(PrognosisObservation prognosisObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationEffectiveTime", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -631,6 +648,8 @@ public static boolean validatePrognosisObservationEffectiveTime(PrognosisObserva public static boolean validatePrognosisObservationValue(PrognosisObservation prognosisObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PrognosisObservationPrognosisObservationValue", "ERROR"); + if (VALIDATE_PROGNOSIS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressNote2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressNote2Operations.java index f1c68a84f8..1aca6e645b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressNote2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressNote2Operations.java @@ -10,6 +10,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -153,6 +154,11 @@ protected ProgressNote2Operations() { public static boolean validateProgressNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProgressNote2ProgressNote2HasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2", + "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_HAS_AN_ASSEMENT_AND_PLAN_SECTION2_OR_BOTH_ASSEMENT_SECTION_AND_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -219,6 +225,11 @@ public static boolean validateProgressNote2HasAnAssementAndPlanSection2OrBothAss public static boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent( ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProgressNote2ProgressNote2DoesNotHaveAssementAndPlanSection2WhenAssementOrPlanOfTreatment2ArePresent", + "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_DOES_NOT_HAVE_ASSEMENT_AND_PLAN_SECTION2_WHEN_ASSEMENT_OR_PLAN_OF_TREATMENT2_ARE_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +296,8 @@ public static boolean validateProgressNote2DoesNotHaveAssementAndPlanSection2Whe public static boolean validateProgressNote2CodeP(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2CodeP", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -371,6 +384,8 @@ public static boolean validateProgressNote2Code(ProgressNote2 progressNote2, Dia return true; } + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2Code", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -434,6 +449,8 @@ public static boolean validateProgressNote2Code(ProgressNote2 progressNote2, Dia public static boolean validateProgressNote2DocumentationOf(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2DocumentationOf", "WARNING"); + if (VALIDATE_PROGRESS_NOTE2_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -497,6 +514,8 @@ public static boolean validateProgressNote2DocumentationOf(ProgressNote2 progres public static boolean validateProgressNote2ComponentOf(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ComponentOf", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -560,6 +579,8 @@ public static boolean validateProgressNote2ComponentOf(ProgressNote2 progressNot public static boolean validateProgressNote2AssessmentSection(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2AssessmentSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -623,6 +644,8 @@ public static boolean validateProgressNote2AssessmentSection(ProgressNote2 progr public static boolean validateProgressNote2PlanOfTreatmentSection2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2PlanOfTreatmentSection2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -688,6 +711,8 @@ public static boolean validateProgressNote2PlanOfTreatmentSection2(ProgressNote2 public static boolean validateProgressNote2AssessmentAndPlanSection2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2AssessmentAndPlanSection2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_ASSESSMENT_AND_PLAN_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -753,6 +778,8 @@ public static boolean validateProgressNote2AssessmentAndPlanSection2(ProgressNot public static boolean validateProgressNote2AllergiesSectionEntriesOptional2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2AllergiesSectionEntriesOptional2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_ALLERGIES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -818,6 +845,8 @@ public static boolean validateProgressNote2AllergiesSectionEntriesOptional2(Prog public static boolean validateProgressNote2ChiefComplaintSection(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ChiefComplaintSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -883,6 +912,8 @@ public static boolean validateProgressNote2ChiefComplaintSection(ProgressNote2 p public static boolean validateProgressNote2InterventionsSection2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2InterventionsSection2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_INTERVENTIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -948,6 +979,8 @@ public static boolean validateProgressNote2InterventionsSection2(ProgressNote2 p public static boolean validateProgressNote2InstructionsSection2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2InstructionsSection2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_INSTRUCTIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1012,6 +1045,8 @@ public static boolean validateProgressNote2InstructionsSection2(ProgressNote2 pr public static boolean validateProgressNote2MedicationsSectionEntriesOptional2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2MedicationsSectionEntriesOptional2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_MEDICATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1077,6 +1112,8 @@ public static boolean validateProgressNote2MedicationsSectionEntriesOptional2(Pr public static boolean validateProgressNote2ObjectiveSection(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ObjectiveSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_OBJECTIVE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1140,6 +1177,8 @@ public static boolean validateProgressNote2ObjectiveSection(ProgressNote2 progre public static boolean validateProgressNote2PhysicalExamSection2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2PhysicalExamSection2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_PHYSICAL_EXAM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1205,6 +1244,8 @@ public static boolean validateProgressNote2PhysicalExamSection2(ProgressNote2 pr public static boolean validateProgressNote2ProblemSectionEntriesOptional2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ProblemSectionEntriesOptional2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_PROBLEM_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1270,6 +1311,8 @@ public static boolean validateProgressNote2ProblemSectionEntriesOptional2(Progre public static boolean validateProgressNote2ResultsSectionEntriesOptional2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ResultsSectionEntriesOptional2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_RESULTS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1335,6 +1378,8 @@ public static boolean validateProgressNote2ResultsSectionEntriesOptional2(Progre public static boolean validateProgressNote2ReviewOfSystemsSection(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ReviewOfSystemsSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1400,6 +1445,8 @@ public static boolean validateProgressNote2ReviewOfSystemsSection(ProgressNote2 public static boolean validateProgressNote2SubjectiveSection(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2SubjectiveSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_SUBJECTIVE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1463,6 +1510,8 @@ public static boolean validateProgressNote2SubjectiveSection(ProgressNote2 progr public static boolean validateProgressNote2VitalSignsSectionEntriesOptional2(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2VitalSignsSectionEntriesOptional2", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1528,6 +1577,8 @@ public static boolean validateProgressNote2VitalSignsSectionEntriesOptional2(Pro public static boolean validateProgressNote2NutritionSection(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2NutritionSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE2_NUTRITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1591,6 +1642,9 @@ public static boolean validateProgressNote2NutritionSection(ProgressNote2 progre public static boolean validateProgressNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow( ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNote2ProgressNote2DocumentationOfServiceEventUSRealmDateAndTimeDTLow", "WARNING"); + if (VALIDATE_PROGRESS_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_US_REALM_DATE_AND_TIME_DT_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1662,6 +1716,9 @@ public static boolean validateProgressNote2DocumentationOfServiceEventUSRealmDat public static boolean validateProgressNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth( ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNote2ProgressNote2DocumentationOfServiceEventEffectiveTimeHasHighWhenNoWidth", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME_HAS_HIGH_WHEN_NO_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1733,6 +1790,8 @@ public static boolean validateProgressNote2DocumentationOfServiceEventEffectiveT public static boolean validateProgressNote2DocumentationOfServiceEventTemplateId(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2DocumentationOfServiceEventTemplateId", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1804,6 +1863,8 @@ public static boolean validateProgressNote2DocumentationOfServiceEventTemplateId public static boolean validateProgressNote2DocumentationOfServiceEventClassCode(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2DocumentationOfServiceEventClassCode", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1875,6 +1936,9 @@ public static boolean validateProgressNote2DocumentationOfServiceEventClassCode( public static boolean validateProgressNote2DocumentationOfServiceEventEffectiveTime(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNote2ProgressNote2DocumentationOfServiceEventEffectiveTime", "WARNING"); + if (VALIDATE_PROGRESS_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1946,6 +2010,8 @@ public static boolean validateProgressNote2DocumentationOfServiceEventEffectiveT public static boolean validateProgressNote2DocumentationOfServiceEvent(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2DocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2016,6 +2082,9 @@ public static boolean validateProgressNote2DocumentationOfServiceEvent(ProgressN public static boolean validateProgressNote2ComponentOfEncompassingEncounterUSRealmDateAndTimeDTLow( ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNote2ProgressNote2ComponentOfEncompassingEncounterUSRealmDateAndTimeDTLow", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_US_REALM_DATE_AND_TIME_DT_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2087,6 +2156,9 @@ public static boolean validateProgressNote2ComponentOfEncompassingEncounterUSRea public static boolean validateProgressNote2ComponentOfEncompassingEncounterLocationHealthCareFacilityId( ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNote2ProgressNote2ComponentOfEncompassingEncounterLocationHealthCareFacilityId", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_LOCATION_HEALTH_CARE_FACILITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2158,6 +2230,9 @@ public static boolean validateProgressNote2ComponentOfEncompassingEncounterLocat public static boolean validateProgressNote2ComponentOfEncompassingEncounterLocationHealthCareFacility( ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNote2ProgressNote2ComponentOfEncompassingEncounterLocationHealthCareFacility", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_LOCATION_HEALTH_CARE_FACILITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2229,6 +2304,8 @@ public static boolean validateProgressNote2ComponentOfEncompassingEncounterLocat public static boolean validateProgressNote2ComponentOfEncompassingEncounterId(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ComponentOfEncompassingEncounterId", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2300,6 +2377,9 @@ public static boolean validateProgressNote2ComponentOfEncompassingEncounterId(Pr public static boolean validateProgressNote2ComponentOfEncompassingEncounterEffectiveTime( ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNote2ProgressNote2ComponentOfEncompassingEncounterEffectiveTime", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2371,6 +2451,8 @@ public static boolean validateProgressNote2ComponentOfEncompassingEncounterEffec public static boolean validateProgressNote2ComponentOfEncompassingEncounterLocation(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ComponentOfEncompassingEncounterLocation", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2442,6 +2524,8 @@ public static boolean validateProgressNote2ComponentOfEncompassingEncounterLocat public static boolean validateProgressNote2ComponentOfEncompassingEncounter(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2ProgressNote2ComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_PROGRESS_NOTE2_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3240,6 +3324,8 @@ public static NutritionSection getNutritionSection(ProgressNote2 progressNote2) public static boolean validateUSRealmHeader2TemplateId(ProgressNote2 progressNote2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNote2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressNoteOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressNoteOperations.java index 2a90089265..8d080de49e 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressNoteOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressNoteOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -165,6 +166,9 @@ protected ProgressNoteOperations() { public static boolean validateProgressNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteHasAnAssementAndPlanSectionOrIndividualAssementAndPlanSections", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_HAS_AN_ASSEMENT_AND_PLAN_SECTION_OR_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +235,11 @@ public static boolean validateProgressNoteHasAnAssementAndPlanSectionOrIndividua public static boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProgressNoteProgressNoteDoesNotHaveIndividualAssementAndPlanSectionsWhenAssementAndPlanSectionPresent", + "ERROR"); + if (VALIDATE_PROGRESS_NOTE_DOES_NOT_HAVE_INDIVIDUAL_ASSEMENT_AND_PLAN_SECTIONS_WHEN_ASSEMENT_AND_PLAN_SECTION_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +306,8 @@ public static boolean validateProgressNoteDoesNotHaveIndividualAssementAndPlanSe public static boolean validateGeneralHeaderConstraintsCodeP(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteGeneralHeaderConstraintsCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +384,8 @@ public static boolean validateGeneralHeaderConstraintsCodeP(ProgressNote progres public static boolean validateProgressNoteDocumentationOf(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteDocumentationOf", "WARNING"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -436,6 +449,8 @@ public static boolean validateProgressNoteDocumentationOf(ProgressNote progressN public static boolean validateProgressNoteComponentOf(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteComponentOf", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -499,6 +514,8 @@ public static boolean validateProgressNoteComponentOf(ProgressNote progressNote, public static boolean validateProgressNoteAssessmentSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteAssessmentSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -562,6 +579,8 @@ public static boolean validateProgressNoteAssessmentSection(ProgressNote progres public static boolean validateProgressNotePlanOfCareSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNotePlanOfCareSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_PLAN_OF_CARE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -626,6 +645,8 @@ public static boolean validateProgressNotePlanOfCareSection(ProgressNote progres public static boolean validateProgressNoteAssessmentAndPlanSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteAssessmentAndPlanSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_ASSESSMENT_AND_PLAN_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -691,6 +712,8 @@ public static boolean validateProgressNoteAssessmentAndPlanSection(ProgressNote public static boolean validateProgressNoteAllergiesSectionEntriesOptional(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteAllergiesSectionEntriesOptional", "INFO"); + if (VALIDATE_PROGRESS_NOTE_ALLERGIES_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -756,6 +779,8 @@ public static boolean validateProgressNoteAllergiesSectionEntriesOptional(Progre public static boolean validateProgressNoteChiefComplaintSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteChiefComplaintSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_CHIEF_COMPLAINT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -820,6 +845,8 @@ public static boolean validateProgressNoteChiefComplaintSection(ProgressNote pro public static boolean validateProgressNoteInterventionsSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteInterventionsSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_INTERVENTIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -884,6 +911,8 @@ public static boolean validateProgressNoteInterventionsSection(ProgressNote prog public static boolean validateProgressNoteMedicationsSectionEntriesOptional(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteMedicationsSectionEntriesOptional", "INFO"); + if (VALIDATE_PROGRESS_NOTE_MEDICATIONS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -949,6 +978,8 @@ public static boolean validateProgressNoteMedicationsSectionEntriesOptional(Prog public static boolean validateProgressNoteObjectiveSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteObjectiveSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_OBJECTIVE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1012,6 +1043,8 @@ public static boolean validateProgressNoteObjectiveSection(ProgressNote progress public static boolean validateProgressNotePhysicalExamSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNotePhysicalExamSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_PHYSICAL_EXAM_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1076,6 +1109,8 @@ public static boolean validateProgressNotePhysicalExamSection(ProgressNote progr public static boolean validateProgressNoteProblemSectionEntriesOptional(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteProblemSectionEntriesOptional", "INFO"); + if (VALIDATE_PROGRESS_NOTE_PROBLEM_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1141,6 +1176,8 @@ public static boolean validateProgressNoteProblemSectionEntriesOptional(Progress public static boolean validateProgressNoteResultsSectionEntriesOptional(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteResultsSectionEntriesOptional", "INFO"); + if (VALIDATE_PROGRESS_NOTE_RESULTS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1206,6 +1243,8 @@ public static boolean validateProgressNoteResultsSectionEntriesOptional(Progress public static boolean validateProgressNoteReviewOfSystemsSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteReviewOfSystemsSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1271,6 +1310,8 @@ public static boolean validateProgressNoteReviewOfSystemsSection(ProgressNote pr public static boolean validateProgressNoteSubjectiveSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteSubjectiveSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_SUBJECTIVE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1334,6 +1375,8 @@ public static boolean validateProgressNoteSubjectiveSection(ProgressNote progres public static boolean validateProgressNoteVitalSignsSectionEntriesOptional(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteVitalSignsSectionEntriesOptional", "INFO"); + if (VALIDATE_PROGRESS_NOTE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1399,6 +1442,8 @@ public static boolean validateProgressNoteVitalSignsSectionEntriesOptional(Progr public static boolean validateProgressNoteInstructionsSection(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteInstructionsSection", "INFO"); + if (VALIDATE_PROGRESS_NOTE_INSTRUCTIONS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1463,6 +1508,9 @@ public static boolean validateProgressNoteInstructionsSection(ProgressNote progr public static boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTimeLow(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2EffectiveTimeLow", "WARNING"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1534,6 +1582,9 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveT public static boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTimeHigh(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2EffectiveTimeHigh", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1605,6 +1656,9 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveT public static boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheDay(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2PreciseToTheDay", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_PRECISE_TO_THE_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1676,6 +1730,9 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToT public static boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheMinute(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2PreciseToTheMinute", "WARNING"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_PRECISE_TO_THE_MINUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1747,6 +1804,9 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToT public static boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToTheSecond(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2PreciseToTheSecond", "INFO"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_PRECISE_TO_THE_SECOND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1818,6 +1878,10 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2PreciseToT public static boolean validateProgressNoteDocumentationOfServiceEvent2IfMorePreciseThanDayIncludeTimeZoneOffset( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2IfMorePreciseThanDayIncludeTimeZoneOffset", + "WARNING"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1889,6 +1953,8 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2IfMorePrec public static boolean validateProgressNoteDocumentationOfServiceEvent2TemplateId(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2TemplateId", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1960,6 +2026,8 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2TemplateId public static boolean validateProgressNoteDocumentationOfServiceEvent2ClassCode(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2ClassCode", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2031,6 +2099,9 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2ClassCode( public static boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveTime(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2EffectiveTime", "WARNING"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2102,6 +2173,8 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2EffectiveT public static boolean validateProgressNoteDocumentationOfServiceEvent2(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteDocumentationOfServiceEvent2", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_DOCUMENTATION_OF_SERVICE_EVENT2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2172,6 +2245,9 @@ public static boolean validateProgressNoteDocumentationOfServiceEvent2(ProgressN public static boolean validateProgressNoteComponentOfEncompassingEncounter6LocationHealthCareFacility1Id( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6LocationHealthCareFacility1Id", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_LOCATION_HEALTH_CARE_FACILITY1_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2243,6 +2319,9 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6Locat public static boolean validateProgressNoteComponentOfEncompassingEncounter6LocationHealthCareFacility( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6LocationHealthCareFacility", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_LOCATION_HEALTH_CARE_FACILITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2314,6 +2393,9 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6Locat public static boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheDay( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6PreciseToTheDay", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_PRECISE_TO_THE_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2385,6 +2467,9 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6Preci public static boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheMinute( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6PreciseToTheMinute", "WARNING"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_PRECISE_TO_THE_MINUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2456,6 +2541,9 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6Preci public static boolean validateProgressNoteComponentOfEncompassingEncounter6PreciseToTheSecond( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6PreciseToTheSecond", "INFO"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_PRECISE_TO_THE_SECOND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2527,6 +2615,11 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6Preci public static boolean validateProgressNoteComponentOfEncompassingEncounter6IfMorePreciseThanDayIncludeTimeZoneOffset( ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ProgressNoteProgressNoteComponentOfEncompassingEncounter6IfMorePreciseThanDayIncludeTimeZoneOffset", + "WARNING"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_IF_MORE_PRECISE_THAN_DAY_INCLUDE_TIME_ZONE_OFFSET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2598,6 +2691,9 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6IfMor public static boolean validateProgressNoteComponentOfEncompassingEncounter6EffectiveTime(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6EffectiveTime", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2669,6 +2765,8 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6Effec public static boolean validateProgressNoteComponentOfEncompassingEncounter6Id(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6Id", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2740,6 +2838,8 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6Id(Pr public static boolean validateProgressNoteComponentOfEncompassingEncounter6Location(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6Location", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6_LOCATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2811,6 +2911,8 @@ public static boolean validateProgressNoteComponentOfEncompassingEncounter6Locat public static boolean validateProgressNoteComponentOfEncompassingEncounter6(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteProgressNoteComponentOfEncompassingEncounter6", "ERROR"); + if (VALIDATE_PROGRESS_NOTE_COMPONENT_OF_ENCOMPASSING_ENCOUNTER6__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3563,6 +3665,8 @@ public static InstructionsSection getInstructionsSection(ProgressNote progressNo public static boolean validateGeneralHeaderConstraintsTemplateId(ProgressNote progressNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressNoteGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3638,6 +3742,8 @@ public static boolean validateGeneralHeaderConstraintsCode(ProgressNote progress return true; } + DatatypesUtil.increment(context, "ProgressNoteGeneralHeaderConstraintsCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressTowardGoalObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressTowardGoalObservationOperations.java index ba3f8e539a..19a6668e40 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressTowardGoalObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ProgressTowardGoalObservationOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,9 @@ public static boolean validateProgressTowardGoalObservationTemplateId( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressTowardGoalObservationProgressTowardGoalObservationTemplateId", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +168,9 @@ public static boolean validateProgressTowardGoalObservationClassCode( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressTowardGoalObservationProgressTowardGoalObservationClassCode", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +238,8 @@ public static boolean validateProgressTowardGoalObservationMoodCode( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressTowardGoalObservationProgressTowardGoalObservationMoodCode", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +307,8 @@ public static boolean validateProgressTowardGoalObservationId( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressTowardGoalObservationProgressTowardGoalObservationId", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +375,8 @@ public static boolean validateProgressTowardGoalObservationCodeP( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressTowardGoalObservationProgressTowardGoalObservationCodeP", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -456,6 +469,8 @@ public static boolean validateProgressTowardGoalObservationCode( return true; } + DatatypesUtil.increment(context, "ProgressTowardGoalObservationProgressTowardGoalObservationCode", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -524,6 +539,9 @@ public static boolean validateProgressTowardGoalObservationStatusCode( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressTowardGoalObservationProgressTowardGoalObservationStatusCode", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -591,6 +609,9 @@ public static boolean validateProgressTowardGoalObservationStatusCodeP( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ProgressTowardGoalObservationProgressTowardGoalObservationStatusCodeP", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -660,6 +681,8 @@ public static boolean validateProgressTowardGoalObservationValue( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressTowardGoalObservationProgressTowardGoalObservationValue", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -727,6 +750,8 @@ public static boolean validateProgressTowardGoalObservationValueP( ProgressTowardGoalObservation progressTowardGoalObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ProgressTowardGoalObservationProgressTowardGoalObservationValueP", "ERROR"); + if (VALIDATE_PROGRESS_TOWARD_GOAL_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PurposeofReferenceObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PurposeofReferenceObservationOperations.java index 98d3c54fab..5ecbd5c65f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PurposeofReferenceObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/PurposeofReferenceObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,9 @@ public static boolean validatePurposeofReferenceObservationCodeCodeSystem( PurposeofReferenceObservation purposeofReferenceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PurposeofReferenceObservationPurposeofReferenceObservationCodeCodeSystem", "WARNING"); + if (VALIDATE_PURPOSEOF_REFERENCE_OBSERVATION_CODE_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +167,9 @@ public static boolean validatePurposeofReferenceObservationTemplateId( PurposeofReferenceObservation purposeofReferenceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PurposeofReferenceObservationPurposeofReferenceObservationTemplateId", "ERROR"); + if (VALIDATE_PURPOSEOF_REFERENCE_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +237,9 @@ public static boolean validatePurposeofReferenceObservationClassCode( PurposeofReferenceObservation purposeofReferenceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "PurposeofReferenceObservationPurposeofReferenceObservationClassCode", "ERROR"); + if (VALIDATE_PURPOSEOF_REFERENCE_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +307,8 @@ public static boolean validatePurposeofReferenceObservationCode( PurposeofReferenceObservation purposeofReferenceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PurposeofReferenceObservationPurposeofReferenceObservationCode", "ERROR"); + if (VALIDATE_PURPOSEOF_REFERENCE_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +376,8 @@ public static boolean validatePurposeofReferenceObservationMoodCode( PurposeofReferenceObservation purposeofReferenceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PurposeofReferenceObservationPurposeofReferenceObservationMoodCode", "ERROR"); + if (VALIDATE_PURPOSEOF_REFERENCE_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -433,6 +447,8 @@ public static boolean validatePurposeofReferenceObservationValue( PurposeofReferenceObservation purposeofReferenceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "PurposeofReferenceObservationPurposeofReferenceObservationValue", "WARNING"); + if (VALIDATE_PURPOSEOF_REFERENCE_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/QuantityMeasurementObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/QuantityMeasurementObservationOperations.java index 850b28ec84..5c9bd793f5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/QuantityMeasurementObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/QuantityMeasurementObservationOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -106,6 +107,9 @@ public static boolean validateQuantityMeasurementObservationCodeCodeSystemDIR( QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "QuantityMeasurementObservationQuantityMeasurementObservationCodeCodeSystemDIR", "WARNING"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_CODE_CODE_SYSTEM_DIR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +177,9 @@ public static boolean validateQuantityMeasurementObservationCodeCodeSystemDICOM( QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "QuantityMeasurementObservationQuantityMeasurementObservationCodeCodeSystemDICOM", "WARNING"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_CODE_CODE_SYSTEM_DICOM__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -240,6 +247,9 @@ public static boolean validateQuantityMeasurementObservationTemplateId( QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "QuantityMeasurementObservationQuantityMeasurementObservationTemplateId", "ERROR"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -307,6 +317,9 @@ public static boolean validateQuantityMeasurementObservationClassCode( QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "QuantityMeasurementObservationQuantityMeasurementObservationClassCode", "ERROR"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -374,6 +387,9 @@ public static boolean validateQuantityMeasurementObservationMoodCode( QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "QuantityMeasurementObservationQuantityMeasurementObservationMoodCode", "ERROR"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -441,6 +457,8 @@ public static boolean validateQuantityMeasurementObservationCode( QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "QuantityMeasurementObservationQuantityMeasurementObservationCode", "ERROR"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -508,6 +526,9 @@ public static boolean validateQuantityMeasurementObservationEffectiveTime( QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "QuantityMeasurementObservationQuantityMeasurementObservationEffectiveTime", "WARNING"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -575,6 +596,8 @@ public static boolean validateQuantityMeasurementObservationValue( QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "QuantityMeasurementObservationQuantityMeasurementObservationValue", "ERROR"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -642,6 +665,9 @@ public static boolean validateQuantityMeasurementObservationSOPInstanceObservati QuantityMeasurementObservation quantityMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "QuantityMeasurementObservationQuantityMeasurementObservationSOPInstanceObservation", "INFO"); + if (VALIDATE_QUANTITY_MEASUREMENT_OBSERVATION_SOP_INSTANCE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReactionObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReactionObservation2Operations.java index 409cd8a67f..effbf987a6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReactionObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReactionObservation2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -114,6 +115,8 @@ protected ReactionObservation2Operations() { public static boolean validateReactionObservationCodeValueSet(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationCodeValueSet", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_CODE_VALUE_SET__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -179,6 +182,8 @@ public static boolean validateReactionObservationCodeValueSet(ReactionObservatio public static boolean validateReactionObservation2TemplateId(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservation2TemplateId", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -243,6 +248,8 @@ public static boolean validateReactionObservation2TemplateId(ReactionObservation public static boolean validateReactionObservationCodeP(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationCodeP", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +305,8 @@ public static boolean validateReactionObservationCodeP(ReactionObservation2 reac public static boolean validateReactionObservationStatusCodeP(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationStatusCodeP", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -439,6 +448,9 @@ public static SeverityObservation2 getConsolSeverityObservation2(ReactionObserva public static boolean validateReactionObservationProcedureActivityProcedureInversionInd( ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReactionObservation2ReactionObservationProcedureActivityProcedureInversionInd", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_PROCEDURE_ACTIVITY_PROCEDURE_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -484,6 +496,9 @@ public static boolean validateReactionObservationProcedureActivityProcedureInver public static boolean validateReactionObservationMedicationActivityInversionInd( ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReactionObservation2ReactionObservationMedicationActivityInversionInd", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_MEDICATION_ACTIVITY_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -529,6 +544,9 @@ public static boolean validateReactionObservationMedicationActivityInversionInd( public static boolean validateReactionObservationSeverityObservationInversionInd( ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReactionObservation2ReactionObservationSeverityObservationInversionInd", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_SEVERITY_OBSERVATION_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -574,6 +592,8 @@ public static boolean validateReactionObservationSeverityObservationInversionInd public static boolean validateReactionObservationTextReference(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationTextReference", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -618,6 +638,8 @@ public static boolean validateReactionObservationTextReference(ReactionObservati public static boolean validateReactionObservationTextReferenceValue(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationTextReferenceValue", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -662,6 +684,8 @@ public static boolean validateReactionObservationTextReferenceValue(ReactionObse public static boolean validateReactionObservationReferenceValue(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationReferenceValue", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -714,6 +738,8 @@ public static boolean validateReactionObservationCode(ReactionObservation2 react return true; } + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationCode", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -756,6 +782,8 @@ public static boolean validateReactionObservationCode(ReactionObservation2 react public static boolean validateReactionObservationId(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationId", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1070,6 +1098,8 @@ public static boolean validateReactionObservationId(ReactionObservation2 reactio public static boolean validateReactionObservationText(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationText", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1142,6 +1172,8 @@ public static boolean validateReactionObservationStatusCode(ReactionObservation2 return true; } + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationStatusCode", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1206,6 +1238,8 @@ public static boolean validateReactionObservationStatusCode(ReactionObservation2 public static boolean validateReactionObservationValueP(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationValueP", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1292,6 +1326,8 @@ public static boolean validateReactionObservationValue(ReactionObservation2 reac return true; } + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationValue", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1355,6 +1391,8 @@ public static boolean validateReactionObservationValue(ReactionObservation2 reac public static boolean validateReactionObservationProcedureActivityProcedure( ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationProcedureActivityProcedure", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_PROCEDURE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1421,6 +1459,8 @@ public static boolean validateReactionObservationProcedureActivityProcedure( public static boolean validateReactionObservationMedicationActivity(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationMedicationActivity", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1486,6 +1526,8 @@ public static boolean validateReactionObservationMedicationActivity(ReactionObse public static boolean validateReactionObservationSeverityObservation(ReactionObservation2 reactionObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservation2ReactionObservationSeverityObservation", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_SEVERITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReactionObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReactionObservationOperations.java index 5b7ef32b88..eedddd883b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReactionObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReactionObservationOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -121,6 +122,8 @@ protected ReactionObservationOperations() { public static boolean validateReactionObservationTextReference(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationTextReference", "WARNING"); + if (VALIDATE_REACTION_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -186,6 +189,8 @@ public static boolean validateReactionObservationTextReference(ReactionObservati public static boolean validateReactionObservationTextReferenceValue(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationTextReferenceValue", "WARNING"); + if (VALIDATE_REACTION_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -251,6 +256,8 @@ public static boolean validateReactionObservationTextReferenceValue(ReactionObse public static boolean validateReactionObservationReferenceValue(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationReferenceValue", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -316,6 +323,8 @@ public static boolean validateReactionObservationReferenceValue(ReactionObservat public static boolean validateReactionObservationEffectiveTimeLow(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationEffectiveTimeLow", "WARNING"); + if (VALIDATE_REACTION_OBSERVATION_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -381,6 +390,8 @@ public static boolean validateReactionObservationEffectiveTimeLow(ReactionObserv public static boolean validateReactionObservationEffectiveTimeHigh(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationEffectiveTimeHigh", "WARNING"); + if (VALIDATE_REACTION_OBSERVATION_EFFECTIVE_TIME_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -446,6 +457,9 @@ public static boolean validateReactionObservationEffectiveTimeHigh(ReactionObser public static boolean validateReactionObservationSeverityObservationInversionInd( ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReactionObservationReactionObservationSeverityObservationInversionInd", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_SEVERITY_OBSERVATION_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -512,6 +526,9 @@ public static boolean validateReactionObservationSeverityObservationInversionInd public static boolean validateReactionObservationProcedureActivityProcedureInversionInd( ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReactionObservationReactionObservationProcedureActivityProcedureInversionInd", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_PROCEDURE_ACTIVITY_PROCEDURE_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -578,6 +595,9 @@ public static boolean validateReactionObservationProcedureActivityProcedureInver public static boolean validateReactionObservationMedicationActivityInversionInd( ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReactionObservationReactionObservationMedicationActivityInversionInd", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_MEDICATION_ACTIVITY_INVERSION_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -644,6 +664,8 @@ public static boolean validateReactionObservationMedicationActivityInversionInd( public static boolean validateReactionObservationTemplateId(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationTemplateId", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -708,6 +730,8 @@ public static boolean validateReactionObservationTemplateId(ReactionObservation public static boolean validateReactionObservationClassCode(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationClassCode", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -772,6 +796,8 @@ public static boolean validateReactionObservationClassCode(ReactionObservation r public static boolean validateReactionObservationMoodCode(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationMoodCode", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -835,6 +861,8 @@ public static boolean validateReactionObservationMoodCode(ReactionObservation re public static boolean validateReactionObservationId(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationId", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -898,6 +926,8 @@ public static boolean validateReactionObservationId(ReactionObservation reaction public static boolean validateReactionObservationCode(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationCode", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -961,6 +991,8 @@ public static boolean validateReactionObservationCode(ReactionObservation reacti public static boolean validateReactionObservationText(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationText", "WARNING"); + if (VALIDATE_REACTION_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1025,6 +1057,8 @@ public static boolean validateReactionObservationText(ReactionObservation reacti public static boolean validateReactionObservationStatusCode(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationStatusCode", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1089,6 +1123,8 @@ public static boolean validateReactionObservationStatusCode(ReactionObservation public static boolean validateReactionObservationEffectiveTime(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationEffectiveTime", "WARNING"); + if (VALIDATE_REACTION_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1156,6 +1192,8 @@ public static boolean validateReactionObservationEffectiveTime(ReactionObservati public static boolean validateReactionObservationValue(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationValue", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1219,6 +1257,8 @@ public static boolean validateReactionObservationValue(ReactionObservation react public static boolean validateReactionObservationValueP(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationValueP", "ERROR"); + if (VALIDATE_REACTION_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1282,6 +1322,8 @@ public static boolean validateReactionObservationValueP(ReactionObservation reac public static boolean validateReactionObservationSeverityObservation(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationSeverityObservation", "WARNING"); + if (VALIDATE_REACTION_OBSERVATION_SEVERITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1347,6 +1389,8 @@ public static boolean validateReactionObservationSeverityObservation(ReactionObs public static boolean validateReactionObservationProcedureActivityProcedure(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationProcedureActivityProcedure", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_PROCEDURE_ACTIVITY_PROCEDURE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1413,6 +1457,8 @@ public static boolean validateReactionObservationProcedureActivityProcedure(Reac public static boolean validateReactionObservationMedicationActivity(ReactionObservation reactionObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReactionObservationReactionObservationMedicationActivity", "INFO"); + if (VALIDATE_REACTION_OBSERVATION_MEDICATION_ACTIVITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForReferralSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForReferralSection2Operations.java index 20fb780321..b7d7a2aa88 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForReferralSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForReferralSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ public static boolean validateReasonForReferralSection2TemplateId( ReasonForReferralSection2 reasonForReferralSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForReferralSection2ReasonForReferralSection2TemplateId", "ERROR"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,9 @@ public static boolean validateReasonForReferralSection2PatientReferralAct( ReasonForReferralSection2 reasonForReferralSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReasonForReferralSection2ReasonForReferralSection2PatientReferralAct", "INFO"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION2_PATIENT_REFERRAL_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -277,6 +283,8 @@ public static EList getPatientReferralActs( public static boolean validateReasonForReferralSectionCodeP(ReasonForReferralSection2 reasonForReferralSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForReferralSection2ReasonForReferralSectionCodeP", "ERROR"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +373,8 @@ public static boolean validateReasonForReferralSectionCode(ReasonForReferralSect return true; } + DatatypesUtil.increment(context, "ReasonForReferralSection2ReasonForReferralSectionCode", "ERROR"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForReferralSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForReferralSectionOperations.java index 4119f327aa..2fa360d342 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForReferralSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForReferralSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected ReasonForReferralSectionOperations() { public static boolean validateReasonForReferralSectionTemplateId(ReasonForReferralSection reasonForReferralSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForReferralSectionReasonForReferralSectionTemplateId", "ERROR"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateReasonForReferralSectionTemplateId(ReasonForReferr public static boolean validateReasonForReferralSectionCode(ReasonForReferralSection reasonForReferralSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForReferralSectionReasonForReferralSectionCode", "ERROR"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateReasonForReferralSectionCode(ReasonForReferralSect public static boolean validateReasonForReferralSectionCodeP(ReasonForReferralSection reasonForReferralSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForReferralSectionReasonForReferralSectionCodeP", "ERROR"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -290,6 +297,8 @@ public static boolean validateReasonForReferralSectionCodeP(ReasonForReferralSec public static boolean validateReasonForReferralSectionTitle(ReasonForReferralSection reasonForReferralSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForReferralSectionReasonForReferralSectionTitle", "ERROR"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +363,8 @@ public static boolean validateReasonForReferralSectionTitle(ReasonForReferralSec public static boolean validateReasonForReferralSectionText(ReasonForReferralSection reasonForReferralSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForReferralSectionReasonForReferralSectionText", "ERROR"); + if (VALIDATE_REASON_FOR_REFERRAL_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForVisitSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForVisitSectionOperations.java index 5524a986b4..9b6f14dfcc 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForVisitSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReasonForVisitSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected ReasonForVisitSectionOperations() { public static boolean validateReasonForVisitSectionTemplateId(ReasonForVisitSection reasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForVisitSectionReasonForVisitSectionTemplateId", "ERROR"); + if (VALIDATE_REASON_FOR_VISIT_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateReasonForVisitSectionTemplateId(ReasonForVisitSect public static boolean validateReasonForVisitSectionCode(ReasonForVisitSection reasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForVisitSectionReasonForVisitSectionCode", "ERROR"); + if (VALIDATE_REASON_FOR_VISIT_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateReasonForVisitSectionCode(ReasonForVisitSection re public static boolean validateReasonForVisitSectionCodeP(ReasonForVisitSection reasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForVisitSectionReasonForVisitSectionCodeP", "ERROR"); + if (VALIDATE_REASON_FOR_VISIT_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateReasonForVisitSectionCodeP(ReasonForVisitSection r public static boolean validateReasonForVisitSectionText(ReasonForVisitSection reasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForVisitSectionReasonForVisitSectionText", "ERROR"); + if (VALIDATE_REASON_FOR_VISIT_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +362,8 @@ public static boolean validateReasonForVisitSectionText(ReasonForVisitSection re public static boolean validateReasonForVisitSectionTitle(ReasonForVisitSection reasonForVisitSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReasonForVisitSectionReasonForVisitSectionTitle", "ERROR"); + if (VALIDATE_REASON_FOR_VISIT_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReferencedFramesObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReferencedFramesObservationOperations.java index be579c6071..0c8a43c403 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReferencedFramesObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReferencedFramesObservationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -99,6 +100,8 @@ public static boolean validateReferencedFramesObservationTemplateId( ReferencedFramesObservation referencedFramesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferencedFramesObservationReferencedFramesObservationTemplateId", "ERROR"); + if (VALIDATE_REFERENCED_FRAMES_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateReferencedFramesObservationClassCode( ReferencedFramesObservation referencedFramesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferencedFramesObservationReferencedFramesObservationClassCode", "ERROR"); + if (VALIDATE_REFERENCED_FRAMES_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +238,8 @@ public static boolean validateReferencedFramesObservationMoodCode( ReferencedFramesObservation referencedFramesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferencedFramesObservationReferencedFramesObservationMoodCode", "ERROR"); + if (VALIDATE_REFERENCED_FRAMES_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -302,6 +309,8 @@ public static boolean validateReferencedFramesObservationCode( ReferencedFramesObservation referencedFramesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferencedFramesObservationReferencedFramesObservationCode", "ERROR"); + if (VALIDATE_REFERENCED_FRAMES_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +377,9 @@ public static boolean validateReferencedFramesObservationBoundaryObservation( ReferencedFramesObservation referencedFramesObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferencedFramesObservationReferencedFramesObservationBoundaryObservation", "ERROR"); + if (VALIDATE_REFERENCED_FRAMES_OBSERVATION_BOUNDARY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReferralNoteOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReferralNoteOperations.java index f0d7598a97..fef6a29171 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReferralNoteOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReferralNoteOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -189,6 +190,11 @@ protected ReferralNoteOperations() { public static boolean validateReferralNoteHasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ReferralNoteReferralNoteHasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2", + "ERROR"); + if (VALIDATE_REFERRAL_NOTE_HAS_AN_ASSEMENT_AND_PLAN_SECTION2_OR_BOTH_ASSEMENT_SECTION_AND_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -255,6 +261,11 @@ public static boolean validateReferralNoteHasAnAssementAndPlanSection2OrBothAsse public static boolean validateReferralNoteDoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "ReferralNoteReferralNoteDoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent", + "ERROR"); + if (VALIDATE_REFERRAL_NOTE_DOES_NOT_HAVE_ASSEMENT_AND_PLAN_SECTION2_WHEN_ASSEMENT_AND_PLAN_OF_TREATMENT2_ARE_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -321,6 +332,8 @@ public static boolean validateReferralNoteDoesNotHaveAssementAndPlanSection2When public static boolean validateReferralNoteCodeP(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteCodeP", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -407,6 +420,8 @@ public static boolean validateReferralNoteCode(ReferralNote referralNote, Diagno return true; } + DatatypesUtil.increment(context, "ReferralNoteReferralNoteCode", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -470,6 +485,8 @@ public static boolean validateReferralNoteCode(ReferralNote referralNote, Diagno public static boolean validateReferralNoteInformationRecipient(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteInformationRecipient", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -534,6 +551,8 @@ public static boolean validateReferralNoteInformationRecipient(ReferralNote refe public static boolean validateReferralNoteParticipantCaregiver(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteParticipantCaregiver", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CAREGIVER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -598,6 +617,8 @@ public static boolean validateReferralNoteParticipantCaregiver(ReferralNote refe public static boolean validateReferralNoteParticipantCallbackContact(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteParticipantCallbackContact", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -663,6 +684,8 @@ public static boolean validateReferralNoteParticipantCallbackContact(ReferralNot public static boolean validateReferralNotePlanOfTreatmentSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNotePlanOfTreatmentSection2", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -728,6 +751,8 @@ public static boolean validateReferralNotePlanOfTreatmentSection2(ReferralNote r public static boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteAdvanceDirectivesSectionEntriesOptional2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -794,6 +819,8 @@ public static boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptiona public static boolean validateReferralNoteHistoryOfPresentIllnessSection(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteHistoryOfPresentIllnessSection", "INFO"); + if (VALIDATE_REFERRAL_NOTE_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -859,6 +886,8 @@ public static boolean validateReferralNoteHistoryOfPresentIllnessSection(Referra public static boolean validateReferralNoteImmunizationsSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteImmunizationsSection2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_IMMUNIZATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -923,6 +952,8 @@ public static boolean validateReferralNoteImmunizationsSection2(ReferralNote ref public static boolean validateReferralNoteProblemSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteProblemSection2", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PROBLEM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -986,6 +1017,8 @@ public static boolean validateReferralNoteProblemSection2(ReferralNote referralN public static boolean validateReferralNoteProceduresSectionEntriesOptional2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteProceduresSectionEntriesOptional2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_PROCEDURES_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1051,6 +1084,8 @@ public static boolean validateReferralNoteProceduresSectionEntriesOptional2(Refe public static boolean validateReferralNoteResultsSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteResultsSection2", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_RESULTS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1114,6 +1149,8 @@ public static boolean validateReferralNoteResultsSection2(ReferralNote referralN public static boolean validateReferralNoteReviewOfSystemsSection(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteReviewOfSystemsSection", "INFO"); + if (VALIDATE_REFERRAL_NOTE_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1179,6 +1216,8 @@ public static boolean validateReferralNoteReviewOfSystemsSection(ReferralNote re public static boolean validateReferralNoteSocialHistorySection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteSocialHistorySection2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_SOCIAL_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1243,6 +1282,8 @@ public static boolean validateReferralNoteSocialHistorySection2(ReferralNote ref public static boolean validateReferralNoteVitalSignsSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteVitalSignsSection2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_VITAL_SIGNS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1307,6 +1348,8 @@ public static boolean validateReferralNoteVitalSignsSection2(ReferralNote referr public static boolean validateReferralNoteFunctionalStatusSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteFunctionalStatusSection2", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_FUNCTIONAL_STATUS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1372,6 +1415,8 @@ public static boolean validateReferralNoteFunctionalStatusSection2(ReferralNote public static boolean validateReferralNotePhysicalExamSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNotePhysicalExamSection2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_PHYSICAL_EXAM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1436,6 +1481,8 @@ public static boolean validateReferralNotePhysicalExamSection2(ReferralNote refe public static boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptional2b(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteAdvanceDirectivesSectionEntriesOptional2b", "INFO"); + if (VALIDATE_REFERRAL_NOTE_ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL2B__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1502,6 +1549,8 @@ public static boolean validateReferralNoteAdvanceDirectivesSectionEntriesOptiona public static boolean validateReferralNoteNutritionSection(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteNutritionSection", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_NUTRITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1565,6 +1614,8 @@ public static boolean validateReferralNoteNutritionSection(ReferralNote referral public static boolean validateReferralNoteMentalStatusSection(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteMentalStatusSection", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_MENTAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1629,6 +1680,8 @@ public static boolean validateReferralNoteMentalStatusSection(ReferralNote refer public static boolean validateReferralNoteMedicalEquipmentSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteMedicalEquipmentSection2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_MEDICAL_EQUIPMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1694,6 +1747,8 @@ public static boolean validateReferralNoteMedicalEquipmentSection2(ReferralNote public static boolean validateReferralNoteAllergiesSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteAllergiesSection2", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_ALLERGIES_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1757,6 +1812,8 @@ public static boolean validateReferralNoteAllergiesSection2(ReferralNote referra public static boolean validateReferralNoteAssessmentSection(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteAssessmentSection", "INFO"); + if (VALIDATE_REFERRAL_NOTE_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1820,6 +1877,8 @@ public static boolean validateReferralNoteAssessmentSection(ReferralNote referra public static boolean validateReferralNoteAssessmentAndPlanSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteAssessmentAndPlanSection2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_ASSESSMENT_AND_PLAN_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1885,6 +1944,8 @@ public static boolean validateReferralNoteAssessmentAndPlanSection2(ReferralNote public static boolean validateReferralNoteHistoryOfPastIllnessSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteHistoryOfPastIllnessSection2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_HISTORY_OF_PAST_ILLNESS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1950,6 +2011,8 @@ public static boolean validateReferralNoteHistoryOfPastIllnessSection2(ReferralN public static boolean validateReferralNoteGeneralStatusSection(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteGeneralStatusSection", "INFO"); + if (VALIDATE_REFERRAL_NOTE_GENERAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2014,6 +2077,8 @@ public static boolean validateReferralNoteGeneralStatusSection(ReferralNote refe public static boolean validateReferralNoteMedicationsSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteMedicationsSection2", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_MEDICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2078,6 +2143,8 @@ public static boolean validateReferralNoteMedicationsSection2(ReferralNote refer public static boolean validateReferralNoteReasonForReferralSection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteReasonForReferralSection2", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_REASON_FOR_REFERRAL_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2143,6 +2210,8 @@ public static boolean validateReferralNoteReasonForReferralSection2(ReferralNote public static boolean validateReferralNoteFamilyHistorySection2(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteFamilyHistorySection2", "INFO"); + if (VALIDATE_REFERRAL_NOTE_FAMILY_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2207,6 +2276,9 @@ public static boolean validateReferralNoteFamilyHistorySection2(ReferralNote ref public static boolean validateReferralNoteInformationRecipientIntendedRecipientPersonName(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteInformationRecipientIntendedRecipientPersonName", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2278,6 +2350,9 @@ public static boolean validateReferralNoteInformationRecipientIntendedRecipientP public static boolean validateReferralNoteInformationRecipientIntendedRecipientAddr(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteInformationRecipientIntendedRecipientAddr", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2349,6 +2424,9 @@ public static boolean validateReferralNoteInformationRecipientIntendedRecipientA public static boolean validateReferralNoteInformationRecipientIntendedRecipientTelecom(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteInformationRecipientIntendedRecipientTelecom", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2420,6 +2498,9 @@ public static boolean validateReferralNoteInformationRecipientIntendedRecipientT public static boolean validateReferralNoteInformationRecipientIntendedRecipientInformationRecipient( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteInformationRecipientIntendedRecipientInformationRecipient", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2491,6 +2572,8 @@ public static boolean validateReferralNoteInformationRecipientIntendedRecipientI public static boolean validateReferralNoteInformationRecipientIntendedRecipient(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteInformationRecipientIntendedRecipient", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_INFORMATION_RECIPIENT_INTENDED_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2562,6 +2645,9 @@ public static boolean validateReferralNoteInformationRecipientIntendedRecipient( public static boolean validateReferralNoteParticipantCaregiverAssociatedEntityAssociatedPersonName( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCaregiverAssociatedEntityAssociatedPersonName", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY_ASSOCIATED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2633,6 +2719,9 @@ public static boolean validateReferralNoteParticipantCaregiverAssociatedEntityAs public static boolean validateReferralNoteParticipantCaregiverAssociatedEntityClassCodeP(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCaregiverAssociatedEntityClassCodeP", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY_CLASS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2720,6 +2809,9 @@ public static boolean validateReferralNoteParticipantCaregiverAssociatedEntityCl public static boolean validateReferralNoteParticipantCaregiverAssociatedEntityClassCode(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCaregiverAssociatedEntityClassCode", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2801,6 +2893,9 @@ public static boolean validateReferralNoteParticipantCaregiverAssociatedEntityCl public static boolean validateReferralNoteParticipantCaregiverAssociatedEntityAssociatedPerson( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCaregiverAssociatedEntityAssociatedPerson", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2872,6 +2967,8 @@ public static boolean validateReferralNoteParticipantCaregiverAssociatedEntityAs public static boolean validateReferralNoteParticipantCaregiverTypeCode(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteParticipantCaregiverTypeCode", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CAREGIVER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2942,6 +3039,8 @@ public static boolean validateReferralNoteParticipantCaregiverTypeCode(ReferralN public static boolean validateReferralNoteParticipantCaregiverAssociatedEntity(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteParticipantCaregiverAssociatedEntity", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CAREGIVER_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3013,6 +3112,9 @@ public static boolean validateReferralNoteParticipantCaregiverAssociatedEntity(R public static boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAssociatedPersonName( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCallbackContactAssociatedEntityAssociatedPersonName", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3084,6 +3186,9 @@ public static boolean validateReferralNoteParticipantCallbackContactAssociatedEn public static boolean validateReferralNoteParticipantCallbackContactAssociatedEntityId(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCallbackContactAssociatedEntityId", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3155,6 +3260,9 @@ public static boolean validateReferralNoteParticipantCallbackContactAssociatedEn public static boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAddr(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCallbackContactAssociatedEntityAddr", "WARNING"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3226,6 +3334,9 @@ public static boolean validateReferralNoteParticipantCallbackContactAssociatedEn public static boolean validateReferralNoteParticipantCallbackContactAssociatedEntityTelecom( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCallbackContactAssociatedEntityTelecom", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3297,6 +3408,9 @@ public static boolean validateReferralNoteParticipantCallbackContactAssociatedEn public static boolean validateReferralNoteParticipantCallbackContactAssociatedEntityClassCode( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCallbackContactAssociatedEntityClassCode", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3368,6 +3482,9 @@ public static boolean validateReferralNoteParticipantCallbackContactAssociatedEn public static boolean validateReferralNoteParticipantCallbackContactAssociatedEntityAssociatedPerson( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCallbackContactAssociatedEntityAssociatedPerson", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3439,6 +3556,9 @@ public static boolean validateReferralNoteParticipantCallbackContactAssociatedEn public static boolean validateReferralNoteParticipantCallbackContactAssociatedEntityScopingOrganization( ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ReferralNoteReferralNoteParticipantCallbackContactAssociatedEntityScopingOrganization", "INFO"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_SCOPING_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3510,6 +3630,8 @@ public static boolean validateReferralNoteParticipantCallbackContactAssociatedEn public static boolean validateReferralNoteParticipantCallbackContactTypeCode(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteParticipantCallbackContactTypeCode", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3581,6 +3703,8 @@ public static boolean validateReferralNoteParticipantCallbackContactTypeCode(Ref public static boolean validateReferralNoteParticipantCallbackContactAssociatedEntity(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteReferralNoteParticipantCallbackContactAssociatedEntity", "ERROR"); + if (VALIDATE_REFERRAL_NOTE_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4741,6 +4865,8 @@ public static FamilyHistorySection2 getFamilyHistorySection2(ReferralNote referr public static boolean validateUSRealmHeader2TemplateId(ReferralNote referralNote, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReferralNoteUSRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultObservation2Operations.java index ac35e64d71..7fce7cbf4f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultObservation2Operations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -113,6 +114,8 @@ protected ResultObservation2Operations() { public static boolean validateResultObservation2TemplateId(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservation2TemplateId", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -176,6 +179,8 @@ public static boolean validateResultObservation2TemplateId(ResultObservation2 re public static boolean validateResultObservationCodeP(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -252,6 +257,8 @@ public static boolean validateResultObservationCodeP(ResultObservation2 resultOb public static boolean validateResultObservationInterpretationCodeP(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationInterpretationCodeP", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_INTERPRETATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -331,6 +338,8 @@ public static boolean validateResultObservationInterpretationCodeP(ResultObserva public static boolean validateResultObservation2AuthorParticipation(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -396,6 +405,8 @@ public static boolean validateResultObservation2AuthorParticipation(ResultObserv public static boolean validateResultObservation2ReferenceRange(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservation2ReferenceRange", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION2_REFERENCE_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -461,6 +472,9 @@ public static boolean validateResultObservation2ReferenceRange(ResultObservation public static boolean validateResultObservation2ReferenceRangeObservationRangeValue( ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ResultObservation2ResultObservation2ReferenceRangeObservationRangeValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION2_REFERENCE_RANGE_OBSERVATION_RANGE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -533,6 +547,9 @@ public static boolean validateResultObservation2ReferenceRangeObservationRangeVa public static boolean validateResultObservation2ReferenceRangeObservationRangeCode( ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ResultObservation2ResultObservation2ReferenceRangeObservationRangeCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION2_REFERENCE_RANGE_OBSERVATION_RANGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -604,6 +621,8 @@ public static boolean validateResultObservation2ReferenceRangeObservationRangeCo public static boolean validateResultObservation2ReferenceRangeObservationRange( ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservation2ReferenceRangeObservationRange", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION2_REFERENCE_RANGE_OBSERVATION_RANGE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -675,6 +694,8 @@ public static boolean validateResultObservation2ReferenceRangeObservationRange( public static boolean validateResultObservationAuthorMultiplicity(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationAuthorMultiplicity", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_AUTHOR_MULTIPLICITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -740,6 +761,8 @@ public static boolean validateResultObservationAuthorMultiplicity(ResultObservat public static boolean validateResultObservationCodeValue(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationCodeValue", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -803,6 +826,8 @@ public static boolean validateResultObservationCodeValue(ResultObservation2 resu public static boolean validateResultObservationTextReference(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationTextReference", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -867,6 +892,8 @@ public static boolean validateResultObservationTextReference(ResultObservation2 public static boolean validateResultObservationReferenceValue(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationReferenceValue", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -932,6 +959,8 @@ public static boolean validateResultObservationReferenceValue(ResultObservation2 public static boolean validateResultObservationTextReferenceValue(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationTextReferenceValue", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -997,6 +1026,8 @@ public static boolean validateResultObservationTextReferenceValue(ResultObservat public static boolean validateResultObservationNoObservationRangeCode(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationNoObservationRangeCode", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_NO_OBSERVATION_RANGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1062,6 +1093,8 @@ public static boolean validateResultObservationNoObservationRangeCode(ResultObse public static boolean validateResultObservationEffectiveTime(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationEffectiveTime", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1126,6 +1159,8 @@ public static boolean validateResultObservationEffectiveTime(ResultObservation2 public static boolean validateResultObservationText(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationText", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1199,6 +1234,8 @@ public static boolean validateResultObservationCode(ResultObservation2 resultObs return true; } + DatatypesUtil.increment(context, "ResultObservation2ResultObservationCode", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1262,6 +1299,8 @@ public static boolean validateResultObservationCode(ResultObservation2 resultObs public static boolean validateResultObservationValue(ResultObservation2 resultObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservation2ResultObservationValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1335,6 +1374,8 @@ public static boolean validateResultObservationInterpretationCode(ResultObservat return true; } + DatatypesUtil.increment(context, "ResultObservation2ResultObservationInterpretationCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultObservationOperations.java index b9b305a6c5..efc933150c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -108,6 +109,8 @@ protected ResultObservationOperations() { public static boolean validateResultObservationTextReference(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationTextReference", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +175,8 @@ public static boolean validateResultObservationTextReference(ResultObservation r public static boolean validateResultObservationReferenceValue(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationReferenceValue", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +242,8 @@ public static boolean validateResultObservationReferenceValue(ResultObservation public static boolean validateResultObservationTextReferenceValue(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationTextReferenceValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -302,6 +309,8 @@ public static boolean validateResultObservationTextReferenceValue(ResultObservat public static boolean validateResultObservationCodeValue(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationCodeValue", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +374,8 @@ public static boolean validateResultObservationCodeValue(ResultObservation resul public static boolean validateResultObservationNoObservationRangeCode(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationNoObservationRangeCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_NO_OBSERVATION_RANGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -430,6 +441,8 @@ public static boolean validateResultObservationNoObservationRangeCode(ResultObse public static boolean validateResultObservationAuthorMultiplicity(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationAuthorMultiplicity", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_AUTHOR_MULTIPLICITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -495,6 +508,8 @@ public static boolean validateResultObservationAuthorMultiplicity(ResultObservat public static boolean validateResultObservationTemplateId(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationTemplateId", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -558,6 +573,8 @@ public static boolean validateResultObservationTemplateId(ResultObservation resu public static boolean validateResultObservationClassCode(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationClassCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -621,6 +638,8 @@ public static boolean validateResultObservationClassCode(ResultObservation resul public static boolean validateResultObservationMoodCode(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationMoodCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -684,6 +703,8 @@ public static boolean validateResultObservationMoodCode(ResultObservation result public static boolean validateResultObservationId(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationId", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -747,6 +768,8 @@ public static boolean validateResultObservationId(ResultObservation resultObserv public static boolean validateResultObservationCode(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -810,6 +833,8 @@ public static boolean validateResultObservationCode(ResultObservation resultObse public static boolean validateResultObservationText(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationText", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -875,6 +900,8 @@ public static boolean validateResultObservationText(ResultObservation resultObse public static boolean validateResultObservationStatusCode(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationStatusCode", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -938,6 +965,8 @@ public static boolean validateResultObservationStatusCode(ResultObservation resu public static boolean validateResultObservationStatusCodeP(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationStatusCodeP", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1001,6 +1030,8 @@ public static boolean validateResultObservationStatusCodeP(ResultObservation res public static boolean validateResultObservationEffectiveTime(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationEffectiveTime", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1065,6 +1096,8 @@ public static boolean validateResultObservationEffectiveTime(ResultObservation r public static boolean validateResultObservationValue(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationValue", "ERROR"); + if (VALIDATE_RESULT_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1128,6 +1161,8 @@ public static boolean validateResultObservationValue(ResultObservation resultObs public static boolean validateResultObservationInterpretationCode(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationInterpretationCode", "WARNING"); + if (VALIDATE_RESULT_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1193,6 +1228,8 @@ public static boolean validateResultObservationInterpretationCode(ResultObservat public static boolean validateResultObservationMethodCode(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationMethodCode", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1256,6 +1293,8 @@ public static boolean validateResultObservationMethodCode(ResultObservation resu public static boolean validateResultObservationTargetSiteCode(ResultObservation resultObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultObservationResultObservationTargetSiteCode", "INFO"); + if (VALIDATE_RESULT_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultOrganizer2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultOrganizer2Operations.java index 5a2ca1e419..694e4d6e68 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultOrganizer2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultOrganizer2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -101,6 +102,8 @@ protected ResultOrganizer2Operations() { public static boolean validateResultOrganizer2TemplateId(ResultOrganizer2 resultOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizer2ResultOrganizer2TemplateId", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateResultOrganizer2TemplateId(ResultOrganizer2 result public static boolean validateResultOrganizer2EffectiveTime(ResultOrganizer2 resultOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizer2ResultOrganizer2EffectiveTime", "INFO"); + if (VALIDATE_RESULT_ORGANIZER2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -227,6 +232,8 @@ public static boolean validateResultOrganizer2EffectiveTime(ResultOrganizer2 res public static boolean validateResultOrganizer2AuthorParticipation(ResultOrganizer2 resultOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizer2ResultOrganizer2AuthorParticipation", "WARNING"); + if (VALIDATE_RESULT_ORGANIZER2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +300,8 @@ public static boolean validateResultOrganizer2AuthorParticipation(ResultOrganize public static boolean validateResultOrganizer2IVLTSLow(ResultOrganizer2 resultOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizer2ResultOrganizer2IVLTSLow", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER2_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +373,8 @@ public static boolean validateResultOrganizer2IVLTSLow(ResultOrganizer2 resultOr public static boolean validateResultOrganizer2IVLTSHigh(ResultOrganizer2 resultOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizer2ResultOrganizer2IVLTSHigh", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER2_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -482,6 +493,8 @@ public static EList getConsolResultObservation2s(ResultOrgan public static boolean validateResultOrganizerCodeValue(ResultOrganizer2 resultOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizer2ResultOrganizerCodeValue", "WARNING"); + if (VALIDATE_RESULT_ORGANIZER_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -545,6 +558,8 @@ public static boolean validateResultOrganizerCodeValue(ResultOrganizer2 resultOr public static boolean validateResultOrganizerClassCodeValue(ResultOrganizer2 resultOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizer2ResultOrganizerClassCodeValue", "INFO"); + if (VALIDATE_RESULT_ORGANIZER_CLASS_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -608,6 +623,8 @@ public static boolean validateResultOrganizerClassCodeValue(ResultOrganizer2 res public static boolean validateResultOrganizerResultObservation(ResultOrganizer2 resultOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizer2ResultOrganizerResultObservation", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultOrganizerOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultOrganizerOperations.java index 0cbc7b8c40..a8f9202164 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultOrganizerOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultOrganizerOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.OrganizerOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -106,6 +107,8 @@ protected ResultOrganizerOperations() { public static boolean validateResultOrganizerCodeValue(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerCodeValue", "WARNING"); + if (VALIDATE_RESULT_ORGANIZER_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -169,6 +172,8 @@ public static boolean validateResultOrganizerCodeValue(ResultOrganizer resultOrg public static boolean validateResultOrganizerClassCodeValue(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerClassCodeValue", "WARNING"); + if (VALIDATE_RESULT_ORGANIZER_CLASS_CODE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -232,6 +237,8 @@ public static boolean validateResultOrganizerClassCodeValue(ResultOrganizer resu public static boolean validateResultOrganizerTemplateId(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerTemplateId", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +302,8 @@ public static boolean validateResultOrganizerTemplateId(ResultOrganizer resultOr public static boolean validateResultOrganizerClassCode(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerClassCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -358,6 +367,8 @@ public static boolean validateResultOrganizerClassCode(ResultOrganizer resultOrg public static boolean validateResultOrganizerMoodCode(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerMoodCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -421,6 +432,8 @@ public static boolean validateResultOrganizerMoodCode(ResultOrganizer resultOrga public static boolean validateResultOrganizerId(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerId", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -484,6 +497,8 @@ public static boolean validateResultOrganizerId(ResultOrganizer resultOrganizer, public static boolean validateResultOrganizerStatusCodeP(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerStatusCodeP", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -570,6 +585,8 @@ public static boolean validateResultOrganizerStatusCode(ResultOrganizer resultOr return true; } + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerStatusCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -633,6 +650,8 @@ public static boolean validateResultOrganizerStatusCode(ResultOrganizer resultOr public static boolean validateResultOrganizerCode(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerCode", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -696,6 +715,8 @@ public static boolean validateResultOrganizerCode(ResultOrganizer resultOrganize public static boolean validateResultOrganizerResultObservation(ResultOrganizer resultOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultOrganizerResultOrganizerResultObservation", "ERROR"); + if (VALIDATE_RESULT_ORGANIZER_RESULT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSection2Operations.java index 32ba4820e4..dc5acdaa97 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected ResultsSection2Operations() { public static boolean validateResultsSection2NullFlavor(ResultsSection2 resultsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSection2ResultsSection2NullFlavor", "INFO"); + if (VALIDATE_RESULTS_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateResultsSection2NullFlavor(ResultsSection2 resultsS public static boolean validateResultsSection2Title(ResultsSection2 resultsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSection2ResultsSection2Title", "ERROR"); + if (VALIDATE_RESULTS_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateResultsSection2Title(ResultsSection2 resultsSectio public static boolean validateResultsSection2Text(ResultsSection2 resultsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSection2ResultsSection2Text", "ERROR"); + if (VALIDATE_RESULTS_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validateResultsSection2Text(ResultsSection2 resultsSection public static boolean validateResultsSectionEntriesOptionalTemplateId(ResultsSection2 resultsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSection2ResultsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -352,6 +361,8 @@ public static boolean validateResultsSectionEntriesOptionalTemplateId(ResultsSec public static boolean validateResultsSectionEntriesOptionalCodeP(ResultsSection2 resultsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSection2ResultsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -441,6 +452,8 @@ public static boolean validateResultsSectionEntriesOptionalCode(ResultsSection2 return true; } + DatatypesUtil.increment(context, "ResultsSection2ResultsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -506,6 +519,8 @@ public static boolean validateResultsSectionEntriesOptionalCode(ResultsSection2 public static boolean validateResultsSectionEntriesOptionalResultOrganizer(ResultsSection2 resultsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSection2ResultsSectionEntriesOptionalResultOrganizer", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_RESULT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionEntriesOptional2Operations.java index a196446356..328bf70971 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -145,6 +146,9 @@ public static boolean validateResultsSectionEntriesOptionalTemplateId( ResultsSectionEntriesOptional2 resultsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ResultsSectionEntriesOptional2ResultsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -212,6 +216,8 @@ public static boolean validateResultsSectionEntriesOptionalCodeP( ResultsSectionEntriesOptional2 resultsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionEntriesOptional2ResultsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -304,6 +310,8 @@ public static boolean validateResultsSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment(context, "ResultsSectionEntriesOptional2ResultsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -371,6 +379,9 @@ public static boolean validateResultsSectionEntriesOptionalResultOrganizer( ResultsSectionEntriesOptional2 resultsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ResultsSectionEntriesOptional2ResultsSectionEntriesOptionalResultOrganizer", "WARNING"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_RESULT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionEntriesOptionalOperations.java index dc1476ca97..a7d050ae37 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,9 @@ public static boolean validateResultsSectionEntriesOptionalTemplateId( ResultsSectionEntriesOptional resultsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ResultsSectionEntriesOptionalResultsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +176,8 @@ public static boolean validateResultsSectionEntriesOptionalCode( ResultsSectionEntriesOptional resultsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionEntriesOptionalResultsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +245,8 @@ public static boolean validateResultsSectionEntriesOptionalCodeP( ResultsSectionEntriesOptional resultsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionEntriesOptionalResultsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -306,6 +314,8 @@ public static boolean validateResultsSectionEntriesOptionalTitle( ResultsSectionEntriesOptional resultsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionEntriesOptionalResultsSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +383,8 @@ public static boolean validateResultsSectionEntriesOptionalText( ResultsSectionEntriesOptional resultsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionEntriesOptionalResultsSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +452,9 @@ public static boolean validateResultsSectionEntriesOptionalResultOrganizer( ResultsSectionEntriesOptional resultsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ResultsSectionEntriesOptionalResultsSectionEntriesOptionalResultOrganizer", "WARNING"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_RESULT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionOperations.java index f5c939b711..316affb348 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ResultsSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected ResultsSectionOperations() { public static boolean validateResultsSectionText(ResultsSection resultsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionResultsSectionText", "ERROR"); + if (VALIDATE_RESULTS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateResultsSectionText(ResultsSection resultsSection, public static boolean validateResultsSectionResultOrganizer(ResultsSection resultsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionResultsSectionResultOrganizer", "ERROR"); + if (VALIDATE_RESULTS_SECTION_RESULT_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -274,6 +279,8 @@ public static EList getConsolResultOrganizers(ResultsSection re public static boolean validateResultsSectionEntriesOptionalTemplateId(ResultsSection resultsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionResultsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -339,6 +346,8 @@ public static boolean validateResultsSectionEntriesOptionalTemplateId(ResultsSec public static boolean validateResultsSectionEntriesOptionalCodeP(ResultsSection resultsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionResultsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -428,6 +437,8 @@ public static boolean validateResultsSectionEntriesOptionalCode(ResultsSection r return true; } + DatatypesUtil.increment(context, "ResultsSectionResultsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -493,6 +504,8 @@ public static boolean validateResultsSectionEntriesOptionalCode(ResultsSection r public static boolean validateResultsSectionEntriesOptionalTitle(ResultsSection resultsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ResultsSectionResultsSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_RESULTS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReviewOfSystemsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReviewOfSystemsSectionOperations.java index b5c24870ac..9d7dc183f6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReviewOfSystemsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ReviewOfSystemsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected ReviewOfSystemsSectionOperations() { public static boolean validateReviewOfSystemsSectionTemplateId(ReviewOfSystemsSection reviewOfSystemsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReviewOfSystemsSectionReviewOfSystemsSectionTemplateId", "ERROR"); + if (VALIDATE_REVIEW_OF_SYSTEMS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateReviewOfSystemsSectionTemplateId(ReviewOfSystemsSe public static boolean validateReviewOfSystemsSectionCode(ReviewOfSystemsSection reviewOfSystemsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReviewOfSystemsSectionReviewOfSystemsSectionCode", "ERROR"); + if (VALIDATE_REVIEW_OF_SYSTEMS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateReviewOfSystemsSectionCode(ReviewOfSystemsSection public static boolean validateReviewOfSystemsSectionCodeP(ReviewOfSystemsSection reviewOfSystemsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReviewOfSystemsSectionReviewOfSystemsSectionCodeP", "ERROR"); + if (VALIDATE_REVIEW_OF_SYSTEMS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -289,6 +296,8 @@ public static boolean validateReviewOfSystemsSectionCodeP(ReviewOfSystemsSection public static boolean validateReviewOfSystemsSectionTitle(ReviewOfSystemsSection reviewOfSystemsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReviewOfSystemsSectionReviewOfSystemsSectionTitle", "ERROR"); + if (VALIDATE_REVIEW_OF_SYSTEMS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +362,8 @@ public static boolean validateReviewOfSystemsSectionTitle(ReviewOfSystemsSection public static boolean validateReviewOfSystemsSectionText(ReviewOfSystemsSection reviewOfSystemsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ReviewOfSystemsSectionReviewOfSystemsSectionText", "ERROR"); + if (VALIDATE_REVIEW_OF_SYSTEMS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/RiskConcernActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/RiskConcernActOperations.java index 0e09576292..52b1a7ad7a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/RiskConcernActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/RiskConcernActOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -205,6 +206,8 @@ protected RiskConcernActOperations() { public static boolean validateRiskConcernActTemplateId(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActTemplateId", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -268,6 +271,8 @@ public static boolean validateRiskConcernActTemplateId(RiskConcernAct riskConcer public static boolean validateRiskConcernActClassCode(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActClassCode", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -331,6 +336,8 @@ public static boolean validateRiskConcernActClassCode(RiskConcernAct riskConcern public static boolean validateRiskConcernActMoodCode(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActMoodCode", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -394,6 +401,8 @@ public static boolean validateRiskConcernActMoodCode(RiskConcernAct riskConcernA public static boolean validateRiskConcernActId(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActId", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -457,6 +466,8 @@ public static boolean validateRiskConcernActId(RiskConcernAct riskConcernAct, Di public static boolean validateRiskConcernActCodeP(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActCodeP", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -543,6 +554,8 @@ public static boolean validateRiskConcernActCode(RiskConcernAct riskConcernAct, return true; } + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActCode", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -608,6 +621,8 @@ public static boolean validateRiskConcernActCode(RiskConcernAct riskConcernAct, public static boolean validateRiskConcernActStatusCode(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActStatusCode", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -671,6 +686,8 @@ public static boolean validateRiskConcernActStatusCode(RiskConcernAct riskConcer public static boolean validateRiskConcernActStatusCodeP(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActStatusCodeP", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -734,6 +751,8 @@ public static boolean validateRiskConcernActStatusCodeP(RiskConcernAct riskConce public static boolean validateRiskConcernActEffectiveTime(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActEffectiveTime", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -797,6 +816,8 @@ public static boolean validateRiskConcernActEffectiveTime(RiskConcernAct riskCon public static boolean validateRiskConcernActAuthorParticipation(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActAuthorParticipation", "WARNING"); + if (VALIDATE_RISK_CONCERN_ACT_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -862,6 +883,8 @@ public static boolean validateRiskConcernActAuthorParticipation(RiskConcernAct r public static boolean validateRiskConcernActProblemObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActProblemObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_PROBLEM_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -927,6 +950,8 @@ public static boolean validateRiskConcernActProblemObservation2(RiskConcernAct r public static boolean validateRiskConcernActAllergyObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActAllergyObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_ALLERGY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -992,6 +1017,8 @@ public static boolean validateRiskConcernActAllergyObservation2(RiskConcernAct r public static boolean validateRiskConcernActEntryReferenceRelatesTo(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActEntryReferenceRelatesTo", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_ENTRY_REFERENCE_RELATES_TO__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1057,6 +1084,8 @@ public static boolean validateRiskConcernActEntryReferenceRelatesTo(RiskConcernA public static boolean validateRiskConcernActEntryReferenceHasComponent(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActEntryReferenceHasComponent", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_ENTRY_REFERENCE_HAS_COMPONENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1122,6 +1151,8 @@ public static boolean validateRiskConcernActEntryReferenceHasComponent(RiskConce public static boolean validateRiskConcernActAssessmentScaleObservation(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActAssessmentScaleObservation", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1187,6 +1218,8 @@ public static boolean validateRiskConcernActAssessmentScaleObservation(RiskConce public static boolean validateRiskConcernActMentalStatusObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActMentalStatusObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_MENTAL_STATUS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1252,6 +1285,8 @@ public static boolean validateRiskConcernActMentalStatusObservation2(RiskConcern public static boolean validateRiskConcernActSelfCareActivities(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActSelfCareActivities", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_SELF_CARE_ACTIVITIES__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1317,6 +1352,8 @@ public static boolean validateRiskConcernActSelfCareActivities(RiskConcernAct ri public static boolean validateRiskConcernActMentalStatusObservation2B(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActMentalStatusObservation2B", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_MENTAL_STATUS_OBSERVATION2_B__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1382,6 +1419,8 @@ public static boolean validateRiskConcernActMentalStatusObservation2B(RiskConcer public static boolean validateRiskConcernActSmokingStatusMeaningfulUse2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActSmokingStatusMeaningfulUse2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_SMOKING_STATUS_MEANINGFUL_USE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1447,6 +1486,8 @@ public static boolean validateRiskConcernActSmokingStatusMeaningfulUse2(RiskConc public static boolean validateRiskConcernActEncounterDiagnosis2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActEncounterDiagnosis2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_ENCOUNTER_DIAGNOSIS2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1512,6 +1553,8 @@ public static boolean validateRiskConcernActEncounterDiagnosis2(RiskConcernAct r public static boolean validateRiskConcernActFamilyHistoryOrganizer2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActFamilyHistoryOrganizer2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_FAMILY_HISTORY_ORGANIZER2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1577,6 +1620,8 @@ public static boolean validateRiskConcernActFamilyHistoryOrganizer2(RiskConcernA public static boolean validateRiskConcernActFunctionalStatusObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActFunctionalStatusObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_FUNCTIONAL_STATUS_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1642,6 +1687,8 @@ public static boolean validateRiskConcernActFunctionalStatusObservation2(RiskCon public static boolean validateRiskConcernActHospitalAdmissionDiagnosis2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActHospitalAdmissionDiagnosis2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_HOSPITAL_ADMISSION_DIAGNOSIS2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1707,6 +1754,8 @@ public static boolean validateRiskConcernActHospitalAdmissionDiagnosis2(RiskConc public static boolean validateRiskConcernActMentalStatusObservation2C(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActMentalStatusObservation2C", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_MENTAL_STATUS_OBSERVATION2_C__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1772,6 +1821,8 @@ public static boolean validateRiskConcernActMentalStatusObservation2C(RiskConcer public static boolean validateRiskConcernActNutritionAssessment(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActNutritionAssessment", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_NUTRITION_ASSESSMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1837,6 +1888,8 @@ public static boolean validateRiskConcernActNutritionAssessment(RiskConcernAct r public static boolean validateRiskConcernActNutritionAssessmentB(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActNutritionAssessmentB", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_NUTRITION_ASSESSMENT_B__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1902,6 +1955,8 @@ public static boolean validateRiskConcernActNutritionAssessmentB(RiskConcernAct public static boolean validateRiskConcernActPostprocedureDiagnosis2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActPostprocedureDiagnosis2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_POSTPROCEDURE_DIAGNOSIS2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1967,6 +2022,8 @@ public static boolean validateRiskConcernActPostprocedureDiagnosis2(RiskConcernA public static boolean validateRiskConcernActPregnancyObservation(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActPregnancyObservation", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_PREGNANCY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2032,6 +2089,8 @@ public static boolean validateRiskConcernActPregnancyObservation(RiskConcernAct public static boolean validateRiskConcernActPreoperativeDiagnosis2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActPreoperativeDiagnosis2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_PREOPERATIVE_DIAGNOSIS2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2097,6 +2156,8 @@ public static boolean validateRiskConcernActPreoperativeDiagnosis2(RiskConcernAc public static boolean validateRiskConcernActReactionObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActReactionObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_REACTION_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2162,6 +2223,8 @@ public static boolean validateRiskConcernActReactionObservation2(RiskConcernAct public static boolean validateRiskConcernActResultObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActResultObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_RESULT_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2227,6 +2290,8 @@ public static boolean validateRiskConcernActResultObservation2(RiskConcernAct ri public static boolean validateRiskConcernActSensoryStatus(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActSensoryStatus", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_SENSORY_STATUS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2290,6 +2355,8 @@ public static boolean validateRiskConcernActSensoryStatus(RiskConcernAct riskCon public static boolean validateRiskConcernActSocialHistoryObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActSocialHistoryObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_SOCIAL_HISTORY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2355,6 +2422,8 @@ public static boolean validateRiskConcernActSocialHistoryObservation2(RiskConcer public static boolean validateRiskConcernActSubstanceOrDeviceAllergyObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActSubstanceOrDeviceAllergyObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2421,6 +2490,8 @@ public static boolean validateRiskConcernActSubstanceOrDeviceAllergyObservation2 public static boolean validateRiskConcernActTobaccoUse2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActTobaccoUse2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_TOBACCO_USE2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2484,6 +2555,8 @@ public static boolean validateRiskConcernActTobaccoUse2(RiskConcernAct riskConce public static boolean validateRiskConcernActVitalSignObservation2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActVitalSignObservation2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_VITAL_SIGN_OBSERVATION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2549,6 +2622,8 @@ public static boolean validateRiskConcernActVitalSignObservation2(RiskConcernAct public static boolean validateRiskConcernActWoundObservation(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActWoundObservation", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_WOUND_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2613,6 +2688,8 @@ public static boolean validateRiskConcernActWoundObservation(RiskConcernAct risk public static boolean validateRiskConcernActProblemObservation2HasSupport(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActProblemObservation2HasSupport", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_PROBLEM_OBSERVATION2_HAS_SUPPORT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2678,6 +2755,8 @@ public static boolean validateRiskConcernActProblemObservation2HasSupport(RiskCo public static boolean validateRiskConcernActCaregiverCharacteristics(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActCaregiverCharacteristics", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2743,6 +2822,8 @@ public static boolean validateRiskConcernActCaregiverCharacteristics(RiskConcern public static boolean validateRiskConcernActCulturalAndReligiousObservation(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActCulturalAndReligiousObservation", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_CULTURAL_AND_RELIGIOUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2808,6 +2889,8 @@ public static boolean validateRiskConcernActCulturalAndReligiousObservation(Risk public static boolean validateRiskConcernActCharacteristicsOfHomeEnvironment(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActCharacteristicsOfHomeEnvironment", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_CHARACTERISTICS_OF_HOME_ENVIRONMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2873,6 +2956,8 @@ public static boolean validateRiskConcernActCharacteristicsOfHomeEnvironment(Ris public static boolean validateRiskConcernActNutritionalStatusObservation(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActNutritionalStatusObservation", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_NUTRITIONAL_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2938,6 +3023,8 @@ public static boolean validateRiskConcernActNutritionalStatusObservation(RiskCon public static boolean validateRiskConcernActResultOrganizer2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActResultOrganizer2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_RESULT_ORGANIZER2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3002,6 +3089,8 @@ public static boolean validateRiskConcernActResultOrganizer2(RiskConcernAct risk public static boolean validateRiskConcernActPriorityPreferencePatient(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActPriorityPreferencePatient", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_PRIORITY_PREFERENCE_PATIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3067,6 +3156,8 @@ public static boolean validateRiskConcernActPriorityPreferencePatient(RiskConcer public static boolean validateRiskConcernActPriorityPreferenceProvider(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActPriorityPreferenceProvider", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_PRIORITY_PREFERENCE_PROVIDER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3132,6 +3223,8 @@ public static boolean validateRiskConcernActPriorityPreferenceProvider(RiskConce public static boolean validateRiskConcernActProblemConcernAct2(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActProblemConcernAct2", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_PROBLEM_CONCERN_ACT2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3197,6 +3290,8 @@ public static boolean validateRiskConcernActProblemConcernAct2(RiskConcernAct ri public static boolean validateRiskConcernActEntryReferenceHealthConcern(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActEntryReferenceHealthConcern", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_ENTRY_REFERENCE_HEALTH_CONCERN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3262,6 +3357,8 @@ public static boolean validateRiskConcernActEntryReferenceHealthConcern(RiskConc public static boolean validateRiskConcernActReference(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActReference", "INFO"); + if (VALIDATE_RISK_CONCERN_ACT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3325,6 +3422,8 @@ public static boolean validateRiskConcernActReference(RiskConcernAct riskConcern public static boolean validateRiskConcernActReferenceTypeCode(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActReferenceTypeCode", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3395,6 +3494,8 @@ public static boolean validateRiskConcernActReferenceTypeCode(RiskConcernAct ris public static boolean validateRiskConcernActReferenceExternalDocumentReference(RiskConcernAct riskConcernAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "RiskConcernActRiskConcernActReferenceExternalDocumentReference", "ERROR"); + if (VALIDATE_RISK_CONCERN_ACT_REFERENCE_EXTERNAL_DOCUMENT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SOPInstanceObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SOPInstanceObservationOperations.java index 9ce9e8f77a..2329b4cde2 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SOPInstanceObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SOPInstanceObservationOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -116,6 +117,8 @@ protected SOPInstanceObservationOperations() { public static boolean validateSOPInstanceObservationEffectiveTimeHasValue( SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationEffectiveTimeHasValue", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_EFFECTIVE_TIME_HAS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -182,6 +185,8 @@ public static boolean validateSOPInstanceObservationEffectiveTimeHasValue( public static boolean validateSOPInstanceObservationEffectiveTimeNoLow( SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationEffectiveTimeNoLow", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_EFFECTIVE_TIME_NO_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -248,6 +253,8 @@ public static boolean validateSOPInstanceObservationEffectiveTimeNoLow( public static boolean validateSOPInstanceObservationEffectiveTimeNoHigh( SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationEffectiveTimeNoHigh", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_EFFECTIVE_TIME_NO_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -314,6 +321,8 @@ public static boolean validateSOPInstanceObservationEffectiveTimeNoHigh( public static boolean validateSOPInstanceObservationTextMediaType(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationTextMediaType", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_TEXT_MEDIA_TYPE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -379,6 +388,8 @@ public static boolean validateSOPInstanceObservationTextMediaType(SOPInstanceObs public static boolean validateSOPInstanceObservationTextReference(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationTextReference", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -444,6 +455,8 @@ public static boolean validateSOPInstanceObservationTextReference(SOPInstanceObs public static boolean validateSOPInstanceObservationTextReferenceValue( SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationTextReferenceValue", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -510,6 +523,8 @@ public static boolean validateSOPInstanceObservationTextReferenceValue( public static boolean validateSOPInstanceObservationTemplateId(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationTemplateId", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -575,6 +590,8 @@ public static boolean validateSOPInstanceObservationTemplateId(SOPInstanceObserv public static boolean validateSOPInstanceObservationClassCode(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationClassCode", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -640,6 +657,8 @@ public static boolean validateSOPInstanceObservationClassCode(SOPInstanceObserva public static boolean validateSOPInstanceObservationEffectiveTime(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationEffectiveTime", "WARNING"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -705,6 +724,8 @@ public static boolean validateSOPInstanceObservationEffectiveTime(SOPInstanceObs public static boolean validateSOPInstanceObservationId(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationId", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -768,6 +789,8 @@ public static boolean validateSOPInstanceObservationId(SOPInstanceObservation so public static boolean validateSOPInstanceObservationMoodCode(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationMoodCode", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -833,6 +856,8 @@ public static boolean validateSOPInstanceObservationMoodCode(SOPInstanceObservat public static boolean validateSOPInstanceObservationText(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationText", "WARNING"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -897,6 +922,8 @@ public static boolean validateSOPInstanceObservationText(SOPInstanceObservation public static boolean validateSOPInstanceObservationCodeP(SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationCodeP", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -984,6 +1011,8 @@ public static boolean validateSOPInstanceObservationCode(SOPInstanceObservation return true; } + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationCode", "ERROR"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1048,6 +1077,8 @@ public static boolean validateSOPInstanceObservationCode(SOPInstanceObservation public static boolean validateSOPInstanceObservationSOPInstanceObservation( SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SOPInstanceObservationSOPInstanceObservationSOPInstanceObservation", "INFO"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_SOP_INSTANCE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1114,6 +1145,9 @@ public static boolean validateSOPInstanceObservationSOPInstanceObservation( public static boolean validateSOPInstanceObservationPurposeofReferenceObservation( SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SOPInstanceObservationSOPInstanceObservationPurposeofReferenceObservation", "INFO"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_PURPOSEOF_REFERENCE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1180,6 +1214,9 @@ public static boolean validateSOPInstanceObservationPurposeofReferenceObservatio public static boolean validateSOPInstanceObservationReferencedFramesObservation( SOPInstanceObservation sopInstanceObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SOPInstanceObservationSOPInstanceObservationReferencedFramesObservation", "INFO"); + if (VALIDATE_SOP_INSTANCE_OBSERVATION_REFERENCED_FRAMES_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SelfCareActivitiesOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SelfCareActivitiesOperations.java index f978a20e27..d77cc707eb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SelfCareActivitiesOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SelfCareActivitiesOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,8 @@ protected SelfCareActivitiesOperations() { public static boolean validateSelfCareActivitiesTemplateId(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesTemplateId", "ERROR"); + if (VALIDATE_SELF_CARE_ACTIVITIES_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateSelfCareActivitiesTemplateId(SelfCareActivities se public static boolean validateSelfCareActivitiesClassCode(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesClassCode", "ERROR"); + if (VALIDATE_SELF_CARE_ACTIVITIES_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateSelfCareActivitiesClassCode(SelfCareActivities sel public static boolean validateSelfCareActivitiesMoodCode(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesMoodCode", "ERROR"); + if (VALIDATE_SELF_CARE_ACTIVITIES_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -287,6 +294,8 @@ public static boolean validateSelfCareActivitiesMoodCode(SelfCareActivities self public static boolean validateSelfCareActivitiesCodeP(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesCodeP", "ERROR"); + if (VALIDATE_SELF_CARE_ACTIVITIES_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +382,8 @@ public static boolean validateSelfCareActivitiesCode(SelfCareActivities selfCare return true; } + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesCode", "WARNING"); + if (VALIDATE_SELF_CARE_ACTIVITIES_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -437,6 +448,8 @@ public static boolean validateSelfCareActivitiesCode(SelfCareActivities selfCare public static boolean validateSelfCareActivitiesStatusCode(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesStatusCode", "ERROR"); + if (VALIDATE_SELF_CARE_ACTIVITIES_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -501,6 +514,8 @@ public static boolean validateSelfCareActivitiesStatusCode(SelfCareActivities se public static boolean validateSelfCareActivitiesStatusCodeP(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesStatusCodeP", "ERROR"); + if (VALIDATE_SELF_CARE_ACTIVITIES_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -566,6 +581,8 @@ public static boolean validateSelfCareActivitiesStatusCodeP(SelfCareActivities s public static boolean validateSelfCareActivitiesEffectiveTime(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesEffectiveTime", "ERROR"); + if (VALIDATE_SELF_CARE_ACTIVITIES_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -633,6 +650,8 @@ public static boolean validateSelfCareActivitiesEffectiveTime(SelfCareActivities public static boolean validateSelfCareActivitiesValue(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesValue", "WARNING"); + if (VALIDATE_SELF_CARE_ACTIVITIES_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -696,6 +715,8 @@ public static boolean validateSelfCareActivitiesValue(SelfCareActivities selfCar public static boolean validateSelfCareActivitiesValueP(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesValueP", "ERROR"); + if (VALIDATE_SELF_CARE_ACTIVITIES_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -759,6 +780,8 @@ public static boolean validateSelfCareActivitiesValueP(SelfCareActivities selfCa public static boolean validateSelfCareActivitiesAuthorParticipation(SelfCareActivities selfCareActivities, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SelfCareActivitiesSelfCareActivitiesAuthorParticipation", "WARNING"); + if (VALIDATE_SELF_CARE_ACTIVITIES_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SensoryStatusOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SensoryStatusOperations.java index ee1edcfeb6..28947e72be 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SensoryStatusOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SensoryStatusOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -104,6 +105,8 @@ protected SensoryStatusOperations() { public static boolean validateSensoryStatusTemplateId(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusTemplateId", "ERROR"); + if (VALIDATE_SENSORY_STATUS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -167,6 +170,8 @@ public static boolean validateSensoryStatusTemplateId(SensoryStatus sensoryStatu public static boolean validateSensoryStatusClassCode(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusClassCode", "ERROR"); + if (VALIDATE_SENSORY_STATUS_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validateSensoryStatusClassCode(SensoryStatus sensoryStatus public static boolean validateSensoryStatusMoodCode(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusMoodCode", "ERROR"); + if (VALIDATE_SENSORY_STATUS_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -293,6 +300,8 @@ public static boolean validateSensoryStatusMoodCode(SensoryStatus sensoryStatus, public static boolean validateSensoryStatusCodeP(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusCodeP", "ERROR"); + if (VALIDATE_SENSORY_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -379,6 +388,8 @@ public static boolean validateSensoryStatusCode(SensoryStatus sensoryStatus, Dia return true; } + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusCode", "WARNING"); + if (VALIDATE_SENSORY_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -443,6 +454,8 @@ public static boolean validateSensoryStatusCode(SensoryStatus sensoryStatus, Dia public static boolean validateSensoryStatusStatusCode(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusStatusCode", "ERROR"); + if (VALIDATE_SENSORY_STATUS_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -506,6 +519,8 @@ public static boolean validateSensoryStatusStatusCode(SensoryStatus sensoryStatu public static boolean validateSensoryStatusStatusCodeP(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusStatusCodeP", "ERROR"); + if (VALIDATE_SENSORY_STATUS_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -569,6 +584,8 @@ public static boolean validateSensoryStatusStatusCodeP(SensoryStatus sensoryStat public static boolean validateSensoryStatusEffectiveTime(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusEffectiveTime", "ERROR"); + if (VALIDATE_SENSORY_STATUS_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -634,6 +651,8 @@ public static boolean validateSensoryStatusEffectiveTime(SensoryStatus sensorySt public static boolean validateSensoryStatusValue(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusValue", "WARNING"); + if (VALIDATE_SENSORY_STATUS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -697,6 +716,8 @@ public static boolean validateSensoryStatusValue(SensoryStatus sensoryStatus, Di public static boolean validateSensoryStatusValueP(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusValueP", "ERROR"); + if (VALIDATE_SENSORY_STATUS_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -760,6 +781,8 @@ public static boolean validateSensoryStatusValueP(SensoryStatus sensoryStatus, D public static boolean validateSensoryStatusAssessmentScaleObservation(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusAssessmentScaleObservation", "INFO"); + if (VALIDATE_SENSORY_STATUS_ASSESSMENT_SCALE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -825,6 +848,8 @@ public static boolean validateSensoryStatusAssessmentScaleObservation(SensorySta public static boolean validateSensoryStatusAuthorParticipation(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusAuthorParticipation", "WARNING"); + if (VALIDATE_SENSORY_STATUS_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -889,6 +914,8 @@ public static boolean validateSensoryStatusAuthorParticipation(SensoryStatus sen public static boolean validateSensoryStatusIVLTSLow(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusIVLTSLow", "ERROR"); + if (VALIDATE_SENSORY_STATUS_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -959,6 +986,8 @@ public static boolean validateSensoryStatusIVLTSLow(SensoryStatus sensoryStatus, public static boolean validateSensoryStatusIVLTSHigh(SensoryStatus sensoryStatus, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SensoryStatusSensoryStatusIVLTSHigh", "INFO"); + if (VALIDATE_SENSORY_STATUS_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeriesActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeriesActOperations.java index 622370d50b..254eff794a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeriesActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeriesActOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -110,6 +111,8 @@ protected SeriesActOperations() { public static boolean validateSeriesActIdHasRoot(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActIdHasRoot", "ERROR"); + if (VALIDATE_SERIES_ACT_ID_HAS_ROOT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +175,8 @@ public static boolean validateSeriesActIdHasRoot(SeriesAct seriesAct, Diagnostic public static boolean validateSeriesActIdNoExtension(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActIdNoExtension", "ERROR"); + if (VALIDATE_SERIES_ACT_ID_NO_EXTENSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -235,6 +240,8 @@ public static boolean validateSeriesActIdNoExtension(SeriesAct seriesAct, Diagno public static boolean validateSeriesActCodeQualifier(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActCodeQualifier", "ERROR"); + if (VALIDATE_SERIES_ACT_CODE_QUALIFIER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +305,8 @@ public static boolean validateSeriesActCodeQualifier(SeriesAct seriesAct, Diagno public static boolean validateSeriesActCodeQualifierCode(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActCodeQualifierCode", "ERROR"); + if (VALIDATE_SERIES_ACT_CODE_QUALIFIER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -361,6 +370,8 @@ public static boolean validateSeriesActCodeQualifierCode(SeriesAct seriesAct, Di public static boolean validateSeriesActCodeQualifierValue(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActCodeQualifierValue", "ERROR"); + if (VALIDATE_SERIES_ACT_CODE_QUALIFIER_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -424,6 +435,8 @@ public static boolean validateSeriesActCodeQualifierValue(SeriesAct seriesAct, D public static boolean validateSeriesActCodeQualifierValueCode(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActCodeQualifierValueCode", "ERROR"); + if (VALIDATE_SERIES_ACT_CODE_QUALIFIER_VALUE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -488,6 +501,8 @@ public static boolean validateSeriesActCodeQualifierValueCode(SeriesAct seriesAc public static boolean validateSeriesActTemplateId(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActTemplateId", "ERROR"); + if (VALIDATE_SERIES_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -550,6 +565,8 @@ public static boolean validateSeriesActTemplateId(SeriesAct seriesAct, Diagnosti public static boolean validateSeriesActClassCode(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActClassCode", "ERROR"); + if (VALIDATE_SERIES_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -612,6 +629,8 @@ public static boolean validateSeriesActClassCode(SeriesAct seriesAct, Diagnostic public static boolean validateSeriesActMoodCode(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActMoodCode", "ERROR"); + if (VALIDATE_SERIES_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -676,6 +695,8 @@ public static boolean validateSeriesActMoodCode(SeriesAct seriesAct, DiagnosticC public static boolean validateSeriesActCode(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActCode", "ERROR"); + if (VALIDATE_SERIES_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -738,6 +759,8 @@ public static boolean validateSeriesActCode(SeriesAct seriesAct, DiagnosticChain public static boolean validateSeriesActEffectiveTime(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActEffectiveTime", "WARNING"); + if (VALIDATE_SERIES_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -801,6 +824,8 @@ public static boolean validateSeriesActEffectiveTime(SeriesAct seriesAct, Diagno public static boolean validateSeriesActId(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActId", "ERROR"); + if (VALIDATE_SERIES_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -862,6 +887,8 @@ public static boolean validateSeriesActId(SeriesAct seriesAct, DiagnosticChain d public static boolean validateSeriesActText(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActText", "INFO"); + if (VALIDATE_SERIES_ACT_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -923,6 +950,8 @@ public static boolean validateSeriesActText(SeriesAct seriesAct, DiagnosticChain public static boolean validateSeriesActSOPInstanceObservation(SeriesAct seriesAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeriesActSeriesActSOPInstanceObservation", "ERROR"); + if (VALIDATE_SERIES_ACT_SOP_INSTANCE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ServiceDeliveryLocationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ServiceDeliveryLocationOperations.java index 39c664e590..f33deb5183 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ServiceDeliveryLocationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/ServiceDeliveryLocationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ParticipantRoleOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,8 @@ protected ServiceDeliveryLocationOperations() { public static boolean validateServiceDeliveryLocationHasPlayingEntity( ServiceDeliveryLocation serviceDeliveryLocation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ServiceDeliveryLocationServiceDeliveryLocationHasPlayingEntity", "INFO"); + if (VALIDATE_SERVICE_DELIVERY_LOCATION_HAS_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -163,6 +166,9 @@ public static boolean validateServiceDeliveryLocationHasPlayingEntity( public static boolean validateServiceDeliveryLocationHasPlayingEntityClassCode( ServiceDeliveryLocation serviceDeliveryLocation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "ServiceDeliveryLocationServiceDeliveryLocationHasPlayingEntityClassCode", "ERROR"); + if (VALIDATE_SERVICE_DELIVERY_LOCATION_HAS_PLAYING_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -229,6 +235,8 @@ public static boolean validateServiceDeliveryLocationHasPlayingEntityClassCode( public static boolean validateServiceDeliveryLocationHasPlayingEntityName( ServiceDeliveryLocation serviceDeliveryLocation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ServiceDeliveryLocationServiceDeliveryLocationHasPlayingEntityName", "INFO"); + if (VALIDATE_SERVICE_DELIVERY_LOCATION_HAS_PLAYING_ENTITY_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +303,8 @@ public static boolean validateServiceDeliveryLocationHasPlayingEntityName( public static boolean validateServiceDeliveryLocationTemplateId(ServiceDeliveryLocation serviceDeliveryLocation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ServiceDeliveryLocationServiceDeliveryLocationTemplateId", "ERROR"); + if (VALIDATE_SERVICE_DELIVERY_LOCATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -360,6 +370,8 @@ public static boolean validateServiceDeliveryLocationTemplateId(ServiceDeliveryL public static boolean validateServiceDeliveryLocationClassCode(ServiceDeliveryLocation serviceDeliveryLocation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ServiceDeliveryLocationServiceDeliveryLocationClassCode", "ERROR"); + if (VALIDATE_SERVICE_DELIVERY_LOCATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -427,6 +439,8 @@ public static boolean validateServiceDeliveryLocationClassCode(ServiceDeliveryLo public static boolean validateServiceDeliveryLocationCode(ServiceDeliveryLocation serviceDeliveryLocation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ServiceDeliveryLocationServiceDeliveryLocationCode", "ERROR"); + if (VALIDATE_SERVICE_DELIVERY_LOCATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -491,6 +505,8 @@ public static boolean validateServiceDeliveryLocationCode(ServiceDeliveryLocatio public static boolean validateServiceDeliveryLocationAddr(ServiceDeliveryLocation serviceDeliveryLocation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ServiceDeliveryLocationServiceDeliveryLocationAddr", "WARNING"); + if (VALIDATE_SERVICE_DELIVERY_LOCATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -555,6 +571,8 @@ public static boolean validateServiceDeliveryLocationAddr(ServiceDeliveryLocatio public static boolean validateServiceDeliveryLocationTelecom(ServiceDeliveryLocation serviceDeliveryLocation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "ServiceDeliveryLocationServiceDeliveryLocationTelecom", "WARNING"); + if (VALIDATE_SERVICE_DELIVERY_LOCATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeverityObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeverityObservation2Operations.java index 49d6e4d5cc..f71a42f096 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeverityObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeverityObservation2Operations.java @@ -12,6 +12,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -96,6 +97,8 @@ protected SeverityObservation2Operations() { public static boolean validateSeverityObservation2TemplateId(SeverityObservation2 severityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservation2TemplateId", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -139,6 +142,8 @@ public static boolean validateSeverityObservation2TemplateId(SeverityObservation public static boolean validateSeverityObservationCodeP(SeverityObservation2 severityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationCodeP", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -194,6 +199,8 @@ public static boolean validateSeverityObservationCodeP(SeverityObservation2 seve public static boolean validateSeverityObservationStatusCodeP(SeverityObservation2 severityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationStatusCodeP", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -251,6 +258,8 @@ public static boolean validateSeverityObservationStatusCodeP(SeverityObservation public static boolean validateSeverityObservationTextReference(SeverityObservation2 severityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationTextReference", "INFO"); + if (VALIDATE_SEVERITY_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +304,8 @@ public static boolean validateSeverityObservationTextReference(SeverityObservati public static boolean validateSeverityObservationTextReferenceValue(SeverityObservation2 severityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationTextReferenceValue", "INFO"); + if (VALIDATE_SEVERITY_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -339,6 +350,8 @@ public static boolean validateSeverityObservationTextReferenceValue(SeverityObse public static boolean validateSeverityObservationReferenceValue(SeverityObservation2 severityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationReferenceValue", "INFO"); + if (VALIDATE_SEVERITY_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -412,6 +425,8 @@ public static boolean validateSeverityObservationCode(SeverityObservation2 sever return true; } + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationCode", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -582,6 +597,8 @@ public static boolean validateSeverityObservationCode(SeverityObservation2 sever public static boolean validateSeverityObservationText(SeverityObservation2 severityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationText", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -654,6 +671,8 @@ public static boolean validateSeverityObservationStatusCode(SeverityObservation2 return true; } + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationStatusCode", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -718,6 +737,8 @@ public static boolean validateSeverityObservationStatusCode(SeverityObservation2 public static boolean validateSeverityObservationValueP(SeverityObservation2 severityObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationValueP", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -804,6 +825,8 @@ public static boolean validateSeverityObservationValue(SeverityObservation2 seve return true; } + DatatypesUtil.increment(context, "SeverityObservation2SeverityObservationValue", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeverityObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeverityObservationOperations.java index ad03596735..0b11e71cda 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeverityObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SeverityObservationOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -100,6 +101,8 @@ protected SeverityObservationOperations() { public static boolean validateSeverityObservationTextReference(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationTextReference", "WARNING"); + if (VALIDATE_SEVERITY_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -165,6 +168,8 @@ public static boolean validateSeverityObservationTextReference(SeverityObservati public static boolean validateSeverityObservationTextReferenceValue(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationTextReferenceValue", "WARNING"); + if (VALIDATE_SEVERITY_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validateSeverityObservationTextReferenceValue(SeverityObse public static boolean validateSeverityObservationReferenceValue(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationReferenceValue", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -295,6 +302,8 @@ public static boolean validateSeverityObservationReferenceValue(SeverityObservat public static boolean validateSeverityObservationTemplateId(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationTemplateId", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -359,6 +368,8 @@ public static boolean validateSeverityObservationTemplateId(SeverityObservation public static boolean validateSeverityObservationClassCode(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationClassCode", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -423,6 +434,8 @@ public static boolean validateSeverityObservationClassCode(SeverityObservation s public static boolean validateSeverityObservationMoodCode(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationMoodCode", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -488,6 +501,8 @@ public static boolean validateSeverityObservationMoodCode(SeverityObservation se public static boolean validateSeverityObservationCode(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationCode", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -551,6 +566,8 @@ public static boolean validateSeverityObservationCode(SeverityObservation severi public static boolean validateSeverityObservationText(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationText", "WARNING"); + if (VALIDATE_SEVERITY_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -615,6 +632,8 @@ public static boolean validateSeverityObservationText(SeverityObservation severi public static boolean validateSeverityObservationStatusCode(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationStatusCode", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -681,6 +700,8 @@ public static boolean validateSeverityObservationStatusCode(SeverityObservation public static boolean validateSeverityObservationValue(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationValue", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -744,6 +765,8 @@ public static boolean validateSeverityObservationValue(SeverityObservation sever public static boolean validateSeverityObservationValueP(SeverityObservation severityObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SeverityObservationSeverityObservationValueP", "ERROR"); + if (VALIDATE_SEVERITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SmokingStatusMeaningfulUse2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SmokingStatusMeaningfulUse2Operations.java index f3436c811f..c756a39e0c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SmokingStatusMeaningfulUse2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SmokingStatusMeaningfulUse2Operations.java @@ -10,6 +10,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -99,6 +100,8 @@ public static boolean validateSmokingStatusMeaningfulUse2TemplateId( SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusMeaningfulUse2TemplateId", "ERROR"); + if (VALIDATE_SMOKING_STATUS_MEANINGFUL_USE2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -165,6 +168,8 @@ public static boolean validateSmokingStatusMeaningfulUse2TemplateId( public static boolean validateSmokingStatusMeaningfulUse2Id(SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusMeaningfulUse2Id", "ERROR"); + if (VALIDATE_SMOKING_STATUS_MEANINGFUL_USE2_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -209,6 +214,9 @@ public static boolean validateSmokingStatusMeaningfulUse2AuthorParticipation( SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SmokingStatusMeaningfulUse2SmokingStatusMeaningfulUse2AuthorParticipation", "WARNING"); + if (VALIDATE_SMOKING_STATUS_MEANINGFUL_USE2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -255,6 +263,9 @@ public static boolean validateSmokingStatusMeaningfulUse2CDCodeTermAssertionOrLo SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SmokingStatusMeaningfulUse2SmokingStatusMeaningfulUse2CDCodeTermAssertionOrLoinc", "INFO"); + if (VALIDATE_SMOKING_STATUS_MEANINGFUL_USE2_CD_CODE_TERM_ASSERTION_OR_LOINC__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +379,8 @@ public static boolean validateSmokingStatusMeaningfulUse2CDCodeTermAssertionOrLo public static boolean validateSmokingStatusObservationCodeP(SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationCodeP", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -455,6 +468,8 @@ public static boolean validateSmokingStatusObservationCode(SmokingStatusMeaningf return true; } + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationCode", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -520,6 +535,8 @@ public static boolean validateSmokingStatusObservationValueP( SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationValueP", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -608,6 +625,8 @@ public static boolean validateSmokingStatusObservationValue(SmokingStatusMeaning return true; } + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationValue", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -673,6 +692,8 @@ public static boolean validateSmokingStatusObservationEffectiveTime( SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationEffectiveTime", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -740,6 +761,8 @@ public static boolean validateSmokingStatusObservationIVLTSCenter( SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationIVLTSCenter", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_IVLTS_CENTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -812,6 +835,8 @@ public static boolean validateSmokingStatusObservationIVLTSHigh( SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationIVLTSHigh", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -884,6 +909,8 @@ public static boolean validateSmokingStatusObservationIVLTSLow( SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationIVLTSLow", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -956,6 +983,8 @@ public static boolean validateSmokingStatusObservationIVLTSWidth( SmokingStatusMeaningfulUse2 smokingStatusMeaningfulUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusMeaningfulUse2SmokingStatusObservationIVLTSWidth", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_IVLTS_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SmokingStatusObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SmokingStatusObservationOperations.java index 70b2e216d4..0f4a906edb 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SmokingStatusObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SmokingStatusObservationOperations.java @@ -26,6 +26,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -117,6 +118,8 @@ protected SmokingStatusObservationOperations() { public static boolean validateSmokingStatusObservationTemplateId(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationTemplateId", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -182,6 +185,8 @@ public static boolean validateSmokingStatusObservationTemplateId(SmokingStatusOb public static boolean validateSmokingStatusObservationClassCode(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationClassCode", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -247,6 +252,8 @@ public static boolean validateSmokingStatusObservationClassCode(SmokingStatusObs public static boolean validateSmokingStatusObservationMoodCode(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationMoodCode", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -312,6 +319,8 @@ public static boolean validateSmokingStatusObservationMoodCode(SmokingStatusObse public static boolean validateSmokingStatusObservationCode(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationCode", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -356,6 +365,8 @@ public static boolean validateSmokingStatusObservationEffectiveTime( SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationEffectiveTime", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -401,6 +412,8 @@ public static boolean validateSmokingStatusObservationEffectiveTime( public static boolean validateSmokingStatusObservationStatusCodeP(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationStatusCodeP", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -509,6 +522,8 @@ public static boolean validateSmokingStatusObservationStatusCodeP(SmokingStatusO public static boolean validateSmokingStatusObservationStatusCode(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationStatusCode", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -553,6 +568,8 @@ public static boolean validateSmokingStatusObservationStatusCode(SmokingStatusOb public static boolean validateSmokingStatusObservationValueP(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationValueP", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -598,6 +615,9 @@ public static boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SmokingStatusObservationSmokingStatusObservationCDCodeTermAssertionOrLoinc", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_CD_CODE_TERM_ASSERTION_OR_LOINC__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -648,6 +668,8 @@ public static boolean validateSmokingStatusObservationCDCodeTermAssertionOrLoinc public static boolean validateSmokingStatusObservationCDCode(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationCDCode", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_CD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -698,6 +720,8 @@ public static boolean validateSmokingStatusObservationCDCodeSystem( SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationCDCodeSystem", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_CD_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -748,6 +772,8 @@ public static boolean validateSmokingStatusObservationCDCodeSystem( public static boolean validateSmokingStatusObservationIVLTSCenter(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationIVLTSCenter", "WARNING"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_IVLTS_CENTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -798,6 +824,8 @@ public static boolean validateSmokingStatusObservationIVLTSCenter(SmokingStatusO public static boolean validateSmokingStatusObservationIVLTSHigh(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationIVLTSHigh", "WARNING"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -848,6 +876,8 @@ public static boolean validateSmokingStatusObservationIVLTSHigh(SmokingStatusObs public static boolean validateSmokingStatusObservationIVLTSLow(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationIVLTSLow", "WARNING"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -897,6 +927,8 @@ public static boolean validateSmokingStatusObservationIVLTSLow(SmokingStatusObse public static boolean validateSmokingStatusObservationIVLTSWidth(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationIVLTSWidth", "WARNING"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_IVLTS_WIDTH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1143,6 +1175,8 @@ public static boolean validateSmokingStatusObservationIVLTSWidth(SmokingStatusOb public static boolean validateSmokingStatusObservationValue(SmokingStatusObservation smokingStatusObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SmokingStatusObservationSmokingStatusObservationValue", "ERROR"); + if (VALIDATE_SMOKING_STATUS_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistoryObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistoryObservation2Operations.java index b0875b66f0..572f3312f5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistoryObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistoryObservation2Operations.java @@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -103,6 +104,9 @@ public static boolean validateSocialHistoryObservation2ReferenceAttribute( SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SocialHistoryObservation2SocialHistoryObservation2ReferenceAttribute", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION2_REFERENCE_ATTRIBUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +174,9 @@ public static boolean validateSocialHistoryObservation2IfNotLoincRequireTranslat SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SocialHistoryObservation2SocialHistoryObservation2IfNotLoincRequireTranslation", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION2_IF_NOT_LOINC_REQUIRE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +244,10 @@ public static boolean validateSocialHistoryObservation2IfNotLoincRequireTranslat SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SocialHistoryObservation2SocialHistoryObservation2IfNotLoincRequireTranslationFromLoinc", + "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION2_IF_NOT_LOINC_REQUIRE_TRANSLATION_FROM_LOINC__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -304,6 +315,8 @@ public static boolean validateSocialHistoryObservation2TemplateId( SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservation2TemplateId", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -349,6 +362,8 @@ public static boolean validateSocialHistoryObservationStatusCodeP( SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservationStatusCodeP", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -408,6 +423,8 @@ public static boolean validateSocialHistoryObservation2EffectiveTime( SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservation2EffectiveTime", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION2_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -454,6 +471,9 @@ public static boolean validateSocialHistoryObservation2AuthorParticipation( SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SocialHistoryObservation2SocialHistoryObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -500,6 +520,8 @@ public static boolean validateSocialHistoryObservation2CDTranslation( SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservation2CDTranslation", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -551,6 +573,8 @@ public static boolean validateSocialHistoryObservation2CDTranslationP( SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservation2CDTranslationP", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION2_CD_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -601,6 +625,8 @@ public static boolean validateSocialHistoryObservation2CDTranslationP( public static boolean validateSocialHistoryObservationValue(SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservationValue", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -644,6 +670,8 @@ public static boolean validateSocialHistoryObservationValue(SocialHistoryObserva public static boolean validateSocialHistoryObservationCode(SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservationCode", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -838,6 +866,8 @@ public static boolean validateSocialHistoryObservationCode(SocialHistoryObservat public static boolean validateSocialHistoryObservationCodeP(SocialHistoryObservation2 socialHistoryObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservationCodeP", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -933,6 +963,8 @@ public static boolean validateSocialHistoryObservationStatusCode( return true; } + DatatypesUtil.increment(context, "SocialHistoryObservation2SocialHistoryObservationStatusCode", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistoryObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistoryObservationOperations.java index 2b3b432e2c..56f393a6a6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistoryObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistoryObservationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -102,6 +103,8 @@ public static boolean validateSocialHistoryObservationOriginalText( SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationOriginalText", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -167,6 +170,8 @@ public static boolean validateSocialHistoryObservationOriginalText( public static boolean validateSocialHistoryObservationReference(SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationReference", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -233,6 +238,8 @@ public static boolean validateSocialHistoryObservationReferenceValue( SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationReferenceValue", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -299,6 +306,8 @@ public static boolean validateSocialHistoryObservationReferenceValue( public static boolean validateSocialHistoryObservationTemplateId(SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationTemplateId", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +373,8 @@ public static boolean validateSocialHistoryObservationTemplateId(SocialHistoryOb public static boolean validateSocialHistoryObservationClassCode(SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationClassCode", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -429,6 +440,8 @@ public static boolean validateSocialHistoryObservationClassCode(SocialHistoryObs public static boolean validateSocialHistoryObservationMoodCode(SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationMoodCode", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -494,6 +507,8 @@ public static boolean validateSocialHistoryObservationMoodCode(SocialHistoryObse public static boolean validateSocialHistoryObservationId(SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationId", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -558,6 +573,8 @@ public static boolean validateSocialHistoryObservationId(SocialHistoryObservatio public static boolean validateSocialHistoryObservationCodeP(SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationCodeP", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -645,6 +662,8 @@ public static boolean validateSocialHistoryObservationCode(SocialHistoryObservat return true; } + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationCode", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -710,6 +729,8 @@ public static boolean validateSocialHistoryObservationCode(SocialHistoryObservat public static boolean validateSocialHistoryObservationStatusCode(SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationStatusCode", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -775,6 +796,8 @@ public static boolean validateSocialHistoryObservationStatusCode(SocialHistoryOb public static boolean validateSocialHistoryObservationValue(SocialHistoryObservation socialHistoryObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistoryObservationSocialHistoryObservationValue", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistorySection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistorySection2Operations.java index 6a7f5651b6..1e1ad7613c 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistorySection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistorySection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -113,6 +114,8 @@ protected SocialHistorySection2Operations() { public static boolean validateSocialHistorySection2TemplateId(SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySection2SocialHistorySection2TemplateId", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_SECTION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -178,6 +181,8 @@ public static boolean validateSocialHistorySection2TemplateId(SocialHistorySecti public static boolean validateSocialHistorySection2CaregiverCharacteristics( SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySection2SocialHistorySection2CaregiverCharacteristics", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION2_CAREGIVER_CHARACTERISTICS__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -244,6 +249,9 @@ public static boolean validateSocialHistorySection2CaregiverCharacteristics( public static boolean validateSocialHistorySection2CulturalAndReligiousObservation( SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SocialHistorySection2SocialHistorySection2CulturalAndReligiousObservation", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION2_CULTURAL_AND_RELIGIOUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -310,6 +318,9 @@ public static boolean validateSocialHistorySection2CulturalAndReligiousObservati public static boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironment( SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SocialHistorySection2SocialHistorySection2CharacteristicsOfHomeEnvironment", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION2_CHARACTERISTICS_OF_HOME_ENVIRONMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -376,6 +387,8 @@ public static boolean validateSocialHistorySection2CharacteristicsOfHomeEnvironm public static boolean validateSocialHistorySection2BirthSexObservation(SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySection2SocialHistorySection2BirthSexObservation", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION2_BIRTH_SEX_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -786,6 +799,8 @@ public static EList getBirthSexObservations(SocialHistorySe public static boolean validateSocialHistorySectionCodeP(SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySection2SocialHistorySectionCodeP", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -872,6 +887,8 @@ public static boolean validateSocialHistorySectionCode(SocialHistorySection2 soc return true; } + DatatypesUtil.increment(context, "SocialHistorySection2SocialHistorySectionCode", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -935,6 +952,8 @@ public static boolean validateSocialHistorySectionCode(SocialHistorySection2 soc public static boolean validateSocialHistorySectionSocialHistoryObservation( SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySection2SocialHistorySectionSocialHistoryObservation", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_SOCIAL_HISTORY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1001,6 +1020,9 @@ public static boolean validateSocialHistorySectionSocialHistoryObservation( public static boolean validateSocialHistorySectionSmokingStatusObservation( SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SocialHistorySection2SocialHistorySectionSmokingStatusObservation", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_SMOKING_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1067,6 +1089,8 @@ public static boolean validateSocialHistorySectionSmokingStatusObservation( public static boolean validateSocialHistorySectionTobaccoUse(SocialHistorySection2 socialHistorySection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySection2SocialHistorySectionTobaccoUse", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_TOBACCO_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistorySectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistorySectionOperations.java index ca041f434c..55edfa9627 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistorySectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SocialHistorySectionOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -111,6 +112,8 @@ protected SocialHistorySectionOperations() { public static boolean validateSocialHistorySectionTemplateId(SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionTemplateId", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -178,6 +181,8 @@ public static boolean validateSocialHistorySectionTemplateId(SocialHistorySectio public static boolean validateSocialHistorySectionCode(SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionCode", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -241,6 +246,8 @@ public static boolean validateSocialHistorySectionCode(SocialHistorySection soci public static boolean validateSocialHistorySectionCodeP(SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionCodeP", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -304,6 +311,8 @@ public static boolean validateSocialHistorySectionCodeP(SocialHistorySection soc public static boolean validateSocialHistorySectionTitle(SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionTitle", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -367,6 +376,8 @@ public static boolean validateSocialHistorySectionTitle(SocialHistorySection soc public static boolean validateSocialHistorySectionText(SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionText", "ERROR"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -430,6 +441,8 @@ public static boolean validateSocialHistorySectionText(SocialHistorySection soci public static boolean validateSocialHistorySectionSocialHistoryObservation( SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionSocialHistoryObservation", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_SOCIAL_HISTORY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -496,6 +509,8 @@ public static boolean validateSocialHistorySectionSocialHistoryObservation( public static boolean validateSocialHistorySectionPregnancyObservation(SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionPregnancyObservation", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_PREGNANCY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -561,6 +576,8 @@ public static boolean validateSocialHistorySectionPregnancyObservation(SocialHis public static boolean validateSocialHistorySectionSmokingStatusObservation( SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionSmokingStatusObservation", "WARNING"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_SMOKING_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -627,6 +644,8 @@ public static boolean validateSocialHistorySectionSmokingStatusObservation( public static boolean validateSocialHistorySectionTobaccoUse(SocialHistorySection socialHistorySection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SocialHistorySectionSocialHistorySectionTobaccoUse", "INFO"); + if (VALIDATE_SOCIAL_HISTORY_SECTION_TOBACCO_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/StudyActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/StudyActOperations.java index 14b4ce6d48..ad9825edde 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/StudyActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/StudyActOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -106,6 +107,8 @@ protected StudyActOperations() { public static boolean validateStudyActIdsHaveRoot(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActIdsHaveRoot", "ERROR"); + if (VALIDATE_STUDY_ACT_IDS_HAVE_ROOT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -168,6 +171,8 @@ public static boolean validateStudyActIdsHaveRoot(StudyAct studyAct, DiagnosticC public static boolean validateStudyActNoIdExtension(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActNoIdExtension", "ERROR"); + if (VALIDATE_STUDY_ACT_NO_ID_EXTENSION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +235,8 @@ public static boolean validateStudyActNoIdExtension(StudyAct studyAct, Diagnosti public static boolean validateStudyActTextReference(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActTextReference", "WARNING"); + if (VALIDATE_STUDY_ACT_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -292,6 +299,8 @@ public static boolean validateStudyActTextReference(StudyAct studyAct, Diagnosti public static boolean validateStudyActTextReferenceValue(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActTextReferenceValue", "WARNING"); + if (VALIDATE_STUDY_ACT_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -355,6 +364,8 @@ public static boolean validateStudyActTextReferenceValue(StudyAct studyAct, Diag public static boolean validateStudyActReferenceValue(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActReferenceValue", "ERROR"); + if (VALIDATE_STUDY_ACT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -417,6 +428,8 @@ public static boolean validateStudyActReferenceValue(StudyAct studyAct, Diagnost public static boolean validateStudyActTemplateId(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActTemplateId", "ERROR"); + if (VALIDATE_STUDY_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -479,6 +492,8 @@ public static boolean validateStudyActTemplateId(StudyAct studyAct, DiagnosticCh public static boolean validateStudyActClassCode(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActClassCode", "ERROR"); + if (VALIDATE_STUDY_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -541,6 +556,8 @@ public static boolean validateStudyActClassCode(StudyAct studyAct, DiagnosticCha public static boolean validateStudyActMoodCode(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActMoodCode", "ERROR"); + if (VALIDATE_STUDY_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -603,6 +620,8 @@ public static boolean validateStudyActMoodCode(StudyAct studyAct, DiagnosticChai public static boolean validateStudyActId(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActId", "ERROR"); + if (VALIDATE_STUDY_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -665,6 +684,8 @@ public static boolean validateStudyActId(StudyAct studyAct, DiagnosticChain diag public static boolean validateStudyActCode(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActCode", "ERROR"); + if (VALIDATE_STUDY_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -726,6 +747,8 @@ public static boolean validateStudyActCode(StudyAct studyAct, DiagnosticChain di public static boolean validateStudyActEffectiveTime(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActEffectiveTime", "WARNING"); + if (VALIDATE_STUDY_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -788,6 +811,8 @@ public static boolean validateStudyActEffectiveTime(StudyAct studyAct, Diagnosti public static boolean validateStudyActText(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActText", "INFO"); + if (VALIDATE_STUDY_ACT_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -849,6 +874,8 @@ public static boolean validateStudyActText(StudyAct studyAct, DiagnosticChain di public static boolean validateStudyActSeriesAct(StudyAct studyAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "StudyActStudyActSeriesAct", "ERROR"); + if (VALIDATE_STUDY_ACT_SERIES_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubjectiveSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubjectiveSectionOperations.java index 39364ba8b2..8517f76a2f 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubjectiveSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubjectiveSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected SubjectiveSectionOperations() { public static boolean validateSubjectiveSectionTemplateId(SubjectiveSection subjectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubjectiveSectionSubjectiveSectionTemplateId", "ERROR"); + if (VALIDATE_SUBJECTIVE_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -159,6 +162,8 @@ public static boolean validateSubjectiveSectionTemplateId(SubjectiveSection subj public static boolean validateSubjectiveSectionCode(SubjectiveSection subjectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubjectiveSectionSubjectiveSectionCode", "ERROR"); + if (VALIDATE_SUBJECTIVE_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -222,6 +227,8 @@ public static boolean validateSubjectiveSectionCode(SubjectiveSection subjective public static boolean validateSubjectiveSectionCodeP(SubjectiveSection subjectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubjectiveSectionSubjectiveSectionCodeP", "ERROR"); + if (VALIDATE_SUBJECTIVE_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +292,8 @@ public static boolean validateSubjectiveSectionCodeP(SubjectiveSection subjectiv public static boolean validateSubjectiveSectionText(SubjectiveSection subjectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubjectiveSectionSubjectiveSectionText", "ERROR"); + if (VALIDATE_SUBJECTIVE_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -348,6 +357,8 @@ public static boolean validateSubjectiveSectionText(SubjectiveSection subjective public static boolean validateSubjectiveSectionTitle(SubjectiveSection subjectiveSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubjectiveSectionSubjectiveSectionTitle", "ERROR"); + if (VALIDATE_SUBJECTIVE_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceAdministeredActOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceAdministeredActOperations.java index 2078fd77f3..a7e35ba853 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceAdministeredActOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceAdministeredActOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -95,6 +96,8 @@ protected SubstanceAdministeredActOperations() { public static boolean validateSubstanceAdministeredActTemplateId(SubstanceAdministeredAct substanceAdministeredAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActTemplateId", "ERROR"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateSubstanceAdministeredActTemplateId(SubstanceAdmini public static boolean validateSubstanceAdministeredActClassCode(SubstanceAdministeredAct substanceAdministeredAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActClassCode", "ERROR"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateSubstanceAdministeredActClassCode(SubstanceAdminis public static boolean validateSubstanceAdministeredActMoodCode(SubstanceAdministeredAct substanceAdministeredAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActMoodCode", "ERROR"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -290,6 +297,8 @@ public static boolean validateSubstanceAdministeredActMoodCode(SubstanceAdminist public static boolean validateSubstanceAdministeredActId(SubstanceAdministeredAct substanceAdministeredAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActId", "ERROR"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -354,6 +363,8 @@ public static boolean validateSubstanceAdministeredActId(SubstanceAdministeredAc public static boolean validateSubstanceAdministeredActCodeP(SubstanceAdministeredAct substanceAdministeredAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActCodeP", "ERROR"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -441,6 +452,8 @@ public static boolean validateSubstanceAdministeredActCode(SubstanceAdministered return true; } + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActCode", "ERROR"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -506,6 +519,8 @@ public static boolean validateSubstanceAdministeredActCode(SubstanceAdministered public static boolean validateSubstanceAdministeredActStatusCode(SubstanceAdministeredAct substanceAdministeredAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActStatusCode", "ERROR"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -571,6 +586,8 @@ public static boolean validateSubstanceAdministeredActStatusCode(SubstanceAdmini public static boolean validateSubstanceAdministeredActStatusCodeP(SubstanceAdministeredAct substanceAdministeredAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActStatusCodeP", "ERROR"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -637,6 +654,8 @@ public static boolean validateSubstanceAdministeredActEffectiveTime( SubstanceAdministeredAct substanceAdministeredAct, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SubstanceAdministeredActSubstanceAdministeredActEffectiveTime", "INFO"); + if (VALIDATE_SUBSTANCE_ADMINISTERED_ACT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceOrDeviceAllergyObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceOrDeviceAllergyObservation2Operations.java index a7fe382674..5fd4e8e3c4 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceOrDeviceAllergyObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceOrDeviceAllergyObservation2Operations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -134,6 +135,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservation2CriticalityInv SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservation2CriticalityInversionIndicator", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2_CRITICALITY_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -201,6 +207,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservation2TemplateId( SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservation2TemplateId", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -268,6 +277,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservation2AuthorParticip SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservation2AuthorParticipation", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -335,6 +348,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservation2CriticalityObs SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservation2CriticalityObservation", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2_CRITICALITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -402,6 +419,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservation2IVLTSLow( SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservation2IVLTSLow", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2_IVLTS_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -474,6 +494,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservation2IVLTSHigh( SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservation2IVLTSHigh", "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -546,6 +569,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityAllergySpecificMedication", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ALLERGY_SPECIFIC_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -618,6 +646,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityAllergyClassMedication", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ALLERGY_CLASS_MEDICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -690,6 +723,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityAllergyFoodOtherSubstance", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ALLERGY_FOOD_OTHER_SUBSTANCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -952,6 +990,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationReactionInversi SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationReactionInversionIndicator", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_REACTION_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1019,6 +1062,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationSeverityInversi SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationSeverityInversionIndicator", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_SEVERITY_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1086,6 +1134,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusIn SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationAllergyStatusInversionIndicator", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_ALLERGY_STATUS_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1153,6 +1206,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationEffectiveTime( SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationEffectiveTime", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1220,6 +1276,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationValueP( SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationValueP", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1312,6 +1371,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationValue( return true; } + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationValue", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1379,6 +1441,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationCodeP( SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationCodeP", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1471,6 +1536,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationCode( return true; } + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationCode", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1538,6 +1606,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipant( SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipant", "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1605,6 +1676,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationReactionObserva SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationReactionObservation", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1672,6 +1747,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationSeverityObserva SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationSeverityObservation", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_SEVERITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1739,6 +1818,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusOb SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationAllergyStatusObservation", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_ALLERGY_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1806,6 +1889,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCEOriginalText", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1878,6 +1966,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCETranslation", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1950,6 +2043,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReference", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2022,6 +2120,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityReferenceValue", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2094,6 +2197,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReferenceValue", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2166,6 +2274,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCode", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2238,6 +2351,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntity", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2310,6 +2428,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation2 substanceOrDeviceAllergyObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservation2SubstanceOrDeviceAllergyObservationParticipantParticipantRole", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceOrDeviceAllergyObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceOrDeviceAllergyObservationOperations.java index ac44bfe483..98ab5acade 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceOrDeviceAllergyObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SubstanceOrDeviceAllergyObservationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -129,6 +130,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusIn SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationAllergyStatusInversionIndicator", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_ALLERGY_STATUS_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -196,6 +202,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationReactionInversi SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationReactionInversionIndicator", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_REACTION_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -263,6 +273,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationSeverityInversi SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationSeverityInversionIndicator", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_SEVERITY_INVERSION_INDICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -330,6 +344,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationTemplateId( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationTemplateId", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -397,6 +414,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationClassCode( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationClassCode", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -464,6 +484,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationMoodCode( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationMoodCode", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -531,6 +554,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationId( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationId", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -598,6 +624,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationCodeP( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationCodeP", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -690,6 +719,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationCode( return true; } + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationCode", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -758,6 +790,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationStatusCode( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationStatusCode", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -825,6 +860,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationStatusCodeP( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationStatusCodeP", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -892,6 +930,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationEffectiveTime( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationEffectiveTime", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -961,6 +1002,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationValue( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationValue", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1028,6 +1072,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationValueP( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationValueP", "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1095,6 +1142,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationAllergyStatusOb SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationAllergyStatusObservation", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_ALLERGY_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1162,6 +1213,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationReactionObserva SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationReactionObservation", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1229,6 +1284,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationSeverityObserva SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationSeverityObservation", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_SEVERITY_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1296,6 +1355,9 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipant( SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipant", "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1363,6 +1425,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCEOriginalText", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CE_ORIGINAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1435,6 +1502,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCETranslation", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CE_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1507,6 +1579,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReferenceValue", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ORIGINAL_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1579,6 +1656,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityReferenceValue", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1651,6 +1733,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityOriginalTextReference", + "WARNING"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_ORIGINAL_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1723,6 +1810,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCodeTerminologyValueSetGroupSRFI", + "INFO"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CODE_TERMINOLOGY_VALUE_SET_GROUP_SRFI__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1795,6 +1887,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityClassCode", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1867,6 +1964,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntityCode", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1939,6 +2041,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRoleClassCode", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2011,6 +2118,11 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRolePlayingEntity", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE_PLAYING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2083,6 +2195,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantType SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantTypeCode", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2155,6 +2271,10 @@ public static boolean validateSubstanceOrDeviceAllergyObservationParticipantPart SubstanceOrDeviceAllergyObservation substanceOrDeviceAllergyObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "SubstanceOrDeviceAllergyObservationSubstanceOrDeviceAllergyObservationParticipantParticipantRole", + "ERROR"); + if (VALIDATE_SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION_PARTICIPANT_PARTICIPANT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SurgicalDrainsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SurgicalDrainsSectionOperations.java index 2dd1730583..56df2a3736 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SurgicalDrainsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/SurgicalDrainsSectionOperations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -94,6 +95,8 @@ protected SurgicalDrainsSectionOperations() { public static boolean validateSurgicalDrainsSectionTemplateId(SurgicalDrainsSection surgicalDrainsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SurgicalDrainsSectionSurgicalDrainsSectionTemplateId", "ERROR"); + if (VALIDATE_SURGICAL_DRAINS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -161,6 +164,8 @@ public static boolean validateSurgicalDrainsSectionTemplateId(SurgicalDrainsSect public static boolean validateSurgicalDrainsSectionCode(SurgicalDrainsSection surgicalDrainsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SurgicalDrainsSectionSurgicalDrainsSectionCode", "ERROR"); + if (VALIDATE_SURGICAL_DRAINS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -224,6 +229,8 @@ public static boolean validateSurgicalDrainsSectionCode(SurgicalDrainsSection su public static boolean validateSurgicalDrainsSectionCodeP(SurgicalDrainsSection surgicalDrainsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SurgicalDrainsSectionSurgicalDrainsSectionCodeP", "ERROR"); + if (VALIDATE_SURGICAL_DRAINS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +295,8 @@ public static boolean validateSurgicalDrainsSectionCodeP(SurgicalDrainsSection s public static boolean validateSurgicalDrainsSectionText(SurgicalDrainsSection surgicalDrainsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SurgicalDrainsSectionSurgicalDrainsSectionText", "ERROR"); + if (VALIDATE_SURGICAL_DRAINS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -351,6 +360,8 @@ public static boolean validateSurgicalDrainsSectionText(SurgicalDrainsSection su public static boolean validateSurgicalDrainsSectionTitle(SurgicalDrainsSection surgicalDrainsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "SurgicalDrainsSectionSurgicalDrainsSectionTitle", "ERROR"); + if (VALIDATE_SURGICAL_DRAINS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TextObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TextObservationOperations.java index fe257fa459..1d5187499a 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TextObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TextObservationOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -110,6 +111,8 @@ protected TextObservationOperations() { public static boolean validateTextObservationTextReference(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationTextReference", "WARNING"); + if (VALIDATE_TEXT_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +176,8 @@ public static boolean validateTextObservationTextReference(TextObservation textO public static boolean validateTextObservationTextReferenceValue(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationTextReferenceValue", "WARNING"); + if (VALIDATE_TEXT_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +243,8 @@ public static boolean validateTextObservationTextReferenceValue(TextObservation public static boolean validateTextObservationReferenceValue(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationReferenceValue", "ERROR"); + if (VALIDATE_TEXT_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -301,6 +308,8 @@ public static boolean validateTextObservationReferenceValue(TextObservation text public static boolean validateTextObservationTemplateId(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationTemplateId", "ERROR"); + if (VALIDATE_TEXT_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +373,8 @@ public static boolean validateTextObservationTemplateId(TextObservation textObse public static boolean validateTextObservationClassCode(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationClassCode", "ERROR"); + if (VALIDATE_TEXT_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -427,6 +438,8 @@ public static boolean validateTextObservationClassCode(TextObservation textObser public static boolean validateTextObservationMoodCode(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationMoodCode", "ERROR"); + if (VALIDATE_TEXT_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -490,6 +503,8 @@ public static boolean validateTextObservationMoodCode(TextObservation textObserv public static boolean validateTextObservationCode(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationCode", "ERROR"); + if (VALIDATE_TEXT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -553,6 +568,8 @@ public static boolean validateTextObservationCode(TextObservation textObservatio public static boolean validateTextObservationEffectiveTime(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationEffectiveTime", "WARNING"); + if (VALIDATE_TEXT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -616,6 +633,8 @@ public static boolean validateTextObservationEffectiveTime(TextObservation textO public static boolean validateTextObservationText(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationText", "INFO"); + if (VALIDATE_TEXT_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -679,6 +698,8 @@ public static boolean validateTextObservationText(TextObservation textObservatio public static boolean validateTextObservationValue(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationValue", "ERROR"); + if (VALIDATE_TEXT_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -742,6 +763,8 @@ public static boolean validateTextObservationValue(TextObservation textObservati public static boolean validateTextObservationSOPInstanceObservation(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationSOPInstanceObservation", "INFO"); + if (VALIDATE_TEXT_OBSERVATION_SOP_INSTANCE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -807,6 +830,8 @@ public static boolean validateTextObservationSOPInstanceObservation(TextObservat public static boolean validateTextObservationQuantityMeasurementObservation(TextObservation textObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TextObservationTextObservationQuantityMeasurementObservation", "INFO"); + if (VALIDATE_TEXT_OBSERVATION_QUANTITY_MEASUREMENT_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TobaccoUse2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TobaccoUse2Operations.java index 5acfe6d052..142d2266cd 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TobaccoUse2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TobaccoUse2Operations.java @@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -97,6 +98,8 @@ protected TobaccoUse2Operations() { public static boolean validateTobaccoUse2TemplateId(TobaccoUse2 tobaccoUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUse2TobaccoUse2TemplateId", "ERROR"); + if (VALIDATE_TOBACCO_USE2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -160,6 +163,8 @@ public static boolean validateTobaccoUse2TemplateId(TobaccoUse2 tobaccoUse2, Dia public static boolean validateTobaccoUse2Id(TobaccoUse2 tobaccoUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUse2TobaccoUse2Id", "ERROR"); + if (VALIDATE_TOBACCO_USE2_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -201,6 +206,8 @@ public static boolean validateTobaccoUse2Id(TobaccoUse2 tobaccoUse2, DiagnosticC public static boolean validateTobaccoUse2AuthorParticipation(TobaccoUse2 tobaccoUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUse2TobaccoUse2AuthorParticipation", "WARNING"); + if (VALIDATE_TOBACCO_USE2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -243,6 +250,8 @@ public static boolean validateTobaccoUse2AuthorParticipation(TobaccoUse2 tobacco public static boolean validateTobaccoUse2CDCodeTermAssertionOrLoinc(TobaccoUse2 tobaccoUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUse2TobaccoUse2CDCodeTermAssertionOrLoinc", "INFO"); + if (VALIDATE_TOBACCO_USE2_CD_CODE_TERM_ASSERTION_OR_LOINC__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -292,6 +301,8 @@ public static boolean validateTobaccoUse2CDCodeTermAssertionOrLoinc(TobaccoUse2 public static boolean validateTobaccoUse2IVLTSHigh(TobaccoUse2 tobaccoUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUse2TobaccoUse2IVLTSHigh", "INFO"); + if (VALIDATE_TOBACCO_USE2_IVLTS_HIGH__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -340,6 +351,8 @@ public static boolean validateTobaccoUse2IVLTSHigh(TobaccoUse2 tobaccoUse2, Diag public static boolean validateTobaccoUseEffectiveTime(TobaccoUse2 tobaccoUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUse2TobaccoUseEffectiveTime", "ERROR"); + if (VALIDATE_TOBACCO_USE_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -466,6 +479,8 @@ public static boolean validateTobaccoUseEffectiveTime(TobaccoUse2 tobaccoUse2, D public static boolean validateTobaccoUseCodeP(TobaccoUse2 tobaccoUse2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUse2TobaccoUseCodeP", "ERROR"); + if (VALIDATE_TOBACCO_USE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -571,6 +586,8 @@ public static boolean validateTobaccoUseCode(TobaccoUse2 tobaccoUse2, Diagnostic return true; } + DatatypesUtil.increment(context, "TobaccoUse2TobaccoUseCode", "ERROR"); + if (VALIDATE_TOBACCO_USE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TobaccoUseOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TobaccoUseOperations.java index 13fae790e0..70b2d63589 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TobaccoUseOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TobaccoUseOperations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -103,6 +104,8 @@ protected TobaccoUseOperations() { public static boolean validateTobaccoUseEffectiveTimeLow(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseEffectiveTimeLow", "ERROR"); + if (VALIDATE_TOBACCO_USE_EFFECTIVE_TIME_LOW__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateTobaccoUseEffectiveTimeLow(TobaccoUse tobaccoUse, public static boolean validateTobaccoUseTemplateId(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseTemplateId", "ERROR"); + if (VALIDATE_TOBACCO_USE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -229,6 +234,8 @@ public static boolean validateTobaccoUseTemplateId(TobaccoUse tobaccoUse, Diagno public static boolean validateTobaccoUseClassCode(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseClassCode", "ERROR"); + if (VALIDATE_TOBACCO_USE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -291,6 +298,8 @@ public static boolean validateTobaccoUseClassCode(TobaccoUse tobaccoUse, Diagnos public static boolean validateTobaccoUseMoodCode(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseMoodCode", "ERROR"); + if (VALIDATE_TOBACCO_USE_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +362,8 @@ public static boolean validateTobaccoUseMoodCode(TobaccoUse tobaccoUse, Diagnost public static boolean validateTobaccoUseCode(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseCode", "ERROR"); + if (VALIDATE_TOBACCO_USE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -394,6 +405,8 @@ public static boolean validateTobaccoUseCode(TobaccoUse tobaccoUse, DiagnosticCh public static boolean validateTobaccoUseEffectiveTime(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseEffectiveTime", "ERROR"); + if (VALIDATE_TOBACCO_USE_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -458,6 +471,8 @@ public static boolean validateTobaccoUseEffectiveTime(TobaccoUse tobaccoUse, Dia public static boolean validateTobaccoUseStatusCode(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseStatusCode", "ERROR"); + if (VALIDATE_TOBACCO_USE_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -542,6 +557,8 @@ public static boolean validateTobaccoUseStatusCode(TobaccoUse tobaccoUse, Diagno public static boolean validateTobaccoUseStatusCodeP(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseStatusCodeP", "ERROR"); + if (VALIDATE_TOBACCO_USE_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -607,6 +624,8 @@ public static boolean validateTobaccoUseStatusCodeP(TobaccoUse tobaccoUse, Diagn public static boolean validateTobaccoUseValue(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseValue", "ERROR"); + if (VALIDATE_TOBACCO_USE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -669,6 +688,8 @@ public static boolean validateTobaccoUseValue(TobaccoUse tobaccoUse, DiagnosticC public static boolean validateTobaccoUseValueP(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseValueP", "ERROR"); + if (VALIDATE_TOBACCO_USE_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -731,6 +752,8 @@ public static boolean validateTobaccoUseValueP(TobaccoUse tobaccoUse, Diagnostic public static boolean validateTobaccoUseCDCodeTermAssertionOrLoinc(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseCDCodeTermAssertionOrLoinc", "ERROR"); + if (VALIDATE_TOBACCO_USE_CD_CODE_TERM_ASSERTION_OR_LOINC__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -801,6 +824,8 @@ public static boolean validateTobaccoUseCDCodeTermAssertionOrLoinc(TobaccoUse to public static boolean validateTobaccoUseCDCode(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseCDCode", "ERROR"); + if (VALIDATE_TOBACCO_USE_CD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -869,6 +894,8 @@ public static boolean validateTobaccoUseCDCode(TobaccoUse tobaccoUse, Diagnostic public static boolean validateTobaccoUseCDCodeSystem(TobaccoUse tobaccoUse, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TobaccoUseTobaccoUseCDCodeSystem", "ERROR"); + if (VALIDATE_TOBACCO_USE_CD_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TransferSummaryOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TransferSummaryOperations.java index cdc7a4afe0..f3897776a5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TransferSummaryOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/TransferSummaryOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -214,6 +215,11 @@ protected TransferSummaryOperations() { public static boolean validateTransferSummaryHasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "TransferSummaryTransferSummaryHasAnAssementAndPlanSection2OrBothAssementSectionAndPlanOfTreatmentSection2", + "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_HAS_AN_ASSEMENT_AND_PLAN_SECTION2_OR_BOTH_ASSEMENT_SECTION_AND_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -280,6 +286,11 @@ public static boolean validateTransferSummaryHasAnAssementAndPlanSection2OrBothA public static boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "TransferSummaryTransferSummaryDoesNotHaveAssementAndPlanSection2WhenAssementAndPlanOfTreatment2ArePresent", + "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_DOES_NOT_HAVE_ASSEMENT_AND_PLAN_SECTION2_WHEN_ASSEMENT_AND_PLAN_OF_TREATMENT2_ARE_PRESENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -346,6 +357,8 @@ public static boolean validateTransferSummaryDoesNotHaveAssementAndPlanSection2W public static boolean validateTransferSummaryCodeP(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryCodeP", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -432,6 +445,8 @@ public static boolean validateTransferSummaryCode(TransferSummary transferSummar return true; } + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryCode", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -495,6 +510,8 @@ public static boolean validateTransferSummaryCode(TransferSummary transferSummar public static boolean validateTransferSummaryTitle(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryTitle", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -558,6 +575,8 @@ public static boolean validateTransferSummaryTitle(TransferSummary transferSumma public static boolean validateTransferSummaryParticipantSupport(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryParticipantSupport", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_SUPPORT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -623,6 +642,8 @@ public static boolean validateTransferSummaryParticipantSupport(TransferSummary public static boolean validateTransferSummaryParticipantCallbackContact(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryParticipantCallbackContact", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -688,6 +709,8 @@ public static boolean validateTransferSummaryParticipantCallbackContact(Transfer public static boolean validateTransferSummaryDocumentationOf(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryDocumentationOf", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -751,6 +774,8 @@ public static boolean validateTransferSummaryDocumentationOf(TransferSummary tra public static boolean validateTransferSummaryAdvanceDirectivesSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryAdvanceDirectivesSection2", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_ADVANCE_DIRECTIVES_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -816,6 +841,8 @@ public static boolean validateTransferSummaryAdvanceDirectivesSection2(TransferS public static boolean validateTransferSummaryAllergiesSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryAllergiesSection2", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_ALLERGIES_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -881,6 +908,8 @@ public static boolean validateTransferSummaryAllergiesSection2(TransferSummary t public static boolean validateTransferSummaryPhysicalExamSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryPhysicalExamSection2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_PHYSICAL_EXAM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -946,6 +975,8 @@ public static boolean validateTransferSummaryPhysicalExamSection2(TransferSummar public static boolean validateTransferSummaryEncountersSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryEncountersSection2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_ENCOUNTERS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1011,6 +1042,8 @@ public static boolean validateTransferSummaryEncountersSection2(TransferSummary public static boolean validateTransferSummaryFamilyHistorySection(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryFamilyHistorySection", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_FAMILY_HISTORY_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1076,6 +1109,8 @@ public static boolean validateTransferSummaryFamilyHistorySection(TransferSummar public static boolean validateTransferSummaryFunctionalStatusSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryFunctionalStatusSection2", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_FUNCTIONAL_STATUS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1141,6 +1176,8 @@ public static boolean validateTransferSummaryFunctionalStatusSection2(TransferSu public static boolean validateTransferSummaryImmunizationsSectionEntriesOptional2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryImmunizationsSectionEntriesOptional2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1207,6 +1244,8 @@ public static boolean validateTransferSummaryImmunizationsSectionEntriesOptional public static boolean validateTransferSummaryMedicalEquipmentSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryMedicalEquipmentSection2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_MEDICAL_EQUIPMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1272,6 +1311,8 @@ public static boolean validateTransferSummaryMedicalEquipmentSection2(TransferSu public static boolean validateTransferSummaryMedicationsSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryMedicationsSection2", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_MEDICATIONS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1337,6 +1378,8 @@ public static boolean validateTransferSummaryMedicationsSection2(TransferSummary public static boolean validateTransferSummaryPayersSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryPayersSection2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_PAYERS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1400,6 +1443,8 @@ public static boolean validateTransferSummaryPayersSection2(TransferSummary tran public static boolean validateTransferSummaryPlanOfTreatmentSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryPlanOfTreatmentSection2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_PLAN_OF_TREATMENT_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1465,6 +1510,8 @@ public static boolean validateTransferSummaryPlanOfTreatmentSection2(TransferSum public static boolean validateTransferSummaryProblemSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryProblemSection2", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PROBLEM_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1528,6 +1575,8 @@ public static boolean validateTransferSummaryProblemSection2(TransferSummary tra public static boolean validateTransferSummaryProceduresSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryProceduresSection2", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_PROCEDURES_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1593,6 +1642,8 @@ public static boolean validateTransferSummaryProceduresSection2(TransferSummary public static boolean validateTransferSummaryResultsSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryResultsSection2", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_RESULTS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1656,6 +1707,8 @@ public static boolean validateTransferSummaryResultsSection2(TransferSummary tra public static boolean validateTransferSummarySocialHistorySection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummarySocialHistorySection2", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_SOCIAL_HISTORY_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1721,6 +1774,8 @@ public static boolean validateTransferSummarySocialHistorySection2(TransferSumma public static boolean validateTransferSummaryVitalSignsSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryVitalSignsSection2", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_VITAL_SIGNS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1786,6 +1841,8 @@ public static boolean validateTransferSummaryVitalSignsSection2(TransferSummary public static boolean validateTransferSummaryMentalStatusSection(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryMentalStatusSection", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_MENTAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1851,6 +1908,8 @@ public static boolean validateTransferSummaryMentalStatusSection(TransferSummary public static boolean validateTransferSummaryGeneralStatusSection(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryGeneralStatusSection", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_GENERAL_STATUS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1916,6 +1975,8 @@ public static boolean validateTransferSummaryGeneralStatusSection(TransferSummar public static boolean validateTransferSummaryReviewOfSystemsSection(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryReviewOfSystemsSection", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_REVIEW_OF_SYSTEMS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1981,6 +2042,8 @@ public static boolean validateTransferSummaryReviewOfSystemsSection(TransferSumm public static boolean validateTransferSummaryNutritionSection(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryNutritionSection", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_NUTRITION_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2045,6 +2108,8 @@ public static boolean validateTransferSummaryNutritionSection(TransferSummary tr public static boolean validateTransferSummaryReasonForReferralSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryReasonForReferralSection2", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_REASON_FOR_REFERRAL_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2110,6 +2175,8 @@ public static boolean validateTransferSummaryReasonForReferralSection2(TransferS public static boolean validateTransferSummaryHistoryOfPastIllnessSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryHistoryOfPastIllnessSection2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_HISTORY_OF_PAST_ILLNESS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2175,6 +2242,8 @@ public static boolean validateTransferSummaryHistoryOfPastIllnessSection2(Transf public static boolean validateTransferSummaryHistoryOfPresentIllnessSection(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryHistoryOfPresentIllnessSection", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_HISTORY_OF_PRESENT_ILLNESS_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2240,6 +2309,8 @@ public static boolean validateTransferSummaryHistoryOfPresentIllnessSection(Tran public static boolean validateTransferSummaryAssessmentAndPlanSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryAssessmentAndPlanSection2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_ASSESSMENT_AND_PLAN_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2305,6 +2376,8 @@ public static boolean validateTransferSummaryAssessmentAndPlanSection2(TransferS public static boolean validateTransferSummaryAssessmentSection(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryAssessmentSection", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_ASSESSMENT_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2370,6 +2443,8 @@ public static boolean validateTransferSummaryAssessmentSection(TransferSummary t public static boolean validateTransferSummaryDischargeDiagnosisSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryDischargeDiagnosisSection2", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_DISCHARGE_DIAGNOSIS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2435,6 +2510,9 @@ public static boolean validateTransferSummaryDischargeDiagnosisSection2(Transfer public static boolean validateTransferSummaryAdmissionMedicationsSectionEntriesOptional2( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryAdmissionMedicationsSectionEntriesOptional2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2501,6 +2579,8 @@ public static boolean validateTransferSummaryAdmissionMedicationsSectionEntriesO public static boolean validateTransferSummaryAdmissionDiagnosisSection2(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryAdmissionDiagnosisSection2", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_ADMISSION_DIAGNOSIS_SECTION2__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2566,6 +2646,8 @@ public static boolean validateTransferSummaryAdmissionDiagnosisSection2(Transfer public static boolean validateTransferSummaryCourseOfCareSection(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryCourseOfCareSection", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_COURSE_OF_CARE_SECTION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2631,6 +2713,9 @@ public static boolean validateTransferSummaryCourseOfCareSection(TransferSummary public static boolean validateTransferSummaryParticipantSupportAssociatedEntityAssociatedPersonName( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantSupportAssociatedEntityAssociatedPersonName", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_SUPPORT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2702,6 +2787,9 @@ public static boolean validateTransferSummaryParticipantSupportAssociatedEntityA public static boolean validateTransferSummaryParticipantSupportAssociatedEntityClassCodeP( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantSupportAssociatedEntityClassCodeP", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_SUPPORT_ASSOCIATED_ENTITY_CLASS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2789,6 +2877,9 @@ public static boolean validateTransferSummaryParticipantSupportAssociatedEntityC public static boolean validateTransferSummaryParticipantSupportAssociatedEntityClassCode( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantSupportAssociatedEntityClassCode", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_SUPPORT_ASSOCIATED_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2870,6 +2961,9 @@ public static boolean validateTransferSummaryParticipantSupportAssociatedEntityC public static boolean validateTransferSummaryParticipantSupportAssociatedEntityAssociatedPerson( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantSupportAssociatedEntityAssociatedPerson", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_SUPPORT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2941,6 +3035,8 @@ public static boolean validateTransferSummaryParticipantSupportAssociatedEntityA public static boolean validateTransferSummaryParticipantSupportTypeCode(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryParticipantSupportTypeCode", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_SUPPORT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3011,6 +3107,8 @@ public static boolean validateTransferSummaryParticipantSupportTypeCode(Transfer public static boolean validateTransferSummaryParticipantSupportAssociatedEntity(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryParticipantSupportAssociatedEntity", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_SUPPORT_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3082,6 +3180,10 @@ public static boolean validateTransferSummaryParticipantSupportAssociatedEntity( public static boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAssociatedPersonName( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantCallbackContactAssociatedEntityAssociatedPersonName", + "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3153,6 +3255,9 @@ public static boolean validateTransferSummaryParticipantCallbackContactAssociate public static boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityClassCode( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantCallbackContactAssociatedEntityClassCode", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3224,6 +3329,9 @@ public static boolean validateTransferSummaryParticipantCallbackContactAssociate public static boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityId( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantCallbackContactAssociatedEntityId", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3295,6 +3403,9 @@ public static boolean validateTransferSummaryParticipantCallbackContactAssociate public static boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAddr( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantCallbackContactAssociatedEntityAddr", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3366,6 +3477,9 @@ public static boolean validateTransferSummaryParticipantCallbackContactAssociate public static boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityTelecom( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantCallbackContactAssociatedEntityTelecom", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3437,6 +3551,10 @@ public static boolean validateTransferSummaryParticipantCallbackContactAssociate public static boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityAssociatedPerson( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantCallbackContactAssociatedEntityAssociatedPerson", + "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_ASSOCIATED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3508,6 +3626,10 @@ public static boolean validateTransferSummaryParticipantCallbackContactAssociate public static boolean validateTransferSummaryParticipantCallbackContactAssociatedEntityScopingOrganization( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantCallbackContactAssociatedEntityScopingOrganization", + "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY_SCOPING_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3579,6 +3701,8 @@ public static boolean validateTransferSummaryParticipantCallbackContactAssociate public static boolean validateTransferSummaryParticipantCallbackContactTypeCode(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryParticipantCallbackContactTypeCode", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3650,6 +3774,9 @@ public static boolean validateTransferSummaryParticipantCallbackContactTypeCode( public static boolean validateTransferSummaryParticipantCallbackContactAssociatedEntity( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryParticipantCallbackContactAssociatedEntity", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_PARTICIPANT_CALLBACK_CONTACT_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3721,6 +3848,9 @@ public static boolean validateTransferSummaryParticipantCallbackContactAssociate public static boolean validateTransferSummaryDocumentationOfServiceEventPerformerTypeCode( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryDocumentationOfServiceEventPerformerTypeCode", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3792,6 +3922,9 @@ public static boolean validateTransferSummaryDocumentationOfServiceEventPerforme public static boolean validateTransferSummaryDocumentationOfServiceEventPerformerFunctionCodeP( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryDocumentationOfServiceEventPerformerFunctionCodeP", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_FUNCTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3879,6 +4012,9 @@ public static boolean validateTransferSummaryDocumentationOfServiceEventPerforme public static boolean validateTransferSummaryDocumentationOfServiceEventPerformerFunctionCode( TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryDocumentationOfServiceEventPerformerFunctionCode", "WARNING"); + if (VALIDATE_TRANSFER_SUMMARY_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_FUNCTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3960,6 +4096,8 @@ public static boolean validateTransferSummaryDocumentationOfServiceEventPerforme public static boolean validateTransferSummaryDocumentationOfServiceEventClassCode(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryDocumentationOfServiceEventClassCode", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_DOCUMENTATION_OF_SERVICE_EVENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4031,6 +4169,8 @@ public static boolean validateTransferSummaryDocumentationOfServiceEventClassCod public static boolean validateTransferSummaryDocumentationOfServiceEventCode(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryDocumentationOfServiceEventCode", "INFO"); + if (VALIDATE_TRANSFER_SUMMARY_DOCUMENTATION_OF_SERVICE_EVENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4102,6 +4242,9 @@ public static boolean validateTransferSummaryDocumentationOfServiceEventCode(Tra public static boolean validateTransferSummaryDocumentationOfServiceEventPerformer1(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "TransferSummaryTransferSummaryDocumentationOfServiceEventPerformer1", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4173,6 +4316,8 @@ public static boolean validateTransferSummaryDocumentationOfServiceEventPerforme public static boolean validateTransferSummaryDocumentationOfServiceEvent(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryTransferSummaryDocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_TRANSFER_SUMMARY_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5560,6 +5705,8 @@ public static CourseOfCareSection getCourseOfCareSection(TransferSummary transfe public static boolean validateUSRealmHeader2TemplateId(TransferSummary transferSummary, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "TransferSummaryUSRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/USRealmHeader2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/USRealmHeader2Operations.java index 7cfbe0febd..86f77c92d3 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/USRealmHeader2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/USRealmHeader2Operations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -176,6 +177,8 @@ protected USRealmHeader2Operations() { public static boolean validateUSRealmHeader2DocCodesOnly(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2USRealmHeader2DocCodesOnly", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_DOC_CODES_ONLY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +242,8 @@ public static boolean validateUSRealmHeader2DocCodesOnly(USRealmHeader2 usRealmH public static boolean validateUSRealmHeader2TemplateId(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -304,6 +309,9 @@ public static boolean validateUSRealmHeader2TemplateId(USRealmHeader2 usRealmHea public static boolean validateUSRealmHeader2RecordTargetPatientRolePatientGuardianCodeTerminology( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2RecordTargetPatientRolePatientGuardianCodeTerminology", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_CODE_TERMINOLOGY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -375,6 +383,9 @@ public static boolean validateUSRealmHeader2RecordTargetPatientRolePatientGuardi public static boolean validateUSRealmHeader2RecordTargetPatientRolePatientTSBirthTimePreciseToMinute( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2RecordTargetPatientRolePatientTSBirthTimePreciseToMinute", "INFO"); + if (VALIDATE_US_REALM_HEADER2_RECORD_TARGET_PATIENT_ROLE_PATIENT_TS_BIRTH_TIME_PRECISE_TO_MINUTE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -446,6 +457,9 @@ public static boolean validateUSRealmHeader2RecordTargetPatientRolePatientTSBirt public static boolean validateUSRealmHeader2RecordTargetPatientRolePatientSDTCEthnicGroupCodeP( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2RecordTargetPatientRolePatientSDTCEthnicGroupCodeP", "INFO"); + if (VALIDATE_US_REALM_HEADER2_RECORD_TARGET_PATIENT_ROLE_PATIENT_SDTC_ETHNIC_GROUP_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -533,6 +547,9 @@ public static boolean validateUSRealmHeader2RecordTargetPatientRolePatientSDTCEt public static boolean validateUSRealmHeader2RecordTargetPatientRolePatientSDTCEthnicGroupCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2RecordTargetPatientRolePatientSDTCEthnicGroupCode", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_RECORD_TARGET_PATIENT_ROLE_PATIENT_SDTC_ETHNIC_GROUP_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -614,6 +631,9 @@ public static boolean validateUSRealmHeader2RecordTargetPatientRolePatientSDTCEt public static boolean validateUSRealmHeader2AuthorAssignedAuthorIfAssignedPersonThenContainsCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2AuthorAssignedAuthorIfAssignedPersonThenContainsCode", "WARNING"); + if (VALIDATE_US_REALM_HEADER2_AUTHOR_ASSIGNED_AUTHOR_IF_ASSIGNED_PERSON_THEN_CONTAINS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -685,6 +705,8 @@ public static boolean validateUSRealmHeader2AuthorAssignedAuthorIfAssignedPerson public static boolean validateUSRealmHeader2AuthorAssignedAuthorCodeTerminology(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2USRealmHeader2AuthorAssignedAuthorCodeTerminology", "WARNING"); + if (VALIDATE_US_REALM_HEADER2_AUTHOR_ASSIGNED_AUTHOR_CODE_TERMINOLOGY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -756,6 +778,8 @@ public static boolean validateUSRealmHeader2AuthorAssignedAuthorCodeTerminology( public static boolean validateUSRealmHeader2InformationRecipientIntendedRecipientId(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2USRealmHeader2InformationRecipientIntendedRecipientId", "INFO"); + if (VALIDATE_US_REALM_HEADER2_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -827,6 +851,8 @@ public static boolean validateUSRealmHeader2InformationRecipientIntendedRecipien public static boolean validateUSRealmHeader2LegalAuthenticatorSDTCSignatureText(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2USRealmHeader2LegalAuthenticatorSDTCSignatureText", "INFO"); + if (VALIDATE_US_REALM_HEADER2_LEGAL_AUTHENTICATOR_SDTC_SIGNATURE_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -898,6 +924,8 @@ public static boolean validateUSRealmHeader2LegalAuthenticatorSDTCSignatureText( public static boolean validateUSRealmHeader2AuthenticatorSDTCSignatureText(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2USRealmHeader2AuthenticatorSDTCSignatureText", "INFO"); + if (VALIDATE_US_REALM_HEADER2_AUTHENTICATOR_SDTC_SIGNATURE_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -969,6 +997,11 @@ public static boolean validateUSRealmHeader2AuthenticatorSDTCSignatureText(USRea public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUSRealmAddressStreet", + "ERROR"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_US_REALM_ADDRESS_STREET__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1040,6 +1073,11 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequireStateElement", + "ERROR"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_STATE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1111,6 +1149,11 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressIfCountryIsUsRequirePostalCodeElement", + "ERROR"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_IF_COUNTRY_IS_US_REQUIRE_POSTAL_CODE_ELEMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1161,6 +1204,10 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUseP", + "WARNING"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1255,6 +1302,10 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressUse", + "ERROR"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1326,6 +1377,10 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCountry", + "WARNING"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_COUNTRY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1397,6 +1452,10 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressState( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressState", + "WARNING"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1468,6 +1527,10 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressCity", + "ERROR"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_CITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1539,6 +1602,11 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressPostalCode", + "WARNING"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_POSTAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1610,6 +1678,11 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2USRealmHeader2InformantAssignedEntityGeneralHeaderConstraintsUSRealmAddressStreetAddressLine", + "ERROR"); + if (VALIDATE_US_REALM_HEADER2_INFORMANT_ASSIGNED_ENTITY_GENERAL_HEADER_CONSTRAINTS_US_REALM_ADDRESS_STREET_ADDRESS_LINE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1681,6 +1754,9 @@ public static boolean validateUSRealmHeader2InformantAssignedEntityGeneralHeader public static boolean validateUSRealmHeader2GeneralHeaderConstraintsInformantAssignedEntity( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2GeneralHeaderConstraintsInformantAssignedEntity", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1752,6 +1828,9 @@ public static boolean validateUSRealmHeader2GeneralHeaderConstraintsInformantAss public static boolean validateUSRealmHeader2GeneralHeaderConstraintsInformantRelatedEntity( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2USRealmHeader2GeneralHeaderConstraintsInformantRelatedEntity", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1802,6 +1881,8 @@ public static boolean validateUSRealmHeader2GeneralHeaderConstraintsInformantRel public static boolean validateGeneralHeaderConstraintsTitle(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsTitle", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1887,6 +1968,8 @@ public static boolean validateGeneralHeaderConstraintsTitle(USRealmHeader2 usRea public static boolean validateGeneralHeaderConstraintsRealmCode(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsRealmCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_REALM_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1952,6 +2035,8 @@ public static boolean validateGeneralHeaderConstraintsRealmCode(USRealmHeader2 u public static boolean validateGeneralHeaderConstraintsRecordTarget(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsRecordTarget", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2017,6 +2102,8 @@ public static boolean validateGeneralHeaderConstraintsRecordTarget(USRealmHeader public static boolean validateGeneralHeaderConstraintsDataEnterer(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsDataEnterer", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2082,6 +2169,8 @@ public static boolean validateGeneralHeaderConstraintsDataEnterer(USRealmHeader2 public static boolean validateGeneralHeaderConstraintsAuthor(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsAuthor", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2145,6 +2234,8 @@ public static boolean validateGeneralHeaderConstraintsAuthor(USRealmHeader2 usRe public static boolean validateGeneralHeaderConstraintsCustodian(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsCustodian", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2210,6 +2301,8 @@ public static boolean validateGeneralHeaderConstraintsCustodian(USRealmHeader2 u public static boolean validateGeneralHeaderConstraintsInformationRecipient(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsInformationRecipient", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2275,6 +2368,8 @@ public static boolean validateGeneralHeaderConstraintsInformationRecipient(USRea public static boolean validateGeneralHeaderConstraintsLegalAuthenticator(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsLegalAuthenticator", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_LEGAL_AUTHENTICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2340,6 +2435,8 @@ public static boolean validateGeneralHeaderConstraintsLegalAuthenticator(USRealm public static boolean validateGeneralHeaderConstraintsAuthenticator(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsAuthenticator", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHENTICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2405,6 +2502,8 @@ public static boolean validateGeneralHeaderConstraintsAuthenticator(USRealmHeade public static boolean validateGeneralHeaderConstraintsInformant(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsInformant", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2470,6 +2569,8 @@ public static boolean validateGeneralHeaderConstraintsInformant(USRealmHeader2 u public static boolean validateGeneralHeaderConstraintsInFulfillmentOf(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsInFulfillmentOf", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2535,6 +2636,8 @@ public static boolean validateGeneralHeaderConstraintsInFulfillmentOf(USRealmHea public static boolean validateGeneralHeaderConstraintsComponentOf(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsComponentOf", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_COMPONENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2600,6 +2703,8 @@ public static boolean validateGeneralHeaderConstraintsComponentOf(USRealmHeader2 public static boolean validateGeneralHeaderConstraintsSupportParticipant(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsSupportParticipant", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_SUPPORT_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2665,6 +2770,8 @@ public static boolean validateGeneralHeaderConstraintsSupportParticipant(USRealm public static boolean validateGeneralHeaderConstraintsDocumentationOf(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsDocumentationOf", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2730,6 +2837,8 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOf(USRealmHea public static boolean validateGeneralHeaderConstraintsAuthorization(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsAuthorization", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHORIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2795,6 +2904,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorization(USRealmHeade public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTELUse( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTELUse", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_TEL_USE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2866,6 +2978,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCodeFromPersonalRelationshipOrResponsibleParty( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCodeFromPersonalRelationshipOrResponsibleParty", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_CODE_FROM_PERSONAL_RELATIONSHIP_OR_RESPONSIBLE_PARTY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2937,6 +3054,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianCode", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3008,6 +3128,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTelecom( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientGuardianTelecom", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3079,6 +3202,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCodeP( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCodeP", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_LANGUAGE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3166,6 +3294,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationLanguageCode", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_LANGUAGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3247,6 +3380,11 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationPreferenceInd( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunicationPreferenceInd", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_PREFERENCE_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3318,6 +3456,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToYear( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToYear", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_TS_BIRTH_TIME_PRECISE_TO_YEAR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3389,6 +3531,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToDay( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientTSBirthTimePreciseToDay", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_TS_BIRTH_TIME_PRECISE_TO_DAY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3460,6 +3606,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientTSValue( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientTSValue", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_TS_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3531,6 +3680,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlaceHasState( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlaceHasState", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTHPLACE_PLACE_HAS_STATE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3602,6 +3755,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlace( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplacePlace", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTHPLACE_PLACE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3675,6 +3831,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_RACE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3746,6 +3905,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCodeP( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientRaceCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_RACE_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3819,6 +3981,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_ETHNIC_GROUP_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3890,6 +4055,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCodeP( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientEthnicGroupCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_ETHNIC_GROUP_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3961,6 +4129,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthTime( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientBirthTime", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTH_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4032,6 +4203,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientGuardian( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientGuardian", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4103,6 +4277,10 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunication( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientLanguageCommunication", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4174,6 +4352,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatientBirthplace", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT_BIRTHPLACE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4245,6 +4426,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePatient(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRolePatient", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE_PATIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4316,6 +4500,8 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRolePat public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRole(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsRecordTargetPatientRole", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_RECORD_TARGET_PATIENT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4387,6 +4573,9 @@ public static boolean validateGeneralHeaderConstraintsRecordTargetPatientRole(US public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityCodeP(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsDataEntererAssignedEntityCodeP", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4474,6 +4663,9 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityC public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityCode(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsDataEntererAssignedEntityCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4555,6 +4747,8 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntityC public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntity(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsDataEntererAssignedEntity", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DATA_ENTERER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4626,6 +4820,8 @@ public static boolean validateGeneralHeaderConstraintsDataEntererAssignedEntity( public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCodeP(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsAuthorAssignedAuthorCodeP", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4711,6 +4907,8 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCodeP( public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCode(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsAuthorAssignedAuthorCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4792,6 +4990,8 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthorCode(U public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthor(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsAuthorAssignedAuthor", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_AUTHOR_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4863,6 +5063,9 @@ public static boolean validateGeneralHeaderConstraintsAuthorAssignedAuthor(USRea public static boolean validateGeneralHeaderConstraintsInformationRecipientIntendedRecipient( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsInformationRecipientIntendedRecipient", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMATION_RECIPIENT_INTENDED_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4934,6 +5137,8 @@ public static boolean validateGeneralHeaderConstraintsInformationRecipientIntend public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityCodeP(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsInformantAssignedEntityCodeP", "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5021,6 +5226,8 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityCod public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityCode(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsInformantAssignedEntityCode", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5102,6 +5309,8 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityCod public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityAddr(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsInformantAssignedEntityAddr", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_ASSIGNED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5173,6 +5382,8 @@ public static boolean validateGeneralHeaderConstraintsInformantAssignedEntityAdd public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityAddr(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsInformantRelatedEntityAddr", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5244,6 +5455,8 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityAddr public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityPerson(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsInformantRelatedEntityPerson", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_RELATED_ENTITY_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5315,6 +5528,9 @@ public static boolean validateGeneralHeaderConstraintsInformantRelatedEntityPers public static boolean validateGeneralHeaderConstraintsInformantHasAssignedEntityOrRelatedEntity( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsInformantHasAssignedEntityOrRelatedEntity", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_INFORMANT_HAS_ASSIGNED_ENTITY_OR_RELATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5386,6 +5602,9 @@ public static boolean validateGeneralHeaderConstraintsInformantHasAssignedEntity public static boolean validateGeneralHeaderConstraintsComponentOfEncompassingEncounter( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsComponentOfEncompassingEncounter", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_COMPONENT_OF_ENCOMPASSING_ENCOUNTER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5457,6 +5676,11 @@ public static boolean validateGeneralHeaderConstraintsComponentOfEncompassingEnc public static boolean validateGeneralHeaderConstraintsParticipantSupportAssociatedEntityHasAssociatedPersonOrScopingOrganization( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeader2GeneralHeaderConstraintsParticipantSupportAssociatedEntityHasAssociatedPersonOrScopingOrganization", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_PARTICIPANT_SUPPORT_ASSOCIATED_ENTITY_HAS_ASSOCIATED_PERSON_OR_SCOPING_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5528,6 +5752,10 @@ public static boolean validateGeneralHeaderConstraintsParticipantSupportAssociat public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCodeP( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCodeP", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5615,6 +5843,10 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntityCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5696,6 +5928,10 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCodeP( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCodeP", + "INFO"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_FUNCTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5783,6 +6019,10 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCode( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsDocumentationOfServiceEventPerformer1FunctionCode", + "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_FUNCTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5864,6 +6104,10 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntity( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsDocumentationOfServiceEventPerformer1AssignedEntity", + "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER1_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -5935,6 +6179,9 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEventPerformer( USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeader2GeneralHeaderConstraintsDocumentationOfServiceEventPerformer", "WARNING"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -6006,6 +6253,8 @@ public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEven public static boolean validateGeneralHeaderConstraintsDocumentationOfServiceEvent(USRealmHeader2 usRealmHeader2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeader2GeneralHeaderConstraintsDocumentationOfServiceEvent", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/USRealmHeaderPatientGeneratedDocumentOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/USRealmHeaderPatientGeneratedDocumentOperations.java index 50ce581f79..9907bede22 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/USRealmHeaderPatientGeneratedDocumentOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/USRealmHeaderPatientGeneratedDocumentOperations.java @@ -21,6 +21,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -163,6 +164,9 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTarget( USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTarget", "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -230,6 +234,9 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthor( USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthor", "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,9 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDataEnterer( USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDataEnterer", "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DATA_ENTERER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -364,6 +374,9 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformant( USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformant", "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -431,6 +444,9 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentCustodian( USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentCustodian", "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -498,6 +514,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRe USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformationRecipient", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -565,6 +585,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenti USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentLegalAuthenticator", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_LEGAL_AUTHENTICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -632,6 +656,9 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticator USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthenticator", "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHENTICATOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -699,6 +726,9 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentParticipant( USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentParticipant", "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_PARTICIPANT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -766,6 +796,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillment USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInFulfillmentOf", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_IN_FULFILLMENT_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -833,6 +867,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOf", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -900,6 +938,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientGuardianId", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -972,6 +1015,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientGuardianCodeP", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1060,6 +1108,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientGuardianCode", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1142,6 +1195,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientLanguageCommunicationPreferenceInd", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION_PREFERENCE_IND__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1214,6 +1272,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientIfMoreThanOneLangComm", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PATIENT_IF_MORE_THAN_ONE_LANG_COMM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1286,6 +1349,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientGuardian", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PATIENT_GUARDIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1358,6 +1426,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatientLanguageCommunication", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PATIENT_LANGUAGE_COMMUNICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1430,6 +1503,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRoleId", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1502,6 +1580,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRolePatient", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PATIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1574,6 +1657,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRoleProviderOrganization", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE_PROVIDER_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1646,6 +1734,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentRecordTargetP USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentRecordTargetPatientRole", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1718,6 +1811,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssigne USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCECodeSystemAndTerminology", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR_CE_CODE_SYSTEM_AND_TERMINOLOGY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1790,6 +1888,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssigne USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCECode", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR_CE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1862,6 +1965,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssigne USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorId", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1934,6 +2041,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssigne USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthorCode", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2006,6 +2118,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthorAssigne USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthorAssignedAuthor", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2078,6 +2194,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAs USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntityCodeP", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DATA_ENTERER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2166,6 +2287,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAs USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntityCode", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DATA_ENTERER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2248,6 +2374,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDataEntererAs USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDataEntererAssignedEntity", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DATA_ENTERER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2320,6 +2451,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRela USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntityCodeP", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMANT_RELATED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2408,6 +2544,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRela USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntityCode", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMANT_RELATED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2490,6 +2631,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformantHasR USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformantHasRelatedEntityOrAssignedEntity", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMANT_HAS_RELATED_ENTITY_OR_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2562,6 +2708,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformantRela USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformantRelatedEntity", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMANT_RELATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2634,6 +2784,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssi USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodianRepresentedCustodianOrganizationId", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN_REPRESENTED_CUSTODIAN_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2706,6 +2861,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssi USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodianRepresentedCustodianOrganization", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN_REPRESENTED_CUSTODIAN_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2778,6 +2938,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentCustodianAssi USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentCustodianAssignedCustodian", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2850,6 +3015,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRe USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntendedRecipientIIRoot", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_II_ROOT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2922,6 +3092,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRe USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntendedRecipientId", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMATION_RECIPIENT_INTENDED_RECIPIENT_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -2994,6 +3169,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInformationRe USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInformationRecipientIntendedRecipient", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_INFORMATION_RECIPIENT_INTENDED_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3066,6 +3246,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenti USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntityCECodeSystemAndTerminology", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_CE_CODE_SYSTEM_AND_TERMINOLOGY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3138,6 +3323,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenti USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntityCECode", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_CE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3210,6 +3400,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenti USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntityId", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3282,6 +3477,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenti USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntityCode", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3354,6 +3554,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentLegalAuthenti USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentLegalAuthenticatorAssignedEntity", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_LEGAL_AUTHENTICATOR_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3426,6 +3631,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticator USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntityId", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHENTICATOR_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3498,6 +3708,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticator USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntityCodeP", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHENTICATOR_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3586,6 +3801,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticator USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntityCode", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHENTICATOR_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3668,6 +3888,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentAuthenticator USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentAuthenticatorAssignedEntity", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_AUTHENTICATOR_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3740,6 +3965,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAs USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntityCodeP", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_PARTICIPANT_ASSOCIATED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3828,6 +4058,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAs USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntityCode", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_PARTICIPANT_ASSOCIATED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3910,6 +4145,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantIf USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentParticipantIfTypeCodeINDThenAEClassCodeFromINDRoleclassCodes", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_PARTICIPANT_IF_TYPE_CODE_IND_THEN_AE_CLASS_CODE_FROM_IND_ROLECLASS_CODES__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -3982,6 +4222,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantTy USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentParticipantTypeCode", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_PARTICIPANT_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4054,6 +4298,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentParticipantAs USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentParticipantAssociatedEntity", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_PARTICIPANT_ASSOCIATED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4126,6 +4375,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillment USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInFulfillmentOfOrderId", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_IN_FULFILLMENT_OF_ORDER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4198,6 +4451,10 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentInFulfillment USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentInFulfillmentOfOrder", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_IN_FULFILLMENT_OF_ORDER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4270,6 +4527,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerAssignedEntityId", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4342,6 +4604,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerAssignedEntityCodeP", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4430,6 +4697,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerAssignedEntityCode", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4512,6 +4784,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerFunctionCodeP", + "INFO"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_FUNCTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4600,6 +4877,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerFunctionCode", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_FUNCTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4682,6 +4964,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformerAssignedEntity", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER_ASSIGNED_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4754,6 +5041,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventCode", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4826,6 +5118,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEventPerformer", + "WARNING"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT_PERFORMER__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4898,6 +5195,11 @@ public static boolean validateUSRealmHeaderPatientGeneratedDocumentDocumentation USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "USRealmHeaderPatientGeneratedDocumentUSRealmHeaderPatientGeneratedDocumentDocumentationOfServiceEvent", + "ERROR"); + if (VALIDATE_US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT_DOCUMENTATION_OF_SERVICE_EVENT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -4970,6 +5272,8 @@ public static boolean validateUSRealmHeader2TemplateId( USRealmHeaderPatientGeneratedDocument usRealmHeaderPatientGeneratedDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "USRealmHeaderPatientGeneratedDocumentUSRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/UnstructuredDocument2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/UnstructuredDocument2Operations.java index aed5c21e55..927bee8887 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/UnstructuredDocument2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/UnstructuredDocument2Operations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -108,6 +109,8 @@ protected UnstructuredDocument2Operations() { public static boolean validateUnstructuredDocument2RecordTarget(UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocument2UnstructuredDocument2RecordTarget", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_RECORD_TARGET__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +176,8 @@ public static boolean validateUnstructuredDocument2RecordTarget(UnstructuredDocu public static boolean validateUnstructuredDocument2Custodian(UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocument2UnstructuredDocument2Custodian", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +242,8 @@ public static boolean validateUnstructuredDocument2Custodian(UnstructuredDocumen public static boolean validateUnstructuredDocument2Component(UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocument2UnstructuredDocument2Component", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_COMPONENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -301,6 +308,9 @@ public static boolean validateUnstructuredDocument2Component(UnstructuredDocumen public static boolean validateUnstructuredDocument2RecordTargetPatientRoleId( UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocument2UnstructuredDocument2RecordTargetPatientRoleId", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_RECORD_TARGET_PATIENT_ROLE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -372,6 +382,8 @@ public static boolean validateUnstructuredDocument2RecordTargetPatientRoleId( public static boolean validateUnstructuredDocument2RecordTargetPatientRole( UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocument2UnstructuredDocument2RecordTargetPatientRole", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_RECORD_TARGET_PATIENT_ROLE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -443,6 +455,11 @@ public static boolean validateUnstructuredDocument2RecordTargetPatientRole( public static boolean validateUnstructuredDocument2CustodianAssignedCustodianRepresentedCustodianOrganization( UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, + "UnstructuredDocument2UnstructuredDocument2CustodianAssignedCustodianRepresentedCustodianOrganization", + "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_CUSTODIAN_ASSIGNED_CUSTODIAN_REPRESENTED_CUSTODIAN_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -514,6 +531,9 @@ public static boolean validateUnstructuredDocument2CustodianAssignedCustodianRep public static boolean validateUnstructuredDocument2CustodianAssignedCustodian( UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocument2UnstructuredDocument2CustodianAssignedCustodian", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_CUSTODIAN_ASSIGNED_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -585,6 +605,9 @@ public static boolean validateUnstructuredDocument2CustodianAssignedCustodian( public static boolean validateUnstructuredDocument2ComponentNonXMLBodyEDMediaType( UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocument2UnstructuredDocument2ComponentNonXMLBodyEDMediaType", "INFO"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_COMPONENT_NON_XML_BODY_ED_MEDIA_TYPE__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -656,6 +679,10 @@ public static boolean validateUnstructuredDocument2ComponentNonXMLBodyEDMediaTyp public static boolean validateUnstructuredDocument2ComponentNonXMLBodyHasReferenceOrRepresentation( UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocument2UnstructuredDocument2ComponentNonXMLBodyHasReferenceOrRepresentation", + "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_COMPONENT_NON_XML_BODY_HAS_REFERENCE_OR_REPRESENTATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -727,6 +754,9 @@ public static boolean validateUnstructuredDocument2ComponentNonXMLBodyHasReferen public static boolean validateUnstructuredDocument2ComponentNonXMLBodyMediaTypeFileFormats( UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocument2UnstructuredDocument2ComponentNonXMLBodyMediaTypeFileFormats", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_COMPONENT_NON_XML_BODY_MEDIA_TYPE_FILE_FORMATS__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -798,6 +828,8 @@ public static boolean validateUnstructuredDocument2ComponentNonXMLBodyMediaTypeF public static boolean validateUnstructuredDocument2ComponentNonXMLBodyText( UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocument2UnstructuredDocument2ComponentNonXMLBodyText", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_COMPONENT_NON_XML_BODY_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -869,6 +901,8 @@ public static boolean validateUnstructuredDocument2ComponentNonXMLBodyText( public static boolean validateUnstructuredDocument2ComponentNonXMLBody(UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocument2UnstructuredDocument2ComponentNonXMLBody", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT2_COMPONENT_NON_XML_BODY__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -940,6 +974,8 @@ public static boolean validateUnstructuredDocument2ComponentNonXMLBody(Unstructu public static boolean validateUSRealmHeader2TemplateId(UnstructuredDocument2 unstructuredDocument2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocument2USRealmHeader2TemplateId", "ERROR"); + if (VALIDATE_US_REALM_HEADER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/UnstructuredDocumentOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/UnstructuredDocumentOperations.java index e1829b6bb3..cd5d4efd01 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/UnstructuredDocumentOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/UnstructuredDocumentOperations.java @@ -18,6 +18,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -109,6 +110,8 @@ protected UnstructuredDocumentOperations() { public static boolean validateUnstructuredDocumentRecordTarget(UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentUnstructuredDocumentRecordTarget", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_RECORD_TARGET__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -174,6 +177,8 @@ public static boolean validateUnstructuredDocumentRecordTarget(UnstructuredDocum public static boolean validateUnstructuredDocumentAuthor(UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentUnstructuredDocumentAuthor", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -237,6 +242,8 @@ public static boolean validateUnstructuredDocumentAuthor(UnstructuredDocument un public static boolean validateUnstructuredDocumentComponent(UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentUnstructuredDocumentComponent", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_COMPONENT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -301,6 +308,8 @@ public static boolean validateUnstructuredDocumentComponent(UnstructuredDocument public static boolean validateUnstructuredDocumentCustodian(UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentUnstructuredDocumentCustodian", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_CUSTODIAN__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -365,6 +374,8 @@ public static boolean validateUnstructuredDocumentCustodian(UnstructuredDocument public static boolean validateUnstructuredDocumentRecordTargetPatientRole2Id( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentUnstructuredDocumentRecordTargetPatientRole2Id", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE2_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -436,6 +447,8 @@ public static boolean validateUnstructuredDocumentRecordTargetPatientRole2Id( public static boolean validateUnstructuredDocumentRecordTargetPatientRole2( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentUnstructuredDocumentRecordTargetPatientRole2", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_RECORD_TARGET_PATIENT_ROLE2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -507,6 +520,8 @@ public static boolean validateUnstructuredDocumentRecordTargetPatientRole2( public static boolean validateUnstructuredDocumentAuthorAssignedAuthor2Addr( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentUnstructuredDocumentAuthorAssignedAuthor2Addr", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR2_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -578,6 +593,9 @@ public static boolean validateUnstructuredDocumentAuthorAssignedAuthor2Addr( public static boolean validateUnstructuredDocumentAuthorAssignedAuthor2Telecom( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocumentUnstructuredDocumentAuthorAssignedAuthor2Telecom", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR2_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -649,6 +667,8 @@ public static boolean validateUnstructuredDocumentAuthorAssignedAuthor2Telecom( public static boolean validateUnstructuredDocumentAuthorAssignedAuthor2(UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentUnstructuredDocumentAuthorAssignedAuthor2", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_AUTHOR_ASSIGNED_AUTHOR2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -720,6 +740,10 @@ public static boolean validateUnstructuredDocumentAuthorAssignedAuthor2(Unstruct public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationAddr( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocumentUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationAddr", + "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN3_CUSTODIAN_ORGANIZATION_ADDR__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -791,6 +815,10 @@ public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3Cus public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationId( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocumentUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationId", + "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN3_CUSTODIAN_ORGANIZATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -862,6 +890,10 @@ public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3Cus public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationName( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocumentUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationName", + "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN3_CUSTODIAN_ORGANIZATION_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -933,6 +965,10 @@ public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3Cus public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationTelecom( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocumentUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganizationTelecom", + "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN3_CUSTODIAN_ORGANIZATION_TELECOM__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1004,6 +1040,10 @@ public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3Cus public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganization( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocumentUnstructuredDocumentCustodianAssignedCustodian3CustodianOrganization", + "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN3_CUSTODIAN_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1075,6 +1115,9 @@ public static boolean validateUnstructuredDocumentCustodianAssignedCustodian3Cus public static boolean validateUnstructuredDocumentCustodianAssignedCustodian2( UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "UnstructuredDocumentUnstructuredDocumentCustodianAssignedCustodian2", "ERROR"); + if (VALIDATE_UNSTRUCTURED_DOCUMENT_CUSTODIAN_ASSIGNED_CUSTODIAN2__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1146,6 +1189,8 @@ public static boolean validateUnstructuredDocumentCustodianAssignedCustodian2( public static boolean validateGeneralHeaderConstraintsTemplateId(UnstructuredDocument unstructuredDocument, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "UnstructuredDocumentGeneralHeaderConstraintsTemplateId", "ERROR"); + if (VALIDATE_GENERAL_HEADER_CONSTRAINTS_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignObservation2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignObservation2Operations.java index afbe332952..aa6d256294 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignObservation2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignObservation2Operations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected VitalSignObservation2Operations() { public static boolean validateVitalSignObservation2TemplateId(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservation2TemplateId", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -166,6 +169,8 @@ public static boolean validateVitalSignObservation2TemplateId(VitalSignObservati public static boolean validateVitalSignObservationInterpretationCodeP(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationInterpretationCodeP", "INFO"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_INTERPRETATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -245,6 +250,8 @@ public static boolean validateVitalSignObservationInterpretationCodeP(VitalSignO public static boolean validateVitalSignObservation2AuthorParticipation(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservation2AuthorParticipation", "WARNING"); + if (VALIDATE_VITAL_SIGN_OBSERVATION2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -321,6 +328,8 @@ public static boolean validateVitalSignObservation2AuthorParticipation(VitalSign public static boolean validateVitalSignObservationTextReference(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationTextReference", "INFO"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -386,6 +395,8 @@ public static boolean validateVitalSignObservationTextReference(VitalSignObserva public static boolean validateVitalSignObservationReferenceValue(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationReferenceValue", "INFO"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -451,6 +462,8 @@ public static boolean validateVitalSignObservationReferenceValue(VitalSignObserv public static boolean validateVitalSignObservationTextReferenceValue(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationTextReferenceValue", "INFO"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -516,6 +529,8 @@ public static boolean validateVitalSignObservationTextReferenceValue(VitalSignOb public static boolean validateVitalSignObservationEffectiveTime(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationEffectiveTime", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -581,6 +596,8 @@ public static boolean validateVitalSignObservationEffectiveTime(VitalSignObserva public static boolean validateVitalSignObservationValue(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationValue", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -644,6 +661,8 @@ public static boolean validateVitalSignObservationValue(VitalSignObservation2 vi public static boolean validateVitalSignObservationText(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationText", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -717,6 +736,8 @@ public static boolean validateVitalSignObservationInterpretationCode(VitalSignOb return true; } + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationInterpretationCode", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -782,6 +803,8 @@ public static boolean validateVitalSignObservationInterpretationCode(VitalSignOb public static boolean validateVitalSignObservationAuthor(VitalSignObservation2 vitalSignObservation2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservation2VitalSignObservationAuthor", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignObservationOperations.java index d6374608fa..78ed055e59 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignObservationOperations.java @@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -108,6 +109,8 @@ protected VitalSignObservationOperations() { public static boolean validateVitalSignObservationTextReference(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationTextReference", "WARNING"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_TEXT_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -173,6 +176,8 @@ public static boolean validateVitalSignObservationTextReference(VitalSignObserva public static boolean validateVitalSignObservationReferenceValue(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationReferenceValue", "WARNING"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -238,6 +243,8 @@ public static boolean validateVitalSignObservationReferenceValue(VitalSignObserv public static boolean validateVitalSignObservationTextReferenceValue(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationTextReferenceValue", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_TEXT_REFERENCE_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -303,6 +310,8 @@ public static boolean validateVitalSignObservationTextReferenceValue(VitalSignOb public static boolean validateVitalSignObservationTemplateId(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationTemplateId", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -368,6 +377,8 @@ public static boolean validateVitalSignObservationTemplateId(VitalSignObservatio public static boolean validateVitalSignObservationClassCode(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationClassCode", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -432,6 +443,8 @@ public static boolean validateVitalSignObservationClassCode(VitalSignObservation public static boolean validateVitalSignObservationMoodCode(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationMoodCode", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -496,6 +509,8 @@ public static boolean validateVitalSignObservationMoodCode(VitalSignObservation public static boolean validateVitalSignObservationId(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationId", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -559,6 +574,8 @@ public static boolean validateVitalSignObservationId(VitalSignObservation vitalS public static boolean validateVitalSignObservationCodeP(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -645,6 +662,8 @@ public static boolean validateVitalSignObservationCode(VitalSignObservation vita return true; } + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationCode", "WARNING"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -709,6 +728,8 @@ public static boolean validateVitalSignObservationCode(VitalSignObservation vita public static boolean validateVitalSignObservationStatusCode(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationStatusCode", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -774,6 +795,8 @@ public static boolean validateVitalSignObservationStatusCode(VitalSignObservatio public static boolean validateVitalSignObservationStatusCodeP(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationStatusCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -839,6 +862,8 @@ public static boolean validateVitalSignObservationStatusCodeP(VitalSignObservati public static boolean validateVitalSignObservationEffectiveTime(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationEffectiveTime", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -904,6 +929,8 @@ public static boolean validateVitalSignObservationEffectiveTime(VitalSignObserva public static boolean validateVitalSignObservationValue(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationValue", "ERROR"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -967,6 +994,8 @@ public static boolean validateVitalSignObservationValue(VitalSignObservation vit public static boolean validateVitalSignObservationInterpretationCode(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationInterpretationCode", "INFO"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_INTERPRETATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1032,6 +1061,8 @@ public static boolean validateVitalSignObservationInterpretationCode(VitalSignOb public static boolean validateVitalSignObservationMethodCode(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationMethodCode", "INFO"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_METHOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1097,6 +1128,8 @@ public static boolean validateVitalSignObservationMethodCode(VitalSignObservatio public static boolean validateVitalSignObservationTargetSiteCode(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationTargetSiteCode", "INFO"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_TARGET_SITE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1162,6 +1195,8 @@ public static boolean validateVitalSignObservationTargetSiteCode(VitalSignObserv public static boolean validateVitalSignObservationText(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationText", "WARNING"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -1225,6 +1260,8 @@ public static boolean validateVitalSignObservationText(VitalSignObservation vita public static boolean validateVitalSignObservationAuthor(VitalSignObservation vitalSignObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignObservationVitalSignObservationAuthor", "INFO"); + if (VALIDATE_VITAL_SIGN_OBSERVATION_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsOrganizer2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsOrganizer2Operations.java index ed7434dc84..9b3dce24b6 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsOrganizer2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsOrganizer2Operations.java @@ -16,6 +16,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.Query; import org.eclipse.ocl.ecore.Constraint; @@ -101,6 +102,8 @@ protected VitalSignsOrganizer2Operations() { public static boolean validateVitalSignsOrganizer2TemplateId(VitalSignsOrganizer2 vitalSignsOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizer2VitalSignsOrganizer2TemplateId", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER2_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -145,6 +148,8 @@ public static boolean validateVitalSignsOrganizer2TemplateId(VitalSignsOrganizer public static boolean validateVitalSignsOrganizerCodeP(VitalSignsOrganizer2 vitalSignsOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizer2VitalSignsOrganizerCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -221,6 +226,8 @@ public static boolean validateVitalSignsOrganizerCodeP(VitalSignsOrganizer2 vita public static boolean validateVitalSignsOrganizer2AuthorParticipation(VitalSignsOrganizer2 vitalSignsOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizer2VitalSignsOrganizer2AuthorParticipation", "WARNING"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER2_AUTHOR_PARTICIPATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +295,8 @@ public static boolean validateVitalSignsOrganizer2AuthorParticipation(VitalSigns public static boolean validateVitalSignsOrganizer2CDTranslation(VitalSignsOrganizer2 vitalSignsOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizer2VitalSignsOrganizer2CDTranslation", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER2_CD_TRANSLATION__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -358,6 +367,8 @@ public static boolean validateVitalSignsOrganizer2CDTranslation(VitalSignsOrgani public static boolean validateVitalSignsOrganizer2CDTranslationP(VitalSignsOrganizer2 vitalSignsOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizer2VitalSignsOrganizer2CDTranslationP", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER2_CD_TRANSLATION_P__DIAGNOSTIC_CHAIN_MAP__EOCL_QRY.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -509,6 +520,8 @@ public static boolean validateVitalSignsOrganizerCode(VitalSignsOrganizer2 vital return true; } + DatatypesUtil.increment(context, "VitalSignsOrganizer2VitalSignsOrganizerCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -572,6 +585,8 @@ public static boolean validateVitalSignsOrganizerCode(VitalSignsOrganizer2 vital public static boolean validateVitalSignsOrganizerEffectiveTime(VitalSignsOrganizer2 vitalSignsOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizer2VitalSignsOrganizerEffectiveTime", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -637,6 +652,8 @@ public static boolean validateVitalSignsOrganizerEffectiveTime(VitalSignsOrganiz public static boolean validateVitalSignsOrganizerVitalSignObservation(VitalSignsOrganizer2 vitalSignsOrganizer2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizer2VitalSignsOrganizerVitalSignObservation", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_VITAL_SIGN_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsOrganizerOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsOrganizerOperations.java index a29ca74184..ce52da6295 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsOrganizerOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsOrganizerOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.OrganizerOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -106,6 +107,8 @@ protected VitalSignsOrganizerOperations() { public static boolean validateVitalSignsOrganizerTemplateId(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerTemplateId", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -170,6 +173,8 @@ public static boolean validateVitalSignsOrganizerTemplateId(VitalSignsOrganizer public static boolean validateVitalSignsOrganizerClassCode(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerClassCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -234,6 +239,8 @@ public static boolean validateVitalSignsOrganizerClassCode(VitalSignsOrganizer v public static boolean validateVitalSignsOrganizerMoodCode(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerMoodCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -298,6 +305,8 @@ public static boolean validateVitalSignsOrganizerMoodCode(VitalSignsOrganizer vi public static boolean validateVitalSignsOrganizerId(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerId", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -363,6 +372,8 @@ public static boolean validateVitalSignsOrganizerId(VitalSignsOrganizer vitalSig public static boolean validateVitalSignsOrganizerCode(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -426,6 +437,8 @@ public static boolean validateVitalSignsOrganizerCode(VitalSignsOrganizer vitalS public static boolean validateVitalSignsOrganizerCodeP(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -489,6 +502,8 @@ public static boolean validateVitalSignsOrganizerCodeP(VitalSignsOrganizer vital public static boolean validateVitalSignsOrganizerStatusCodeP(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerStatusCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -576,6 +591,8 @@ public static boolean validateVitalSignsOrganizerStatusCode(VitalSignsOrganizer return true; } + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerStatusCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -640,6 +657,8 @@ public static boolean validateVitalSignsOrganizerStatusCode(VitalSignsOrganizer public static boolean validateVitalSignsOrganizerEffectiveTime(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerEffectiveTime", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -705,6 +724,8 @@ public static boolean validateVitalSignsOrganizerEffectiveTime(VitalSignsOrganiz public static boolean validateVitalSignsOrganizerVitalSignObservation(VitalSignsOrganizer vitalSignsOrganizer, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsOrganizerVitalSignsOrganizerVitalSignObservation", "ERROR"); + if (VALIDATE_VITAL_SIGNS_ORGANIZER_VITAL_SIGN_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSection2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSection2Operations.java index 76517e82ce..47b1dadb33 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSection2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSection2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -98,6 +99,8 @@ protected VitalSignsSection2Operations() { public static boolean validateVitalSignsSection2NullFlavor(VitalSignsSection2 vitalSignsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSection2VitalSignsSection2NullFlavor", "INFO"); + if (VALIDATE_VITAL_SIGNS_SECTION2_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -162,6 +165,8 @@ public static boolean validateVitalSignsSection2NullFlavor(VitalSignsSection2 vi public static boolean validateVitalSignsSection2Title(VitalSignsSection2 vitalSignsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSection2VitalSignsSection2Title", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION2_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -225,6 +230,8 @@ public static boolean validateVitalSignsSection2Title(VitalSignsSection2 vitalSi public static boolean validateVitalSignsSection2Text(VitalSignsSection2 vitalSignsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSection2VitalSignsSection2Text", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION2_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -288,6 +295,8 @@ public static boolean validateVitalSignsSection2Text(VitalSignsSection2 vitalSig public static boolean validateVitalSignsSectionEntriesOptionalTemplateId(VitalSignsSection2 vitalSignsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSection2VitalSignsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -353,6 +362,8 @@ public static boolean validateVitalSignsSectionEntriesOptionalTemplateId(VitalSi public static boolean validateVitalSignsSectionEntriesOptionalCodeP(VitalSignsSection2 vitalSignsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSection2VitalSignsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -442,6 +453,8 @@ public static boolean validateVitalSignsSectionEntriesOptionalCode(VitalSignsSec return true; } + DatatypesUtil.increment(context, "VitalSignsSection2VitalSignsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -507,6 +520,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalCode(VitalSignsSec public static boolean validateVitalSignsSectionEntriesOptionalVitalSignsOrganizer( VitalSignsSection2 vitalSignsSection2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSection2VitalSignsSectionEntriesOptionalVitalSignsOrganizer", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_VITAL_SIGNS_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionEntriesOptional2Operations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionEntriesOptional2Operations.java index 6c5d78ed0a..dfc66b3246 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionEntriesOptional2Operations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionEntriesOptional2Operations.java @@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -146,6 +147,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalTemplateId( VitalSignsSectionEntriesOptional2 vitalSignsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptional2VitalSignsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -213,6 +217,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalCodeP( VitalSignsSectionEntriesOptional2 vitalSignsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptional2VitalSignsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -305,6 +312,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalCode( return true; } + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptional2VitalSignsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -372,6 +382,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalVitalSignsOrganize VitalSignsSectionEntriesOptional2 vitalSignsSectionEntriesOptional2, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptional2VitalSignsSectionEntriesOptionalVitalSignsOrganizer", "WARNING"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_VITAL_SIGNS_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionEntriesOptionalOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionEntriesOptionalOperations.java index 007ec4a105..aa23719f13 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionEntriesOptionalOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionEntriesOptionalOperations.java @@ -20,6 +20,7 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.mdht.uml.cda.operations.SectionOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -103,6 +104,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalTemplateId( VitalSignsSectionEntriesOptional vitalSignsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptionalVitalSignsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -172,6 +176,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalCode( VitalSignsSectionEntriesOptional vitalSignsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptionalVitalSignsSectionEntriesOptionalCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -239,6 +246,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalCodeP( VitalSignsSectionEntriesOptional vitalSignsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptionalVitalSignsSectionEntriesOptionalCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -285,6 +295,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalText( VitalSignsSectionEntriesOptional vitalSignsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptionalVitalSignsSectionEntriesOptionalText", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -373,6 +386,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalTitle( VitalSignsSectionEntriesOptional vitalSignsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptionalVitalSignsSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -440,6 +456,9 @@ public static boolean validateVitalSignsSectionEntriesOptionalVitalSignsOrganize VitalSignsSectionEntriesOptional vitalSignsSectionEntriesOptional, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "VitalSignsSectionEntriesOptionalVitalSignsSectionEntriesOptionalVitalSignsOrganizer", "WARNING"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_VITAL_SIGNS_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionOperations.java index 4dde7b2bbd..31939c9b45 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/VitalSignsSectionOperations.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -101,6 +102,8 @@ protected VitalSignsSectionOperations() { public static boolean validateVitalSignsSectionCodeP(VitalSignsSection vitalSignsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSectionVitalSignsSectionCodeP", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -187,6 +190,8 @@ public static boolean validateVitalSignsSectionCode(VitalSignsSection vitalSigns return true; } + DatatypesUtil.increment(context, "VitalSignsSectionVitalSignsSectionCode", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -250,6 +255,8 @@ public static boolean validateVitalSignsSectionCode(VitalSignsSection vitalSigns public static boolean validateVitalSignsSectionText(VitalSignsSection vitalSignsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSectionVitalSignsSectionText", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -313,6 +320,8 @@ public static boolean validateVitalSignsSectionText(VitalSignsSection vitalSigns public static boolean validateVitalSignsSectionVitalSignsOrganizer(VitalSignsSection vitalSignsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSectionVitalSignsSectionVitalSignsOrganizer", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_VITAL_SIGNS_ORGANIZER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -426,6 +435,8 @@ public static EList getConsolVitalSignsOrganizers(VitalSign public static boolean validateVitalSignsSectionEntriesOptionalTemplateId(VitalSignsSection vitalSignsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSectionVitalSignsSectionEntriesOptionalTemplateId", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -491,6 +502,8 @@ public static boolean validateVitalSignsSectionEntriesOptionalTemplateId(VitalSi public static boolean validateVitalSignsSectionEntriesOptionalTitle(VitalSignsSection vitalSignsSection, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "VitalSignsSectionVitalSignsSectionEntriesOptionalTitle", "ERROR"); + if (VALIDATE_VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/WoundCharacteristicOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/WoundCharacteristicOperations.java index 52fae469e2..a7fd28e520 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/WoundCharacteristicOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/WoundCharacteristicOperations.java @@ -9,6 +9,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -93,6 +94,8 @@ protected WoundCharacteristicOperations() { public static boolean validateWoundCharacteristicTemplateId(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicTemplateId", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -157,6 +160,8 @@ public static boolean validateWoundCharacteristicTemplateId(WoundCharacteristic public static boolean validateWoundCharacteristicClassCode(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicClassCode", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -221,6 +226,8 @@ public static boolean validateWoundCharacteristicClassCode(WoundCharacteristic w public static boolean validateWoundCharacteristicMoodCode(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicMoodCode", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -284,6 +291,8 @@ public static boolean validateWoundCharacteristicMoodCode(WoundCharacteristic wo public static boolean validateWoundCharacteristicId(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicId", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -347,6 +356,8 @@ public static boolean validateWoundCharacteristicId(WoundCharacteristic woundCha public static boolean validateWoundCharacteristicCodeP(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicCodeP", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -433,6 +444,8 @@ public static boolean validateWoundCharacteristicCode(WoundCharacteristic woundC return true; } + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicCode", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -497,6 +510,8 @@ public static boolean validateWoundCharacteristicCode(WoundCharacteristic woundC public static boolean validateWoundCharacteristicStatusCode(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicStatusCode", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -561,6 +576,8 @@ public static boolean validateWoundCharacteristicStatusCode(WoundCharacteristic public static boolean validateWoundCharacteristicStatusCodeP(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicStatusCodeP", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -626,6 +643,8 @@ public static boolean validateWoundCharacteristicStatusCodeP(WoundCharacteristic public static boolean validateWoundCharacteristicEffectiveTime(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicEffectiveTime", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -693,6 +712,8 @@ public static boolean validateWoundCharacteristicEffectiveTime(WoundCharacterist public static boolean validateWoundCharacteristicValue(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicValue", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -756,6 +777,8 @@ public static boolean validateWoundCharacteristicValue(WoundCharacteristic wound public static boolean validateWoundCharacteristicValueP(WoundCharacteristic woundCharacteristic, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundCharacteristicWoundCharacteristicValueP", "ERROR"); + if (VALIDATE_WOUND_CHARACTERISTIC_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/WoundMeasurementObservationOperations.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/WoundMeasurementObservationOperations.java index 65dfd4efe8..24ad184729 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/WoundMeasurementObservationOperations.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/operations/WoundMeasurementObservationOperations.java @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil; import org.eclipse.ocl.ParserException; import org.eclipse.ocl.ecore.Constraint; import org.eclipse.ocl.ecore.OCL; @@ -97,6 +98,8 @@ public static boolean validateWoundMeasurementObservationTemplateId( WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationTemplateId", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -164,6 +167,8 @@ public static boolean validateWoundMeasurementObservationClassCode( WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationClassCode", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -231,6 +236,8 @@ public static boolean validateWoundMeasurementObservationMoodCode( WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationMoodCode", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -297,6 +304,8 @@ public static boolean validateWoundMeasurementObservationMoodCode( public static boolean validateWoundMeasurementObservationId(WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationId", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -362,6 +371,8 @@ public static boolean validateWoundMeasurementObservationCodeP( WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationCodeP", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -451,6 +462,8 @@ public static boolean validateWoundMeasurementObservationCode( return true; } + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationCode", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -518,6 +531,8 @@ public static boolean validateWoundMeasurementObservationStatusCode( WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationStatusCode", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -585,6 +600,8 @@ public static boolean validateWoundMeasurementObservationStatusCodeP( WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationStatusCodeP", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_STATUS_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -652,6 +669,9 @@ public static boolean validateWoundMeasurementObservationEffectiveTime( WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment( + context, "WoundMeasurementObservationWoundMeasurementObservationEffectiveTime", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); @@ -719,6 +739,8 @@ public static boolean validateWoundMeasurementObservationValue( WoundMeasurementObservation woundMeasurementObservation, DiagnosticChain diagnostics, Map context) { + DatatypesUtil.increment(context, "WoundMeasurementObservationWoundMeasurementObservationValue", "ERROR"); + if (VALIDATE_WOUND_MEASUREMENT_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV.get() == null) { OCL.Helper helper = EOCL_ENV.get().createOCLHelper(); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/FooBar.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/FooBar.java new file mode 100644 index 0000000000..f16a1c38f1 --- /dev/null +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/FooBar.java @@ -0,0 +1,61 @@ +/******************************************************************************* + * Copyright (c) 2020 seanmuir. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * seanmuir - initial API and implementation + * + *******************************************************************************/ +package org.openhealthtools.mdht.uml.cda.consol.tests; + +import static org.junit.Assert.*; + +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +/** + * @author seanmuir + * + */ +public class FooBar { + + /** + * @throws java.lang.Exception + */ + @BeforeClass + public static void setUpBeforeClass() throws Exception { + } + + /** + * @throws java.lang.Exception + */ + @AfterClass + public static void tearDownAfterClass() throws Exception { + } + + /** + * @throws java.lang.Exception + */ + @Before + public void setUp() throws Exception { + } + + /** + * @throws java.lang.Exception + */ + @After + public void tearDown() throws Exception { + } + + @Test + public void test() { + fail("Not yet implemented"); + } + +} diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/RegressionValidationHandler.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/RegressionValidationHandler.java new file mode 100644 index 0000000000..04e0ff2986 --- /dev/null +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/RegressionValidationHandler.java @@ -0,0 +1,161 @@ +/******************************************************************************* + * Copyright (c) 2020 seanmuir. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * seanmuir - initial API and implementation + * + *******************************************************************************/ +package org.openhealthtools.mdht.uml.cda.consol.tests; + +import java.io.BufferedWriter; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil.ValidationStatistics; + +/** + * @author seanmuir + * + */ +public class RegressionValidationHandler implements ValidationHandler { + + BufferedWriter writer = null; + + static String cleanup(String message) { + if (message != null && message.startsWith("The feature 'mixed' of")) { + String m[] = message.split("http:"); + if (m.length > 1) { + return "The feature 'mixed' of http:" + m[1]; + } + return message; + + } else { + return message; + } + + } + + /** + * @param writer + */ + public RegressionValidationHandler(String outputFile) { + super(); + Path path = Paths.get(outputFile); + try { + writer = Files.newBufferedWriter(path); + } catch (IOException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + + /* + * + * + * //Get the file reference + * + * + * //Use try-with-resource to get auto-closeable writer instance + * try (BufferedWriter writer = Files.newBufferedWriter(path)) + * { + * writer.write("Hello World !!"); + * } + */ + /* + * (non-Javadoc) + * + * @see org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler#handleError(org.eclipse.emf.common.util.Diagnostic) + */ + @Override + public void handleError(Diagnostic diagnostic) { + + try { + writer.write(cleanup(diagnostic.getMessage())); + writer.newLine(); + } catch (IOException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + ; + + // TODO Auto-generated method stub + + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler#handleWarning(org.eclipse.emf.common.util.Diagnostic) + */ + @Override + public void handleWarning(Diagnostic diagnostic) { + try { + writer.write(cleanup(diagnostic.getMessage())); + writer.newLine(); + } catch (IOException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler#handleInfo(org.eclipse.emf.common.util.Diagnostic) + */ + @Override + public void handleInfo(Diagnostic diagnostic) { + try { + writer.write(cleanup(diagnostic.getMessage())); + writer.newLine(); + } catch (IOException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler#isCaptureValidationStatistics() + */ + @Override + public boolean isCaptureValidationStatistics() { + // TODO Auto-generated method stub + return false; + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler#getValidationStatistics() + */ + @Override + public ValidationStatistics getValidationStatistics() { + // TODO Auto-generated method stub + return null; + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler#setValidationStatistics(org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationStatistics) + */ + @Override + public void setValidationStatistics(ValidationStatistics validationStatistics) { + // TODO Auto-generated method stub + + } + +} diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestFamilyHistorySample.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestFamilyHistorySample.java index f831427805..bd13d94d5d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestFamilyHistorySample.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestFamilyHistorySample.java @@ -13,6 +13,7 @@ import java.io.FileInputStream; import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.mdht.uml.cda.ClinicalDocument; import org.eclipse.mdht.uml.cda.util.CDAUtil; import org.eclipse.mdht.uml.cda.util.ValidationResult; import org.openhealthtools.mdht.uml.cda.consol.ConsolPackage; @@ -24,7 +25,7 @@ public static void main(String[] args) throws Exception { // create a validation result object to collect diagnostics produced during validation ValidationResult result = new ValidationResult(); - CDAUtil.load(new FileInputStream("samples/FamilyHistory_sample.xml"), result); + ClinicalDocument cd = CDAUtil.load(new FileInputStream("samples/DischargeSummary_2014Edition_sample.xml")); System.out.println("\n***** Sample validation results *****"); for (Diagnostic diagnostic : result.getErrorDiagnostics()) { diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestRuleCount.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestRuleCount.java new file mode 100644 index 0000000000..78a1a4e8de --- /dev/null +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestRuleCount.java @@ -0,0 +1,142 @@ +/******************************************************************************* + * Copyright (c) 2020 seanmuir. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * seanmuir - initial API and implementation + * + *******************************************************************************/ +package org.openhealthtools.mdht.uml.cda.consol.tests; + +import java.io.FileNotFoundException; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.function.Consumer; + +import org.eclipse.mdht.uml.cda.util.CDAUtil; +import org.junit.Test; +import org.openhealthtools.mdht.uml.cda.consol.ConsolPackage; + +/** + * @author seanmuir + * + */ +public class TestRuleCount { + + // @Test + // public void test() throws FileNotFoundException, Exception { + // + // String path = "samples/"; + // ConsolPackage.eINSTANCE.eClass(); + // ValidationResult result = new ValidationResult(); + // // try { + // ClinicalDocument clinicalDocument = CDAUtil.load( + // (new FileInputStream(path + "DischargeSummary_2014Edition_sample" + ".xml")), result); + // + // // ClinicalDocument clinicalDocument = ConsolFactory.eINSTANCE.createContinuityOfCareDocument2().init(); + // + // // clinicalDocument.addSection(ConsolFactory.eINSTANCE.createAllergiesSection2().init()); + // + // // clinicalDocument.addSection(ConsolFactory.eINSTANCE.createAllergiesSection2().init()); + // + // ValidationHandler handler = new ValidationHandler() { + // + // ValidationStatistics validationStatistics; + // + // @Override + // public void handleError(Diagnostic diagnostic) { + // // System.out.println(diagnostic.getMessage()); + // + // } + // + // @Override + // public void handleWarning(Diagnostic diagnostic) { + // // System.out.println(diagnostic.getMessage()); + // + // } + // + // @Override + // public void handleInfo(Diagnostic diagnostic) { + // // System.out.println(diagnostic.getMessage()); + // } + // + // @Override + // public boolean isCaptureValidationStatistics() { + // return true; + // } + // + // @Override + // public ValidationStatistics getValidationStatistics() { + // return this.validationStatistics; + // } + // + // @Override + // public void setValidationStatistics(ValidationStatistics validationStatistics) { + // this.validationStatistics = validationStatistics; + // } + // }; + // ; + // CDAUtil.validate(clinicalDocument, handler); + // + // if (handler.getValidationStatistics() != null) { + // System.out.println(handler.getValidationStatistics().shallCount); + // System.out.println(handler.getValidationStatistics().shouldCount); + // System.out.println(handler.getValidationStatistics().mayCount); + // for (String key : handler.getValidationStatistics().counterPer.keySet()) { + // System.out.println(key + " : " + handler.getValidationStatistics().counterPer.get(key).count); + // + // } + // + // } + // + // } + // + @Test + public void test2() throws FileNotFoundException, Exception { + + ConsolPackage.eINSTANCE.eClass(); + + Consumer validate = new Consumer() { + + @Override + public void accept(Path cdaFilePath) { + System.out.println(cdaFilePath.getFileName()); + RegressionValidationHandler handler = new RegressionValidationHandler( + "/Users/seanmuir/mdmi-workspace20200305/regression/src/test/resource/new/" + + cdaFilePath.getFileName().toString().replace("xml", "txt")); + try { + CDAUtil.load(Files.newInputStream(cdaFilePath), handler); + } catch (IOException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } catch (Exception e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + }; + ; + Files.list(Paths.get("/Users/seanmuir/mdmi-workspace20200305/regression/src/test/resource/CCDA")).forEach( + validate); + + // String path = "samples/"; + // ConsolPackage.eINSTANCE.eClass(); + // ValidationResult result = new ValidationResult(); + // try { + + // ClinicalDocument clinicalDocument = ConsolFactory.eINSTANCE.createContinuityOfCareDocument2().init(); + + // clinicalDocument.addSection(ConsolFactory.eINSTANCE.createAllergiesSection2().init()); + + // clinicalDocument.addSection(ConsolFactory.eINSTANCE.createAllergiesSection2().init()); + + // CDAUtil.validate(clinicalDocument, handler); + + } + +} diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestXML.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestXML.java index d9086d1378..e278c56ac0 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestXML.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/tests/TestXML.java @@ -23,6 +23,7 @@ import org.eclipse.mdht.uml.cda.util.CDAUtil; import org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler; import org.eclipse.mdht.uml.hl7.datatypes.DatatypesFactory; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil.ValidationStatistics; import org.openhealthtools.mdht.uml.cda.consol.ConsolFactory; /** @@ -75,6 +76,24 @@ public void handleInfo(Diagnostic diagnostic) { // TODO Auto-generated method stub } + + @Override + public boolean isCaptureValidationStatistics() { + // TODO Auto-generated method stub + return false; + } + + @Override + public ValidationStatistics getValidationStatistics() { + // TODO Auto-generated method stub + return null; + } + + @Override + public void setValidationStatistics(ValidationStatistics validationStatistics) { + // TODO Auto-generated method stub + + } }; // Race and Ethnicity & CDC // CDAUtil.save(cd, new FileOutputStream("aaaa3.xml")); diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/util/ConsolValidator.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/util/ConsolValidator.java index 71c91590f4..a345a43632 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/util/ConsolValidator.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol/util/ConsolValidator.java @@ -37971,8 +37971,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.ALLERGY_OBSERVATION: return validateAllergyObservation((AllergyObservation) value, diagnostics, context); case ConsolPackage.SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION: - return validateSubstanceOrDeviceAllergyObservation((SubstanceOrDeviceAllergyObservation) value, - diagnostics, context); + return validateSubstanceOrDeviceAllergyObservation( + (SubstanceOrDeviceAllergyObservation) value, diagnostics, context); case ConsolPackage.ALLERGY_STATUS_OBSERVATION: return validateAllergyStatusObservation((AllergyStatusObservation) value, diagnostics, context); case ConsolPackage.REACTION_OBSERVATION: @@ -38016,23 +38016,23 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.ALLERGIES_SECTION: return validateAllergiesSection((AllergiesSection) value, diagnostics, context); case ConsolPackage.ALLERGIES_SECTION_ENTRIES_OPTIONAL: - return validateAllergiesSectionEntriesOptional((AllergiesSectionEntriesOptional) value, diagnostics, - context); + return validateAllergiesSectionEntriesOptional( + (AllergiesSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.MEDICATIONS_SECTION: return validateMedicationsSection((MedicationsSection) value, diagnostics, context); case ConsolPackage.MEDICATIONS_SECTION_ENTRIES_OPTIONAL: - return validateMedicationsSectionEntriesOptional((MedicationsSectionEntriesOptional) value, diagnostics, - context); + return validateMedicationsSectionEntriesOptional( + (MedicationsSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.PROBLEM_SECTION: return validateProblemSection((ProblemSection) value, diagnostics, context); case ConsolPackage.PROBLEM_SECTION_ENTRIES_OPTIONAL: - return validateProblemSectionEntriesOptional((ProblemSectionEntriesOptional) value, diagnostics, - context); + return validateProblemSectionEntriesOptional( + (ProblemSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.PROCEDURES_SECTION: return validateProceduresSection((ProceduresSection) value, diagnostics, context); case ConsolPackage.PROCEDURES_SECTION_ENTRIES_OPTIONAL: - return validateProceduresSectionEntriesOptional((ProceduresSectionEntriesOptional) value, diagnostics, - context); + return validateProceduresSectionEntriesOptional( + (ProceduresSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.PROCEDURE_ACTIVITY_OBSERVATION: return validateProcedureActivityObservation((ProcedureActivityObservation) value, diagnostics, context); case ConsolPackage.PROCEDURE_ACTIVITY_ACT: @@ -38040,8 +38040,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.RESULTS_SECTION: return validateResultsSection((ResultsSection) value, diagnostics, context); case ConsolPackage.RESULTS_SECTION_ENTRIES_OPTIONAL: - return validateResultsSectionEntriesOptional((ResultsSectionEntriesOptional) value, diagnostics, - context); + return validateResultsSectionEntriesOptional( + (ResultsSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.RESULT_ORGANIZER: return validateResultOrganizer((ResultOrganizer) value, diagnostics, context); case ConsolPackage.RESULT_OBSERVATION: @@ -38049,15 +38049,15 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.ADVANCE_DIRECTIVES_SECTION: return validateAdvanceDirectivesSection((AdvanceDirectivesSection) value, diagnostics, context); case ConsolPackage.ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL: - return validateAdvanceDirectivesSectionEntriesOptional((AdvanceDirectivesSectionEntriesOptional) value, - diagnostics, context); + return validateAdvanceDirectivesSectionEntriesOptional( + (AdvanceDirectivesSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.ADVANCE_DIRECTIVE_OBSERVATION: return validateAdvanceDirectiveObservation((AdvanceDirectiveObservation) value, diagnostics, context); case ConsolPackage.ENCOUNTERS_SECTION: return validateEncountersSection((EncountersSection) value, diagnostics, context); case ConsolPackage.ENCOUNTERS_SECTION_ENTRIES_OPTIONAL: - return validateEncountersSectionEntriesOptional((EncountersSectionEntriesOptional) value, diagnostics, - context); + return validateEncountersSectionEntriesOptional( + (EncountersSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.ENCOUNTER_ACTIVITIES: return validateEncounterActivities((EncounterActivities) value, diagnostics, context); case ConsolPackage.ENCOUNTER_DIAGNOSIS: @@ -38069,45 +38069,45 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.FAMILY_HISTORY_OBSERVATION: return validateFamilyHistoryObservation((FamilyHistoryObservation) value, diagnostics, context); case ConsolPackage.FAMILY_HISTORY_DEATH_OBSERVATION: - return validateFamilyHistoryDeathObservation((FamilyHistoryDeathObservation) value, diagnostics, - context); + return validateFamilyHistoryDeathObservation( + (FamilyHistoryDeathObservation) value, diagnostics, context); case ConsolPackage.FUNCTIONAL_STATUS_SECTION: return validateFunctionalStatusSection((FunctionalStatusSection) value, diagnostics, context); case ConsolPackage.FUNCTIONAL_STATUS_RESULT_ORGANIZER: - return validateFunctionalStatusResultOrganizer((FunctionalStatusResultOrganizer) value, diagnostics, - context); + return validateFunctionalStatusResultOrganizer( + (FunctionalStatusResultOrganizer) value, diagnostics, context); case ConsolPackage.FUNCTIONAL_STATUS_RESULT_OBSERVATION: - return validateFunctionalStatusResultObservation((FunctionalStatusResultObservation) value, diagnostics, - context); + return validateFunctionalStatusResultObservation( + (FunctionalStatusResultObservation) value, diagnostics, context); case ConsolPackage.CAREGIVER_CHARACTERISTICS: return validateCaregiverCharacteristics((CaregiverCharacteristics) value, diagnostics, context); case ConsolPackage.ASSESSMENT_SCALE_OBSERVATION: return validateAssessmentScaleObservation((AssessmentScaleObservation) value, diagnostics, context); case ConsolPackage.ASSESSMENT_SCALE_SUPPORTING_OBSERVATION: - return validateAssessmentScaleSupportingObservation((AssessmentScaleSupportingObservation) value, - diagnostics, context); + return validateAssessmentScaleSupportingObservation( + (AssessmentScaleSupportingObservation) value, diagnostics, context); case ConsolPackage.COGNITIVE_STATUS_RESULT_ORGANIZER: - return validateCognitiveStatusResultOrganizer((CognitiveStatusResultOrganizer) value, diagnostics, - context); + return validateCognitiveStatusResultOrganizer( + (CognitiveStatusResultOrganizer) value, diagnostics, context); case ConsolPackage.COGNITIVE_STATUS_RESULT_OBSERVATION: - return validateCognitiveStatusResultObservation((CognitiveStatusResultObservation) value, diagnostics, - context); + return validateCognitiveStatusResultObservation( + (CognitiveStatusResultObservation) value, diagnostics, context); case ConsolPackage.FUNCTIONAL_STATUS_PROBLEM_OBSERVATION: - return validateFunctionalStatusProblemObservation((FunctionalStatusProblemObservation) value, - diagnostics, context); + return validateFunctionalStatusProblemObservation( + (FunctionalStatusProblemObservation) value, diagnostics, context); case ConsolPackage.COGNITIVE_STATUS_PROBLEM_OBSERVATION: - return validateCognitiveStatusProblemObservation((CognitiveStatusProblemObservation) value, diagnostics, - context); + return validateCognitiveStatusProblemObservation( + (CognitiveStatusProblemObservation) value, diagnostics, context); case ConsolPackage.PRESSURE_ULCER_OBSERVATION: return validatePressureUlcerObservation((PressureUlcerObservation) value, diagnostics, context); case ConsolPackage.NUMBER_OF_PRESSURE_ULCERS_OBSERVATION: - return validateNumberOfPressureUlcersObservation((NumberOfPressureUlcersObservation) value, diagnostics, - context); + return validateNumberOfPressureUlcersObservation( + (NumberOfPressureUlcersObservation) value, diagnostics, context); case ConsolPackage.HIGHEST_PRESSURE_ULCER_STAGE: return validateHighestPressureUlcerStage((HighestPressureUlcerStage) value, diagnostics, context); case ConsolPackage.IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL: - return validateImmunizationsSectionEntriesOptional((ImmunizationsSectionEntriesOptional) value, - diagnostics, context); + return validateImmunizationsSectionEntriesOptional( + (ImmunizationsSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.IMMUNIZATION_ACTIVITY: return validateImmunizationActivity((ImmunizationActivity) value, diagnostics, context); case ConsolPackage.IMMUNIZATION_REFUSAL_REASON: @@ -38127,8 +38127,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.PLAN_OF_CARE_ACTIVITY_ENCOUNTER: return validatePlanOfCareActivityEncounter((PlanOfCareActivityEncounter) value, diagnostics, context); case ConsolPackage.PLAN_OF_CARE_ACTIVITY_OBSERVATION: - return validatePlanOfCareActivityObservation((PlanOfCareActivityObservation) value, diagnostics, - context); + return validatePlanOfCareActivityObservation( + (PlanOfCareActivityObservation) value, diagnostics, context); case ConsolPackage.PLAN_OF_CARE_ACTIVITY_PROCEDURE: return validatePlanOfCareActivityProcedure((PlanOfCareActivityProcedure) value, diagnostics, context); case ConsolPackage.PLAN_OF_CARE_ACTIVITY_SUBSTANCE_ADMINISTRATION: @@ -38149,8 +38149,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.TOBACCO_USE: return validateTobaccoUse((TobaccoUse) value, diagnostics, context); case ConsolPackage.VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL: - return validateVitalSignsSectionEntriesOptional((VitalSignsSectionEntriesOptional) value, diagnostics, - context); + return validateVitalSignsSectionEntriesOptional( + (VitalSignsSectionEntriesOptional) value, diagnostics, context); case ConsolPackage.VITAL_SIGNS_ORGANIZER: return validateVitalSignsOrganizer((VitalSignsOrganizer) value, diagnostics, context); case ConsolPackage.VITAL_SIGN_OBSERVATION: @@ -38166,11 +38166,11 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.REASON_FOR_REFERRAL_SECTION: return validateReasonForReferralSection((ReasonForReferralSection) value, diagnostics, context); case ConsolPackage.HISTORY_OF_PRESENT_ILLNESS_SECTION: - return validateHistoryOfPresentIllnessSection((HistoryOfPresentIllnessSection) value, diagnostics, - context); + return validateHistoryOfPresentIllnessSection( + (HistoryOfPresentIllnessSection) value, diagnostics, context); case ConsolPackage.HOSPITAL_ADMISSION_DIAGNOSIS_SECTION: - return validateHospitalAdmissionDiagnosisSection((HospitalAdmissionDiagnosisSection) value, diagnostics, - context); + return validateHospitalAdmissionDiagnosisSection( + (HospitalAdmissionDiagnosisSection) value, diagnostics, context); case ConsolPackage.HOSPITAL_ADMISSION_DIAGNOSIS: return validateHospitalAdmissionDiagnosis((HospitalAdmissionDiagnosis) value, diagnostics, context); case ConsolPackage.HOSPITAL_ADMISSION_MEDICATIONS_SECTION_ENTRIES_OPTIONAL: @@ -38179,8 +38179,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.ADMISSION_MEDICATION: return validateAdmissionMedication((AdmissionMedication) value, diagnostics, context); case ConsolPackage.MEDICATIONS_ADMINISTERED_SECTION: - return validateMedicationsAdministeredSection((MedicationsAdministeredSection) value, diagnostics, - context); + return validateMedicationsAdministeredSection( + (MedicationsAdministeredSection) value, diagnostics, context); case ConsolPackage.PHYSICAL_EXAM_SECTION: return validatePhysicalExamSection((PhysicalExamSection) value, diagnostics, context); case ConsolPackage.GENERAL_STATUS_SECTION: @@ -38198,8 +38198,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.DISCHARGE_SUMMARY: return validateDischargeSummary((DischargeSummary) value, diagnostics, context); case ConsolPackage.HOSPITAL_DISCHARGE_DIAGNOSIS_SECTION: - return validateHospitalDischargeDiagnosisSection((HospitalDischargeDiagnosisSection) value, diagnostics, - context); + return validateHospitalDischargeDiagnosisSection( + (HospitalDischargeDiagnosisSection) value, diagnostics, context); case ConsolPackage.HOSPITAL_DISCHARGE_DIAGNOSIS: return validateHospitalDischargeDiagnosis((HospitalDischargeDiagnosis) value, diagnostics, context); case ConsolPackage.DISCHARGE_DIET_SECTION: @@ -38212,32 +38212,32 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.HOSPITAL_COURSE_SECTION: return validateHospitalCourseSection((HospitalCourseSection) value, diagnostics, context); case ConsolPackage.CHIEF_COMPLAINT_AND_REASON_FOR_VISIT_SECTION: - return validateChiefComplaintAndReasonForVisitSection((ChiefComplaintAndReasonForVisitSection) value, - diagnostics, context); + return validateChiefComplaintAndReasonForVisitSection( + (ChiefComplaintAndReasonForVisitSection) value, diagnostics, context); case ConsolPackage.HOSPITAL_CONSULTATIONS_SECTION: return validateHospitalConsultationsSection((HospitalConsultationsSection) value, diagnostics, context); case ConsolPackage.HOSPITAL_DISCHARGE_INSTRUCTIONS_SECTION: - return validateHospitalDischargeInstructionsSection((HospitalDischargeInstructionsSection) value, - diagnostics, context); + return validateHospitalDischargeInstructionsSection( + (HospitalDischargeInstructionsSection) value, diagnostics, context); case ConsolPackage.HOSPITAL_DISCHARGE_PHYSICAL_SECTION: - return validateHospitalDischargePhysicalSection((HospitalDischargePhysicalSection) value, diagnostics, - context); + return validateHospitalDischargePhysicalSection( + (HospitalDischargePhysicalSection) value, diagnostics, context); case ConsolPackage.HOSPITAL_DISCHARGE_STUDIES_SUMMARY_SECTION: - return validateHospitalDischargeStudiesSummarySection((HospitalDischargeStudiesSummarySection) value, - diagnostics, context); + return validateHospitalDischargeStudiesSummarySection( + (HospitalDischargeStudiesSummarySection) value, diagnostics, context); case ConsolPackage.REASON_FOR_VISIT_SECTION: return validateReasonForVisitSection((ReasonForVisitSection) value, diagnostics, context); case ConsolPackage.PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION: - return validatePreconditionForSubstanceAdministration((PreconditionForSubstanceAdministration) value, - diagnostics, context); + return validatePreconditionForSubstanceAdministration( + (PreconditionForSubstanceAdministration) value, diagnostics, context); case ConsolPackage.IMMUNIZATION_MEDICATION_INFORMATION: - return validateImmunizationMedicationInformation((ImmunizationMedicationInformation) value, diagnostics, - context); + return validateImmunizationMedicationInformation( + (ImmunizationMedicationInformation) value, diagnostics, context); case ConsolPackage.AUTHORIZATION_ACTIVITY: return validateAuthorizationActivity((AuthorizationActivity) value, diagnostics, context); case ConsolPackage.HOSPITAL_DISCHARGE_MEDICATIONS_SECTION: - return validateHospitalDischargeMedicationsSection((HospitalDischargeMedicationsSection) value, - diagnostics, context); + return validateHospitalDischargeMedicationsSection( + (HospitalDischargeMedicationsSection) value, diagnostics, context); case ConsolPackage.ANESTHESIA_SECTION: return validateAnesthesiaSection((AnesthesiaSection) value, diagnostics, context); case ConsolPackage.COMPLICATIONS_SECTION: @@ -38251,8 +38251,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.SOP_INSTANCE_OBSERVATION: return validateSOPInstanceObservation((SOPInstanceObservation) value, diagnostics, context); case ConsolPackage.PURPOSEOF_REFERENCE_OBSERVATION: - return validatePurposeofReferenceObservation((PurposeofReferenceObservation) value, diagnostics, - context); + return validatePurposeofReferenceObservation( + (PurposeofReferenceObservation) value, diagnostics, context); case ConsolPackage.REFERENCED_FRAMES_OBSERVATION: return validateReferencedFramesObservation((ReferencedFramesObservation) value, diagnostics, context); case ConsolPackage.BOUNDARY_OBSERVATION: @@ -38268,16 +38268,16 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.OPERATIVE_NOTE_FLUID_SECTION: return validateOperativeNoteFluidSection((OperativeNoteFluidSection) value, diagnostics, context); case ConsolPackage.OPERATIVE_NOTE_SURGICAL_PROCEDURE_SECTION: - return validateOperativeNoteSurgicalProcedureSection((OperativeNoteSurgicalProcedureSection) value, - diagnostics, context); + return validateOperativeNoteSurgicalProcedureSection( + (OperativeNoteSurgicalProcedureSection) value, diagnostics, context); case ConsolPackage.PLANNED_PROCEDURE_SECTION: return validatePlannedProcedureSection((PlannedProcedureSection) value, diagnostics, context); case ConsolPackage.POSTOPERATIVE_DIAGNOSIS_SECTION: - return validatePostoperativeDiagnosisSection((PostoperativeDiagnosisSection) value, diagnostics, - context); + return validatePostoperativeDiagnosisSection( + (PostoperativeDiagnosisSection) value, diagnostics, context); case ConsolPackage.POSTPROCEDURE_DIAGNOSIS_SECTION: - return validatePostprocedureDiagnosisSection((PostprocedureDiagnosisSection) value, diagnostics, - context); + return validatePostprocedureDiagnosisSection( + (PostprocedureDiagnosisSection) value, diagnostics, context); case ConsolPackage.POSTPROCEDURE_DIAGNOSIS: return validatePostprocedureDiagnosis((PostprocedureDiagnosis) value, diagnostics, context); case ConsolPackage.PREOPERATIVE_DIAGNOSIS_SECTION: @@ -38289,8 +38289,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.PROCEDURE_DISPOSITION_SECTION: return validateProcedureDispositionSection((ProcedureDispositionSection) value, diagnostics, context); case ConsolPackage.PROCEDURE_ESTIMATED_BLOOD_LOSS_SECTION: - return validateProcedureEstimatedBloodLossSection((ProcedureEstimatedBloodLossSection) value, - diagnostics, context); + return validateProcedureEstimatedBloodLossSection( + (ProcedureEstimatedBloodLossSection) value, diagnostics, context); case ConsolPackage.PROCEDURE_FINDINGS_SECTION: return validateProcedureFindingsSection((ProcedureFindingsSection) value, diagnostics, context); case ConsolPackage.PROCEDURE_IMPLANTS_SECTION: @@ -38298,8 +38298,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.PROCEDURE_INDICATIONS_SECTION: return validateProcedureIndicationsSection((ProcedureIndicationsSection) value, diagnostics, context); case ConsolPackage.PROCEDURE_SPECIMENS_TAKEN_SECTION: - return validateProcedureSpecimensTakenSection((ProcedureSpecimensTakenSection) value, diagnostics, - context); + return validateProcedureSpecimensTakenSection( + (ProcedureSpecimensTakenSection) value, diagnostics, context); case ConsolPackage.SUBJECTIVE_SECTION: return validateSubjectiveSection((SubjectiveSection) value, diagnostics, context); case ConsolPackage.CONSULTATION_NOTE: @@ -38319,15 +38319,15 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.DIAGNOSTIC_IMAGING_REPORT: return validateDiagnosticImagingReport((DiagnosticImagingReport) value, diagnostics, context); case ConsolPackage.PHYSICIAN_READING_STUDY_PERFORMER: - return validatePhysicianReadingStudyPerformer((PhysicianReadingStudyPerformer) value, diagnostics, - context); + return validatePhysicianReadingStudyPerformer( + (PhysicianReadingStudyPerformer) value, diagnostics, context); case ConsolPackage.PHYSICIANOF_RECORD_PARTICIPANT: return validatePhysicianofRecordParticipant((PhysicianofRecordParticipant) value, diagnostics, context); case ConsolPackage.TEXT_OBSERVATION: return validateTextObservation((TextObservation) value, diagnostics, context); case ConsolPackage.QUANTITY_MEASUREMENT_OBSERVATION: - return validateQuantityMeasurementObservation((QuantityMeasurementObservation) value, diagnostics, - context); + return validateQuantityMeasurementObservation( + (QuantityMeasurementObservation) value, diagnostics, context); case ConsolPackage.CODE_OBSERVATIONS: return validateCodeObservations((CodeObservations) value, diagnostics, context); case ConsolPackage.PROCEDURE_CONTEXT: @@ -38347,19 +38347,19 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.ADVANCE_DIRECTIVE_OBSERVATION2: return validateAdvanceDirectiveObservation2((AdvanceDirectiveObservation2) value, diagnostics, context); case ConsolPackage.CHARACTERISTICS_OF_HOME_ENVIRONMENT: - return validateCharacteristicsOfHomeEnvironment((CharacteristicsOfHomeEnvironment) value, diagnostics, - context); + return validateCharacteristicsOfHomeEnvironment( + (CharacteristicsOfHomeEnvironment) value, diagnostics, context); case ConsolPackage.COGNITIVE_ABILITIES_OBSERVATION: - return validateCognitiveAbilitiesObservation((CognitiveAbilitiesObservation) value, diagnostics, - context); + return validateCognitiveAbilitiesObservation( + (CognitiveAbilitiesObservation) value, diagnostics, context); case ConsolPackage.CULTURAL_AND_RELIGIOUS_OBSERVATION: - return validateCulturalAndReligiousObservation((CulturalAndReligiousObservation) value, diagnostics, - context); + return validateCulturalAndReligiousObservation( + (CulturalAndReligiousObservation) value, diagnostics, context); case ConsolPackage.DRUG_MONITORING_ACT: return validateDrugMonitoringAct((DrugMonitoringAct) value, diagnostics, context); case ConsolPackage.HANDOFF_COMMUNICATION_PARTICIPANTS: - return validateHandoffCommunicationParticipants((HandoffCommunicationParticipants) value, diagnostics, - context); + return validateHandoffCommunicationParticipants( + (HandoffCommunicationParticipants) value, diagnostics, context); case ConsolPackage.MEDICAL_EQUIPMENT_ORGANIZER: return validateMedicalEquipmentOrganizer((MedicalEquipmentOrganizer) value, diagnostics, context); case ConsolPackage.NON_MEDICINAL_SUPPLY_ACTIVITY2: @@ -38411,8 +38411,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.OUTCOME_OBSERVATION: return validateOutcomeObservation((OutcomeObservation) value, diagnostics, context); case ConsolPackage.PROGRESS_TOWARD_GOAL_OBSERVATION: - return validateProgressTowardGoalObservation((ProgressTowardGoalObservation) value, diagnostics, - context); + return validateProgressTowardGoalObservation( + (ProgressTowardGoalObservation) value, diagnostics, context); case ConsolPackage.PATIENT_REFERRAL_ACT: return validatePatientReferralAct((PatientReferralAct) value, diagnostics, context); case ConsolPackage.GOAL_OBSERVATION: @@ -38428,8 +38428,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.SENSORY_STATUS: return validateSensoryStatus((SensoryStatus) value, diagnostics, context); case ConsolPackage.LONGITUDINAL_CARE_WOUND_OBSERVATION: - return validateLongitudinalCareWoundObservation((LongitudinalCareWoundObservation) value, diagnostics, - context); + return validateLongitudinalCareWoundObservation( + (LongitudinalCareWoundObservation) value, diagnostics, context); case ConsolPackage.PROBLEM_OBSERVATION2: return validateProblemObservation2((ProblemObservation2) value, diagnostics, context); case ConsolPackage.PROGNOSIS_OBSERVATION: @@ -38441,8 +38441,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.WOUND_CHARACTERISTIC: return validateWoundCharacteristic((WoundCharacteristic) value, diagnostics, context); case ConsolPackage.NUMBER_OF_PRESSURE_ULCERS_OBSERVATION2: - return validateNumberOfPressureUlcersObservation2((NumberOfPressureUlcersObservation2) value, - diagnostics, context); + return validateNumberOfPressureUlcersObservation2( + (NumberOfPressureUlcersObservation2) value, diagnostics, context); case ConsolPackage.ALLERGY_OBSERVATION2: return validateAllergyObservation2((AllergyObservation2) value, diagnostics, context); case ConsolPackage.CRITICALITY_OBSERVATION: @@ -38466,8 +38466,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.SOCIAL_HISTORY_OBSERVATION2: return validateSocialHistoryObservation2((SocialHistoryObservation2) value, diagnostics, context); case ConsolPackage.SUBSTANCE_OR_DEVICE_ALLERGY_OBSERVATION2: - return validateSubstanceOrDeviceAllergyObservation2((SubstanceOrDeviceAllergyObservation2) value, - diagnostics, context); + return validateSubstanceOrDeviceAllergyObservation2( + (SubstanceOrDeviceAllergyObservation2) value, diagnostics, context); case ConsolPackage.ALLERGY_STATUS_OBSERVATION2: return validateAllergyStatusObservation2((AllergyStatusObservation2) value, diagnostics, context); case ConsolPackage.TOBACCO_USE2: @@ -38485,8 +38485,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.PROCEDURE_ACTIVITY_ACT2: return validateProcedureActivityAct2((ProcedureActivityAct2) value, diagnostics, context); case ConsolPackage.PROCEDURE_ACTIVITY_OBSERVATION2: - return validateProcedureActivityObservation2((ProcedureActivityObservation2) value, diagnostics, - context); + return validateProcedureActivityObservation2( + (ProcedureActivityObservation2) value, diagnostics, context); case ConsolPackage.ENCOUNTER_ACTIVITY2: return validateEncounterActivity2((EncounterActivity2) value, diagnostics, context); case ConsolPackage.PLANNED_INTERVENTION_ACT: @@ -38513,8 +38513,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.NUTRITION_SECTION: return validateNutritionSection((NutritionSection) value, diagnostics, context); case ConsolPackage.PHYSICAL_FINDINGS_OF_SKIN_SECTION: - return validatePhysicalFindingsOfSkinSection((PhysicalFindingsOfSkinSection) value, diagnostics, - context); + return validatePhysicalFindingsOfSkinSection( + (PhysicalFindingsOfSkinSection) value, diagnostics, context); case ConsolPackage.US_REALM_HEADER2: return validateUSRealmHeader2((USRealmHeader2) value, diagnostics, context); case ConsolPackage.CARE_PLAN: @@ -38531,21 +38531,21 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.IMMUNIZATIONS_SECTION2: return validateImmunizationsSection2((ImmunizationsSection2) value, diagnostics, context); case ConsolPackage.IMMUNIZATIONS_SECTION_ENTRIES_OPTIONAL2: - return validateImmunizationsSectionEntriesOptional2((ImmunizationsSectionEntriesOptional2) value, - diagnostics, context); + return validateImmunizationsSectionEntriesOptional2( + (ImmunizationsSectionEntriesOptional2) value, diagnostics, context); case ConsolPackage.PROBLEM_SECTION2: return validateProblemSection2((ProblemSection2) value, diagnostics, context); case ConsolPackage.PROBLEM_SECTION_ENTRIES_OPTIONAL2: - return validateProblemSectionEntriesOptional2((ProblemSectionEntriesOptional2) value, diagnostics, - context); + return validateProblemSectionEntriesOptional2( + (ProblemSectionEntriesOptional2) value, diagnostics, context); case ConsolPackage.PROCEDURES_SECTION_ENTRIES_OPTIONAL2: - return validateProceduresSectionEntriesOptional2((ProceduresSectionEntriesOptional2) value, diagnostics, - context); + return validateProceduresSectionEntriesOptional2( + (ProceduresSectionEntriesOptional2) value, diagnostics, context); case ConsolPackage.RESULTS_SECTION2: return validateResultsSection2((ResultsSection2) value, diagnostics, context); case ConsolPackage.RESULTS_SECTION_ENTRIES_OPTIONAL2: - return validateResultsSectionEntriesOptional2((ResultsSectionEntriesOptional2) value, diagnostics, - context); + return validateResultsSectionEntriesOptional2( + (ResultsSectionEntriesOptional2) value, diagnostics, context); case ConsolPackage.SOCIAL_HISTORY_SECTION2: return validateSocialHistorySection2((SocialHistorySection2) value, diagnostics, context); case ConsolPackage.BIRTH_SEX_OBSERVATION: @@ -38553,8 +38553,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.VITAL_SIGNS_SECTION2: return validateVitalSignsSection2((VitalSignsSection2) value, diagnostics, context); case ConsolPackage.VITAL_SIGNS_SECTION_ENTRIES_OPTIONAL2: - return validateVitalSignsSectionEntriesOptional2((VitalSignsSectionEntriesOptional2) value, diagnostics, - context); + return validateVitalSignsSectionEntriesOptional2( + (VitalSignsSectionEntriesOptional2) value, diagnostics, context); case ConsolPackage.VITAL_SIGNS_ORGANIZER2: return validateVitalSignsOrganizer2((VitalSignsOrganizer2) value, diagnostics, context); case ConsolPackage.FUNCTIONAL_STATUS_SECTION2: @@ -38568,8 +38568,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.ALLERGIES_SECTION2: return validateAllergiesSection2((AllergiesSection2) value, diagnostics, context); case ConsolPackage.ALLERGIES_SECTION_ENTRIES_OPTIONAL2: - return validateAllergiesSectionEntriesOptional2((AllergiesSectionEntriesOptional2) value, diagnostics, - context); + return validateAllergiesSectionEntriesOptional2( + (AllergiesSectionEntriesOptional2) value, diagnostics, context); case ConsolPackage.ALLERGY_CONCERN_ACT2: return validateAllergyConcernAct2((AllergyConcernAct2) value, diagnostics, context); case ConsolPackage.ASSESSMENT_AND_PLAN_SECTION2: @@ -38579,8 +38579,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.MEDICATIONS_SECTION2: return validateMedicationsSection2((MedicationsSection2) value, diagnostics, context); case ConsolPackage.MEDICATIONS_SECTION_ENTRIES_OPTIONAL2: - return validateMedicationsSectionEntriesOptional2((MedicationsSectionEntriesOptional2) value, - diagnostics, context); + return validateMedicationsSectionEntriesOptional2( + (MedicationsSectionEntriesOptional2) value, diagnostics, context); case ConsolPackage.REASON_FOR_REFERRAL_SECTION2: return validateReasonForReferralSection2((ReasonForReferralSection2) value, diagnostics, context); case ConsolPackage.FAMILY_HISTORY_SECTION2: @@ -38592,8 +38592,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.ENCOUNTERS_SECTION2: return validateEncountersSection2((EncountersSection2) value, diagnostics, context); case ConsolPackage.ENCOUNTERS_SECTION_ENTRIES_OPTIONAL2: - return validateEncountersSectionEntriesOptional2((EncountersSectionEntriesOptional2) value, diagnostics, - context); + return validateEncountersSectionEntriesOptional2( + (EncountersSectionEntriesOptional2) value, diagnostics, context); case ConsolPackage.PAYERS_SECTION2: return validatePayersSection2((PayersSection2) value, diagnostics, context); case ConsolPackage.COVERAGE_ACTIVITY2: @@ -38616,8 +38616,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.COURSE_OF_CARE_SECTION: return validateCourseOfCareSection((CourseOfCareSection) value, diagnostics, context); case ConsolPackage.US_REALM_HEADER_PATIENT_GENERATED_DOCUMENT: - return validateUSRealmHeaderPatientGeneratedDocument((USRealmHeaderPatientGeneratedDocument) value, - diagnostics, context); + return validateUSRealmHeaderPatientGeneratedDocument( + (USRealmHeaderPatientGeneratedDocument) value, diagnostics, context); case ConsolPackage.AUTHOR_PARTICIPATION: return validateAuthorParticipation((AuthorParticipation) value, diagnostics, context); case ConsolPackage.DECEASED_OBSERVATION2: @@ -38625,13 +38625,13 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.DISCHARGE_MEDICATION2: return validateDischargeMedication2((DischargeMedication2) value, diagnostics, context); case ConsolPackage.IMMUNIZATION_MEDICATION_INFORMATION2: - return validateImmunizationMedicationInformation2((ImmunizationMedicationInformation2) value, - diagnostics, context); + return validateImmunizationMedicationInformation2( + (ImmunizationMedicationInformation2) value, diagnostics, context); case ConsolPackage.MEDICATION_INFORMATION2: return validateMedicationInformation2((MedicationInformation2) value, diagnostics, context); case ConsolPackage.PHYSICIANOF_RECORD_PARTICIPANT2: - return validatePhysicianofRecordParticipant2((PhysicianofRecordParticipant2) value, diagnostics, - context); + return validatePhysicianofRecordParticipant2( + (PhysicianofRecordParticipant2) value, diagnostics, context); case ConsolPackage.ANESTHESIA_SECTION2: return validateAnesthesiaSection2((AnesthesiaSection2) value, diagnostics, context); case ConsolPackage.COMPLICATIONS_SECTION2: @@ -38642,16 +38642,16 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.INSTRUCTIONS_SECTION2: return validateInstructionsSection2((InstructionsSection2) value, diagnostics, context); case ConsolPackage.MEDICATIONS_ADMINISTERED_SECTION2: - return validateMedicationsAdministeredSection2((MedicationsAdministeredSection2) value, diagnostics, - context); + return validateMedicationsAdministeredSection2( + (MedicationsAdministeredSection2) value, diagnostics, context); case ConsolPackage.PLANNED_PROCEDURE_SECTION2: return validatePlannedProcedureSection2((PlannedProcedureSection2) value, diagnostics, context); case ConsolPackage.POSTPROCEDURE_DIAGNOSIS_SECTION2: - return validatePostprocedureDiagnosisSection2((PostprocedureDiagnosisSection2) value, diagnostics, - context); + return validatePostprocedureDiagnosisSection2( + (PostprocedureDiagnosisSection2) value, diagnostics, context); case ConsolPackage.PREOPERATIVE_DIAGNOSIS_SECTION2: - return validatePreoperativeDiagnosisSection2((PreoperativeDiagnosisSection2) value, diagnostics, - context); + return validatePreoperativeDiagnosisSection2( + (PreoperativeDiagnosisSection2) value, diagnostics, context); case ConsolPackage.PROCEDURE_FINDINGS_SECTION2: return validateProcedureFindingsSection2((ProcedureFindingsSection2) value, diagnostics, context); case ConsolPackage.PROCEDURE_INDICATIONS_SECTION2: @@ -38677,11 +38677,11 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn case ConsolPackage.UNSTRUCTURED_DOCUMENT2: return validateUnstructuredDocument2((UnstructuredDocument2) value, diagnostics, context); case ConsolPackage.PRECONDITION_FOR_SUBSTANCE_ADMINISTRATION2: - return validatePreconditionForSubstanceAdministration2((PreconditionForSubstanceAdministration2) value, - diagnostics, context); + return validatePreconditionForSubstanceAdministration2( + (PreconditionForSubstanceAdministration2) value, diagnostics, context); case ConsolPackage.PHYSICIAN_READING_STUDY_PERFORMER2: - return validatePhysicianReadingStudyPerformer2((PhysicianReadingStudyPerformer2) value, diagnostics, - context); + return validatePhysicianReadingStudyPerformer2( + (PhysicianReadingStudyPerformer2) value, diagnostics, context); default: return true; } diff --git a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol2/ConsolPlugin.java b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol2/ConsolPlugin.java index 08c7e937c5..1b5055c897 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol2/ConsolPlugin.java +++ b/generated/org.openhealthtools.mdht.uml.cda.consol2/src/org/openhealthtools/mdht/uml/cda/consol2/ConsolPlugin.java @@ -3,7 +3,6 @@ package org.openhealthtools.mdht.uml.cda.consol2; import org.eclipse.emf.common.EMFPlugin; - import org.eclipse.emf.common.util.ResourceLocator; /** diff --git a/generated/org.openhealthtools.mdht.uml.cda.emspcr/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.emspcr/.DS_Store new file mode 100644 index 0000000000..4cf17915a9 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.emspcr/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.emspcr/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.emspcr/src/.DS_Store new file mode 100644 index 0000000000..a9274754a6 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.emspcr/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.example/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.example/.DS_Store new file mode 100644 index 0000000000..407afaaee1 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.example/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.example/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.example/src/.DS_Store new file mode 100644 index 0000000000..d42340d966 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.example/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.hitsp/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.hitsp/.DS_Store new file mode 100644 index 0000000000..150ac5f4ed Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.hitsp/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.hitsp/META-INF/MANIFEST.MF b/generated/org.openhealthtools.mdht.uml.cda.hitsp/META-INF/MANIFEST.MF index 32a2dcca28..8d358a6987 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.hitsp/META-INF/MANIFEST.MF +++ b/generated/org.openhealthtools.mdht.uml.cda.hitsp/META-INF/MANIFEST.MF @@ -6,7 +6,6 @@ Bundle-Version: 3.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.hitsp, org.openhealthtools.mdht.uml.cda.hitsp.impl, org.openhealthtools.mdht.uml.cda.hitsp.operations, diff --git a/generated/org.openhealthtools.mdht.uml.cda.hitsp/samples/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.hitsp/samples/.DS_Store new file mode 100644 index 0000000000..b72de489c2 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.hitsp/samples/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.hitsp/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.hitsp/src/.DS_Store new file mode 100644 index 0000000000..9ad233a743 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.hitsp/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.ihe.eye/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.ihe.eye/.DS_Store new file mode 100644 index 0000000000..95a9d8e654 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.ihe.eye/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.ihe.eye/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.ihe.eye/src/.DS_Store new file mode 100644 index 0000000000..091a159817 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.ihe.eye/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.ihe.qrph.hpoc/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.ihe.qrph.hpoc/.DS_Store new file mode 100644 index 0000000000..2abc736f8b Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.ihe.qrph.hpoc/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.ihe.qrph.hpoc/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.ihe.qrph.hpoc/src/.DS_Store new file mode 100644 index 0000000000..7341b66d30 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.ihe.qrph.hpoc/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.ihe.qrph/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.ihe.qrph/.DS_Store new file mode 100644 index 0000000000..8414d201a0 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.ihe.qrph/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.ihe.qrph/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.ihe.qrph/src/.DS_Store new file mode 100644 index 0000000000..f17793abc1 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.ihe.qrph/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.ihe/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.ihe/.DS_Store new file mode 100644 index 0000000000..f9eb336b58 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.ihe/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.ihe/META-INF/MANIFEST.MF b/generated/org.openhealthtools.mdht.uml.cda.ihe/META-INF/MANIFEST.MF index d0a1f1f9ad..d7b0b37d28 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.ihe/META-INF/MANIFEST.MF +++ b/generated/org.openhealthtools.mdht.uml.cda.ihe/META-INF/MANIFEST.MF @@ -6,7 +6,6 @@ Bundle-Version: 3.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.ihe, org.openhealthtools.mdht.uml.cda.ihe.impl, org.openhealthtools.mdht.uml.cda.ihe.operations, diff --git a/generated/org.openhealthtools.mdht.uml.cda.ihe/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.ihe/src/.DS_Store new file mode 100644 index 0000000000..75c06e8abb Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.ihe/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.mu2consol/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.mu2consol/.DS_Store new file mode 100644 index 0000000000..369ab1ff09 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.mu2consol/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.mu2consol/META-INF/MANIFEST.MF b/generated/org.openhealthtools.mdht.uml.cda.mu2consol/META-INF/MANIFEST.MF index 24fea54f64..d8dff79f1d 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.mu2consol/META-INF/MANIFEST.MF +++ b/generated/org.openhealthtools.mdht.uml.cda.mu2consol/META-INF/MANIFEST.MF @@ -1,7 +1,6 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 3.0.0.qualifier -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.mu2consol;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/generated/org.openhealthtools.mdht.uml.cda.mu2consol/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.mu2consol/src/.DS_Store new file mode 100644 index 0000000000..bd70d62a7e Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.mu2consol/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.phmr/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.phmr/.DS_Store new file mode 100644 index 0000000000..e97a21880e Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.phmr/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.phmr/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.phmr/src/.DS_Store new file mode 100644 index 0000000000..7361bbb75e Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.phmr/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.qfdd/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.qfdd/.DS_Store new file mode 100644 index 0000000000..a740a2380d Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.qfdd/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.qfdd/META-INF/MANIFEST.MF b/generated/org.openhealthtools.mdht.uml.cda.qfdd/META-INF/MANIFEST.MF index 200bdcf4ff..6bd212567b 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.qfdd/META-INF/MANIFEST.MF +++ b/generated/org.openhealthtools.mdht.uml.cda.qfdd/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 3.0.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.qfdd;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/generated/org.openhealthtools.mdht.uml.cda.qfdd/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.qfdd/src/.DS_Store new file mode 100644 index 0000000000..a001651922 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.qfdd/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.qrda/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.qrda/.DS_Store new file mode 100644 index 0000000000..a3d3fa0a3f Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.qrda/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.qrda/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.qrda/src/.DS_Store new file mode 100644 index 0000000000..9c07d9a682 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.qrda/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.qrdoc/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.qrdoc/.DS_Store new file mode 100644 index 0000000000..b8f9a68264 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.qrdoc/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.qrdoc/META-INF/MANIFEST.MF b/generated/org.openhealthtools.mdht.uml.cda.qrdoc/META-INF/MANIFEST.MF index ec0a3558a2..73840b6dc5 100644 --- a/generated/org.openhealthtools.mdht.uml.cda.qrdoc/META-INF/MANIFEST.MF +++ b/generated/org.openhealthtools.mdht.uml.cda.qrdoc/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Version: 3.0.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-Name: %pluginName Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.qrdoc;singleton:=true Bundle-ActivationPolicy: lazy diff --git a/generated/org.openhealthtools.mdht.uml.cda.qrdoc/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.qrdoc/src/.DS_Store new file mode 100644 index 0000000000..d6e3667a42 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.qrdoc/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.sdtm/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.sdtm/.DS_Store new file mode 100644 index 0000000000..f9e5ff629f Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.sdtm/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.sdtm/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.sdtm/src/.DS_Store new file mode 100644 index 0000000000..c9a417ca4c Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.sdtm/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.toc/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.toc/.DS_Store new file mode 100644 index 0000000000..db3a416797 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.toc/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.toc/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.toc/src/.DS_Store new file mode 100644 index 0000000000..ec3e4a5636 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.toc/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.vsbr/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.vsbr/.DS_Store new file mode 100644 index 0000000000..585cb55569 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.vsbr/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.vsbr/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.vsbr/src/.DS_Store new file mode 100644 index 0000000000..17b743b78b Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.vsbr/src/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.vsdr/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.vsdr/.DS_Store new file mode 100644 index 0000000000..8852878222 Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.vsdr/.DS_Store differ diff --git a/generated/org.openhealthtools.mdht.uml.cda.vsdr/src/.DS_Store b/generated/org.openhealthtools.mdht.uml.cda.vsdr/src/.DS_Store new file mode 100644 index 0000000000..28f095c81b Binary files /dev/null and b/generated/org.openhealthtools.mdht.uml.cda.vsdr/src/.DS_Store differ diff --git a/generated/pom.xml b/generated/pom.xml index 9a6d1cf519..e9b58351a3 100644 --- a/generated/pom.xml +++ b/generated/pom.xml @@ -22,15 +22,6 @@ org.openhealthtools.mdht.uml.cda.hitsp org.openhealthtools.mdht.uml.cda.consol2 org.openhealthtools.mdht.uml.cda.mu2consol - org.openhealthtools.mdht.uml.cda.clondata - org.openhealthtools.mdht.uml.cda.qfdd - org.openhealthtools.mdht.uml.cda.qrdoc - org.openhealthtools.mdht.uml.cda.qrda - org.openhealthtools.mdht.uml.cda.emspcr - org.openhealthtools.mdht.uml.cda.sdtm - org.openhealthtools.mdht.uml.cda.toc - org.openhealthtools.mdht.uml.cda.vsbr - org.openhealthtools.mdht.uml.cda.vsdr - + org.hl7.security.ds4p.contentprofile diff --git a/models/org.hl7.cbcc.privacy.consentdirective.model/META-INF/MANIFEST.MF b/models/org.hl7.cbcc.privacy.consentdirective.model/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..c2474845b5 --- /dev/null +++ b/models/org.hl7.cbcc.privacy.consentdirective.model/META-INF/MANIFEST.MF @@ -0,0 +1,5 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: ConsentDirectiveModel +Bundle-SymbolicName: org.hl7.cbcc.privacy.consentdirective.model;singleton:=true +Bundle-Version: 3.0.0.qualifier diff --git a/models/org.hl7.cbcc.privacy.consentdirective.model/model/consentdirective-vocab.uml b/models/org.hl7.cbcc.privacy.consentdirective.model/model/consentdirective-vocab.uml index 9732f476d9..b7cfbde04f 100644 --- a/models/org.hl7.cbcc.privacy.consentdirective.model/model/consentdirective-vocab.uml +++ b/models/org.hl7.cbcc.privacy.consentdirective.model/model/consentdirective-vocab.uml @@ -1,184 +1,184 @@ - - - - - The following value sets and coding system are used for terminology constraints. - - - - - - - - - Consent to have de-identified healthcare information in an electronic health record that is accessed for research purposes, but without consent to re-identify the information under any circumstance. - - - - - Supports communication of purpose of use at a general level (e.g. treatment, emergency, research, etc.). -The following are example codes in this value set: - - - - - - - - - - HRESCH health research - - - - - CLINTRCH - clinical trial research - - - - - CLINTRL clinical trial - - - - - - Conveys the mandated workflow action that an information custodian, receiver, or user must perform . -Description: Per ISO 22600-2, ObligationPolicy instances 'are event-triggered and define actions to be performed by manager agent'. Per HL7 Composite Security and Privacy Domain Analysis Model: This value set refers to the action required to receive the permission specified in the privacy rule. [Nov Harm - Per OASIS XACML, an obligation is an operation specified in a policy or policy that is performed in conjunction with the enforcement of an access control decision.] -Note: this value set is currently specified in the ActCode code system but is actually a child of SecurityControlObservationValue. - - - - - A mathematical transposition of a file or data stream so that it cannot be deciphered at the receiving end without the proper key. Encryption is a security feature that assures that only the parties who are supposed to be participating in a video conference or data transfer are able to do so. It can include a password, public and private keys, or a complex combination of all. (Per Infoway.) - - - - - - - Conveys prohibited actions which an information custodian, receiver, or user is not permitted to perform unless otherwise authorized or permitted under specified circumstances. -Description: ISO 22600-2 species that a Refrain Policy "defines actions the subjects must refrain from performing". Per HL7 Composite Security and Privacy Domain Analysis Model: May be used to indicate that a specific action is prohibited based on specific access control attributes e.g., purpose of use, information type, user role, etc. -The following are example codes in this value set: - - - - - - - - This value set is used to specify the disclosure or use action associated with a privacy consent directive. - - - - Consent to access or "read" only, which entails that the information is not to be copied, screen printed, saved, emailed, stored, re-disclosed or altered in any way. This level ensures that data which is masked or to which access is restricted will not be. Example: Opened and then emailed or screen printed for use outside of the consent directive purpose. - - - - - - - - - Consent to have de-identified healthcare information in an electronic health record that is accessed for research purposes re-identified under specific circumstances outlined in the consent - - - - - Consent to access or "read" only, which entails that the information is not to be copied, screen printed, saved, emailed, stored, re-disclosed or altered in any way. This level ensures that data which is masked or to which access is restricted will not be. Example: Opened and then emailed or screen printed for use outside of the consent directive purpose. - - - - - - This value set is used to specify the relationship between the individual authenticating the privacy consent directive and the person who is the target of that record. - - - - - - - - - - - - - - - This coding system is the parent code system for purpose of use, obligation, refrain. etc. - - - - - This coding system is the parent code system for purpose of use, obligation, refrain. etc. -Type of security metadata observation made about an IT resource (data, information object, service, or system capability), which may be used to make access control decisions. Security metadata are used in security labels. According to ISO/TS 22600-3:2009(E) A.9.1.7 SECURITY LABEL MATCHING, Security label matching compares the initiator's clearance to the target's security label. All of the following must be true for authorization to be granted: - - - - - This is the confidentiality value set required for conformance to this IG. - - - - - - - - A code specifying the particular kind of Act that the Act-instance represents within its class. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + The following value sets and coding system are used for terminology constraints. + + + + + + + + + Consent to have de-identified healthcare information in an electronic health record that is accessed for research purposes, but without consent to re-identify the information under any circumstance. + + + + + Supports communication of purpose of use at a general level (e.g. treatment, emergency, research, etc.). +The following are example codes in this value set: + + + + + + + + + + HRESCH health research + + + + + CLINTRCH - clinical trial research + + + + + CLINTRL clinical trial + + + + + + Conveys the mandated workflow action that an information custodian, receiver, or user must perform . +Description: Per ISO 22600-2, ObligationPolicy instances 'are event-triggered and define actions to be performed by manager agent'. Per HL7 Composite Security and Privacy Domain Analysis Model: This value set refers to the action required to receive the permission specified in the privacy rule. [Nov Harm - Per OASIS XACML, an obligation is an operation specified in a policy or policy that is performed in conjunction with the enforcement of an access control decision.] +Note: this value set is currently specified in the ActCode code system but is actually a child of SecurityControlObservationValue. + + + + + A mathematical transposition of a file or data stream so that it cannot be deciphered at the receiving end without the proper key. Encryption is a security feature that assures that only the parties who are supposed to be participating in a video conference or data transfer are able to do so. It can include a password, public and private keys, or a complex combination of all. (Per Infoway.) + + + + + + + Conveys prohibited actions which an information custodian, receiver, or user is not permitted to perform unless otherwise authorized or permitted under specified circumstances. +Description: ISO 22600-2 species that a Refrain Policy "defines actions the subjects must refrain from performing". Per HL7 Composite Security and Privacy Domain Analysis Model: May be used to indicate that a specific action is prohibited based on specific access control attributes e.g., purpose of use, information type, user role, etc. +The following are example codes in this value set: + + + + + + + + This value set is used to specify the disclosure or use action associated with a privacy consent directive. + + + + Consent to access or "read" only, which entails that the information is not to be copied, screen printed, saved, emailed, stored, re-disclosed or altered in any way. This level ensures that data which is masked or to which access is restricted will not be. Example: Opened and then emailed or screen printed for use outside of the consent directive purpose. + + + + + + + + + Consent to have de-identified healthcare information in an electronic health record that is accessed for research purposes re-identified under specific circumstances outlined in the consent + + + + + Consent to access or "read" only, which entails that the information is not to be copied, screen printed, saved, emailed, stored, re-disclosed or altered in any way. This level ensures that data which is masked or to which access is restricted will not be. Example: Opened and then emailed or screen printed for use outside of the consent directive purpose. + + + + + + This value set is used to specify the relationship between the individual authenticating the privacy consent directive and the person who is the target of that record. + + + + + + + + + + + + + + + This coding system is the parent code system for purpose of use, obligation, refrain. etc. + + + + + This coding system is the parent code system for purpose of use, obligation, refrain. etc. +Type of security metadata observation made about an IT resource (data, information object, service, or system capability), which may be used to make access control decisions. Security metadata are used in security labels. According to ISO/TS 22600-3:2009(E) A.9.1.7 SECURITY LABEL MATCHING, Security label matching compares the initiator's clearance to the target's security label. All of the following must be true for authorization to be granted: + + + + + This is the confidentiality value set required for conformance to this IG. + + + + + + + + A code specifying the particular kind of Act that the Act-instance represents within its class. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/models/org.hl7.security.ds4p.contentprofile.model/model/contentprofile.uml b/models/org.hl7.security.ds4p.contentprofile.model/model/contentprofile.uml index a655d93521..c1c9f5c9d3 100644 --- a/models/org.hl7.security.ds4p.contentprofile.model/model/contentprofile.uml +++ b/models/org.hl7.security.ds4p.contentprofile.model/model/contentprofile.uml @@ -1,1323 +1,1323 @@ - - - - - This model describe the constraints applied to a Consolidated CDA (C-CDA) - document instance to support the requirements of the DS4P project as specified in - the project use cases. This profile includes the main reusable building blocks for - privacy metadata that applies to the document sharing metadata (e.g. XDS metadata, XDM - metadata) specified by IHE ITI Framework. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This CDA document template may be applied to any document type that is the result of - segmentation. Is specifies that the document may contain sections and entries - modified to specify the privacy annotations intended to assist a receiving - systems to process the information contained in the document in a way consistent - with applicable privacy policies. If the information does not contain any additional - section or entry-level annotations, the sender needs ot enforce the requirements to - identify the author of the document, section, or entry if the context conduction requires - it (i.e. if the author of the section is different than the author of the document or the - author of the entry is different than the author of the section). - - - - The privacy segmented document is expected to implement the constraints consistent - with the General Header. - - - - - - The author of the document is the individual provider or the organization - that originates the document. If the document is an aggregate of several - provider's input, then this author information will be overwritten at the - section and entry level to identify the actual author of the section or entry. - This constrain is intended ensure this element is not null. This information is - necessary to establish the provenance of the document. - - - - - - - - This association specifies the Privacy and Security Markings section. This may be - the first section of a segmented document, if policy requires it. In those cases when - the policy requires that the user view and/or acknowledge specific prohibitions against - redisclosure, the receiving system capabilities to display and use these marking will be - validated in addition to its interoperability. - - - - - - - The document may contain several sections constrained specifically to - support protected information. If the information does not require privacy - annotations different than those already specified in the document header, then a - document instance may not include segmented sections. - - - - - - - - - - - This template is constrains the Security Observation to specify a "obligation - policy code". This template reuses the SecurityObservation implementing the HL7 - Healthcare Security Classification (HCS) standard. - - - - - - - - This attribute specifies a type of obligation policy, specifically. - - - - - - - - - This CDA template is used to specify the mandatory elements of the - "author" structure in the header of a CDA document. The - "author" is used to specify the provenance of the document. Often, - if the document contents is authored by several providers, the header may specify - only the organization while the section and entry may specify the actual - providers responsible for the section and entry contents. Typically, if author - specified in the header is not responsible for all the sections and entries in - the document, then the "author" associated with those entries - must be specified. This template is intended to help implementers assert conformance to - mandatory provenance business requirements. It demonstrates how the General Header - Constraints can be further constraints to ensure that time when the document was authored - is not left "null". - - - - - - - - - - - - This date/time is mandatory and may not be left "null" by the - sender. - - - - - - - - - - - This CDA template is used to specify the actual person, organization, and/or - device responsible for the contents of the document. If a document is an - aggregate of data authored by several providers, then the author will be an - organization. If the data is produced by a device, then the document header - assigned author is the device identified by its unique identifier. If the author - of a section or entry is different than the one identified in the header, then - the author must be identified at the appropriate section or entry. This template - is intended to help implementers assert conformance to mandatory provenance business - requirements. It demonstrates how the General Header Constraints can be further - constraints to ensure that author's email may be included since the email is often the - basis for digital certificates. - - - - - - - One of telecommunication methods for providers could be the email address. - This repeated element may be use to specify telephone numbers and an email - address. The email address may be related to a digital certificate assigned to - the provider for the purpose of facilitating the exchange of secure - email. One occurrence of this element is expected to be email address - of the provider, if applicable. In the case when the data is created by a - device, the email and telephone may be omitted. - <![CDATA[ <telecom - value="mailto:author@email.org" - use="EC"/> ]]> - - - - - - - - - If the data originates from a medical device or equipment, this element will - identify the device by its identifier. This allows the data to be traceable to a - specific device for future analysis and quality controls. - - - - - - - - This information is mandatory if data element is authored by a single provider. If - the data was authored by several members of an organization, then the - "representedOrganization" must be specified in the header and each - provider must be identified at the section or entry level. - - - - - - - - - If this element is not included in the author definition. it will simply mean that - the provider is not associated with a provider organization. Otherwise, this information - is mandatory. - - - - - - - - - - - - - - - - - - - The CDA privacy annotation is a set of security observations that allow for - specific privacy metadata to be identified and assigned to any entry in a - document if that entry overrides or constrains in any way the overall - confidentiality of the document or section or specifies. For instance if a - document is identified as "Restricted" but a specific entry is - of "Normal" confidentiality, a specific SecurityObservation - will be used to set the confidentiality of that entry to - "Normal". Similarly if an entry has additional security handling - or obligations, they may be added using this template to the appropriate - entry. The privacy annotation may contain up to three security - observations to represent confidentiality, purpose of use, obligation, and - refrain policies. Privacy annotations are applied by the senders and processed by the - receiver(s) of the information. - - - - - - - The privacy annotation may contain up to three security observations to represent - confidentiality, purpose of use, obligation, and refrain policies. The confidentiality - is a mandatory component of the PrivacyAnnotation. The confidentialityCode shall be - assigned by the provider or system in accordance with jurisdictional , and - organizational policy. To support scenarios within the use case, there will need to be - some level of organizational policy hierarchy or a policy catalog at some point in the - future that would specify how a system would assign confidentiality codes to particular - data. Prior to any disclosure, the sending system shall be capable of - executing stored procedures based upon request type, destination authorizations, - environmental factors and confidentiality codes to perform privacy enhancing functions - of marking, masking, redaction, anonymization and application of handling - instructions - - - - - - - Zero or more obligation policies may be specified for specific clinical statement in - a PrivacyAnnotation. - - - - - - - Zero or more refrain policies may be specified for specific clinical statement in a - PrivacyAnnotation. - - - - - - - Zero or more purpose of use qualifiers may be specified for specific clinical - statement in a PrivacyAnnotation. - - - - - - - This is a fixed class code for all privacy annotation sets. - - - - - - - - "DEF" is the default since this is a privacy annotation definition - applied to a clinical statement in a section entry. - - - - - - - - - - Default "active" status. - - - - - - - - This CDA template may apply to any section of a C-CDA document if that section - metadata is different than the document's overall. For instance, this template - may be used to ensure that confidentiality levels and provenance information are - specified correctly for each section in the document. - - - - - - - The value may apply a different level of confidentiality to the section than - the document itself; thus, it may not agree with the - clinicalDocument/confidentialityCode element's value. This code should be set - of the level of confidentiality of a section differs from the overall level of - confidentiality of the document. For instance, if the document is set as - "Restricted" but the section contains - "Normal" content, then the section confidentiality code will be set - to "N" -thus indicating content with normal level of - confidentiality. The confidentialityCode shall be assigned by the provider or - system in accordance with jurisdictional and organizational policy. To support - scenarios within the use case, there will need to be some level of - organizational policy hierarchy or a policy catalog at some point in the future - that would specify how a system would assign confidentiality codes to - particular data. Prior to any disclosure, the sending system shall be - capable of executing stored procedures based upon request type, destination - authorizations, environmental factors and confidentiality codes to perform - privacy enhancing functions of marking, masking, redaction, anonymization and - application of handling instructions - - - - - - - - - If the provenance of the section is different than the provenance of the document, - there should be at least one occurence is needed. This information is necessary to establish the provenance of - the section if the author of the section is different than the author of the - document. - - - - - - - - - - - - This CDA template is intended to specify how a document, section, or entry may - be constrained to specify privacy and security markings. This section is intended - to provide a visual indicator to the end-user of the CDA document of security - label values that are required to be displayed including confidentiality codes, - sensitivity of information disclosed to authorized users, integrity status, - purpose of use limitations, obligations, e.g., restricting access and disclosure - to the minimum necessary, and refrain policies such as the 42 CFR Part 2 and - Title 38 Section 7332 prohibition on redisclosures of the content of the - document, section, or entry to which this template is applied without patient - consent. - - - - - - - The section code is specified using LOINC to indicate that the section is - intended. This section should appear first in a document that is intended to - contain protected information subject to re-disclosure restrictions according - to privacy policies. The code indicates that the section reflects the privacy policies - of the sending organization. - - - - - - - - - In C-CDA, this section is optional but is mandatory to any document - containing information protected by specific privacy policies. For example, 42 - CFR Part 2 requires that covered patient information is accompanied by an - explicit notice to the provider receiving the disclosed information. Other - privacy policies may include a similar recommended text or "redisclosure - notice" to the end-users viewing protected information. - - - - - - - - - This entry may specify zero or more PrivacyMarkingEntries that are required to be - rendered in human readable text such as confidentiality, sensitivity, compartment, - privacy law, purpose of use obligation, refrain policy, or integrity codes or associated - policy statements conveying restrictions associated with the use and disclosure of the - information contained in the C-CDA document. - - - - - - - - - - - - - - - This CDA template is an example that demonstrates how the privacy metadata could be - used to represent protected information (e.g. a protected problem "HIV" - may be disclosed with the consent of a patient and carries additional privacy metadata ) . - This example CDA template combines a mandatory provenance and privacy annotations - with the default, C-CDA constraints applied to a ProblemObservation. The - protected problem has two mandatory associations: one to an author to establish - provenance and the second to a privacy annotation to specify confidentiality, - purpose of use, obligation, or refrain policy. This template is an example for - other types of information that is annotated with privacy annotations. - - - - - - - This association is used to specify the provenance of protected data - elements. This information is necessary to establish the provenance of the section if - the author of the problem is different than the author of the section or document that - sets the scope/context for this entry. - - - - - - - - This association is used to specify the privacy annotations associated with - the protected problem. If the problem is protected, then one privacy - annotations are required. The privacy annotations consist of several Security - Observations similar to the Security Label specified in the HL7 HCS standard. - - - - - - - - - - - - - - - This CDA template is used to specify the provenance of an act. observation, etc. in - an entry that contains protected information. This template is intended to help - implementers assert conformance to mandatory provenance business requirements. The entry - "author" is further constrained to ensure that time when the document - was authored is not left "null" by the sender in the case when the - author of the entry differs from the author asserted in the document header. - - - - - - - This association specifies the organization, provider, or medical device that - authored or created the information. - - - - - - - - This element is mandatory to support complete provenance information. - - - - - - - - - - - - - - This CDA template specifies the assigned author (e.g. organization. provider, or - device) that is responsible for the contents of a act, observation. etc. in an - entry. In specific cases the author information is mandatory for complete provenance. This - template is intended to help implementers assert conformance to mandatory provenance - business requirements. This template is used if the author of an entry differs from the - author asserted in the document header. This may be the case when a summary document is - sent on behalf of an organization but individual entries are authored by specific - providers in that provider organization. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This CDA template is used to specify an association to an organizer template that - holds the privacy annotation (represented using a set of SecurityObservation - derived templates). - - - - - - - - - - - - - - - - This CDA entry template reuses a PrivacyAnnotation - a type of security label that - specifies confidentiality, obligation(s), refrain policies, and purpose of use. - It is implemented either using ebXML RegistryClassifications or as CDA Security - Observations and their derived classes. - - - - - - - The PrivacyMarkingEntry is intended to specif a PrivacyAnnotation - a set of - security observations corresponding to confidentiality, obligation, refrain policy, or - purpose of use. This entry may be extended to include other types of security - observation for more elaborate security labels, if needed. - - - - - - - - - - - - - - - - - - - - - This abstract class is a generic represented of a coded privacy annotation - corresponding to confidentiality code, purpose of use, obligation, or refrain policy - code. This is an implementation-neutral representation of healthcare privacy - annotation represented as ebXML RIM metadata (e.g. XDS metadata content profile, - XDM metadata content profile) or CDA templates (e.g. PrivacyAnnotation, - SecurityObservation) or security specifications (e.g. SAML, OAuth). - A system may decide to include specific additional privacy metadata that applies - to data protected by specific policies. If a query for documents is asserting a - purpose of use, then the response should include the purpose of use for which the - documents are allowed. It may include simply the purpose requested or a subset of those - purposes. This approach protects the organization sending the data and makes it more - likely that protected information can be shared if these protections are available. In - other cases, if substance abuse treatment center sending information to another provider - that is not subject to 42CFRPart2, then the sender must specify the obligation to - "not redisclose" the information received because it may not be the - local policy. Simple annotations such as an refrain from redisclsoure can be helpful for - bridging the policy gaps among organization. For all these situations, the receiver of - PHII (e.g. documents, messages) is responsible to meet the conditions privacy annotations - explicitly specified by the sender. The PrivacyBuildingBlock class is a - representation of a security label field in the Security Label specification developed as - described in the HL7 Healthcare Classification System (HCS). This IG includes both - CDA-based and transport-specific representations of the conceptual Security Label - specification. - - - - - - - - - - Coded value of the privacy annotation (e.g. "N" for - "Normal" confidentiality). - - - - - - - - - The OID of the coding system or value set used to encode - - - - - - - - - The value set is a subset of codes in a specific coding system (e.g. HL7 - Confidentiality, LOINC, SNOMED-CT). - - - - - - - - - Display name or label associated with the "code" value (e.g. is - the display name "Normal" for code "N"). - - - - - - - - - This is a textual representation of the code - may include a more extensive privacy - label to shown to the end user. - - - - - - - - - - Implementation-neutral representation of "confidentiality level" - as an encoded metadata in CDA documents, XD* metadata or other transport-specific - metadata or security specifications (e.g. SAML, OAuth). This privacy building - block was constrained for confidentiality levels that meet the needs of the DS4P - project. This type of metadata may be set by a sending system to specify to the receiving - system that the document or message is restricted. The receiving system must persist this - information and refer to it. - - - - - The value set is fixed to the oid of the HL7 Basic Confidentiality Value Set for - confidentiality levels that meet the needs of the DS4P project. - - - - - - - - - This attribute is fixed to "HL7 BasicConfidentialityKind" for - confidentiality levels that meet the needs of the DS4P project. - - - - - - - - - - Implementation-neutral representation of "purpose of use" as - an encoded metadata in CDA documents, XD* metadata or other transport-specific - metadata or security specifications (e.g. SAML, OAuth). This privacy building - block was constrained for purpose of use codes that meet the needs of the DS4P - project. This type of metadata may be set by a sending system to specify to the receiving - system that the document or message is intended for a specific purpose. The receiving - system must persist this information and refer to it if a purpose of use is asserted by - another system requesting this information. This type of security label field is - referenced by the HL7 HCS specification as a "handling caveat" because - is sets specific handling condition on the receiver of the data. - - - - - The value set is fixed to the oid of the HL7 Purpose of Use for "purpose of - use" metadata that meet the needs of the DS4P project. - - - - - - - - - This attribute is fixed to "HL7 Purpose of Use" for - "purpose of use" codes that meet the needs of the DS4P project. - - - - - - - - - - Implementation-neutral representation of "refrain policy" as - an encoded metadata in CDA documents, XD* metadata or other transport-specific - metadata or security specifications (e.g. SAML, OAuth). This privacy building - block was constrained for refrain policy codes that meet the needs of the DS4P - project. This type of metadata may be set by a sending system to specify to the receiving - system that the document or message may be association with some condition to refrain from - some operation. The receiving system must persist this information and refer to it if - another system requesting this information. The refrain policy may limit the re-disclosure - - for instance requiring that the system must ensure the patient has consented to the - secondary disclosure. This type of security label field is referenced by the HL7 HCS - specification as a "handling caveat" because is sets specific handling - condition on the receiver of the data. - - - - - This value is fixed to "2.16.840.1.113883.1.11.20446" - corresponding to the HL7 Refrain Policy Code Value set. - - - - - - - - - This value is fixed to "HL7 Refrain Policy Code" value set. - - - - - - - - - - Implementation-neutral representation of "obligation policy" as - an encoded metadata in CDA documents, XD* metadata or other transport-specific - metadata or security specifications (e.g. SAML, OAuth). This privacy building - block was constrained for obligation policy codes that meet the needs of the DS4P - project. This type of metadata may be set by a sending system to specify to the receiving - system that the document or message is associated with specific obligations. The receiving - system must persist this information and refer to it. This type of security label field is - referenced by the HL7 HCS specification as a "handling caveat" because - is sets specific handling condition on the receiver of the data. - - - - - This value is fixed to "2.16.840.1.113883.1.11.20445" - corresponding to the HL7 Obligation Policy Code Value set. - - - - - - - - - This value is fixed to "HL7 Obligation Policy Code" value - set. - - - - - - - - - - This template is constrains the Security Observation to specify a - "confidentiality code". This template reuses the SecurityObservation - implementing the HL7 Healthcare Security Classification (HCS) standard. - - - - - Type of security metadata observation made about the category of an IT resource - (data, information object, service, or system capability), which may be used to make - access control decisions. Security category metadata is defined by ISO/IEC - 2382-8:1998(E/F)/ T-REC-X.812-1995 as: "A non hierarchical grouping of - sensitive information used to control access to data more finely than with hierarchical - security classification alone." Rationale: A security - category observation supports requirement to specify the type of IT resource to - facilitate application of appropriate levels of information security according to a - range of levels of impact or consequences that might result from the unauthorized - disclosure, modification, or use of the information or information system. A resource is - assigned to a specific category of information (e.g., privacy, medical, proprietary, - financial, investigative, contractor sensitive, security management) defined by an - organization or in some instances, by a specific law, Executive Order, directive, - policy, or regulation. [FIPS 199] - - - - - - This value is extended beyond the BasicConfidentialityKind to allow for all the - codes associated with confidentiality levels. - - - - - - - - - This template is used to specify an security observation associated with an - information type specified in the privacy consent document or information instance that - appears in a CDA document. A security observation is an abstract template intended to - specialized for use to indicate a security classification, control, category, or integrity - criterion. - - - - - - - A security observation specifies a field in a security label rather than a typical - clinical observation. It provides a way of expressing privacy metadata associated with - specific clinical statements included in a document section. - - - - - - - - The code identifies the observation as a security observation using a static - terminology binding. - - - - - - - The value specifies the security observation value that may be further constrained - for various subclasses/specializations. - - - - - - - - - - This template is constrains the Security Observation to specify a "refrain - policy code". This template reuses the SecurityObservation implementing the HL7 - Healthcare Security Classification (HCS) standard. - - - - - This element specifies the type of security metadata observation made about the - control of an IT resource (data, information object, service, or system capability), - which may be used to make access control decisions. Security control metadata convey - instructions to users and receivers for secure distribution, transmission,and storage; - dictate obligations or mandated actions; specify any action prohibited by refrain policy - such as dissemination controls; and stipulate the permissible purpose of use of an IT - resource. - - - - - - This attribute specifies a type of refrain policy, specifically. - - - - - - - - - This template is constrains the Security Observation to specify a "purpose of - use". This template reuses the SecurityObservation implementing the HL7 - Healthcare Security Classification (HCS) standard. - - - - - This element constrains the SecurityObservation code to allow only for - "Security Control" observation types. - - - - - - The value is constrained to support only the codes associated with the Purpose of - Use Value set. - - - - - - - - - - - - - - - - CONF-DS4P-1 - - - CONF:5444 - - - CONF:16791 - - - CONF:16792 - - - CONF:5428 - - - CONF:5449 - - - CONF:5450 - - - CONF:5451 - - - CONF:5454 - - - CONF:5453 - - - CONF-DS4P-2 - - - CONF-DS4P-3 - - - CONF-DS4P-4 - - - - CONF:16833 - - - CONF:16834 - - - CONF:5460 - - - CONF:5456 - - - - CONF:5457 - - - CONF:5461 - - - CONF-DS4P-10 - - - CONF:9056 - - - CONF:9051 - - - CONF:16835 - - - - CONF:16836 - - - CONF:9059 - - - CONF-DS4P-5 - - - CONF:9053 - - - CONF:9054 - - - CONF:9041 - - - - CONF:9045 - - - CONF:9060 - - - CONF:9050 - - - CONF:9043 - - - - CONF:16831 - - - - CONF:9049 - - - - CONF:9058 - - - - - CONF:9061 - - - CONF:9062 - - - CONF:9063 - - - CONF:14889 - - - CONF:14891 - - - CONF:9060 - - - CONF:9064 - - - CONF-DS4P-6 - - - CONF-DS4P-7 - - - CONF-DS4P-8 - - - CONF:14890 - - - CONF:14892 - - - CONF-DS4P-15 - - - CONF-DS4P-9 - - - CONF:14893 - - - - - CONF:16788 - - - CONF:16787 - - - CONF:16789 - - - - CONF:16790 - - - CONF:16829 - - - CONF:16830 - - - - CONF:16795 - - - CONF:16796 - - - CONF:16799 - - - CONF:16797 - - - CONF:16798 - - - CONF:16800 - - - CONF:16804 - - - CONF:16802 - - - CONF:16801 - - - CONF:16803 - - - CONF:16813 - - - CONF:16809 - - - CONF:16810 - - - CONF:16811 - - - CONF:16812 - - - CONF:16814 - - - CONF:16815 - - - CONF:16816 - - - CONF:16817 - - - CONF:16818 - - - CONF:16819 - - - CONF:16820 - - - CONF:16821 - - - - - - - - CONF-CD-12 - - - CONF:14841 - - - - CONF:14888 - - - CONF:9074 - - - CONF-CD-21 - - - CONF:14899 - - - CONF:16837 - - - - CONF:16838 - - - CONF:16839 - - - - CONF:16840 - - - CONF:16841 - - - CONF-CD-23 - - - CONF:14841 - - - - CONF:14885 - - - CONF:9134 - - - - CONF:9135 - - - CONF-CD-14 - - - CONF:14841 - - - - CONF:14886 - - - CONF:9136 - - - - CONF:9137 - - - CONF:16828 - - - CONF:16826 - - - CONF:16824 - - - CONF-CD-22 - - - CONF:14841 - - - - CONF:14883 - - - CONF:9074 - - - - CONF:14888 - - - CONF:16831 - - - CONF:16832 - - - - CONF:14850 - - + + + + + This model describe the constraints applied to a Consolidated CDA (C-CDA) + document instance to support the requirements of the DS4P project as specified in + the project use cases. This profile includes the main reusable building blocks for + privacy metadata that applies to the document sharing metadata (e.g. XDS metadata, XDM + metadata) specified by IHE ITI Framework. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This CDA document template may be applied to any document type that is the result of + segmentation. Is specifies that the document may contain sections and entries + modified to specify the privacy annotations intended to assist a receiving + systems to process the information contained in the document in a way consistent + with applicable privacy policies. If the information does not contain any additional + section or entry-level annotations, the sender needs ot enforce the requirements to + identify the author of the document, section, or entry if the context conduction requires + it (i.e. if the author of the section is different than the author of the document or the + author of the entry is different than the author of the section). + + + + The privacy segmented document is expected to implement the constraints consistent + with the General Header. + + + + + + The author of the document is the individual provider or the organization + that originates the document. If the document is an aggregate of several + provider's input, then this author information will be overwritten at the + section and entry level to identify the actual author of the section or entry. + This constrain is intended ensure this element is not null. This information is + necessary to establish the provenance of the document. + + + + + + + + This association specifies the Privacy and Security Markings section. This may be + the first section of a segmented document, if policy requires it. In those cases when + the policy requires that the user view and/or acknowledge specific prohibitions against + redisclosure, the receiving system capabilities to display and use these marking will be + validated in addition to its interoperability. + + + + + + + The document may contain several sections constrained specifically to + support protected information. If the information does not require privacy + annotations different than those already specified in the document header, then a + document instance may not include segmented sections. + + + + + + + + + + + This template is constrains the Security Observation to specify a "obligation + policy code". This template reuses the SecurityObservation implementing the HL7 + Healthcare Security Classification (HCS) standard. + + + + + + + + This attribute specifies a type of obligation policy, specifically. + + + + + + + + + This CDA template is used to specify the mandatory elements of the + "author" structure in the header of a CDA document. The + "author" is used to specify the provenance of the document. Often, + if the document contents is authored by several providers, the header may specify + only the organization while the section and entry may specify the actual + providers responsible for the section and entry contents. Typically, if author + specified in the header is not responsible for all the sections and entries in + the document, then the "author" associated with those entries + must be specified. This template is intended to help implementers assert conformance to + mandatory provenance business requirements. It demonstrates how the General Header + Constraints can be further constraints to ensure that time when the document was authored + is not left "null". + + + + + + + + + + + + This date/time is mandatory and may not be left "null" by the + sender. + + + + + + + + + + + This CDA template is used to specify the actual person, organization, and/or + device responsible for the contents of the document. If a document is an + aggregate of data authored by several providers, then the author will be an + organization. If the data is produced by a device, then the document header + assigned author is the device identified by its unique identifier. If the author + of a section or entry is different than the one identified in the header, then + the author must be identified at the appropriate section or entry. This template + is intended to help implementers assert conformance to mandatory provenance business + requirements. It demonstrates how the General Header Constraints can be further + constraints to ensure that author's email may be included since the email is often the + basis for digital certificates. + + + + + + + One of telecommunication methods for providers could be the email address. + This repeated element may be use to specify telephone numbers and an email + address. The email address may be related to a digital certificate assigned to + the provider for the purpose of facilitating the exchange of secure + email. One occurrence of this element is expected to be email address + of the provider, if applicable. In the case when the data is created by a + device, the email and telephone may be omitted. + <![CDATA[ <telecom + value="mailto:author@email.org" + use="EC"/> ]]> + + + + + + + + + If the data originates from a medical device or equipment, this element will + identify the device by its identifier. This allows the data to be traceable to a + specific device for future analysis and quality controls. + + + + + + + + This information is mandatory if data element is authored by a single provider. If + the data was authored by several members of an organization, then the + "representedOrganization" must be specified in the header and each + provider must be identified at the section or entry level. + + + + + + + + + If this element is not included in the author definition. it will simply mean that + the provider is not associated with a provider organization. Otherwise, this information + is mandatory. + + + + + + + + + + + + + + + + + + + The CDA privacy annotation is a set of security observations that allow for + specific privacy metadata to be identified and assigned to any entry in a + document if that entry overrides or constrains in any way the overall + confidentiality of the document or section or specifies. For instance if a + document is identified as "Restricted" but a specific entry is + of "Normal" confidentiality, a specific SecurityObservation + will be used to set the confidentiality of that entry to + "Normal". Similarly if an entry has additional security handling + or obligations, they may be added using this template to the appropriate + entry. The privacy annotation may contain up to three security + observations to represent confidentiality, purpose of use, obligation, and + refrain policies. Privacy annotations are applied by the senders and processed by the + receiver(s) of the information. + + + + + + + The privacy annotation may contain up to three security observations to represent + confidentiality, purpose of use, obligation, and refrain policies. The confidentiality + is a mandatory component of the PrivacyAnnotation. The confidentialityCode shall be + assigned by the provider or system in accordance with jurisdictional , and + organizational policy. To support scenarios within the use case, there will need to be + some level of organizational policy hierarchy or a policy catalog at some point in the + future that would specify how a system would assign confidentiality codes to particular + data. Prior to any disclosure, the sending system shall be capable of + executing stored procedures based upon request type, destination authorizations, + environmental factors and confidentiality codes to perform privacy enhancing functions + of marking, masking, redaction, anonymization and application of handling + instructions + + + + + + + Zero or more obligation policies may be specified for specific clinical statement in + a PrivacyAnnotation. + + + + + + + Zero or more refrain policies may be specified for specific clinical statement in a + PrivacyAnnotation. + + + + + + + Zero or more purpose of use qualifiers may be specified for specific clinical + statement in a PrivacyAnnotation. + + + + + + + This is a fixed class code for all privacy annotation sets. + + + + + + + + "DEF" is the default since this is a privacy annotation definition + applied to a clinical statement in a section entry. + + + + + + + + + + Default "active" status. + + + + + + + + This CDA template may apply to any section of a C-CDA document if that section + metadata is different than the document's overall. For instance, this template + may be used to ensure that confidentiality levels and provenance information are + specified correctly for each section in the document. + + + + + + + The value may apply a different level of confidentiality to the section than + the document itself; thus, it may not agree with the + clinicalDocument/confidentialityCode element's value. This code should be set + of the level of confidentiality of a section differs from the overall level of + confidentiality of the document. For instance, if the document is set as + "Restricted" but the section contains + "Normal" content, then the section confidentiality code will be set + to "N" -thus indicating content with normal level of + confidentiality. The confidentialityCode shall be assigned by the provider or + system in accordance with jurisdictional and organizational policy. To support + scenarios within the use case, there will need to be some level of + organizational policy hierarchy or a policy catalog at some point in the future + that would specify how a system would assign confidentiality codes to + particular data. Prior to any disclosure, the sending system shall be + capable of executing stored procedures based upon request type, destination + authorizations, environmental factors and confidentiality codes to perform + privacy enhancing functions of marking, masking, redaction, anonymization and + application of handling instructions + + + + + + + + + If the provenance of the section is different than the provenance of the document, + there should be at least one occurence is needed. This information is necessary to establish the provenance of + the section if the author of the section is different than the author of the + document. + + + + + + + + + + + + This CDA template is intended to specify how a document, section, or entry may + be constrained to specify privacy and security markings. This section is intended + to provide a visual indicator to the end-user of the CDA document of security + label values that are required to be displayed including confidentiality codes, + sensitivity of information disclosed to authorized users, integrity status, + purpose of use limitations, obligations, e.g., restricting access and disclosure + to the minimum necessary, and refrain policies such as the 42 CFR Part 2 and + Title 38 Section 7332 prohibition on redisclosures of the content of the + document, section, or entry to which this template is applied without patient + consent. + + + + + + + The section code is specified using LOINC to indicate that the section is + intended. This section should appear first in a document that is intended to + contain protected information subject to re-disclosure restrictions according + to privacy policies. The code indicates that the section reflects the privacy policies + of the sending organization. + + + + + + + + + In C-CDA, this section is optional but is mandatory to any document + containing information protected by specific privacy policies. For example, 42 + CFR Part 2 requires that covered patient information is accompanied by an + explicit notice to the provider receiving the disclosed information. Other + privacy policies may include a similar recommended text or "redisclosure + notice" to the end-users viewing protected information. + + + + + + + + + This entry may specify zero or more PrivacyMarkingEntries that are required to be + rendered in human readable text such as confidentiality, sensitivity, compartment, + privacy law, purpose of use obligation, refrain policy, or integrity codes or associated + policy statements conveying restrictions associated with the use and disclosure of the + information contained in the C-CDA document. + + + + + + + + + + + + + + + This CDA template is an example that demonstrates how the privacy metadata could be + used to represent protected information (e.g. a protected problem "HIV" + may be disclosed with the consent of a patient and carries additional privacy metadata ) . + This example CDA template combines a mandatory provenance and privacy annotations + with the default, C-CDA constraints applied to a ProblemObservation. The + protected problem has two mandatory associations: one to an author to establish + provenance and the second to a privacy annotation to specify confidentiality, + purpose of use, obligation, or refrain policy. This template is an example for + other types of information that is annotated with privacy annotations. + + + + + + + This association is used to specify the provenance of protected data + elements. This information is necessary to establish the provenance of the section if + the author of the problem is different than the author of the section or document that + sets the scope/context for this entry. + + + + + + + + This association is used to specify the privacy annotations associated with + the protected problem. If the problem is protected, then one privacy + annotations are required. The privacy annotations consist of several Security + Observations similar to the Security Label specified in the HL7 HCS standard. + + + + + + + + + + + + + + + This CDA template is used to specify the provenance of an act. observation, etc. in + an entry that contains protected information. This template is intended to help + implementers assert conformance to mandatory provenance business requirements. The entry + "author" is further constrained to ensure that time when the document + was authored is not left "null" by the sender in the case when the + author of the entry differs from the author asserted in the document header. + + + + + + + This association specifies the organization, provider, or medical device that + authored or created the information. + + + + + + + + This element is mandatory to support complete provenance information. + + + + + + + + + + + + + + This CDA template specifies the assigned author (e.g. organization. provider, or + device) that is responsible for the contents of a act, observation. etc. in an + entry. In specific cases the author information is mandatory for complete provenance. This + template is intended to help implementers assert conformance to mandatory provenance + business requirements. This template is used if the author of an entry differs from the + author asserted in the document header. This may be the case when a summary document is + sent on behalf of an organization but individual entries are authored by specific + providers in that provider organization. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This CDA template is used to specify an association to an organizer template that + holds the privacy annotation (represented using a set of SecurityObservation + derived templates). + + + + + + + + + + + + + + + + This CDA entry template reuses a PrivacyAnnotation - a type of security label that + specifies confidentiality, obligation(s), refrain policies, and purpose of use. + It is implemented either using ebXML RegistryClassifications or as CDA Security + Observations and their derived classes. + + + + + + + The PrivacyMarkingEntry is intended to specif a PrivacyAnnotation - a set of + security observations corresponding to confidentiality, obligation, refrain policy, or + purpose of use. This entry may be extended to include other types of security + observation for more elaborate security labels, if needed. + + + + + + + + + + + + + + + + + + + + + This abstract class is a generic represented of a coded privacy annotation + corresponding to confidentiality code, purpose of use, obligation, or refrain policy + code. This is an implementation-neutral representation of healthcare privacy + annotation represented as ebXML RIM metadata (e.g. XDS metadata content profile, + XDM metadata content profile) or CDA templates (e.g. PrivacyAnnotation, + SecurityObservation) or security specifications (e.g. SAML, OAuth). + A system may decide to include specific additional privacy metadata that applies + to data protected by specific policies. If a query for documents is asserting a + purpose of use, then the response should include the purpose of use for which the + documents are allowed. It may include simply the purpose requested or a subset of those + purposes. This approach protects the organization sending the data and makes it more + likely that protected information can be shared if these protections are available. In + other cases, if substance abuse treatment center sending information to another provider + that is not subject to 42CFRPart2, then the sender must specify the obligation to + "not redisclose" the information received because it may not be the + local policy. Simple annotations such as an refrain from redisclsoure can be helpful for + bridging the policy gaps among organization. For all these situations, the receiver of + PHII (e.g. documents, messages) is responsible to meet the conditions privacy annotations + explicitly specified by the sender. The PrivacyBuildingBlock class is a + representation of a security label field in the Security Label specification developed as + described in the HL7 Healthcare Classification System (HCS). This IG includes both + CDA-based and transport-specific representations of the conceptual Security Label + specification. + + + + + + + + + + Coded value of the privacy annotation (e.g. "N" for + "Normal" confidentiality). + + + + + + + + + The OID of the coding system or value set used to encode + + + + + + + + + The value set is a subset of codes in a specific coding system (e.g. HL7 + Confidentiality, LOINC, SNOMED-CT). + + + + + + + + + Display name or label associated with the "code" value (e.g. is + the display name "Normal" for code "N"). + + + + + + + + + This is a textual representation of the code - may include a more extensive privacy + label to shown to the end user. + + + + + + + + + + Implementation-neutral representation of "confidentiality level" + as an encoded metadata in CDA documents, XD* metadata or other transport-specific + metadata or security specifications (e.g. SAML, OAuth). This privacy building + block was constrained for confidentiality levels that meet the needs of the DS4P + project. This type of metadata may be set by a sending system to specify to the receiving + system that the document or message is restricted. The receiving system must persist this + information and refer to it. + + + + + The value set is fixed to the oid of the HL7 Basic Confidentiality Value Set for + confidentiality levels that meet the needs of the DS4P project. + + + + + + + + + This attribute is fixed to "HL7 BasicConfidentialityKind" for + confidentiality levels that meet the needs of the DS4P project. + + + + + + + + + + Implementation-neutral representation of "purpose of use" as + an encoded metadata in CDA documents, XD* metadata or other transport-specific + metadata or security specifications (e.g. SAML, OAuth). This privacy building + block was constrained for purpose of use codes that meet the needs of the DS4P + project. This type of metadata may be set by a sending system to specify to the receiving + system that the document or message is intended for a specific purpose. The receiving + system must persist this information and refer to it if a purpose of use is asserted by + another system requesting this information. This type of security label field is + referenced by the HL7 HCS specification as a "handling caveat" because + is sets specific handling condition on the receiver of the data. + + + + + The value set is fixed to the oid of the HL7 Purpose of Use for "purpose of + use" metadata that meet the needs of the DS4P project. + + + + + + + + + This attribute is fixed to "HL7 Purpose of Use" for + "purpose of use" codes that meet the needs of the DS4P project. + + + + + + + + + + Implementation-neutral representation of "refrain policy" as + an encoded metadata in CDA documents, XD* metadata or other transport-specific + metadata or security specifications (e.g. SAML, OAuth). This privacy building + block was constrained for refrain policy codes that meet the needs of the DS4P + project. This type of metadata may be set by a sending system to specify to the receiving + system that the document or message may be association with some condition to refrain from + some operation. The receiving system must persist this information and refer to it if + another system requesting this information. The refrain policy may limit the re-disclosure + - for instance requiring that the system must ensure the patient has consented to the + secondary disclosure. This type of security label field is referenced by the HL7 HCS + specification as a "handling caveat" because is sets specific handling + condition on the receiver of the data. + + + + + This value is fixed to "2.16.840.1.113883.1.11.20446" + corresponding to the HL7 Refrain Policy Code Value set. + + + + + + + + + This value is fixed to "HL7 Refrain Policy Code" value set. + + + + + + + + + + Implementation-neutral representation of "obligation policy" as + an encoded metadata in CDA documents, XD* metadata or other transport-specific + metadata or security specifications (e.g. SAML, OAuth). This privacy building + block was constrained for obligation policy codes that meet the needs of the DS4P + project. This type of metadata may be set by a sending system to specify to the receiving + system that the document or message is associated with specific obligations. The receiving + system must persist this information and refer to it. This type of security label field is + referenced by the HL7 HCS specification as a "handling caveat" because + is sets specific handling condition on the receiver of the data. + + + + + This value is fixed to "2.16.840.1.113883.1.11.20445" + corresponding to the HL7 Obligation Policy Code Value set. + + + + + + + + + This value is fixed to "HL7 Obligation Policy Code" value + set. + + + + + + + + + + This template is constrains the Security Observation to specify a + "confidentiality code". This template reuses the SecurityObservation + implementing the HL7 Healthcare Security Classification (HCS) standard. + + + + + Type of security metadata observation made about the category of an IT resource + (data, information object, service, or system capability), which may be used to make + access control decisions. Security category metadata is defined by ISO/IEC + 2382-8:1998(E/F)/ T-REC-X.812-1995 as: "A non hierarchical grouping of + sensitive information used to control access to data more finely than with hierarchical + security classification alone." Rationale: A security + category observation supports requirement to specify the type of IT resource to + facilitate application of appropriate levels of information security according to a + range of levels of impact or consequences that might result from the unauthorized + disclosure, modification, or use of the information or information system. A resource is + assigned to a specific category of information (e.g., privacy, medical, proprietary, + financial, investigative, contractor sensitive, security management) defined by an + organization or in some instances, by a specific law, Executive Order, directive, + policy, or regulation. [FIPS 199] + + + + + + This value is extended beyond the BasicConfidentialityKind to allow for all the + codes associated with confidentiality levels. + + + + + + + + + This template is used to specify an security observation associated with an + information type specified in the privacy consent document or information instance that + appears in a CDA document. A security observation is an abstract template intended to + specialized for use to indicate a security classification, control, category, or integrity + criterion. + + + + + + + A security observation specifies a field in a security label rather than a typical + clinical observation. It provides a way of expressing privacy metadata associated with + specific clinical statements included in a document section. + + + + + + + + The code identifies the observation as a security observation using a static + terminology binding. + + + + + + + The value specifies the security observation value that may be further constrained + for various subclasses/specializations. + + + + + + + + + + This template is constrains the Security Observation to specify a "refrain + policy code". This template reuses the SecurityObservation implementing the HL7 + Healthcare Security Classification (HCS) standard. + + + + + This element specifies the type of security metadata observation made about the + control of an IT resource (data, information object, service, or system capability), + which may be used to make access control decisions. Security control metadata convey + instructions to users and receivers for secure distribution, transmission,and storage; + dictate obligations or mandated actions; specify any action prohibited by refrain policy + such as dissemination controls; and stipulate the permissible purpose of use of an IT + resource. + + + + + + This attribute specifies a type of refrain policy, specifically. + + + + + + + + + This template is constrains the Security Observation to specify a "purpose of + use". This template reuses the SecurityObservation implementing the HL7 + Healthcare Security Classification (HCS) standard. + + + + + This element constrains the SecurityObservation code to allow only for + "Security Control" observation types. + + + + + + The value is constrained to support only the codes associated with the Purpose of + Use Value set. + + + + + + + + + + + + + + + + CONF-DS4P-1 + + + CONF:5444 + + + CONF:16791 + + + CONF:16792 + + + CONF:5428 + + + CONF:5449 + + + CONF:5450 + + + CONF:5451 + + + CONF:5454 + + + CONF:5453 + + + CONF-DS4P-2 + + + CONF-DS4P-3 + + + CONF-DS4P-4 + + + + CONF:16833 + + + CONF:16834 + + + CONF:5460 + + + CONF:5456 + + + + CONF:5457 + + + CONF:5461 + + + CONF-DS4P-10 + + + CONF:9056 + + + CONF:9051 + + + CONF:16835 + + + + CONF:16836 + + + CONF:9059 + + + CONF-DS4P-5 + + + CONF:9053 + + + CONF:9054 + + + CONF:9041 + + + + CONF:9045 + + + CONF:9060 + + + CONF:9050 + + + CONF:9043 + + + + CONF:16831 + + + + CONF:9049 + + + + CONF:9058 + + + + + CONF:9061 + + + CONF:9062 + + + CONF:9063 + + + CONF:14889 + + + CONF:14891 + + + CONF:9060 + + + CONF:9064 + + + CONF-DS4P-6 + + + CONF-DS4P-7 + + + CONF-DS4P-8 + + + CONF:14890 + + + CONF:14892 + + + CONF-DS4P-15 + + + CONF-DS4P-9 + + + CONF:14893 + + + + + CONF:16788 + + + CONF:16787 + + + CONF:16789 + + + + CONF:16790 + + + CONF:16829 + + + CONF:16830 + + + + CONF:16795 + + + CONF:16796 + + + CONF:16799 + + + CONF:16797 + + + CONF:16798 + + + CONF:16800 + + + CONF:16804 + + + CONF:16802 + + + CONF:16801 + + + CONF:16803 + + + CONF:16813 + + + CONF:16809 + + + CONF:16810 + + + CONF:16811 + + + CONF:16812 + + + CONF:16814 + + + CONF:16815 + + + CONF:16816 + + + CONF:16817 + + + CONF:16818 + + + CONF:16819 + + + CONF:16820 + + + CONF:16821 + + + + + + + + CONF-CD-12 + + + CONF:14841 + + + + CONF:14888 + + + CONF:9074 + + + CONF-CD-21 + + + CONF:14899 + + + CONF:16837 + + + + CONF:16838 + + + CONF:16839 + + + + CONF:16840 + + + CONF:16841 + + + CONF-CD-23 + + + CONF:14841 + + + + CONF:14885 + + + CONF:9134 + + + + CONF:9135 + + + CONF-CD-14 + + + CONF:14841 + + + + CONF:14886 + + + CONF:9136 + + + + CONF:9137 + + + CONF:16828 + + + CONF:16826 + + + CONF:16824 + + + CONF-CD-22 + + + CONF:14841 + + + + CONF:14883 + + + CONF:9074 + + + + CONF:14888 + + + CONF:16831 + + + CONF:16832 + + + + CONF:14850 + + diff --git a/models/org.openhealthtools.mdht.uml.cda.ccd.model/model/.modelStatus b/models/org.openhealthtools.mdht.uml.cda.ccd.model/model/.modelStatus new file mode 100644 index 0000000000..bf0d87ab1b --- /dev/null +++ b/models/org.openhealthtools.mdht.uml.cda.ccd.model/model/.modelStatus @@ -0,0 +1 @@ +4 \ No newline at end of file diff --git a/pom.xml b/pom.xml index 81485944a9..7ebf97b5af 100644 --- a/pom.xml +++ b/pom.xml @@ -8,9 +8,24 @@ pom - 1.0.0 + + 1.7.0 + 1.7.0 + scm:git:git://git.eclipse.org/gitroot/mdht/org.eclipse.mdht + 1.1.2 + 3.0.1 + 2.7.3 + 1.7 + 1.7 + 2.4.0-SNAPSHOT + false + true + true + 1.7 + 1.7 + 3.0.1 - 2.10.4 + 3.2.0 3.0.0 3.0.0 UTF-8 @@ -21,15 +36,15 @@ - neon + oxygen p2 - http://download.eclipse.org/releases/neon + http://download.eclipse.org/releases/oxygen - mdht-neon + mdht-nightly p2 - https://hudson.eclipse.org/mdht/job/MDHT-master/lastSuccessfulBuild/artifact/repository + http://download.eclipse.org/mdht/nightly @@ -65,7 +80,18 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.0.1 + 3.2.0 + + + attach-javadocs + + jar + + + -Xdoclint:none + + + @@ -104,9 +130,9 @@ - neon + oxygen p2 - http://download.eclipse.org/releases/neon + http://download.eclipse.org/releases/oxygen diff --git a/releng/setups/.project b/releng/setups/.project new file mode 100644 index 0000000000..3a456748a4 --- /dev/null +++ b/releng/setups/.project @@ -0,0 +1,11 @@ + + + setups + + + + + + + + diff --git a/tests/.DS_Store b/tests/.DS_Store new file mode 100644 index 0000000000..f0bb151b02 Binary files /dev/null and b/tests/.DS_Store differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/CONSENTDIRECTIVEExample.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/CONSENTDIRECTIVEExample.class index f7caf26b5a..0e967eb424 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/CONSENTDIRECTIVEExample.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/CONSENTDIRECTIVEExample.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/CONSENTDIRECTIVETests.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/CONSENTDIRECTIVETests.class index 115f0a1b3c..56e6c77526 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/CONSENTDIRECTIVETests.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/CONSENTDIRECTIVETests.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ComputablePolicyConsentTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ComputablePolicyConsentTest.class index 50294625a0..0bc381bf40 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ComputablePolicyConsentTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ComputablePolicyConsentTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ConfidentialitySecurityObservationTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ConfidentialitySecurityObservationTest.class index 8748937a2e..b6d61e2a57 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ConfidentialitySecurityObservationTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ConfidentialitySecurityObservationTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ConsentActionTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ConsentActionTest.class index dd911340ca..51e53b3ebb 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ConsentActionTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ConsentActionTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ConsentDirectiveEntryTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ConsentDirectiveEntryTest.class index 1eb8e4a6e1..8a085f9872 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ConsentDirectiveEntryTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ConsentDirectiveEntryTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ConsentDirectiveStructuredDefinitionTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ConsentDirectiveStructuredDefinitionTest.class index 9fd9e52647..fc9ab5959d 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ConsentDirectiveStructuredDefinitionTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ConsentDirectiveStructuredDefinitionTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/CriteriumInformationDefinitionTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/CriteriumInformationDefinitionTest.class index 3783f52d3e..cfea4f207e 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/CriteriumInformationDefinitionTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/CriteriumInformationDefinitionTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/CriteriumRelatedProtectedProblemTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/CriteriumRelatedProtectedProblemTest.class index 2b4ad99e28..bc24bac744 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/CriteriumRelatedProtectedProblemTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/CriteriumRelatedProtectedProblemTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/IIHIReceivingProviderTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/IIHIReceivingProviderTest.class index c198c532ea..b0e1395261 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/IIHIReceivingProviderTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/IIHIReceivingProviderTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/InformationCriteriaReferencesOrganizerTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/InformationCriteriaReferencesOrganizerTest.class index 5664f934be..c93d7d17c2 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/InformationCriteriaReferencesOrganizerTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/InformationCriteriaReferencesOrganizerTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ObligationPolicySecurityObservationTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ObligationPolicySecurityObservationTest.class index 2e7547bf89..8747eba202 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ObligationPolicySecurityObservationTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ObligationPolicySecurityObservationTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentDetailsSectionTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentDetailsSectionTest.class index a1dd5f6f7d..c1539a1475 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentDetailsSectionTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentDetailsSectionTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentDirectiveDocumentTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentDirectiveDocumentTest.class index 783d27594c..552041e29e 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentDirectiveDocumentTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentDirectiveDocumentTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentHeaderAuthorTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentHeaderAuthorTest.class index 8866064fd5..ca1911b209 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentHeaderAuthorTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentHeaderAuthorTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentHeaderDocumentationOfServiceEventTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentHeaderDocumentationOfServiceEventTest.class index c664b691d9..d556b0dc80 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentHeaderDocumentationOfServiceEventTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentHeaderDocumentationOfServiceEventTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentHeaderDocumentationOfTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentHeaderDocumentationOfTest.class index c76c42a028..a7dc6a66ec 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentHeaderDocumentationOfTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PrivacyConsentHeaderDocumentationOfTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PurposeOfUseSecurityObservationTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PurposeOfUseSecurityObservationTest.class index 4dd426a09c..9e8f0bc24a 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PurposeOfUseSecurityObservationTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/PurposeOfUseSecurityObservationTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/RefrainPolicySecurityObservationTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/RefrainPolicySecurityObservationTest.class index 5cd9a492d8..6f50072a46 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/RefrainPolicySecurityObservationTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/RefrainPolicySecurityObservationTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ScannedPrivacyConsentTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ScannedPrivacyConsentTest.class index 56c42d22f2..65fef6f111 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ScannedPrivacyConsentTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/ScannedPrivacyConsentTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SecurityLabelTest$ObjectFactory.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SecurityLabelTest$ObjectFactory.class index 21fa5f3fa6..e04f6e44d0 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SecurityLabelTest$ObjectFactory.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SecurityLabelTest$ObjectFactory.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SecurityLabelTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SecurityLabelTest.class index 15b600c6ef..a8317292a9 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SecurityLabelTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SecurityLabelTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SecurityObservationTest$ObjectFactory.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SecurityObservationTest$ObjectFactory.class index 52a3e1a920..88cfe78c53 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SecurityObservationTest$ObjectFactory.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SecurityObservationTest$ObjectFactory.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SecurityObservationTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SecurityObservationTest.class index bf5ea8dd67..1a9dda15c4 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SecurityObservationTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SecurityObservationTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SignatureImageEntryTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SignatureImageEntryTest.class index e4a8ab0620..652bcdaa0d 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SignatureImageEntryTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SignatureImageEntryTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SignatureImageObservationTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SignatureImageObservationTest.class index 43747a25b8..b5e38a2b2b 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SignatureImageObservationTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SignatureImageObservationTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SignaturesSectionTest.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SignaturesSectionTest.class index e913f47248..ffaff88031 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SignaturesSectionTest.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/SignaturesSectionTest.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/consentdirective_EcoreAllTests.class b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/consentdirective_EcoreAllTests.class index 08e8dcb584..7555a28f91 100644 Binary files a/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/consentdirective_EcoreAllTests.class and b/tests/org.hl7.cbcc.privacy.consentdirective.tests/bin/org/hl7/cbcc/privacy/consentdirective/tests/consentdirective_EcoreAllTests.class differ diff --git a/tests/org.hl7.cbcc.privacy.consentdirective.tests/pom.xml b/tests/org.hl7.cbcc.privacy.consentdirective.tests/pom.xml new file mode 100644 index 0000000000..7a5958c3e2 --- /dev/null +++ b/tests/org.hl7.cbcc.privacy.consentdirective.tests/pom.xml @@ -0,0 +1,128 @@ + + + 4.0.0 + + + + org.openhealthtools.mdht.cda + org.openhealthtools.mdht.cda.tests + 3.0.0-SNAPSHOT + + org.hl7.cbcc.privacy.consentdirective.tests + eclipse-plugin + + + + + + maven-javadoc-plugin + 2.9 + + + attach-javadocs + + jar + + + -Xdoclint:none + true + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.12.4 + + + test + test + + + **/*Test.java + + + + test + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.5.1 + + + compiletests + test-compile + + testCompile + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.12.4 + + true + + target/surefire-reports + + + + + org.apache.maven.plugins + maven-surefire-report-plugin + 2.5 + + + maven-antrun-plugin + 1.7 + + + test-reports + test + + ${skipTests} + + + + + + + + + + + + + + + + + run + + + + + + ant + ant-junit + 1.6.2 + + + + + + + + + + diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/.DS_Store b/tests/org.hl7.security.ds4p.contentprofile.tests/.DS_Store new file mode 100644 index 0000000000..9a874b5768 Binary files /dev/null and b/tests/org.hl7.security.ds4p.contentprofile.tests/.DS_Store differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/.classpath b/tests/org.hl7.security.ds4p.contentprofile.tests/.classpath index 3bc247511f..f2b7721187 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/.classpath +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/.classpath @@ -1,7 +1,27 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/.gitignore b/tests/org.hl7.security.ds4p.contentprofile.tests/.gitignore new file mode 100644 index 0000000000..09e3bc9b24 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/.gitignore @@ -0,0 +1,2 @@ +/bin/ +/target/ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/.project b/tests/org.hl7.security.ds4p.contentprofile.tests/.project index be3788b2c2..f55da6614e 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/.project +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/.project @@ -20,8 +20,14 @@ + + org.eclipse.m2e.core.maven2Builder + + + + org.eclipse.m2e.core.maven2Nature org.eclipse.jdt.core.javanature org.eclipse.pde.PluginNature diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/.settings/org.eclipse.core.resources.prefs b/tests/org.hl7.security.ds4p.contentprofile.tests/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..8dd9b1df3d --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,3 @@ +eclipse.preferences.version=1 +encoding//src/test/java=UTF-8 +encoding/=UTF-8 diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.hl7.security.ds4p.contentprofile.tests/.settings/org.eclipse.jdt.core.prefs index 914f6ff252..0c145248f5 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/.settings/org.eclipse.jdt.core.prefs +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/.settings/org.eclipse.jdt.core.prefs @@ -1,4 +1,3 @@ -#Mon May 16 10:24:25 EDT 2011 eclipse.preferences.version=1 org.eclipse.jdt.core.codeComplete.argumentPrefixes= org.eclipse.jdt.core.codeComplete.argumentSuffixes= @@ -11,6 +10,7 @@ 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.methodParameters=do not generate org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve org.eclipse.jdt.core.compiler.compliance=1.7 @@ -29,11 +29,11 @@ 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.fatalOptionalignore=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.forbiddenReference=ignore org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore @@ -59,7 +59,7 @@ 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.suppressOptionalignores=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 diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/.settings/org.eclipse.jdt.ui.prefs b/tests/org.hl7.security.ds4p.contentprofile.tests/.settings/org.eclipse.jdt.ui.prefs index b51d862794..6245d2099f 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/.settings/org.eclipse.jdt.ui.prefs +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/.settings/org.eclipse.jdt.ui.prefs @@ -1,3 +1,4 @@ +#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 diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/.settings/org.eclipse.m2e.core.prefs b/tests/org.hl7.security.ds4p.contentprofile.tests/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000000..f897a7f1cb --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/META-INF/MANIFEST.MF b/tests/org.hl7.security.ds4p.contentprofile.tests/META-INF/MANIFEST.MF index 231cfe4e9a..97b9714bf5 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/META-INF/MANIFEST.MF +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/META-INF/MANIFEST.MF @@ -2,22 +2,21 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.hl7.security.ds4p.contentprofile.tests;singleton:=true -Bundle-Version: 1.0.0.qualifier +Bundle-Version: 3.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.hl7.security.ds4p.contentprofile.tests Require-Bundle: org.eclipse.core.runtime, org.hl7.security.ds4p.contentprofile;visibility:=reexport, org.eclipse.mdht.uml.cda;visibility:=reexport, + org.openhealthtools.mdht.uml.cda.consol2;visibility:=reexport, org.eclipse.mdht.uml.hl7.datatypes;visibility:=reexport, org.eclipse.emf.ecore;visibility:=reexport, org.eclipse.mdht.uml.hl7.rim;visibility:=reexport, org.eclipse.uml2.types;visibility:=reexport, org.eclipse.mdht.uml.hl7.vocab;visibility:=reexport, org.eclipse.emf.ecore.xmi;visibility:=reexport, - org.junit;visibility:=reexport, org.eclipse.mdht.uml.cda.test;bundle-version="3.0.0", - org.openhealthtools.mdht.uml.cda.consol2;bundle-version="3.0.0";visibility:=reexport + org.junit Bundle-ActivationPolicy: lazy diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$1.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$1.class index e600d15c42..e381bdcc1c 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$1.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$1.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$2.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$2.class index a6b2b9dfce..c28a84f337 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$2.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$2.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$3.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$3.class index 43cb0bf9e7..347c5639ad 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$3.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$3.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$4.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$4.class index 19bae8dbf6..a6daa7ee86 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$4.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$4.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$5.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$5.class deleted file mode 100644 index 91c204d13c..0000000000 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$5.class and /dev/null differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$ConstructorTestClass.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$ConstructorTestClass.class index cf8a1027ed..bf929e528f 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$ConstructorTestClass.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$ConstructorTestClass.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$ObjectFactory.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$ObjectFactory.class index 186489f37e..6d9ca3547e 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$ObjectFactory.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$ObjectFactory.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$OperationsForOCL.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$OperationsForOCL.class index cd44fa2d9d..f35f452433 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$OperationsForOCL.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest$OperationsForOCL.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest.class index d3da0b16cf..8f0ad9d059 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$1.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$1.class index ee81f9bf07..f13528379c 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$1.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$1.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$2.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$2.class index 7ccd78e343..81863ab8b7 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$2.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$2.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$3.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$3.class index b63978c543..6e53872ee5 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$3.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$3.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$4.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$4.class index 7039a84a71..864467c88e 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$4.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$4.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$5.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$5.class index 1c02024c89..fea462cd1f 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$5.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$5.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$ConstructorTestClass.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$ConstructorTestClass.class index 6baab94135..e3ad22f3b7 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$ConstructorTestClass.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$ConstructorTestClass.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$ObjectFactory.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$ObjectFactory.class index 0f1b462b69..2745ffce27 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$ObjectFactory.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$ObjectFactory.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$OperationsForOCL.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$OperationsForOCL.class index 5c1e39a45b..cc711018f9 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$OperationsForOCL.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest$OperationsForOCL.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest.class index 842c67d1bf..56eb43ed72 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$1.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$1.class index 1418196f33..0f8075e426 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$1.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$1.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$2.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$2.class index fd4ba3e12d..fd8fc7e6e8 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$2.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$2.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$3.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$3.class index 1619c076ff..0379add76a 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$3.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$3.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$ConstructorTestClass.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$ConstructorTestClass.class index 3882c73424..f710615e37 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$ConstructorTestClass.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$ConstructorTestClass.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$ObjectFactory.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$ObjectFactory.class index c0e4216801..ba89c6f6b2 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$ObjectFactory.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$ObjectFactory.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$OperationsForOCL.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$OperationsForOCL.class index cd1f576416..743a76dfa8 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$OperationsForOCL.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest$OperationsForOCL.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest.class index 0af064a9dc..3baba3aaed 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$1.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$1.class index d24aa88dff..8db0b7ba8a 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$1.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$1.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$2.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$2.class index d1c4a33e73..083b79869b 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$2.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$2.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$3.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$3.class index 3b51e906c8..ff3772c7f2 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$3.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$3.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$4.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$4.class index 485de4c20b..ebc7adf461 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$4.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$4.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$ConstructorTestClass.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$ConstructorTestClass.class index 94418b4c2e..5a52880a83 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$ConstructorTestClass.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$ConstructorTestClass.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$ObjectFactory.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$ObjectFactory.class index 70f830d749..9ae0d7e6b3 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$ObjectFactory.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$ObjectFactory.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$OperationsForOCL.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$OperationsForOCL.class index 1ba69ef607..24bbfc6fe7 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$OperationsForOCL.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest$OperationsForOCL.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest.class index 9a2fbd534d..2a2b9021d0 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$1.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$1.class index 1dd13914fa..8dbb071a30 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$1.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$1.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$2.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$2.class index 4a840aca99..d0d019cf9a 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$2.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$2.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$3.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$3.class index 4eec51983c..f703c81cd4 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$3.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$3.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$ConstructorTestClass.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$ConstructorTestClass.class index 23c34914c7..226431711e 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$ConstructorTestClass.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$ConstructorTestClass.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$ObjectFactory.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$ObjectFactory.class index b2bc31a179..0484cb08e1 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$ObjectFactory.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$ObjectFactory.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$OperationsForOCL.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$OperationsForOCL.class index 7ff6e95c7c..7474b5d3d6 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$OperationsForOCL.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest$OperationsForOCL.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest.class index c4deeb019b..92c7e77a2d 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$1.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$1.class index 45302ef876..ccf00a5c3b 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$1.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$1.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$2.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$2.class index 526c016777..02d6ea0a7d 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$2.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$2.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$3.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$3.class index ff66036fe2..3f0752503d 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$3.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$3.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$4.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$4.class index 64bdbad379..4c7dd5b764 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$4.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$4.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$5.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$5.class index a4a503619b..19b670eb22 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$5.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$5.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$ConstructorTestClass.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$ConstructorTestClass.class index a864b4b767..e57a1f4ae5 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$ConstructorTestClass.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$ConstructorTestClass.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$ObjectFactory.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$ObjectFactory.class index 69eb96af11..09d298ebb2 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$ObjectFactory.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$ObjectFactory.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$OperationsForOCL.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$OperationsForOCL.class index 135d1ead5b..537544d8e8 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$OperationsForOCL.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest$OperationsForOCL.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest.class index 00a391b2ea..eb3aac586c 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest$2.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest$2.class index c3578684b8..68dfc1878c 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest$2.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest$2.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest$ConstructorTestClass.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest$ConstructorTestClass.class index e3a7867e77..6bfaae208c 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest$ConstructorTestClass.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest$ConstructorTestClass.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest$ObjectFactory.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest$ObjectFactory.class index ed93fc2aa3..efc753bbee 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest$ObjectFactory.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest$ObjectFactory.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest$OperationsForOCL.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest$OperationsForOCL.class index 1be482ddbc..e6d9534fe5 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest$OperationsForOCL.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest$OperationsForOCL.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest.class index e6b59ff776..f2e856264e 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$5.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$5.class index f646bcc43e..28772ea136 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$5.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$5.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$6.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$6.class index 39710138ef..fc344a5148 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$6.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$6.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$7.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$7.class index dfa3184a88..0fac91a210 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$7.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$7.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$8.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$8.class index 7b69ee0878..c8937bcef6 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$8.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$8.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$9.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$9.class index a653d27c14..19d23e0fa7 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$9.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$9.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$ConstructorTestClass.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$ConstructorTestClass.class index 1db06c734c..f3fa8b2591 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$ConstructorTestClass.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$ConstructorTestClass.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$ObjectFactory.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$ObjectFactory.class index 31f628c504..d6a5f9d566 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$ObjectFactory.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$ObjectFactory.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$OperationsForOCL.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$OperationsForOCL.class index dd7004dc2b..f26d415871 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$OperationsForOCL.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest$OperationsForOCL.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest.class index 844b150ec7..5f19d66395 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest$2.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest$2.class index 0ea519fdf8..b6cf36ea0d 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest$2.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest$2.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest$ConstructorTestClass.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest$ConstructorTestClass.class index 7fda1ca828..8cd8dabc94 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest$ConstructorTestClass.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest$ConstructorTestClass.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest$ObjectFactory.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest$ObjectFactory.class index 920fb6b584..1ddae36860 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest$ObjectFactory.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest$ObjectFactory.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest$OperationsForOCL.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest$OperationsForOCL.class index 7c2c8b56d3..29ea6c4840 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest$OperationsForOCL.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest$OperationsForOCL.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest.class index 395b666776..a74ba17bbb 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$1.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$1.class index 3295b3b908..80f8b30941 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$1.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$1.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$2.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$2.class index f45754573c..28952273ef 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$2.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$2.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$3.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$3.class index 633bf43095..805e974f9a 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$3.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$3.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$4.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$4.class index 1d67db13f3..a5875a7884 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$4.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$4.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$5.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$5.class index f770cf6267..6669608288 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$5.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$5.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$ConstructorTestClass.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$ConstructorTestClass.class index 5a95d6878b..8a81de4775 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$ConstructorTestClass.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$ConstructorTestClass.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$ObjectFactory.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$ObjectFactory.class index 7c39dadb2e..af42265705 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$ObjectFactory.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$ObjectFactory.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$OperationsForOCL.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$OperationsForOCL.class index b81cfe1aea..81ceec671a 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$OperationsForOCL.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest$OperationsForOCL.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest.class index 0dbd781edd..46ff455857 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$1.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$1.class index 033f925da1..f4b8bf53cf 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$1.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$1.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$2.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$2.class index f1fa882275..036ca0507d 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$2.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$2.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$3.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$3.class index 01ce3ea496..a8d3d85e67 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$3.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$3.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$4.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$4.class index 235db5728a..5e66ddfc74 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$4.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$4.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$ConstructorTestClass.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$ConstructorTestClass.class index 5fa4d4fdec..f6cf99be0c 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$ConstructorTestClass.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$ConstructorTestClass.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$ObjectFactory.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$ObjectFactory.class index 1042083b0f..4a460ac167 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$ObjectFactory.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$ObjectFactory.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$OperationsForOCL.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$OperationsForOCL.class index 9b6247c7ae..130ed3f42f 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$OperationsForOCL.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest$OperationsForOCL.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest.class index 142de28eea..c06015fe9f 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$1.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$1.class index f34eeb4e62..606e67fac2 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$1.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$1.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$2.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$2.class index cb0b39e906..c7124d5af7 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$2.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$2.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$3.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$3.class index bfa2583ba7..4be3dec8a4 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$3.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$3.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$4.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$4.class index 58f9963c1a..efcb6d3465 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$4.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$4.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$ConstructorTestClass.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$ConstructorTestClass.class index 5260f67fb2..f0be2afadd 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$ConstructorTestClass.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$ConstructorTestClass.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$ObjectFactory.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$ObjectFactory.class index 9e254ad762..8b515d4d94 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$ObjectFactory.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$ObjectFactory.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$OperationsForOCL.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$OperationsForOCL.class index f4047c2359..7749f676f8 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$OperationsForOCL.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest$OperationsForOCL.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest.class index 2c1079ea98..e0edd03b2f 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$1.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$1.class index d31eef657f..5a537aaa42 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$1.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$1.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$2.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$2.class index aed9a28256..a82f5cdb14 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$2.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$2.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$3.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$3.class index 8ae442c894..a91032bc0e 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$3.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$3.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$ConstructorTestClass.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$ConstructorTestClass.class index d1b7206f9c..1298471463 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$ConstructorTestClass.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$ConstructorTestClass.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$ObjectFactory.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$ObjectFactory.class index 6ca2adb2f1..77fef9d199 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$ObjectFactory.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$ObjectFactory.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$OperationsForOCL.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$OperationsForOCL.class index afefaa5b3e..11e61f8777 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$OperationsForOCL.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest$OperationsForOCL.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest.class index 5ddefd37e9..65125e99c4 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$1.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$1.class index f08cdd4002..252d54641b 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$1.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$1.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$2.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$2.class index 7633d16c55..97a1aabfd2 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$2.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$2.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$3.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$3.class index 68cde278d2..7bf2f9f239 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$3.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$3.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$4.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$4.class index 9963259353..288d16c87d 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$4.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$4.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$5.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$5.class index a1cf29dbe1..60f7278e9e 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$5.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$5.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$ConstructorTestClass.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$ConstructorTestClass.class index 628c78777b..3a24707758 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$ConstructorTestClass.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$ConstructorTestClass.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$ObjectFactory.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$ObjectFactory.class index 1a44e1fade..f39b8d4f29 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$ObjectFactory.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$ObjectFactory.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$OperationsForOCL.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$OperationsForOCL.class index bb1b01757a..59bb26d59e 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$OperationsForOCL.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest$OperationsForOCL.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest.class index 463c7a21ee..cb8e705585 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$1.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$1.class index 561c5869db..10bfca998d 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$1.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$1.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$2.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$2.class index 777d22a50c..cadfd6dcb2 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$2.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$2.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$3.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$3.class index 6dc2c1e33f..019fa697a1 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$3.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$3.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$4.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$4.class index d2c5cf596c..8a20329db4 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$4.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$4.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$5.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$5.class index 22db2919e2..f73e905b58 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$5.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$5.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$ConstructorTestClass.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$ConstructorTestClass.class index 2ef60c7cc0..85fb5ea136 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$ConstructorTestClass.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$ConstructorTestClass.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$ObjectFactory.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$ObjectFactory.class index 803a4a71a2..16f18aa47b 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$ObjectFactory.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$ObjectFactory.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$OperationsForOCL.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$OperationsForOCL.class index 01c63a83bf..761c224d39 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$OperationsForOCL.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest$OperationsForOCL.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest.class index 968f1dc45f..1558702a09 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$1.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$1.class index 1b12aa0546..b02bba724c 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$1.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$1.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$2.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$2.class index 72cef0117a..1dd60a72e2 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$2.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$2.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$3.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$3.class index 80cd6a4faa..1bb955a461 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$3.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$3.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$4.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$4.class index 534b425e2f..5dd13d3bda 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$4.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$4.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$5.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$5.class index f322c2325f..61db5726a5 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$5.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$5.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$6.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$6.class index ff9492dccd..5070c43c43 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$6.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$6.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$ConstructorTestClass.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$ConstructorTestClass.class index 9005bf7c03..d8aab9fe4e 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$ConstructorTestClass.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$ConstructorTestClass.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$ObjectFactory.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$ObjectFactory.class index 0f2cf051df..6fee84876b 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$ObjectFactory.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$ObjectFactory.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$OperationsForOCL.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$OperationsForOCL.class index da47d32121..761b06e54c 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$OperationsForOCL.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest$OperationsForOCL.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest.class index 28ad561b45..ec59523ac4 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/contentprofile_EcoreAllTests.class b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/contentprofile_EcoreAllTests.class index d73cd13366..f790b5a780 100644 Binary files a/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/contentprofile_EcoreAllTests.class and b/tests/org.hl7.security.ds4p.contentprofile.tests/bin/org/hl7/security/ds4p/contentprofile/tests/contentprofile_EcoreAllTests.class differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/build-main.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/build-main.xml new file mode 100644 index 0000000000..c706346bcf --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/build-main.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/junit-frames.xsl b/tests/org.hl7.security.ds4p.contentprofile.tests/junit-frames.xsl new file mode 100644 index 0000000000..20762e532a --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/junit-frames.xsl @@ -0,0 +1,1010 @@ + + + + + + + + + + + + + + +Unit Test Results. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="$TITLE"/> + + + + + + + + + <h2>Frame Alert</h2> + <p> + This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. + </p> + + + + + + + +body { + font:normal 68% verdana,arial,helvetica; + color:#000000; +} +table tr td, table tr th { + font-size: 68%; +} +table.details tr th{ + font-weight: bold; + text-align:left; + background:#a6caf0; +} +table.details tr td{ + background:#eeeee0; +} + +p { + line-height:1.5em; + margin-top:0.5em; margin-bottom:1.0em; +} +h1 { + margin: 0px 0px 5px; font: 165% verdana,arial,helvetica +} +h2 { + margin-top: 1em; margin-bottom: 0.5em; font: bold 125% verdana,arial,helvetica +} +h3 { + margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica +} +h4 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +h5 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +h6 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +.Error { + font-weight:bold; color:red; +} +.Failure { + font-weight:bold; color:purple; +} +.Properties { + text-align:right; +} + + + + + + + + + + All Failures + + + All Errors + + + All Tests + + + + + Unit Test Results: <xsl:value-of select="$title"/> + + + + + + open('allclasses-frame.html','classListFrame') + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + + + + + . + + + Unit Test Results: <xsl:value-of select="$class.name"/> + + + + + + + + +

Class

+ + + + + +
+ + + +

Failures

+
+ +

Errors

+
+ +

Tests

+
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + cur = TestCases['.'] = new Array(); + + + cur[''] = ''; + + + + + + + + + + + Unit Test Classes: <xsl:value-of select="$name"/> + + + + + + + + + +
+

+ + <none> +

+
+ +

Classes

+ + + + + + + +
+ +
+ + +
+ + + + + + + All Unit Test Classes + + + + + +

Classes

+ + + + +
+ + +
+ + + + + + + + + / + _.html + + + + + + + + + + + + + All Unit Test Packages + + + + + +

Home

+

Packages

+ + + + +
+ + +
+ + + + + + + <none> + + + + + + + + + + Unit Test Results: Summary + + + + + + open('allclasses-frame.html','classListFrame') + +

Summary

+ + + + + + + + + + + + + + + + + Error + Failure + Pass + + + + + + + + +
TestsFailuresErrorsSuccess rateTime
+ + + + + + + +
+ + + + +
+ Note: failures are anticipated and checked for with assertions while errors are unanticipated. +
+ +

Packages

+ + + + + + + + + + + Error + Failure + Pass + + + + + + + + + + + +
+ + <none> + + + + +
+ + +
+ + + + + + + + + + + + open('package-frame.html','classListFrame') + +

Package

+ + + + + +

Classes

+

+ + + + + +
+

+
+ + +
+ + + + + + + ../ + + + + + + ../ + + + + + + + + stylesheet.css + + + + + +

+ + + + + +
Designed for use with JUnit and Ant.
+
+
+ + + + + Name + Tests + Errors + Failures + Time(s) + Time Stamp + Host + + + + + + + + + Class + + Name + Status + Result + + + Time(s) + + + + + + + + + + Error + Failure + Pass + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error + Failure + TableRowColor + + + + + + + + + + + + + + + + +

Constraint

+

+

+ + + + + +

+

+

OCL
+

+

+ + + + +

+
+ + + + + Failure + Invalid XML +

+ + + +

+ Valid XML +

+ + + +

+
+ + Error + Invalid XML +

+ + + +

+ Valid XML +

+ + + +

+
+ + Success + + Invalid XML +

+ + + +

+ Valid XML +

+ + + +

+ +
+
+ + + + + + + + + +
+ + + + + + + + + + + + + + + N/A + + + + + +

+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+ + + + + + + + +

+
+ + + +

+ foo + + + + + foo2 + + document( concat(substring ('target/surefire-reports/', 3),'allvalidationresults.xml') )/testresults/testresult[@name=$value]/passsnippet + + + + + foo3 + + + + bar +

+
+ + + +

+ + + + + + + + +

+
+ + + +

+ + + + + + + + + +

+
+ + +
diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/pom.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/pom.xml new file mode 100644 index 0000000000..99557c5fc4 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/pom.xml @@ -0,0 +1,130 @@ + + + 4.0.0 + + + + org.openhealthtools.mdht.cda + org.openhealthtools.mdht.cda.tests + 3.0.0-SNAPSHOT + + eclipse-plugin + org.hl7.security.ds4p.contentprofile.tests + + + + + + maven-javadoc-plugin + 2.9 + + + attach-javadocs + + jar + + + -Xdoclint:none + true + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.12.4 + + + test + test + + + **/*Test.java + + + + test + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.7.0 + + + compiletests + test-compile + + testCompile + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.12.4 + + true + + target/surefire-reports + + + + + org.apache.maven.plugins + maven-surefire-report-plugin + 2.5 + + + maven-antrun-plugin + 1.7 + + + test-reports + test + + ${skipTests} + + + + + + + + + + + + + + + + + run + + + + + + ant + ant-junit + 1.6.2 + + + + + + + + + + + + diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/Active Problem(C-CDA2.1) (1).xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/Active Problem(C-CDA2.1) (1).xml new file mode 100644 index 0000000000..d344e0c731 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/Active Problem(C-CDA2.1) (1).xml @@ -0,0 +1,88 @@ +
+ + + + Problem List + + + + + + + + + + + + + + + + +
NameDatesStatus
Community Acquired Pneumonia + Onset: February 27 2014 + Active
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/NEWcdaPrivacySegmentedDocument.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/NEWcdaPrivacySegmentedDocument.xml new file mode 100644 index 0000000000..4ff7115102 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/NEWcdaPrivacySegmentedDocument.xml @@ -0,0 +1,770 @@ + + + + + + + + + + Example Continuity of Care Document + + + + + + + + + + + + + 1 Main St + Anytown + NH + 99999 + + + + + + + + + + + Mary + A + Everyperson + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example Organization + + + + + Example Address Line + ExampleCity + NH + 99999 + + + + + + + + + + + + + + + + + + + + + 1 Main St + Anytowm + NH + 99999 + + + + + + Everyperson + Harold + M + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Security and Privacy Prohibitions + + PROHIBITION ON REDISCLOSURE OF CONFIDENTIAL INFORMATION +
+ This notice accompanies a disclosure of information concerning a + client in alcohol/drug treatment, made to you with the consent of + such client. This information has been disclosed to you from + records protected by federal confidentiality rules (42 C.F.R. Part + 2). The federal rules prohibit you from making any further + disclosure of this information unless further disclosure is + expressly permitted by the written consent of the person to whom + it pertains or as otherwise permitted by 42 C.F.R. Part 2. A + general authorization for the release of medical or other + information is NOT sufficient for this purpose. The federal rules + restrict any use of the information to criminally investigate or + prosecute any alcohol or drug abuse patient. +
+ + + + + + + + + + + + + + + + + + + + + + + Restricted Confidentiality + + + + + + + + + + + + + + + + + + + + + + + + + + Prohibition on redisclosure without patient + consent directive + + + + + + + + + + + + + Information intended for treatment + + + + + + +
+
+ + + +
+ + + + + + + + MENTAL STATUS + + + + + + + + + + + + + + + + + + + + +
AssessmentDateResultsComments
Cognitive StatusAugust 15 2012, 5:32pmMemory Impairment
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + Problem List + + + + + + + + + + + + + + + + +
NameDatesStatus
Community Acquired Pneumonia + Onset: February 27 2014 + Active
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Restricted Confidentiality + + + + + + + + + + + + + + + + + + + + + + + + + + Prohibition on redisclosure without patient consent directive + + + + + + + + + + + + + Information intended for treatment + + + + + + + + + + + + + + +
+ +
+
+
+
\ No newline at end of file diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/ReadMe.txt b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/ReadMe.txt new file mode 100644 index 0000000000..bebf76be8f --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/ReadMe.txt @@ -0,0 +1,22 @@ + + +HL7 Implementation Guide: Data Segmentation for Privacy (DS4P), Release 1, May 2014 + +Chapter 1: CDA R2 and Privacy Metadata Content Profile +* HL7_V3_IG_DS4P_R1_2014MAY_CH1_CONTENT.pdf + +Chapter 2: NwHIN DIRECT Transport Profile +* HL7_V3_IG_DS4P_R1_2014MAY_CH2_DIRECT.pdf + +Chapter 3: NwHIN Exchange Transport Profile +* HL7_V3_IG_DS4P_R1_2014MAY_CH3_EXCHANGE.pdf + +Sample Files + +CDA R2 and Privacy Metadata Content Profile + +==> cdaPrivacySegmentedDocument.xml + +Chapter 2: NwHIN Direct XDM Metadata Content Profile + +==> sampleXDMetadata.xml diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/SegmentedDocumentContentProfileSample.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/SegmentedDocumentContentProfileSample.xml new file mode 100644 index 0000000000..d321e29602 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/SegmentedDocumentContentProfileSample.xml @@ -0,0 +1,2294 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example Continuity of Care Document + + + + + + + + + + + + + 1 Main St + Anytowm + NH + 99999 + + + + + + + + + + + Mary + A + Everyperson + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example Organization + + + + + Example Address Line + ExampleCity + NH + 99999 + + + + + + + + + + + + + + + + + + + + + + + 1 Main St + Anytowm + NH + 99999 + + + + + + Everyperson + Harold + M + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Security and Privacy Prohibitions + PROHIBITION ON REDISCLOSURE OF CONFIDENTIAL INFORMATION
+ This notice accompanies a disclosure of information concerning a client in alcohol/drug treatment, made to you with the consent of such client. This information has been disclosed to you from records protected by federal confidentiality rules (42 C.F.R. Part 2). The federal rules prohibit you from making any further disclosure of this information unless further disclosure is expressly permitted by the written consent of the person to whom it pertains or as otherwise permitted by 42 C.F.R. Part 2. A general authorization for the release of medical or other information is NOT sufficient for this purpose. The federal rules restrict any use of the information to criminally investigate or prosecute any alcohol or drug abuse patient.
+ + + + + + + + + + + + + + + + + + + + + + + Restricted Confidentiality + + + + + + + + + + + + + Information must be encrypted + + + + + + + + + + + + + Prohibition on redisclosure without patient + consent directive + + + + + + + + + + + + + Information intended for + treatment + + + + + +
+
+ + +
+ + + + + + + + Allergies and Alert Problems + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SubstanceReactionsSeverityDate of onsetComments
IVP dyeanaphylaxisHigh2010Allergy is is very severe...
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Allergy is very + severe... + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + Conditions or Problems + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ConditionCode SystemCodeDate of onsetAuthor
HypertensionICD-9401January 2009Dr. Harold Hippocrates,
Example Organization
Oct. + 21, 2010
HeadacheICD-9784.0 Dr. Harold Hippocrates,
Example Organization
Oct. + 21, 2010
+   + + + + + + + + + + + + + + + +
Accident TypeAccident DescriptionDate of onset
Car AccidentTrauma...October 10, 2010
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Restricted + Confidentiality + + + + + + + + + + + + + Information must be + encrypted + + + + + + + + + + + + + Prohibition on redisclosure + without patient consent + directive + + + + + + + + + + + + + Information intended for + treatment + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Trauma... + + + + + +
+
+ + +
+ + + + + + + + Results + + + Note: Only the the most recent three laboratory result values of + each type are listed below: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chem-Glucose POC Results
Result1/27/2010 9:101/26/2010 22:001/26/2010 15:29
+ Chem-Glucose POC + (90-120)140 mg/dL H120 mg/dL H90 mg/dL
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Coagulation
Result1/26/2010 7:30                                                      
+ Prothrombin Time + (9.0-12.1)15.9 sec H  
+ INR +  1.5 sec  
+ PTT + (25.0-38.0)25.4 sec  
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chem-General Results
Result1/27/2010 15:201/27/2010 7:301/26/2010 21:45
+ Sodium + (136-145)137 mmol/L138 mmol/L137 mmol/L
+ Potassium + (3.5-5.1)4.7 mmol/L4.4 mmol/L4.3 mmol/L
+ Chloride + (98-107)103 mmol/L104 mmol/L104 mmol/L
+ + Note: Only the the most recent radiology reports of each type + are listed below: + + + + + + + + + + + + + + + + + + + + + +
Radiology Reports
1/26/2010 13:09
+ Example
PROCEDURE: ADX6544 - WRIST + ROUTINE MIN 3 VIEW LT
DATE OF EXAM: 26-Jan-2010 + 1:09PM RIS ORDER NO: 90001 CPT:
HISTORY: + Pain/trauma.
nondisplaced fracture of the distal + left radius. The remaining bones
appear intact. + The carpal bones are intact.
IMPRESSION: + Nondisplaced fracture of the distal left radius.
+
Transcriptionist:
CR2
+
Dictated Date:
26-Jan-2010
+
Transcribe Date/Time:
26-Jan-2010 2:51P +
Read By: Dr. Avicenna M.D.
+
Signed By:
Dr. Avicenna M.D.
+ Professional Codes: \
+
1/26/2010 20:09
+
PROCEDURE: CDX2050 - SPINE CERVICAL + COMP MIN 4 VIEW
ORDERING DOCTOR: Hippocrates, + Doctor M.D.
DATE OF EXAM: 26-Jan-2010 8:09PM RIS + ORDER NO: 90001 CPT: 72050
HISTORY: Trauma.
+ FINDINGS: Five views of the cervical spine demonstrate + normal alignment
and stature of the cervical + vertebral bodies. The disc spaces are
preserved. + The neural foramina are largely patent. Carotid vascular +
calcification is seen in the left neck.
+
IMPRESSION: No acute fracture.
+ Transcriptionist:
KP1
+
Dictated Date:
26-Jan-2010
+
Transcribe Date/Time:
26-Jan-2010 11:47A
+
Read By: Doctor Avicenna M.D.
+
Signed By:
Doctor Avicenna M.D.
+ Professional Codes: 959.09-1403

+ +
+ Note: Only the the most recent cardiology reports of each type + are listed below: + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 140 mg/dL + + + + + + + + + + + (90-120) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 120 mg/dL + + + + + + (90-120) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 90 mg/dL + + + + (90-120) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 15.9 sec + + + + + + (9.0-12.1) + + + + + + + + + + + + + + + + 11.5 + + + + + + + + + + + + + + 25.4 sec + + + + (25.0-38.0) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 137 mmol/L + + + + + + (136-145) + + + + + + + + + + + + + + + + 4.7 mmol/L + + + + + + (3.5-5.1) + + + + + + + + + + + + + + + + 103 mmol/L + + + + + + (98-107) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 138 mmol/L + + + + (136-145) + + + + + + + + + + + + + + + + 4.4 mmol/L + + + + (3.5-5.1) + + + + + + + + + + + + + + + + 104 mmol/L + + + + (98-107) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 137 mmol/L + + + + (136-145) + + + + + + + + + + + + + + + + 4.3 mmol/L + + + + (3.5-5.1) + + + + + + + + + + + + + + + + 104 mmol/L + + + + (98-107) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + Procedures + + + + + + + + + + + + + + + +
ProcedureDate
Knee Replacement10/06/2008
+
+ + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + + + + + Encounters + + + + + + + + + + + + + + + + + + + +
Encounter TypeLocationDateAccount Number
EmergencyExample Clinic1/25/2010 - 1/28/20109898-8988
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example Clinic + + + + + +
+
+ + + +
+ + + + + + + + Insurance Payers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Payer Name/ContactPriorityGroup IdCovered Party IdCovered Party Name/RelationshipCovered Party Date of Birth
Good Health
99 Main St.
Anytown, + NH
978-555-1234
Primary1111G-0980Everyperson, Harold M./Spouse11/12/1944
Metropolitan Health
1 Elm St.
Anytown, + NH
603-555-1212
Secondary2222M-987987Everyperson, Mary A./Self7/04/1943
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 99 Main St. + + Anytown + + NH + + 99999 + + + + + + + Everyperson + M + Harold + + + + + + + Good Health + + + + + 99 Main St. + + Anytown + + NH + + 99999 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 Elm St. + + Anytown + + NH + + 99999 + + + + + + + Everyperson + + A + + Mary + + + + + + + Metropolitan Health + + + + + + 1 Elm St. + + Anytown + + NH + + 99999 + + + + + + + + + + + + + + + + +
+
+
+
+
diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/cdaPrivacySegmentedDocument.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/cdaPrivacySegmentedDocument.xml new file mode 100644 index 0000000000..c517a09060 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/cdaPrivacySegmentedDocument.xml @@ -0,0 +1,2174 @@ + + + + + + + + + + Example Continuity of Care Document + + + + + + + + + + + + + 1 Main St + Anytown + NH + 99999 + + + + + + + + + + + Mary + A + Everyperson + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example Organization + + + + + Example Address Line + ExampleCity + NH + 99999 + + + + + + + + + + + + + + + + + + + + + 1 Main St + Anytowm + NH + 99999 + + + + + + Everyperson + Harold + M + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Security and Privacy Prohibitions + + PROHIBITION ON REDISCLOSURE OF CONFIDENTIAL INFORMATION +
+ This notice accompanies a disclosure of information concerning a client in alcohol/drug treatment, made to you with the consent of such client. This information has been disclosed to you from records protected by federal confidentiality rules (42 C.F.R. Part 2). The federal rules prohibit you from making any further disclosure of this information unless further disclosure is expressly permitted by the written consent of the person to whom it pertains or as otherwise permitted by 42 C.F.R. Part 2. A general authorization for the release of medical or other information is NOT sufficient for this purpose. The federal rules restrict any use of the information to criminally investigate or prosecute any alcohol or drug abuse patient. +
+ + + + + + + + + + + + + + + + + + + + + + + Restricted Confidentiality + + + + + + + + + + + + + Information must be encrypted + + + + + + + + + + + + + Prohibition on redisclosure without patient consent directive + + + + + + + + + + + + + Information intended for treatment + + + + + +
+
+ + +
+ + + + + + + + Allergies and Alert Problems + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SubstanceReactionsSeverityDate of onsetComments
IVP dyeanaphylaxisHigh2010Allergy is is very severe...
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Allergy is very severe... + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + Conditions or Problems + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ConditionCode SystemCodeDate of onsetAuthor
Cannabis dependence, unspecifiedICD-9304.30January 2009 + Dr. Harold Hippocrates, +
+ Example Organization +
+ Oct. 21, 2010 +
HeadacheICD-9784.0 + Dr. Harold Hippocrates, +
+ Example Organization +
+ Oct. 21, 2010 +
+ + + + + + + + + + + + + + + + +
Accident TypeAccident DescriptionDate of onset
Car AccidentTrauma...October 10, 2010
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Restricted Confidentiality + + + + + + + + + + + + + Information must be encrypted + + + + + + + + + + + + + Prohibition on redisclosure without patient consent directive + + + + + + + + + + + + + Information intended for treatment + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Trauma... + + + + + +
+
+ + +
+ + + + + + + + Results + + + Note: Only the the most recent three laboratory result values of each type are listed below: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chem-Glucose POC Results
Result1/27/2010 9:101/26/2010 22:001/26/2010 15:29
+ Chem-Glucose POC + (90-120) + 140 mg/dL + H + + 120 mg/dL + H + 90 mg/dL
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Coagulation
Result1/26/2010 7:30
+ Prothrombin Time + (9.0-12.1) + 15.9 sec + H +
+ INR + 1.5 sec
+ PTT + (25.0-38.0)25.4 sec
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chem-General Results
Result1/27/2010 15:201/27/2010 7:301/26/2010 21:45
+ Sodium + (136-145)137 mmol/L138 mmol/L137 mmol/L
+ Potassium + (3.5-5.1)4.7 mmol/L4.4 mmol/L4.3 mmol/L
+ Chloride + (98-107)103 mmol/L104 mmol/L104 mmol/L
+ + Note: Only the the most recent radiology reports of each type are listed below: + + + + + + + + + + + + + + + + + + + + + +
Radiology Reports
1/26/2010 13:09
+ + Example +
+ PROCEDURE: ADX6544 - WRIST ROUTINE MIN 3 VIEW LT +
+ DATE OF EXAM: 26-Jan-2010 1:09PM RIS ORDER NO: 90001 CPT: +
+ HISTORY: Pain/trauma. +
+ nondisplaced fracture of the distal left radius. The remaining bones +
+ appear intact. The carpal bones are intact. +
+ IMPRESSION: Nondisplaced fracture of the distal left radius. +
+
+ Transcriptionist: +
+ CR2 +
+
+ Dictated Date: +
+ 26-Jan-2010 +
+
+ Transcribe Date/Time: +
+ 26-Jan-2010 2:51P +
+ Read By: Dr. Avicenna M.D. +
+
+ Signed By: +
+ Dr. Avicenna M.D. +
+ Professional Codes: \ +
+
+
1/26/2010 20:09
+ +
+ PROCEDURE: CDX2050 - SPINE CERVICAL COMP MIN 4 VIEW +
+ ORDERING DOCTOR: Hippocrates, Doctor M.D. +
+ DATE OF EXAM: 26-Jan-2010 8:09PM RIS ORDER NO: 90001 CPT: 72050 +
+ HISTORY: Trauma. +
+ FINDINGS: Five views of the cervical spine demonstrate normal alignment +
+ and stature of the cervical vertebral bodies. The disc spaces are +
+ preserved. The neural foramina are largely patent. Carotid vascular +
+ calcification is seen in the left neck. +
+
+ IMPRESSION: No acute fracture. +
+ Transcriptionist: +
+ KP1 +
+
+ Dictated Date: +
+ 26-Jan-2010 +
+
+ Transcribe Date/Time: +
+ 26-Jan-2010 11:47A +
+
+ Read By: Doctor Avicenna M.D. +
+
+ Signed By: +
+ Doctor Avicenna M.D. +
+ Professional Codes: 959.09-1403 +
+
+
+
+ Note: Only the the most recent cardiology reports of each type are listed below: +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 140 mg/dL + + + + + + + + + + (90-120) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 120 mg/dL + + + + + + (90-120) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 90 mg/dL + + + + (90-120) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 15.9 sec + + + + + + (9.0-12.1) + + + + + + + + + + + + + + + + 11.5 + + + + + + + + + + + + + + 25.4 sec + + + + (25.0-38.0) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 137 mmol/L + + + + + + (136-145) + + + + + + + + + + + + + + + + 4.7 mmol/L + + + + + + (3.5-5.1) + + + + + + + + + + + + + + + + 103 mmol/L + + + + + + (98-107) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 138 mmol/L + + + + (136-145) + + + + + + + + + + + + + + + + 4.4 mmol/L + + + + (3.5-5.1) + + + + + + + + + + + + + + + + 104 mmol/L + + + + (98-107) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 137 mmol/L + + + + (136-145) + + + + + + + + + + + + + + + + 4.3 mmol/L + + + + (3.5-5.1) + + + + + + + + + + + + + + + + 104 mmol/L + + + + (98-107) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + Procedures + + + + + + + + + + + + + + +
ProcedureDate
Knee Replacement10/06/2008
+
+ + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + + Encounters + + + + + + + + + + + + + + + + + + + +
Encounter TypeLocationDateAccount Number
EmergencyExample Clinic1/25/2010 - 1/28/20109898-8988
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example Clinic + + + + + +
+
+ + +
+ + + + + + + + Insurance Payers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Payer Name/ContactPriorityGroup IdCovered Party IdCovered Party Name/RelationshipCovered Party Date of Birth
+ Good Health +
+ 99 Main St. +
+ Anytown, NH +
+ 978-555-1234 +
Primary1111G-0980Everyperson, Harold M./Spouse11/12/1944
+ Metropolitan Health +
+ 1 Elm St. +
+ Anytown, NH +
+ 603-555-1212 +
Secondary2222M-987987Everyperson, Mary A./Self7/04/1943
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 99 Main St. + + Anytown + + NH + + 99999 + + + + + + + Everyperson + M + Harold + + + + + + Good Health + + + + + 99 Main St. + + Anytown + + NH + + 99999 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 Elm St. + + Anytown + + NH + + 99999 + + + + + + + Everyperson + + A + + Mary + + + + + Metropolitan Health + + + + + + 1 Elm St. + + Anytown + + NH + + 99999 + + + + + + + + + + + + + + + + +
+
+
+
+
\ No newline at end of file diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/170.315_b1_toc_amb_ccd_r21_sample1_v8.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/170.315_b1_toc_amb_ccd_r21_sample1_v8.xml new file mode 100644 index 0000000000..d2994a58d3 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/170.315_b1_toc_amb_ccd_r21_sample1_v8.xml @@ -0,0 +1,2610 @@ + + + + + + + + + + + + + + + + + 170.315_b1_toc_amb_ccd_r21_sample1 test data + + + + + + + + + + + + + 1001 Amber Dr + Beaverton + OR + 97006 + US + + + + + + + + Katherine + Jones + Madison + + + Kathy + Jones + Madison + + + + + + + + + + + + + + + + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Tracy + Davis + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Albert + Davis + + + + + + + + + + + James + Madison + + + + + + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + Dr + Albert + Davis + + + + Neighborhood Physicians Practice + + + + + + + + + + + + + + + + + 1001 Amber Dr + Beaverton + OR + 97006 + US + + + + + + Mr + William + Jones + + + + + + + + + + + + 1001 Amber Dr + Beaverton + OR + 97006 + US + + + + + + Mr + James + Madison + + + + + + + + + + + + + + + + + + + Primary Care Provider + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Dr + Albert + Davis + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Tracy + Davis + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + ALLERGIES AND ADVERSE REACTIONS + + + + + + + + + + + + + + + + + + + + + + + + +
SubstanceReactionSeverityStatus
+ Penicillin G + + Hives + + Moderate + Active
+ Ampicillin + + Hives + + Moderate + Active
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + MEDICATIONS + + + + + + + + + + + + + + + + + + + + + + + + + + +
MedicationDirectionsStart Date
Ceftriaxone 100MG/MLTwo Times DailyJune 22, 2015
Tylenol 500mgAs needed for 10 daysJune 22, 2015
Darbepoetin Alfa 0.5 MG/MLOnce a weekJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + PROBLEMS + + Active Concerns + + Problem #1 + + Essential hypertension (Disorder) + + + Problem #2 + + Severe Hypothyroidism (Disorder) + + + Problem #3 + + Chronic rejection of renal transplant (disorder) + + + Problem #4 + + Fever (finding) + + + + Resolved Concerns + + Problem #5 + + Overweight (finding) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + ENCOUNTERS + + + + + + + + + + + + + + + + +
Encounter DiagnosisLocationDate
Fever Neighborhood Physicians PracticeJune 22, 2015 at 10am EST
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + Neighborhood Physicians Practice + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + IMMUNIZATIONS + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VaccineDateStatus
Influenza Virus VaccineMay 10, 2014Completed
Tetanus and diphtheria toxoidsJanuary 4, 2012Completed
influenza, intradermal, quadrivalent, preservative freeJune 22, 2015Refused by Patient
+
+ + + + + + + + + + + + + + + + + + + + + 1 + + + Immuno Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + Immuno Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + Immuno Inc. + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + VITAL SIGNS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Date / Time: June 22, 2015
Height177 cm
Weight88 kg
Blood Pressure145/88 mm[Hg]
Heart Rate80 beats per minute
O2 Percentage BldC Oximetry95 percent
Body Temperature38 degree celsius
Respiratory Rate18 breaths per minute
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + SOCIAL HISTORY + + + + + + + + + + + + + + + + + + + + + + + + + + +
Social History ObservationDescriptionDates Observed
Smoking StatusHeavy tobacco smokerMay 1, 2005 - February 27, 2011
Current Smoking StatusCurrent every dayJune 22, 2015
Birth SexFemaleJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + PROCEDURES + + + + + + + + + + + + + + + + + + +
ProcedureDate
Nebulizer TherapyJune 22, 2015
Introduction of cardiac pacemaker system via veinOctober 5, 2011
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + Implants + + + + + + + + + + + + + + + + +
ImplantedAreaUDI
Cardiac PacemakerSubclavian Vein(01)00643169007222(17)160128(21)BLC200461H
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + RESULTS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Result TypeResult ValueRelevant Reference RangeInterpretationDate
Color of UrineYELLOWYELLOWNormal06/22/2015
Appearance of UrineCLEARCLEARNormal06/22/2015
Specific gravity of Urine by Test strip1.0151.005 – 1.030Normal06/22/2015
pH of Urine by Test strip5.0 [pH]5.0-8.0Normal06/22/2015
Glucose [Mass/volume] in urine by test strip50 mg/dLNeg06/22/2015
Ketones [Mass/Volume] in urine by test stripNegativeNegative06/22/2015
Protein[Mass/Volume] in urine by test strip100 mg/dLnegative06/22/2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + YELLOW + + + + YELLOW + + + + + + + + + + + + + + + + + CLEAR + + + + CLEAR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + +
+ + + + + + FUNCTIONAL STATUS + + + + + + + + + + + + + + +
Functional CategoryEffective Dates
Dependence on CaneMay 01, 2005
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + +
+ + + + + ASSESSMENTS + The patient was found to have fever and Dr Davis is suspecting Anemia based on the patient history. So Dr Davis asked the patient to closely monitor the temperature and blood pressure and get admitted to Community Health Hospitals if the fever does not subside within a day. +
+
+ + + + +
+ + + + + TREATMENT PLAN + + Hand-off Communication: +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Planned CareStart Date
Urinanalysis macro (dipstick) panelJune 29, 2015
Get an EKG done on 6/23/2015.June 23, 2015
Get a Chest X-ray done on 6/23/2015 showing the Lower Respiratory Tract Structure.June 23, 2015
Take Clindamycin 300mg three times a day as needed if pain does not subside.June 23, 2015 three times a day as needed
Schedule follow on visit with Neighborhood Physicians Practice on 7/1/2015.July 1, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Take Clindamycin 300mg three times a day as needed if pain does not subside. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + + + Schedule follow on visit with Neighborhood Physicians Practice on 7/1/2015. + + + + + + + + + +
+
+ + + + + +
+ + + + + Goals Section + + + + + + + + + + + + + + + + + + + + + + +
GoalValueDate
Get rid of intermittent fever that is occurring every few weeks (Visual Inspection)N/AJune 22, 2015
Need to gain more energy to do regular activities (Visual Inspection)N/AJune 22, 2015
+
+ + + + + + + + + + + + Get rid of intermittent fever that is occurring every few weeks. (Visual Inspection) + + + + + + + + + + + + + + + + + + + + + + + + + + Need to gain more energy to do regular activities. (Visual Inspection) + + + + + + + + + + +
+
+ + + + + + +
+ + + + Health Concerns Section + + + + + + + + + + + + + + + + +
ObservationsStatusDate
Chronic Sickness exhibited by patientActiveJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ConcernStatusDate
Documented HyperTension problemActiveJune 22, 2015
Documented HypoThyroidism problemActiveJune 22, 2015
Watch Weight of patientActiveJune 22, 2015
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + REASON FOR REFERRAL + Ms Kathy Madison is being referred to Community Health Hospitals Inpatient facility because of the high fever noticed and suspected Anemia. +
+
+ + + + +
+ + + + + + MENTAL STATUS + + + + + + + + + + + + + + +
StatusDate
AmnesiaMay 05, 2005
+
+ + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/170.315_b8_ds4p_amb_sample1_v5.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/170.315_b8_ds4p_amb_sample1_v5.xml new file mode 100644 index 0000000000..9702d19ce2 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/170.315_b8_ds4p_amb_sample1_v5.xml @@ -0,0 +1,2710 @@ + + + + + + + + + + + + + + + + + + + + + 170.315_b1_toc_amb_ccd_r21_sample1 test data + + + + + + + + + + + + + + + + 1357 Amber Dr + Beaverton + OR + 97006 + US + + + + + + + + Alice + Jones + Newman + + + Alicia + Jones + Newman + + + + + + + + + + + + + + + + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Tracy + Davis + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Albert + Davis + + + + + + + + + + + Matthew + Newman + + + + + + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + Dr + Albert + Davis + + + + Neighborhood Physicians Practice + + + + + + + + + + + + + + + + + 1357 Amber Dr + Beaverton + OR + 97006 + US + + + + + + Mr + Rick + Holler + + + + + + + + + + + + 1357 Amber Dr + Beaverton + OR + 97006 + US + + + + + + Mr + Matthew + Newman + + + + + + + + + + + + + + + + + + + Primary Care Provider + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Dr + Albert + Davis + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Tracy + Davis + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Security and Privacy Prohibitions + + Section Author: Dr. Davis Albert, Neighborhood Physicians Practice
+ PROHIBITION ON REDISCLOSURE OF CONFIDENTIAL INFORMATION:
This notice + accompanies a disclosure of information concerning a client in alcohol/drug + treatment, made to you with the consent of such client. This information has + been disclosed to you from records protected by federal confidentiality + rules (42 C.F.R. Part 2). The federal rules prohibit you from making any + further disclosure of this information unless further disclosure is + expressly permitted by the written consent of the person to whom it pertains + or as otherwise permitted by 42 C.F.R. Part 2. A general authorization for + the release of medical or other information is NOT sufficient for this + purpose. The federal rules restrict any use of the information to criminally + investigate or prosecute any alcohol or drug abuse patient.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + Restricted Confidentiality + + + + + + + + + + + + + + + + Prohibition on redisclosure without patient + consent directive + + + + + + + + + + + + Information intended for + treatment + + + + + +
+
+ + + + + + +
+ + + + + + ALLERGIES AND ADVERSE REACTIONS + + + + + + + + + + + + + + + + + + + + + + + + +
SubstanceReactionSeverityStatus
+ Penicillin G benzathine + + Hives + + Moderate + Active
+ Ampicillin Sodium + + Hives + + Moderate + Active
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + MEDICATIONS + + + + + + + + + + + + + + + + + + + + + + + + + + +
MedicationDirectionsStart Date
Ceftriaxone 100MG/MLBIDJune 22, 2015
Tylenol 500mgFor 10 days As neededJune 22, 2015
Darbepoetin Alfa 0.5 MG/MLOnce a weekJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + PROBLEMS + + Active Concerns + + Problem #1 + + Essential hypertension (Disorder) + + + Problem #2 + + Severe Hypothyroidism (Disorder) + + + Problem #3 + + Chronic rejection of renal transplant (disorder) + + + Problem #4 + + Fever (finding) + + + + Resolved Concerns + + Problem #5 + + Overweight (finding) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + ENCOUNTERS + + + + + + + + + + + + + + + + +
Encounter DiagnosisLocationDate
Fever Neighborhood Physicians PracticeJune 22, 2015 at 10am EST
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + Neighborhood Physicians Practice + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + IMMUNIZATIONS + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VaccineDateStatus
Influenza Virus VaccineMay 10, 2014Completed
Tetanus and diphtheria toxoidsJanuary 4, 2012Completed
influenza, intradermal, quadrivalent, preservative freeJune 22, 2015Refused by Patient
+
+ + + + + + + + + + + + + + + + + + + + + 1 + + + Immuno Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + Immuno Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + Immuno Inc. + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + VITAL SIGNS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Date / Time: June 22, 2015
Height177 cm
Weight88 kg
Blood Pressure145/88
Heart Rate80 beats per minute
O2 Percentage BldC Oximetry95 percent
Body Temperature38 degree celsius
Respiratory Rate18 breaths per minute
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + SOCIAL HISTORY + + + + + + + + + + + + + + + + + + + + + +
Social History ObservationDescriptionDates Observed
Smoking StatusHeavy tobacco smokerMay 1, 2005 - February 27, 2011
Current Smoking StatusCurrent every dayJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + PROCEDURES + + + + + + + + + + + + + + + + + + +
ProcedureDate
Nebulizer TherapyJune 22, 2015
Introduction of cardiac pacemaker system via veinOctober 5, 2011
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + RESULTS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Result TypeResult ValueRelevant Reference RangeInterpretationDate
Color of UrineYELLOWYELLOWNormal06/22/2015
Appearance of UrineCLEARCLEARNormal06/22/2015
Specific gravity of Urine by Test strip1.0151.005 - 1.030Normal06/22/2015
pH of Urine by Test strip5.0 pH5.0 - 8.0Normal06/22/2015
Glucose [Mass/volume] in urine by test strip50mg/dlNeg06/22/2015
Ketones [Mass/Volume] in urine by test stripNegativeNegative06/22/2015
Protein[Mass/Volume] in urine by test strip100mg/dlnegative06/22/2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + YELLOW + + + + YELLOW + + + + + + + + + + + + + + + + + CLEAR + + + + CLEAR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + +
+ + + + + + FUNCTIONAL STATUS + + + + + + + + + + + + + + +
Functional CategoryEffective Dates
Dependence on CaneMay 01, 2005
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + +
+ + + + + ASSESSMENTS + The patient was found to have fever and Dr Davis is suspecting Anemia based on the patient history. So Dr Davis asked the patient to closely monitor the temperature and blood pressure and get admitted to Community Health Hospitals if the fever does not subside within a day. +
+
+ + + + +
+ + + + + TREATMENT PLAN + + Hand-off Communication: +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Planned CareStart Date
Urinanalysis macro (dipstick) panelJune 22, 2015
Get an EKG done on 6/23/2015.June 23, 2015
Get a Chest X-ray done on 6/23/2015 showing the Lower Respiratory Tract Structure.June 23, 2015
Take Clindamycin 300mg three times a day as needed if pain does not subside.June 23, 2015 three times a day as needed
Schedule follow on visit with Neighborhood Physicians Practice on 7/1/2015.July 7, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Take Clindamycin 300mg three times a day as needed if pain does not subside. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + + + Schedule follow on visit with Neighborhood Physicians Practice on 7/1/2015. + + + + + + + + + +
+
+ + + + + +
+ + + + + Goals Section + + + + + + + + + + + + + + + + + + + + + + + + +
GoalValueDate
Get rid of intermittent fever that is occurring every few weeks (Visual Inspection)N/AJune 23, 2015
Need to gain more energy to do regular activities (Visual Inspection)N/AJune 23, 2015
+
+ + + + + + + + + + + + Get rid of intermittent fever that is occurring every few weeks. (Visual Inspection) + + + + + + + + + + + + + + + + + + + + + + + + + + Need to gain more energy to do regular activities. (Visual Inspection) + + + + + + + + + + +
+
+ + + + + + +
+ + + + Health Concerns Section + + + + + + + + + + + + + + + + +
ObservationStatusDate
Chronic Sickness exhibited by patientActiveJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ConcernStatusDate
Documented HyperTension problemActiveJune 22, 2015
Documented HypoThyroidism problemActiveJune 22, 2015
Watch Weight of patientActiveJune 22, 2015
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + REASON FOR REFERRAL + Ms Alice Newman is being referred to Community Health Hospitals Inpatient facility because of the high fever noticed and suspected Anemia. +
+
+ + + + +
+ + + + + + MENTAL STATUS + + + + + + + + + + + + + + +
StatusDate
AmnesiaMay 05, 2005
+
+ + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/170.315_b8_ds4p_amb_sample2_v2.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/170.315_b8_ds4p_amb_sample2_v2.xml new file mode 100644 index 0000000000..e9fcf68b93 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/170.315_b8_ds4p_amb_sample2_v2.xml @@ -0,0 +1,2347 @@ + + + + + + + + + + + + + + + + + + 170.315_b1_toc_amb_ccd_r21_sample1 test data + + + + + + + + + + + + + + + 1357 Amber Dr + Beaverton + OR + 97006 + US + + + + + + + + Alice + Jones + Newman + + + Alicia + Jones + Newman + + + + + + + + + + + + + + + + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Tracy + Davis + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Albert + Davis + + + + + + + + + + + Matthew + Newman + + + + + + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + Dr + Albert + Davis + + + + Neighborhood Physicians Practice + + + + + + + + + + + + + + + + + 1357 Amber Dr + Beaverton + OR + 97006 + US + + + + + + Mr + Rick + Holler + + + + + + + + + + + + 1357 Amber Dr + Beaverton + OR + 97006 + US + + + + + + Mr + Matthew + Newman + + + + + + + + + + + + + + + + + + + Primary Care Provider + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Dr + Albert + Davis + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Tracy + Davis + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + ALLERGIES AND ADVERSE REACTIONS + + + + + + + + + + + + + + + + + + +
SubstanceReactionSeverityStatus
+ Penicillin G benzathine + + Hives + + Moderate + Active
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + MEDICATIONS + + + + + + + + + + + + + + + + + + + + + +
MedicationDirectionsStart Date
Ceftriaxone 100MG/MLTwo Times dailyJune 22, 2015
Tylenol 500mgFor 10 days As neededJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + PROBLEMS + + Active Concerns + + Problem #1 + + Essential hypertension (Disorder) + + + Problem #2 + + Severe Hypothyroidism (Disorder) + + + Problem #4 + + Fever (finding) + + + + Resolved Concerns + + Problem #5 + + Overweight (finding) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + ENCOUNTERS + + + + + + + + + + + + + + + + +
Encounter DiagnosisLocationDate
Fever Neighborhood Physicians PracticeJune 22, 2015 at 10am EST
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + Neighborhood Physicians Practice + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + IMMUNIZATIONS + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VaccineDateStatus
Influenza Virus VaccineMay 10, 2014Completed
Tetanus and diphtheria toxoidsJanuary 4, 2012Completed
influenza, intradermal, quadrivalent, preservative freeJune 22, 2015Refused by Patient
+
+ + + + + + + + + + + + + + + + + + + + + 1 + + + Immuno Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + Immuno Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + Immuno Inc. + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + VITAL SIGNS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Date / Time: June 22, 2015
Height177 cm
Weight88 kg
Blood Pressure145/88
Heart Rate80 beats per minute
O2 Percentage BldC Oximetry95 percent
Body Temperature38 degree celsius
Respiratory Rate18 breaths per minute
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + SOCIAL HISTORY + + + + + + + + + + + + + + + + + + + + + +
Social History ObservationDescriptionDates Observed
Smoking StatusHeavy tobacco smokerMay 1, 2005 - February 27, 2011
Current Smoking StatusCurrent every dayJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + PROCEDURES + + + + + + + + + + + + + + + + + + +
ProcedureDate
Nebulizer TherapyJune 22, 2015
Introduction of cardiac pacemaker system via veinOctober 5, 2011
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + RESULTS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Result TypeResult ValueRelevant Reference RangeInterpretationDate
Color of UrineYELLOWYELLOWNormal06/22/2015
Appearance of UrineCLEARCLEARNormal06/22/2015
Specific gravity of Urine by Test strip1.0151.005 – 1.030Normal06/22/2015
pH of Urine by Test strip5.0 pH5.0-8.0Normal06/22/2015
Glucose [Mass/volume] in urine by test strip50mg/dlNeg06/22/2015
Ketones [Mass/Volume] in urine by test stripNegativeNegative06/22/2015
Protein[Mass/Volume] in urine by test strip100mg/dlnegative06/22/2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + YELLOW + + + + YELLOW + + + + + + + + + + + + + + + + + CLEAR + + + + CLEAR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + +
+ + + + + + FUNCTIONAL STATUS + + + + + + + + + + + + + + +
Functional CategoryEffective Dates
Dependence on CaneMay 01, 2005
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + +
+ + + + + ASSESSMENTS + The patient was found to have fever and Dr Davis is suspecting Anemia based on the patient history. So Dr Davis asked the patient to closely monitor the temperature and blood pressure and get admitted to Community Health Hospitals if the fever does not subside within a day. +
+
+ + + + +
+ + + + + TREATMENT PLAN + + Hand-off Communication: +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Planned CareStart Date
Urinanalysis macro (dipstick) panelJune 22, 2015
Get an EKG done on 6/23/2015.June 23, 2015
Get a Chest X-ray done on 6/23/2015 showing the Lower Respiratory Tract Structure.June 23, 2015
Take Clindamycin 300mg three times a day as needed if pain does not subside.June 23, 2015 three times a day as needed
Schedule follow on visit with Neighborhood Physicians Practice on 7/1/2015.July 7, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Take Clindamycin 300mg three times a day as needed if pain does not subside. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + Neighborhood Physicians Practice + + + 2472 Rocky place + Beaverton + OR + 97006 + US + + + + + + + + + + + + Schedule follow on visit with Neighborhood Physicians Practice on 7/1/2015. + + + + + + + + + +
+
+ + + + + +
+ + + + + Goals Section + + + + + + + + + + + + + + + + + + + + + + + + +
GoalValueDate
Get rid of intermittent fever that is occurring every few weeks (Visual Inspection)N/AJune 23, 2015
Need to gain more energy to do regular activities (Visual Inspection)N/AJune 23, 2015
+
+ + + + + + + + + + + + Get rid of intermittent fever that is occurring every few weeks. (Visual Inspection) + + + + + + + + + + + + + + + + + + + + + + + + + + Need to gain more energy to do regular activities. (Visual Inspection) + + + + + + + + + + +
+
+ + + + + + +
+ + + + Health Concerns Section + + + + + + + + + + + + + + + + +
ObservationStatusDate
Chronic Sickness exhibited by patientActiveJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ConcernStatusDate
Documented HyperTension problemActiveJune 22, 2015
Documented HypoThyroidism problemActiveJune 22, 2015
Watch Weight of patientActiveJune 22, 2015
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + REASON FOR REFERRAL + Ms Alice Newman is being referred to Community Health Hospitals Inpatient facility because of the high fever noticed and suspected Anemia. +
+
+ + + + +
+ + + + + + MENTAL STATUS + + + + + + + + + + + + + + +
StatusDate
AmnesiaMay 05, 2005
+
+ + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/170.315_b8_ds4p_inp_sample1_v5.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/170.315_b8_ds4p_inp_sample1_v5.xml new file mode 100644 index 0000000000..61507416b9 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/170.315_b8_ds4p_inp_sample1_v5.xml @@ -0,0 +1,3453 @@ + + + + + + + + + + + + + + + + + + + + + 170.315_b1_toc_inp_ccd_r21_sample1 test data + + + + + + + + + + + + + + + + 1006 Amber Dr + Beaverton + OR + 97266 + US + + + + + + + + Lindsey + Turner + Pitt + + + Lin + Turner + Pitt + + + + + + + + + + + + + + + + + + + + Community Health and Hospitals + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + + + Mary + McDonald + + + + + + + + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + + + Henry + Seven + + + + + + + + + + + Franklin + Pitt + + + + + + + + + + Community Health and Hospitals + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + + + + + + + + Dr + Henry + Seven + + + + Community Health and Hospitals + + + + + + + + + + + + + + + + + 1006 Amber Dr + Beaverton + OR + 97266 + US + + + + + + Mr + Ralph + Issac + + + + + + + + + + + + 1006 Amber Dr + Beaverton + OR + 97266 + US + + + + + + Mr + Franklin + Pitt + + + + + + + + + + + + + + + + + + + Primary Care Provider + + + + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + + + Dr + Henry + Seven + + + + + Community Health and Hospitals + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + + + + + + + + + + + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + + + Mary + McDonald + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Security and Privacy Prohibitions + Section Author: Dr. Davis Albert, Neighborhood Physicians Practice
+ PROHIBITION ON REDISCLOSURE OF CONFIDENTIAL INFORMATION:
This notice + accompanies a disclosure of information concerning a client in alcohol/drug + treatment, made to you with the consent of such client. This information has + been disclosed to you from records protected by federal confidentiality + rules (42 C.F.R. Part 2). The federal rules prohibit you from making any + further disclosure of this information unless further disclosure is + expressly permitted by the written consent of the person to whom it pertains + or as otherwise permitted by 42 C.F.R. Part 2. A general authorization for + the release of medical or other information is NOT sufficient for this + purpose. The federal rules restrict any use of the information to criminally + investigate or prosecute any alcohol or drug abuse patient.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + Restricted Confidentiality + + + + + + + + + + + + + + + + Prohibition on redisclosure without patient + consent directive + + + + + + + + + + + + Information intended for + treatment + + + + + +
+
+ + + + + +
+ + + + + + ALLERGIES AND ADVERSE REACTIONS + + + + + + + + + + + + + + + + + + + + + + + + +
SubstanceReactionSeverityStatus
+ Penicillin G + + Hives + + Moderate + Active
+ Ampicillin + + Hives + + Moderate + Active
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + MEDICATIONS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MedicationDirectionsStart Date
Ceftriaxone 100MG/MLTwo Times DailyJune 22, 2015
Vantin 200mgTwo Times DailyJune 22, 2015
Tylenol 500mgAs neededJune 22, 2015
Darbepoetin Alfa 0.5 MG/MLOnce a weekJune 22, 2015
Clindamycin 300mgThree Times DailyJune 23, 2015
Torsemide 20mgDailyJune 23, 2015
Levothyroxine Sodium 1mgDailyJune 23, 2015
Prednisolone 50mgDailyJune 23, 2015
FenoFibric Acid 35mgAt the hour of sleepJune 24, 2015
Mycophenolic Acid 360mgTwo times dailyJune 24, 2015
Everolimus 0.5mgTwo times dailyJune 24, 2015
Ciprofloxacin 250mgThree times dailyJune 25, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + + + Discharge Medications + No Information +
+
+ + + + +
+ + + + + PROBLEMS + + Active Concerns + + Problem #1 + + Essential hypertension (Disorder) + + + Problem #2 + + Severe Hypothyroidism (Disorder) + + + Problem #3 + + Chronic rejection of renal transplant (disorder) + + + + Problem #4 + + Iron deficiency anemia (disorder)) + + + + Problem #5 + + Interstitial pneumonia (disorder) + + + + Resolved Concerns + + Problem #6 + + Overweight (finding) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + ENCOUNTERS + + + + + + + + + + + + + + + + +
Encounter DiagnosisLocationDate
Anemia in Chronic Kidney DiseaseCommunity Health and HospitalsJune 22, 2015 at 10:00am EST
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + + Community Health and Hospitals + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + + + ADMISSION DIAGNOSIS + Anemia + + + + + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + Community Health and Hospitals + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + PROCEDURES + + + + + + + + + + + + + + + + + + + + + + +
ProcedureDate
BronchoscopyJune 22, 2015
Chest X-Ray, PA and Lateral ViewsJune 22, 2015
Introduction of cardiac pacemaker system via veinOctober 5, 2011
+
+ + + + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + Community Health and Hospitals + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + + + + + + + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + Community Health and Hospitals + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + + + + + + + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + Community Health and Hospitals + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + Implants + + + + + + + + + + + + + + + + +
ImplantedAreaUDI
Cardiac PacemakerSubclavian Vein(01)00643169007222(17)160128(21)BLC200461H
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + IMMUNIZATIONS + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VaccineDateStatus
Influenza Virus VaccineMay 10, 2014Completed
Tetanus and diphtheria toxoidsJanuary 4, 2012Completed
influenza, intradermal, quadrivalent, preservative freeJune 22, 2015Refused
+
+ + + + + + + + + + + + + + + + + + + + + 1 + + + Immuno Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + Immuno Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Immuno Inc. + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + VITAL SIGNS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Date / Time: June 22, 2015
Height177 cm
Weight88 kg
Blood Pressure145/88 mm[Hg]
Heart Rate80 beats per minute
O2 Percentage BldC Oximetry95 percent
Body Temperature38 degree celsius
Respiratory Rate18 breaths per minute
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + SOCIAL HISTORY + + + + + + + + + + + + + + + + + + + + + + + + + + +
Social History ObservationDescriptionDates Observed
Smoking StatusHeavy tobacco smokerMay 1, 2005 - February 27, 2011
Current Smoking StatusCurrent every dayJune 22, 2015
Birth SexFemaleJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + RESULTS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Result TypeResult ValueRelevant Reference RangeInterpretationDate
HGB10.2 g/dL06/22/2015
WBC12.3 (10*3/uL)N/A - 500,00006/22/2015
PLT123 (10*3/uL)06/22/2015
Everolimus Blood10 ng/mL3.0 - 8.0 ng/ml06/22/2015
Color of UrineYELLOWYELLOWNormal06/22/2015
Appearance of UrineCLEARCLEARNormal06/22/2015
Specific gravity of Urine by Test strip1.0151.005 - 1.030Normal06/22/2015
pH of Urine by Test strip5.0 [pH]5.0 - 8.0Normal06/22/2015
Glucose [Mass/volume] in urine by test strip50 mg/dLNeg06/22/2015
Ketones [Mass/Volume] in urine by test stripNegativeNegativeNormal06/22/2015
Protein[Mass/Volume] in urine by test strip100 mg/dLnegative06/22/2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + N/A - 500,000 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + YELLOW + + + + YELLOW + + + + + + + + + + + + + + + + + CLEAR + + + + CLEAR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + + FUNCTIONAL STATUS + + + + + + + + + + + + + + +
Functional CategoryEffective Dates
Dependence on CaneMay 01, 2005
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + + MENTAL STATUS + + + + + + + + + + + + + + +
StatusDate
AmnesiaMay 05, 2005
+
+ + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + ASSESSMENTS + The patient was found to have Anemia and Dr Seven and his staff diagnosed the condition and treated Ms Alice for Anemia during the 2 day stay at Community Health Hospitals. Ms Alice recovered from Anemia during the stay and is being discharged in a stable condition. If there is fever greater than 101.5 F or onset of chest pain/breathlessness the patient is advised to contact emergency. +
+
+ + + + +
+ + + + + TREATMENT PLAN + + Hand-off Communication: +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Planned CareStart Date
Urinanalysis macro (dipstick) panelJune 29, 2015
Immunosuppressive therapyJuly 1, 2015
Schedule an appointment with Dr Seven after 1 week for Follow up with Outpatient facility for Immunosuppressive therapy.July 1, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Schedule an appointment with Dr Seven after 1 week for Follow up with Outpatient facility for Immunosuppressive therapy. + + + + + + + + +
+
+ + + + + +
+ + + + + Goals Section + + + + + + + + + + + + + + + + + + + + + + + +
GoalValueDate
Need to gain more energy to do regular activities (Visual Inspection)N/AJune 23, 2015
Negotiated Goal for Body Temperature98-99 degrees FahrenheitJune 23, 2015
+
+ + + + + + + + + + + + Need to gain more energy to do regular activities. (Visual Inspection) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + +
+ + + + Health Concerns Section + + + + + + + + + + + + + + + + +
ObservationStatusDate
Chronically illActiveJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ConcernStatusDate
HyperTension problem concernActiveJune 22, 2015
HypoThyroidism problem concernActiveJune 22, 2015
Anemia problem concernActiveJune 22, 2015
+
+ + + + + + + + + + + + + +
Related observationDate
Vital Sign Weight ObservationJune 22, 2015
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + HOSPITAL DISCHARGE INSTRUCTIONS + + + + Diet: Diabetic low salt diet + Medications: Take prescribed medications as advised. + Appointments: Schedule an appointment with Dr Seven after 1 week. Follow up with Outpatient facility for Immunosuppression treatment. + For Fever of > 101.5 F, or onset of chest pain/breathlessness contact Emergency. + + +
+
+ + + +
+
+
diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/170.315_b8_ds4p_inp_sample2_v2.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/170.315_b8_ds4p_inp_sample2_v2.xml new file mode 100644 index 0000000000..32313f2765 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/170.315_b8_ds4p_inp_sample2_v2.xml @@ -0,0 +1,2772 @@ + + + + + + + + + + + + + + + + + + 170.315_b1_toc_inp_ccd_r21_sample1 test data + + + + + + + + + + + + + + + 1006 Amber Dr + Beaverton + OR + 97266 + US + + + + + + + + Lindsey + Turner + Pitt + + + Lin + Turner + Pitt + + + + + + + + + + + + + + + + + + + + Community Health and Hospitals + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + + + + + + + + + + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + + + Mary + McDonald + + + + + + + + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + + + Henry + Seven + + + + + + + + + + + Franklin + Pitt + + + + + + + + + + Community Health and Hospitals + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + + + + + + + + Dr + Henry + Seven + + + + Community Health and Hospitals + + + + + + + + + + + + + + + + + 1006 Amber Dr + Beaverton + OR + 97266 + US + + + + + + Mr + Ralph + Issac + + + + + + + + + + + + 1006 Amber Dr + Beaverton + OR + 97266 + US + + + + + + Mr + Franklin + Pitt + + + + + + + + + + + + + + + + + + + Primary Care Provider + + + + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + + + Dr + Henry + Seven + + + + + Community Health and Hospitals + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + + + + + + + + + + + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + + + Mary + McDonald + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + ALLERGIES AND ADVERSE REACTIONS + + + + + + + + + + + + + + + + + + +
SubstanceReactionSeverityStatus
+ Penicillin G + + Hives + + Moderate + Active
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + MEDICATIONS + + + + + + + + + + + + + + + + + + + + + +
MedicationDirectionsStart Date
Ceftriaxone 100MG/MLTwo Times DailyJune 22, 2015
Vantin 200mgTwo Times DailyJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + + + Discharge Medications + No Information +
+
+ + + + +
+ + + + + PROBLEMS + + Active Concerns + + Problem #1 + + Essential hypertension (Disorder) + + + Problem #2 + + Severe Hypothyroidism (Disorder) + + + + Problem #4 + + Iron deficiency anemia (disorder)) + + + + Problem #5 + + Interstitial pneumonia (disorder) + + + + Resolved Concerns + + Problem #6 + + Overweight (finding) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + ENCOUNTERS + + + + + + + + + + + + + + + + +
Encounter DiagnosisLocationDate
Anemia in Chronic Kidney DiseaseCommunity Health and HospitalsJune 22, 2015 at 10:00am EST
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + + Community Health and Hospitals + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + + + ADMISSION DIAGNOSIS + Anemia + + + + + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Beaverton + OR + 97266 + US + + + Community Health and Hospitals + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + PROCEDURES + + + + + + + + + + + + + + + + + + + + + + +
ProcedureDate
BronchoscopyJune 22, 2015
Chest X-Ray, PA and Lateral ViewsJune 22, 2015
Introduction of cardiac pacemaker system via veinOctober 5, 2011
+
+ + + + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + Community Health and Hospitals + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + + + + + + + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + Community Health and Hospitals + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + + + + + + + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + Community Health and Hospitals + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + Implants + + + + + + + + + + + + + + + + +
ImplantedAreaUDI
Cardiac PacemakerSubclavian Vein(01)00643169007222(17)160128(21)BLC200461H
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + IMMUNIZATIONS + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VaccineDateStatus
Influenza Virus VaccineMay 10, 2014Completed
Tetanus and diphtheria toxoidsJanuary 4, 2012Completed
influenza, intradermal, quadrivalent, preservative freeJune 22, 2015Refused
+
+ + + + + + + + + + + + + + + + + + + + + 1 + + + Immuno Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + Immuno Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Immuno Inc. + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + VITAL SIGNS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Date / Time: June 22, 2015
Height177 cm
Weight88 kg
Blood Pressure145/88 mm[Hg]
Heart Rate80 beats per minute
O2 Percentage BldC Oximetry95 percent
Body Temperature38 degree celsius
Respiratory Rate18 breaths per minute
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + SOCIAL HISTORY + + + + + + + + + + + + + + + + + + + + + + + + + + +
Social History ObservationDescriptionDates Observed
Smoking StatusHeavy tobacco smokerMay 1, 2005 - February 27, 2011
Current Smoking StatusCurrent every dayJune 22, 2015
Birth SexFemaleJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + RESULTS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Result TypeResult ValueRelevant Reference RangeInterpretationDate
HGB10.2 g/dL06/22/2015
WBC12.3 (10*3/uL)N/A - 500,00006/22/2015
PLT123 (10*3/uL)06/22/2015
Everolimus Blood10 ng/mL3.0-8.0 ng/ml06/22/2015
Color of UrineYELLOWYELLOWNormal06/22/2015
Appearance of UrineCLEARCLEARNormal06/22/2015
Specific gravity of Urine by Test strip1.0151.005 – 1.030Normal06/22/2015
pH of Urine by Test strip5.0 [pH]5.0-8.0Normal06/22/2015
Glucose [Mass/volume] in urine by test strip50 mg/dLNeg06/22/2015
Ketones [Mass/Volume] in urine by test stripNegativeNegativeNormal06/22/2015
Protein[Mass/Volume] in urine by test strip100 mg/dLnegative06/22/2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + N/A - 500,000 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + YELLOW + + + + YELLOW + + + + + + + + + + + + + + + + + CLEAR + + + + CLEAR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + + FUNCTIONAL STATUS + + + + + + + + + + + + + + +
Functional CategoryEffective Dates
Dependence on CaneMay 01, 2005
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + + MENTAL STATUS + + + + + + + + + + + + + + +
StatusDate
AmnesiaMay 05, 2005
+
+ + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + ASSESSMENTS + The patient was found to have Anemia and Dr Seven and his staff diagnosed the condition and treated Ms Alice for Anemia during the 2 day stay at Community Health Hospitals. Ms Alice recovered from Anemia during the stay and is being discharged in a stable condition. If there is fever greater than 101.5 F or onset of chest pain/breathlessness the patient is advised to contact emergency. +
+
+ + + + +
+ + + + + TREATMENT PLAN + + Hand-off Communication: +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Planned CareStart Date
Urinanalysis macro (dipstick) panelJune 29, 2015
Immunosuppressive therapyJuly 1, 2015
Schedule an appointment with Dr Seven after 1 week for Follow up with Outpatient facility for Immunosuppressive therapy.July 1, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Schedule an appointment with Dr Seven after 1 week for Follow up with Outpatient facility for Immunosuppressive therapy. + + + + + + + + +
+
+ + + + + +
+ + + + + Goals Section + + + + + + + + + + + + + + + + + + + + + + + +
GoalValueDate
Need to gain more energy to do regular activities (Visual Inspection)N/AJune 23, 2015
Negotiated Goal for Body Temperature98-99 degrees FahrenheitJune 23, 2015
+
+ + + + + + + + + + + + Need to gain more energy to do regular activities. (Visual Inspection) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + +
+ + + + Health Concerns Section + + + + + + + + + + + + + + + + +
ObservationStatusDate
Chronically illActiveJune 22, 2015
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ConcernStatusDate
HyperTension problem concernActiveJune 22, 2015
HypoThyroidism problem concernActiveJune 22, 2015
Anemia problem concernActiveJune 22, 2015
+
+ + + + + + + + + + + + + +
Related observationDate
Vital Sign Weight ObservationJune 22, 2015
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + HOSPITAL DISCHARGE INSTRUCTIONS + + + + Diet: Diabetic low salt diet + Medications: Take prescribed medications as advised. + Appointments: Schedule an appointment with Dr Seven after 1 week. Follow up with Outpatient facility for Immunosuppression treatment. + For Fever of > 101.5 F, or onset of chest pain/breathlessness contact Emergency. + + +
+
+ + + +
+
+
diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample.xml new file mode 100644 index 0000000000..d46cd576ec --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample.xml @@ -0,0 +1,2150 @@ + + + + + + + + + + + + + + + + + + + + + Get Well Clinic: Health Summary + + + + + + + + + + + + + + + + + + + 1357 Amber Drive + Beaverton + OR + 97006 + US + + + + + + + + + + + Isabella + Isa + + Jones + + + + + + + + + + + + + 1357 Amber Drive + Beaverton + OR + 97006 + US + + + + + + Ralph + Jones + + + + + + + Beaverton + OR + 97006 + US + + + + + + + + + + + + + Get Well Clinic + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + + + + + + + 1002 Healthcare Drive + Portland + OR + 97266 + US + + + + + Mary + McDonald + + + + + + + + + 1002 Healthcare Drive + Portland + OR + 97266 + US + + + + + Henry + Seven + + + + + + + + + + + Frank + Jones + + + + + + + + + Get Well Clinic + + + 1002 Healthcare Drive + Portland + OR + 97266 + US + + + + + + + + + Henry + Seven + + + + Get Well Clinic + + + + + + + + + + + + + 1357 Amber Drive + Beaverton + OR + 97006 + US + + + + + + Mr. + Ralph + Jones + + + + + + + + + + 1357 Amber Drive + Beaverton + OR + 97006 + US + + + + + + Mr. + Frank + Jones + + + + + + + + + + + + + + Primary Care Provider + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + Dr. + Henry + Seven + + + + + Get Well Clinic + + + 1002 Healthcare Drive + Portland + OR + 97266 + US + + + + + + + + + + + + + + + + + + + + Dr + Henry + Seven + + + + + + + + + + Dr + Henry + Seven + + + + + + + + + + + + + + + + + +
+ + + + ALLERGIES, ADVERSE REACTIONS, ALERTS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SubstanceReactionSeverityStatus
Penicillin G benzathine + Hives + + Moderate to severe + Inactive
Codeine + Shortness of Breath + + Moderate + Active
Aspirin + Hives + + Mild to moderate + Active
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + ENCOUNTERS + + + + + + + + + + + + + + + + + + +
EncounterPerformerLocationDate
+ PnuemoniaDr Henry SevenGet Well Clinic20120806
+
+ + + + + + + + Outpatient Visit + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + Get Well Clinic + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + IMMUNIZATIONS + + + + + + + + + + + + + + + + + + + + + + +
VaccineDateStatus
+ Influenza virus vaccine, IMMay 2012Completed
+ tetanus toxoid, NOSApr 2012Completed
+
+ + + + + + + + + + + + + + + + + + + Influenza virus vaccine + + + + + Health LS - Immuno Inc. + + + + + + + + + + Possible flu-like symptoms + for three days. + + + + + + + + + + + + + + + + + + + + + + + + + tetanus toxoid, NOS + + + + + Health LS - Immuno Inc. + + + + + + + + + + Possible flu-like symptoms + for three days. + + + + + +
+
+ + +
+ + + Medications + + + + + + + + + + + + + + + + + + + + + + +
MedicationDirectionsStart DateStatusIndicationsFill Instructions
+ Albuterol 0.09 MG/ACTUAT + [Proventil] + 0.09 MG/ACTUAT inhalant solution, 2 puffs once20120806ActiveAsthma (195967001 SNOMED CT) + Generic Substitition Allowed +
+
+ + + + + + + 0.09 MG/ACTUAT inhalant solution, 2 puffs + + + + + + + + + + + + + + + + + + + + + + + + + + Medication Factory Inc. + + + + + + + + + + + Get Well Clinic + + + + + + + + + + + + Aerosol + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Medication Factory Inc. + + + + + + + + 1002 Healthcare + Dr + Portland + OR + 97266 + US + + + + + + + + + + + + label in spanish + + + + + + + + + + + + + + + + + + + + + + + + + + + Medication Factory Inc. + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + CARE PLAN + + + + + + + + + + + + + + +
Planned ActivityPlanned Date
Goal: Appropriate management of + Pneumonia.

Instructions: Present to Community + Health Hospitals admitting department for planned inpatient + admission for further management of Pneumonia.
20120806
+
+ + + + + + Goal: Appropriate management of Pneumonia. Instructions: Present + to Community Health Hospitals admitting department for planned + inpatient admission for further management of pneumonia + + + +
+
+ + +
+ + + + REASON FOR REFERRAL + + Recommended inpatient admission for pneumonia + +
+
+ + +
+ + + PROBLEMS + + + + + Pneumonia : Status - Active + + + Asthma : Status - Active + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + PROCEDURES + + + + + + + + + + + + + + +
ProcedureDate
+ Chest X-Ray + 2012
+
+ + + + + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + Get Well Radiology + + + + + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + Get Well Clinic + + + + + +
+
+ + +
+ + + + FUNCTIONAL STATUS + + + + + + + + + + + + + + + + + + + + + +
Functional ConditionEffective DatesCondition Status
+ Dependence on cane + 2008Active
+ Memory impairment + 2008Active
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + RESULTS + + + + + + + + + + + + + + + + + + + + + + + + +
LABORATORY INFORMATION
Chemistries and drug levels
+ HGB (M 13-18 g/dl; F 12-16 + g/dl) + 13.2
+ WBC (4.3-10.8 10+3/ul) + 16.7
+ PLT (150-450 x 10^9/L) + 123/L
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + M 13-18 g/dl; F 12-16 g/dl + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + SOCIAL HISTORY + + + + + + + + + + + + + + + + +
Social History ElementDescriptionEffective Dates
+ smokingFormer Smoker - Smoked 1 pack per day from 2005 to 201120050501 to 20110227
+
+ + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + VITAL SIGNS + + + + + + + + + + + + + + + + + + + + + + + + + + +
Date / Time: Nov 1, 2011August 6, 2012
Height + 69 inches + + 69 inches +
Weight + 189 lbs + + 194 lbs +
Blood Pressure + 132/86 mmHg + + 145/88 mmHg +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_CCDA_CCD_b1_Ambulatory_v2.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_CCDA_CCD_b1_Ambulatory_v2.xml new file mode 100644 index 0000000000..1b6402a0d1 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_CCDA_CCD_b1_Ambulatory_v2.xml @@ -0,0 +1,3761 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + Community Health and Hospitals: Health Summary + + + + + + + + + + + + + + + + + + + + + + + + + + + 1357 Amber Drive + Beaverton + OR + 97006 + US + + + + + + + + + + + + + + Myra + + Jones + + + + + + + + + + + + + + + + 1357 Amber Drive + Beaverton + OR + 97006 + US + + + + + + Ralph + Jones + + + + + + + Beaverton + OR + 97006 + US + + + + + + + + + + + + + + Community Health and Hospitals + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + + + + + + + + 1002 Healthcare Drive + Portland + OR + 97266 + US + + + + + Mary + McDonald + + + + + + + + + 1002 Healthcare Drive + Portland + OR + 97266 + US + + + + + Henry + Seven + + + + + + + + + + + Frank + Jones + + + + + + + + + Community Health and Hospitals + + + 1002 Healthcare Drive + Portland + OR + 97266 + US + + + + + + + + + Henry + Seven + + + + Community Health and Hospitals + + + + + + + + + + + + + 1357 Amber Drive + Beaverton + OR + 97006 + US + + + + + + Mr. + Ralph + Jones + + + + + + + + + + 1357 Amber Drive + Beaverton + OR + 97006 + US + + + + + + Mr. + Frank + Jones + + + + + + + + + + + + + + + Primary Care Provider + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + Dr. + Henry + Seven + + + + + Community Health and Hospitals + + + 1002 Healthcare Drive + Portland + OR + 97266 + US + + + + + + + Primary Care Provider + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + Dr. + Henry + Seven + + + + + Community Health and Hospitals + + + 1002 Healthcare Drive + Portland + OR + 97266 + US + + + + + + + + + + + + + + + + + + + + + Dr + Henry + Seven + + + + + + + + + + Dr + Henry + Seven + + + + + + + + + + + + + + + + + + +
+ + + + ALLERGIES, ADVERSE REACTIONS, ALERTS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SubstanceReactionSeverityStatus
Penicillin G benzathineHivesModerate to severeInactive
CodeineShortness of BreathModerateActive
AspirinHivesMild to moderateActive
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + ENCOUNTERS + + + + + + + + + + + + + + + + + + +
EncounterPerformerLocationDate
+ PnuemoniaDr Henry SevenCommunity Health and Hospitals20120806
+
+ + + + + + + + Mild Fever + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + Community Health and Hospitals + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + + IMMUNIZATIONS + + + + + + + + + + + + + + + + + + + + + +
VaccineDateStatus
Influenza virus vaccine, IMMay 2012Completed
Tetanus and diphtheria toxoids, IMAor 2012Completed
+
+ + + + + + + + + + + + + + + + + + + + Influenza virus vaccine + + + + + Health LS - Immuno Inc. + + + + + + + + + Possible flu-like symptoms for three days. + + + + + + + + + + + + + + + + + + + + + + + + Tetanus and diphtheria toxoids - preservative free + + + + + Health LS - Immuno Inc. + + + + + + + + + Possible flu-like symptoms for three days. + + + + + +
+
+ + + + +
+ + + Medications + + + + + + + + + + + + + + + + + + + + + + +
MedicationDirectionsStart DateStatusIndicationsFill Instructions
Albuterol 0.09 MG/ACTUAT inhalant solution0.09 MG/ACTUAT inhalant solution, 2 puffs once20120806ActivePneumonia (233604007 SNOMED CT)Generic Substitition Allowed
+
+ + + + + + + 0.09 MG/ACTUAT inhalant solution, 2 puffs + + + + + + + + + + + + + + + + + + + + + + + + Medication Factory Inc. + + + + + + + + + + + Community Health and Hospitals + + + + + + + + + + + + Aerosol + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Medication Factory Inc. + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + + + + + + + label in spanish + + + + + + + + + + + + + + + + + + + + + + + + + Medication Factory Inc. + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + CARE PLAN + + + + + + + + + + + + + + + + + + + + + + +
Planned ActivityPlanned Date
Consultation with Dr George Potomac for Asthma20120820
Chest X-ray20120826
Sputum Culture20120820
+
+ + + + + + + +
+ + + + + + + Follow up with Dr George Potomac for Asthma + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + +
+
+ + + +
+ + + + + HOSPITAL DISCHARGE MEDICATIONS + + + + + + + + + + + + + + + + + + + + + + +
MedicationDirectionsStart DateStatusIndicationsFill Instructions
120 ACTUAT Fluticasone propionate 0.11 MG/ACTUAT Metered Dose Inhaler0.11 MG/ACTUAT Metered Dose Once Daily20120813ActiveBronchitis (32398004 SNOMED CT)Generic Substitition Allowed
+
+ + + + + + + + + + + + + + + + + + 0.11 MG/ACTUAT Metered Dose Once Daily + + + + + + + + + + + + + + + + + + + + + + + + + + + + Medication Factory Inc. + + + + + + + + + + + Community Health and Hospitals + + + + + + + + + + + + Aerosol + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Medication Factory Inc. + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + + + + + + + Generic Substitution Allowed + + + + + + + + + + + + + + + + + + + + + + + + + + Medication Factory Inc. + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + REASON FOR REFERRAL + + Follow up with Dr George Potomac for Asthma + +
+
+ + +
+ + + PROBLEMS + + + Pneumonia : Status - Resolved + Asthma : Status - Active + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + PROCEDURES + + + + + + + + + + + + + + +
ProcedureDate
+ Chest X-Ray + 8/7/2012
+
+ + + + + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + Community Health and Hospitals + + + + + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + Community Health and Hospitals + + + + + +
+
+ + + +
+ + + + FUNCTIONAL STATUS + + + + + + + + + + + + + + + + + + + + + +
Functional ConditionEffective DatesCondition Status
+ Dependence on cane2008Active
+ Memory impairment + 2008Active
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + RESULTS + + + + + + + + + + + + + + + + + + + + + + +
LABORATORY INFORMATION
Chemistries and drug levels
HGB (M 13-18 g/dl; F 12-16 g/dl)13.2
WBC (4.3-10.8 10+3/ul)6.7
PLT (135-145 meq/l)123 (L)
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + M 13-18 g/dl; F 12-16 g/dl + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + SOCIAL HISTORY + + + + + + + + + + + + + + + + + + + + + +
Social History ElementDescriptionEffective Dates
+ smokingFormer Smoker (1 pack per day20050501 to 20110227
+ smokingCurrent Everyday Smoker 2 packs per day20110227 - today
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 pack per day + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + VITAL SIGNS + + + + + + + + + + + + + + + + + + + + + + + + + + +
Date / Time: Nov 1, 2011August 6, 2012
Height + 69 inches + 69 inches
Weight + 189 lbs + 194 lbs
Blood Pressure132/86 mmHg145/88 mmHg
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + HOSPITAL DISCHARGE INSTRUCTIONS + + + Ms. Jones, you have been seen by Dr. Henry Seven at Local Community Hospital from August 8th until August 13th 2012. You are currently being discharged from Local Community Hospital. Dr. Seven has provided the following instructions to you at this time; should you have any questions please contact a member of your healthcare team prior to discharge. If you have left the hospital and have questions, please contact Dr. Seven at 555-555-1002. + Instructions: + + + Take all medications as prescribed. + Please monitor your peak flows. If your peak flows drop to 50% of normal, call my office immediately or return to the Emergency Room. + If you experience any of the following symptoms, call my office immediately or return to the Emergency Room: + + Shortness of Breath + Dizziness or Light-headedness + Fever, chills, or diffuse body aches + Pain or redness at the site of any previous intravenous catheter + Any other unusual problem + + + + +
+
+ +
+
+
diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_DS4P_MDHTGen.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_DS4P_MDHTGen.xml new file mode 100644 index 0000000000..597da9b75b --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_DS4P_MDHTGen.xml @@ -0,0 +1,2283 @@ + + + + + + + + + Example Continuity of Care Document + + + + + + + + + + + + + 1 Main St + Anytown + NH + 99999 + + + + + + + + + + + Mary + A + Everyperson + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example Organization + + + + + Example Address Line + ExampleCity + NH + 99999 + + + + + + + + + + + + + + + + + + + + + + + 1 Main St + Anytowm + NH + 99999 + + + + + + Everyperson + Harold + M + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Security and Privacy Prohibitions + PROHIBITION ON REDISCLOSURE OF CONFIDENTIAL INFORMATION
This notice + accompanies a disclosure of information concerning a client in alcohol/drug + treatment, made to you with the consent of such client. This information has + been disclosed to you from records protected by federal confidentiality + rules (42 C.F.R. Part 2). The federal rules prohibit you from making any + further disclosure of this information unless further disclosure is + expressly permitted by the written consent of the person to whom it pertains + or as otherwise permitted by 42 C.F.R. Part 2. A general authorization for + the release of medical or other information is NOT sufficient for this + purpose. The federal rules restrict any use of the information to criminally + investigate or prosecute any alcohol or drug abuse patient.
+ + + + + + + + + + + + + + + + + + + + + + + Restricted Confidentiality + + + + + + + + + + + + + Information must be encrypted + + + + + + + + + + + + + Prohibition on redisclosure without patient + consent directive + + + + + + + + + + + + + Information intended for + treatment + + + + + +
+
+ + +
+ + + + + + + + Allergies and Alert Problems + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SubstanceReactionsSeverityDate of onsetComments
IVP dyeanaphylaxisHigh2010Allergy is is very severe...
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Allergy is very + severe... + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + Conditions or Problems + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ConditionCode SystemCodeDate of onsetAuthor
Cannabis dependence, unspecifiedICD-9304.30January 2009Dr. Harold Hippocrates,
Example Organization
Oct. + 21, 2010
HeadacheICD-9784.0 Dr. Harold Hippocrates,
Example Organization
Oct. + 21, 2010
+   + + + + + + + + + + + + + + + +
Accident TypeAccident DescriptionDate of onset
Car AccidentTrauma...October 10, 2010
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Restricted + Confidentiality + + + + + + + + + + + + + Information must be + encrypted + + + + + + + + + + + + + Prohibition on redisclosure + without patient consent + directive + + + + + + + + + + + + + Information intended for + treatment + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Trauma... + + + + + +
+
+ + +
+ + + + + + + + Results + + + Note: Only the the most recent three laboratory result values of + each type are listed below: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chem-Glucose POC Results
Result1/27/2010 9:101/26/2010 22:001/26/2010 15:29
+ Chem-Glucose POC + (90-120)140 mg/dL H120 mg/dL H90 mg/dL
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Coagulation
Result1/26/2010 7:30                                                      
+ Prothrombin Time + (9.0-12.1)15.9 sec H  
+ INR +  1.5 sec  
+ PTT + (25.0-38.0)25.4 sec  
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chem-General Results
Result1/27/2010 15:201/27/2010 7:301/26/2010 21:45
+ Sodium + (136-145)137 mmol/L138 mmol/L137 mmol/L
+ Potassium + (3.5-5.1)4.7 mmol/L4.4 mmol/L4.3 mmol/L
+ Chloride + (98-107)103 mmol/L104 mmol/L104 mmol/L
+ + Note: Only the the most recent radiology reports of each type + are listed below: + + + + + + + + + + + + + + + + + + + + + +
Radiology Reports
1/26/2010 13:09
+ Example
PROCEDURE: ADX6544 - WRIST + ROUTINE MIN 3 VIEW LT
DATE OF EXAM: 26-Jan-2010 + 1:09PM RIS ORDER NO: 90001 CPT:
HISTORY: + Pain/trauma.
nondisplaced fracture of the distal + left radius. The remaining bones
appear intact. + The carpal bones are intact.
IMPRESSION: + Nondisplaced fracture of the distal left radius.
+
Transcriptionist:
CR2
+
Dictated Date:
26-Jan-2010
+
Transcribe Date/Time:
26-Jan-2010 2:51P +
Read By: Dr. Avicenna M.D.
+
Signed By:
Dr. Avicenna M.D.
+ Professional Codes: \
+
1/26/2010 20:09
+
PROCEDURE: CDX2050 - SPINE CERVICAL + COMP MIN 4 VIEW
ORDERING DOCTOR: Hippocrates, + Doctor M.D.
DATE OF EXAM: 26-Jan-2010 8:09PM RIS + ORDER NO: 90001 CPT: 72050
HISTORY: Trauma.
+ FINDINGS: Five views of the cervical spine demonstrate + normal alignment
and stature of the cervical + vertebral bodies. The disc spaces are
preserved. + The neural foramina are largely patent. Carotid vascular +
calcification is seen in the left neck.
+
IMPRESSION: No acute fracture.
+ Transcriptionist:
KP1
+
Dictated Date:
26-Jan-2010
+
Transcribe Date/Time:
26-Jan-2010 11:47A
+
Read By: Doctor Avicenna M.D.
+
Signed By:
Doctor Avicenna M.D.
+ Professional Codes: 959.09-1403

+ +
+ Note: Only the the most recent cardiology reports of each type + are listed below: + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 140 mg/dL + + + + + + + + + + + (90-120) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 120 mg/dL + + + + + + (90-120) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 90 mg/dL + + + + (90-120) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 15.9 sec + + + + + + (9.0-12.1) + + + + + + + + + + + + + + + + 11.5 + + + + + + + + + + + + + + 25.4 sec + + + + (25.0-38.0) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 137 mmol/L + + + + + + (136-145) + + + + + + + + + + + + + + + + 4.7 mmol/L + + + + + + (3.5-5.1) + + + + + + + + + + + + + + + + 103 mmol/L + + + + + + (98-107) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 138 mmol/L + + + + (136-145) + + + + + + + + + + + + + + + + 4.4 mmol/L + + + + (3.5-5.1) + + + + + + + + + + + + + + + + 104 mmol/L + + + + (98-107) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 137 mmol/L + + + + (136-145) + + + + + + + + + + + + + + + + 4.3 mmol/L + + + + (3.5-5.1) + + + + + + + + + + + + + + + + 104 mmol/L + + + + (98-107) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + Procedures + + + + + + + + + + + + + + + +
ProcedureDate
Knee Replacement10/06/2008
+
+ + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + + + + + Encounters + + + + + + + + + + + + + + + + + + + +
Encounter TypeLocationDateAccount Number
EmergencyExample Clinic1/25/2010 - 1/28/20109898-8988
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example Clinic + + + + + +
+
+ + + +
+ + + + + + + + Insurance Payers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Payer Name/ContactPriorityGroup IdCovered Party IdCovered Party Name/RelationshipCovered Party Date of Birth
Good Health
99 Main St.
Anytown, + NH
978-555-1234
Primary1111G-0980Everyperson, Harold M./Spouse11/12/1944
Metropolitan Health
1 Elm St.
Anytown, + NH
603-555-1212
Secondary2222M-987987Everyperson, Mary A./Self7/04/1943
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 99 Main St. + + Anytown + + NH + + 99999 + + + + + + + Everyperson + M + Harold + + + + + + + Good Health + + + + + 99 Main St. + + Anytown + + NH + + 99999 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 Elm St. + + Anytown + + NH + + 99999 + + + + + + + Everyperson + + A + + Mary + + + + + + + Metropolitan Health + + + + + + 1 Elm St. + + Anytown + + NH + + 99999 + + + + + + + + + + + + + + + + +
+
+
+
+
diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_addSchemaErrors.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_addSchemaErrors.xml new file mode 100644 index 0000000000..4e2ad934d7 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_addSchemaErrors.xml @@ -0,0 +1,2119 @@ + + + + + + + + + + + + + + + + + + + + + Get Well Clinic: Health Summary + + + + + + + + + + + + + + + + + + + 1357 Amber Drive + Beaverton + OR + 97006 + US + + + + + + + + + + + Isabella + Isa + + Jones + + + + + + + + + + + + + + 1357 Amber Drive + Beaverton + OR + 97006 + US + + + + + Ralph + Jones + + + + + + + Beaverton + OR + 97006 + US + + + + + + + + + + + + + + + + + + + 1002 Healthcare Drive + Portland + OR + 97266 + US + + + + + Mary + McDonald + + + + + + + + + 1002 Healthcare Drive + Portland + OR + 97266 + US + + + + + Henry + Seven + + + + + + + + + + + Frank + Jones + + + + + + + + + Get Well Clinic + + + 1002 Healthcare Drive + Portland + OR + 97266 + US + + + + + + + + + Henry + Seven + + + + Get Well Clinic + + + + + + + + + + + + + 1357 Amber Drive + Beaverton + OR + 97006 + US + + + + + + Mr. + Ralph + Jones + + + + + + + + + + 1357 Amber Drive + Beaverton + OR + 97006 + US + + + + + + Mr. + Frank + Jones + + + + + + + + + + + + + + Primary Care Provider + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + Dr. + Henry + Seven + + + + + Get Well Clinic + + + 1002 Healthcare Drive + Portland + OR + 97266 + US + + + + + + + + + + + + + + + + + + + + Dr + Henry + Seven + + + + + + + + + + Dr + Henry + Seven + + + + + + + + + + + + + + + + + +
+ + + + ALLERGIES, ADVERSE REACTIONS, ALERTS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SubstanceReactionSeverityStatus
Penicillin G benzathine + Hives + + Moderate to severe + Inactive
Codeine + Shortness of Breath + + Moderate + Active
Aspirin + Hives + + Mild to moderate + Active
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + ENCOUNTERS + + + + + + + + + + + + + + + + + + +
EncounterPerformerLocationDate
+ PnuemoniaDr Henry SevenGet Well Clinic20120806
+
+ + + + + + + + Outpatient Visit + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + Get Well Clinic + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + IMMUNIZATIONS + + + + + + + + + + + + + + + + + + + + + + +
VaccineDateStatus
+ Influenza virus vaccine, IMMay 2012Completed
+ tetanus toxoid, NOSApr 2012Completed
+
+ + + + + + + + + + + + + + + + + + + Influenza virus vaccine + + + + + Health LS - Immuno Inc. + + + + + + + + + + Possible flu-like symptoms + for three days. + + + + + + + + + + + + + + + + + + + + + + + + + tetanus toxoid, NOS + + + + + Health LS - Immuno Inc. + + + + + + + + + + Possible flu-like symptoms + for three days. + + + + + +
+
+ + +
+ + + Medications + + + + + + + + + + + + + + + + + + + + + + +
MedicationDirectionsStart DateStatusIndicationsFill Instructions
+ Albuterol 0.09 MG/ACTUAT + [Proventil] + 0.09 MG/ACTUAT inhalant solution, 2 puffs once20120806ActiveAsthma (195967001 SNOMED CT) + Generic Substitition Allowed +
+
+ + + + + + + 0.09 MG/ACTUAT inhalant solution, 2 puffs + + + + + + + + + + + + + + + + + + + + + + + + + + Medication Factory Inc. + + + + + + + + + + + Get Well Clinic + + + + + + + + + + + + Aerosol + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Medication Factory Inc. + + + + + + + + 1002 Healthcare + Dr + Portland + OR + 97266 + US + + + + + + + + + + + + label in spanish + + + + + + + + + + + + + + + + + + + + + + + + + + + Medication Factory Inc. + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + CARE PLAN + + + + + + + + + + + + + + +
Planned ActivityPlanned Date
Goal: Appropriate management of + Pneumonia.

Instructions: Present to Community + Health Hospitals admitting department for planned inpatient + admission for further management of Pneumonia.
20120806
+
+ + + + + + Goal: Appropriate management of Pneumonia. Instructions: Present + to Community Health Hospitals admitting department for planned + inpatient admission for further management of pneumonia + + + +
+
+ + +
+ + + + REASON FOR REFERRAL + + Recommended inpatient admission for pneumonia + +
+
+ + +
+ + + PROBLEMS + + + + + Pneumonia : Status - Active + + + Asthma : Status - Active + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + PROCEDURES + + + + + + + + + + + + + + +
ProcedureDate
+ Chest X-Ray + 2012
+
+ + + + + + + + + + + + + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + + Get Well Radiology + + + + + + + + + + + + 1002 Healthcare Dr + Portland + OR + 97266 + US + + + + Get Well Clinic + + + + + +
+
+ + +
+ + + + FUNCTIONAL STATUS + + + + + + + + + + + + + + + + + + + + + +
Functional ConditionEffective DatesCondition Status
+ Dependence on cane + 2008Active
+ Memory impairment + 2008Active
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + RESULTS + + + + + + + + + + + + + + + + + + + + + + + + +
LABORATORY INFORMATION
Chemistries and drug levels
+ HGB (M 13-18 g/dl; F 12-16 + g/dl) + 13.2
+ WBC (4.3-10.8 10+3/ul) + 16.7
+ PLT (150-450 x 10^9/L) + 123/L
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + M 13-18 g/dl; F 12-16 g/dl + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + + SOCIAL HISTORY + + + + + + + + + + + + + + + + +
Social History ElementDescriptionEffective Dates
+ smokingFormer Smoker - Smoked 1 pack per day from 2005 to 201120050501 to 20110227
+
+ + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + VITAL SIGNS + + + + + + + + + + + + + + + + + + + + + + + + + + +
Date / Time: Nov 1, 2011August 6, 2012
Height + 69 inches + + 69 inches +
Weight + 189 lbs + + 194 lbs +
Blood Pressure + 132/86 mmHg + + 145/88 mmHg +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_basicHTML.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_basicHTML.xml new file mode 100644 index 0000000000..a95c2e728c --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_basicHTML.xml @@ -0,0 +1,8 @@ + + + + +

Not a C-CDA

+

Nothin here...

+ + diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_blank_Empty_Document.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_blank_Empty_Document.xml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_invalid-SnippetOnly.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_invalid-SnippetOnly.xml new file mode 100644 index 0000000000..d8558145a9 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/Sample_invalid-SnippetOnly.xml @@ -0,0 +1,82 @@ + +
+ + + + + Results CO2 Example + + + + + + + + + + + + + + + + + + + + + + +
ResultValueUnitsRangeDateInterpretation
CO227mmol/L23-29 mmol/L8/15/2012Normal
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 23-29 mmol/L + + + + + + + + + + + + +
+
+ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/ccdaReferenceValidatorConfigTest.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/ccdaReferenceValidatorConfigTest.xml new file mode 100644 index 0000000000..73e0b23103 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/ccdaReferenceValidatorConfigTest.xml @@ -0,0 +1,167 @@ + + + + + + ClassCodeValidator + + SHALL + + 2.16.840.1.113883.11.20.9.33 + + + + + + + CodeSystemCodeValidator + + SHALL + + SNOMED-CT + + + + + + + + + + + + + NodeCodeSystemMatchesConfiguredCodeSystemValidator + + SHALL + + codeSystem + 2.16.840.1.113883.5.111 + + + + + + + RequiredNodeValidator + + SHALL + + + @unit + + If Observation/value is a physical quantity (xsi:type="PQ"), the unit of measure SHALL be selected from ValueSet UnitsOfMeasureCaseSensitive 2.16.840.1.113883.1.11.12839 DYNAMIC (CONF:1198-31484). + + + + + + + TextNodeValidator + + SHALL + + 2.16.840.1.113883.3.88.12.80.63 + + + + + + + + + + + + + + + + NodeCodeSystemMatchesConfiguredCodeSystemValidator + codeSystem + 2.16.840.1.113883.6.1 + + + + + + + NodeCodeSystemMatchesConfiguredCodeSystemValidator + codeSystem + 2.16.840.1.113883.6.1 + + + + + + RequiredNodeValidator + + SHOULD + + v3:prefix + informant/relatedEntity/relatedPerson/name SHOULD contain a prefix element (not a real rule - just a test) + + + + + + RequiredNodeValidator + + MAY + + v3:prefix + informant/relatedEntity/relatedPerson/name MAY contain a prefix element (not a real rule - just a test) + + + + \ No newline at end of file diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/severityLevelLimitTestConfig.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/severityLevelLimitTestConfig.xml new file mode 100644 index 0000000000..4ddec14d3f --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/severityLevelLimitTestConfig.xml @@ -0,0 +1,84 @@ + + + + + RequiredNodeValidator + + MAY + + v3:prefix + informant/relatedEntity/relatedPerson/name MAY contain a prefix element (not a real rule - just a test) + + + RequiredNodeValidator + + MAY + + v3:prefix + informant/relatedEntity/relatedPerson/name MAY contain a prefix element (not a real rule - just a test) + + + RequiredNodeValidator + + MAY + + v3:prefix + informant/relatedEntity/relatedPerson/name MAY contain a prefix element (not a real rule - just a test) + + + + + + RequiredNodeValidator + + SHOULD + + v3:prefix + informant/relatedEntity/relatedPerson/name SHOULD contain a prefix element (not a real rule - just a test) + + + RequiredNodeValidator + + SHOULD + + v3:prefix + informant/relatedEntity/relatedPerson/name SHOULD contain a prefix element (not a real rule - just a test) + + + RequiredNodeValidator + + SHOULD + + v3:prefix + informant/relatedEntity/relatedPerson/name SHOULD contain a prefix element (not a real rule - just a test) + + + + + + RequiredNodeValidator + + SHALL + + v3:prefix + informant/relatedEntity/relatedPerson/name SHALL contain a prefix element (not a real rule - just a test) + + + RequiredNodeValidator + + SHALL + + v3:prefix + informant/relatedEntity/relatedPerson/name SHALL contain a prefix element (not a real rule - just a test) + + + RequiredNodeValidator + + SHALL + + v3:prefix + informant/relatedEntity/relatedPerson/name SHALL contain a prefix element (not a real rule - just a test) + + + + diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/tempResults_ValidatorBrokeETTGG.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/tempResults_ValidatorBrokeETTGG.xml new file mode 100644 index 0000000000..db2bd685ba --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/tempResults_ValidatorBrokeETTGG.xml @@ -0,0 +1,39299 @@ + + + + + + + + + + + + + + My Custom Title + + + + + + + + + + 1 Patient Road + Some City + MA + 02458 + US + + + + + + + + + + + + + + + + + + Patient + Sally + The + Really + Great + Ms + MD + + + Student + SallyAnn + + + Sparrow + Yellow + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 9 Guardian Home + Anywhere + MA + 27816 + + + + + Guardian + TooOld + ForA + + + + + + + 67 Birthing Way + Cesarian + MD + 90210 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Transform Tester - Sample Document + + + + 42 Organization Way + Organization + OR + 52167 + + + + + + + + + + + + + + + + + Transform Tester - Sample Document + + + 42 Organization Way + Organization + OR + 52167 + + + + + + + + + + 69 Music Therapist Way + Nashville + TN + 86753-0900 + + + + + + Therapist + Music + + + + + Radio City Music Hall + + + + 69 Music Therapist Way + Nashville + TN + 86753-0900 + + + + + + + + + + + + + 1 Guarantor Way + Anywhere + NC + 27816 + + + + + Contact + Guarantor + + + + + + + + + Emergency Lane + Code Blue + Disarray + 54321 + SN + + + + + + + Contact + Emergency + A + Mr + + + + + + + + + 8 Sat Tuffet + Whey + MH + 90234 + + + + Sally + Dear + Aunt + + + + + + + + + 8 Sat Tuffet + Whey + MH + 90234 + + + + Relationship + No + Family + + + + + + + + + 1 Favorite Child + Will + LA + 90234-1234 + + + + Giver + My + Care + + + + + + + + + 1 Bitter Child + Left Out + WY + 90234-1234 + + + + Giver + Other + Care + + + + + + + + + + DeLot + Pop + + + + + + + + + 222 Merchandise Mart Plaza + Suite 2024 + Windy City + IL + 60664 + + + + + Slice and Dice Healthcare + + + + + + + + + + + + + + + + + + + + + + + + + + 1 Médico Blvd + Paraiso + Tabasco + postalCode + MX + + + + + Bones + James + Dem + Sir + MD + + + + + + + + + + + 1 Médico Blvd + Paraiso + Tabasco + postalCode + MX + + + + + Bones + James + Dem + Sir + MD + + + + + + + + + + + + 1 Médico Blvd + Paraiso + Tabasco + postalCode + MX + + + + + + Bones + James + Dem + Sir + MD + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + + + + + Syd + Vlad + MD + + + + + + + + + + + + 69 Music Therapist Way + Nashville + TN + 86753-0900 + + + + + + Therapist + Music + + + + + + + + + + + + + From + Referred + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From + Referred + + + + + + + + + +
+ + + + + Care Plan Summary + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Primary Health Concern Text (Active) + Start: + 5-Nov-2018 + End: + 5-Jun-2019 +
+  • + + Goal: + Gooooooooal! Free Text + +
+   ◦ + + Milestone: + Free Text Milestone Goooooal! + +
+   ◦ + + Intervention: + + Advance Directives: + DNR + ; + No intubation - OIT + ; + No intubation +
+ Communications: + Medici, MD James Middle Dr-Medici, MD James Middle Dr +
+ Encounters: + Free Text Encounter Type +
+ Immunizations: + Immunization Product Name 1 + ; + Immunization Product Name 2 + ; + Anti-goofball injectable +
+ Medications: + Med Product Name + ; + Med Product Name 2 + ; + No Medication #3 + ; + No Dates Medication #4 +
+ Supplies: + NMS Supply Name +
+ Nutrition: + Oral nutritional support (regime/therapy) +
+ Procedures: + Procedure Text #1 + ; + No Procedure with Method (without display Name) + Instruction + ; + Procedure Cancelled + ; + Procedure Denied, Complete Date only + ; + Procedure Complete +
+ Observations: + Procedure Result Text in Resulted Procedure -- Item Contains Interpretation and Range. + ; + 7 mg + ; + Resulted Procedure 3 Result Text -- Contains Range (no Interpretation) + ; + The liver is of generally low density, consistent with fatty infiltration. The liver, spleen, pancreas, and left adrenal gland remain unremarkable. + The left lobe is unremarkable. No focal liver or splenic lesions identified. The gallbladder appears with evidence of biliary or pancreatic duct dilatation. + There is some stable scarring towards the lower pole of right kidney. No hydronephrosis. No abnormally enlarged retrocrural, anterior disphragmatic, retroperitoneal, metastatic nodes are identified. + Rectal contrast was not administered. Degenerative changes are noted. Please see associated CT chest report. +
+ Instructions: + Multiple Lines, no id values +Line 2 +Line 3 + ; + Awareness, Reference, comment, start Date, end Date, encounter, last modified, internal ID(2) and imported ID(2), link + ; + internal ID(2), indication(1) + ; + link, OIT, this is OIT, no displayName on instruction type + ; + Did not supply formatted dates + ; + instructionType intentionally left null +
+
+    ▪ + + Outcome: + Outcome Free Text - I don't think he is really trying to get better. A little bit of yoga every minute or so and this would clear up right away. Fourty-Two + +
+    ▪ + + Outcome: + Outcome out Code numeric value 42 {UOM} + +
+   ◦ + + Intervention: + + Supplies: + Intervention NMS Supplied Item +
+
+
+   ◦ + + Planned Intervention: + + Advance Directives: + DNR + ; + No intubation - OIT + ; + No intubation +
+ Communications: + Medici, MD James Middle Dr-Medici, MD James Middle Dr +
+ Encounters: + Planned Int/encounter/free text + ; + Planned Int/encounter/free text +
+ Immunizations: + Immunization Product Name 1 + ; + Immunization Product Name 2 + ; + Anti-goofball injectable +
+ Medications: + HDM Product Name 1 + ; + HDM Product Name +
+ Supplies: + Medical Equipment/nms/supply name +
+ Nutrition: + total parenteral nutrition (regime/therapy) + ; + total parenteral nutrition (regime/therapy) +
+ Procedures: + Procedure Text #1 + ; + No Procedure with Method (without display Name) + Instruction + ; + Procedure Cancelled + ; + Procedure Denied, Complete Date only + ; + Procedure Complete +
+ Observations: + Procedure Result Text in Resulted Procedure -- Item Contains Interpretation and Range. + ; + 7 mg + ; + Resulted Procedure 3 Result Text -- Contains Range (no Interpretation) + ; + The liver is of generally low density, consistent with fatty infiltration. The liver, spleen, pancreas, and left adrenal gland remain unremarkable. + The left lobe is unremarkable. No focal liver or splenic lesions identified. The gallbladder appears with evidence of biliary or pancreatic duct dilatation. + There is some stable scarring towards the lower pole of right kidney. No hydronephrosis. No abnormally enlarged retrocrural, anterior disphragmatic, retroperitoneal, metastatic nodes are identified. + Rectal contrast was not administered. Degenerative changes are noted. Please see associated CT chest report. +
+ Instructions: + POC Instruction 1, Internal ID(2), Imported ID(1), indication(1) + ; + Ins 2 OIT +
+ Planned Acts: + No go to Connectathon + ; + Do not do that thing you do + ; + Bark in the Park +
+ Planned Encounters: + Clinical Follow Up + ; + Clinical Follow Up +
+ Planned Immunizations: + Plan Immu/Immu/Product + ; + Plan Immu 2/Immu/Product +
+ Planned Medications: + BOTULINUM TOXIN TYPE A PER UNIT +
+ Planned Observations: + No ELECTROLYTE PANEL + ; + GENERAL BLOOD DRAW +
+ Planned Procedures: + INSERT TISSUE EXPANDERS + ; + Removal of Kidney Stone +
+ Planned Supplies: + OIT POC Supply + ; + No CPAP +
+ Procedure Other Acts: + Other Act + ; + Other Act 2 +
+
+   ◦ + + Outcome: + Outcome Free Text - I don't think he is really trying to get better. A little bit of yoga every minute or so and this would clear up right away. Fourty-Two + +
+  • + + Risks: + Risk Concern Text + +
+ Secondary Health Concern Text (Related) (Active) +
+  • + + Goal: + OIT Goal Text + +
+   ◦ + + Intervention: + + Advance Directives: + DNR + ; + No intubation - OIT + ; + No intubation +
+ Communications: + Medici, MD James Middle Dr-Medici, MD James Middle Dr +
+ Encounters: + Free Text Encounter Type +
+ Immunizations: + Immunization Product Name 1 + ; + Immunization Product Name 2 + ; + Anti-goofball injectable +
+ Medications: + Med Product Name + ; + Med Product Name 2 + ; + No Medication #3 + ; + No Dates Medication #4 +
+ Supplies: + NMS Supply Name +
+ Nutrition: + Oral nutritional support (regime/therapy) +
+ Procedures: + Procedure Text #1 + ; + No Procedure with Method (without display Name) + Instruction + ; + Procedure Cancelled + ; + Procedure Denied, Complete Date only + ; + Procedure Complete +
+ Observations: + Procedure Result Text in Resulted Procedure -- Item Contains Interpretation and Range. + ; + 7 mg + ; + Resulted Procedure 3 Result Text -- Contains Range (no Interpretation) + ; + The liver is of generally low density, consistent with fatty infiltration. The liver, spleen, pancreas, and left adrenal gland remain unremarkable. + The left lobe is unremarkable. No focal liver or splenic lesions identified. The gallbladder appears with evidence of biliary or pancreatic duct dilatation. + There is some stable scarring towards the lower pole of right kidney. No hydronephrosis. No abnormally enlarged retrocrural, anterior disphragmatic, retroperitoneal, metastatic nodes are identified. + Rectal contrast was not administered. Degenerative changes are noted. Please see associated CT chest report. +
+ Instructions: + Multiple Lines, no id values +Line 2 +Line 3 + ; + Awareness, Reference, comment, start Date, end Date, encounter, last modified, internal ID(2) and imported ID(2), link + ; + internal ID(2), indication(1) + ; + link, OIT, this is OIT, no displayName on instruction type + ; + Did not supply formatted dates + ; + instructionType intentionally left null +
+
+    ▪ + + Outcome: + Outcome Free Text - I don't think he is really trying to get better. A little bit of yoga every minute or so and this would clear up right away. Fourty-Two + +
+    ▪ + + Outcome: + Outcome out Code numeric value 42 {UOM} + +
+   ◦ + + Intervention: + + Supplies: + Intervention NMS Supplied Item +
+
+
+   ◦ + + Planned Intervention: + + Advance Directives: + DNR + ; + No intubation - OIT + ; + No intubation +
+ Communications: + Medici, MD James Middle Dr-Medici, MD James Middle Dr +
+ Encounters: + Planned Int/encounter/free text + ; + Planned Int/encounter/free text +
+ Immunizations: + Immunization Product Name 1 + ; + Immunization Product Name 2 + ; + Anti-goofball injectable +
+ Medications: + HDM Product Name 1 + ; + HDM Product Name +
+ Supplies: + Medical Equipment/nms/supply name +
+ Nutrition: + total parenteral nutrition (regime/therapy) + ; + total parenteral nutrition (regime/therapy) +
+ Procedures: + Procedure Text #1 + ; + No Procedure with Method (without display Name) + Instruction + ; + Procedure Cancelled + ; + Procedure Denied, Complete Date only + ; + Procedure Complete +
+ Observations: + Procedure Result Text in Resulted Procedure -- Item Contains Interpretation and Range. + ; + 7 mg + ; + Resulted Procedure 3 Result Text -- Contains Range (no Interpretation) + ; + The liver is of generally low density, consistent with fatty infiltration. The liver, spleen, pancreas, and left adrenal gland remain unremarkable. + The left lobe is unremarkable. No focal liver or splenic lesions identified. The gallbladder appears with evidence of biliary or pancreatic duct dilatation. + There is some stable scarring towards the lower pole of right kidney. No hydronephrosis. No abnormally enlarged retrocrural, anterior disphragmatic, retroperitoneal, metastatic nodes are identified. + Rectal contrast was not administered. Degenerative changes are noted. Please see associated CT chest report. +
+ Instructions: + POC Instruction 1, Internal ID(2), Imported ID(1), indication(1) + ; + Ins 2 OIT +
+ Planned Acts: + No go to Connectathon + ; + Do not do that thing you do + ; + Bark in the Park +
+ Planned Encounters: + Clinical Follow Up + ; + Clinical Follow Up +
+ Planned Immunizations: + Plan Immu/Immu/Product + ; + Plan Immu 2/Immu/Product +
+ Planned Medications: + BOTULINUM TOXIN TYPE A PER UNIT +
+ Planned Observations: + No ELECTROLYTE PANEL + ; + GENERAL BLOOD DRAW +
+ Planned Procedures: + INSERT TISSUE EXPANDERS + ; + Removal of Kidney Stone +
+ Planned Supplies: + OIT POC Supply + ; + No CPAP +
+ Procedure Other Acts: + Other Act + ; + Other Act 2 +
+
+  • + + Risks: + Risk Concern Text + ; + OIT Risk Concern Text + +
+ Secondary Health Concern Text (Reference) (Active) +
+ Secondary Health Concern Text (Component) (Active) +
+  • + + Risks: + OIT Risk Concern Text + +
+
+ + + +
+
+ +
+ + + + + Reason for Referral + + + + 0 > referral & reason < 99 + + + One more reason + + + + + + + + + + + + + + + +
NOTE
+ Medici, MD James Middle Dr + - + 8-Aug-2018 +
+  • + + Reason for Referral Note Activity. +
+ Comments: + Comment about a note activity in the Reason for Referral section. +
+
+ + Section Comments + RFR Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Reason For Referral/Patient Referral/Reason For Referral Prognosis Text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + Reason for Visit + + I was lonely so I thought I'd visit the Doctor + + Section Comments + RFV Section Comment + + + + + + + + + + + + + + + +
+
+ +
+ + + + Chief Complaint + + The Universe hates me. + + Section Comments + Chief Complaint Section Comment + + + + + + + + + + + + + + + +
+
+ +
+ + + + History of Present Illness + + HPI one + HPI two + HPI three + + Section Comments + HPI Section Comment + + + + + + + + + + + + + + + +
+
+ +
+ + + + Review of Systems + + + FT Review Of Systems Category 1 + + item 1 + + + item 2 + + + item 3 + + + + FT Review Of Systems Category 2 + + item one + + + item two + + + item three + + + + Section Comments + Review Of Systems Section Comment + + + + + + + + + + + + + + + +
+
+ +
+ + + + Foreign Travel + + + FT FT Category 1 + + item 1 + + + item 2 + + + item 3 + + + + FT FT Category 2 + + item one + + + item two + + + item three + + + + Section Comments + Foreign Travels Section Comment + + + + + + + + + + + + + + + +
+
+ +
+ + + + Assessments + + + Assessment Category 1 + + item 1 + + + item 2 + + + item 3 + + + + Assessment Category 2 + + item one + + + item two + + + item three + + + + Section Comments + Free Text Assessment Section Comment + + + + + + + + + + + + + + + +
+
+ +
+ + + + + + + Problems + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Text of the Problem + (273.4) (R46.1) +
+ Prognosis: + Active Problem Prognsis Free Text + as of + 5-Jun-2019 +
+ Onset: + 1967/05/21 +
+
+ Status: + Resolved + as of + 1967/05/21 +
+ Comments: + Problem 1 Comment +
+ The patient says, 'No, Diabetes.' +
+
+ Onset: + 31-Dec-2017 +
+
+ Status: + Chronic + as of + 2-Nov-2018 +
+ Comments: + Item Negation, OIT +
+ No code problem +
+
+ IMO Code Problem +
+
+ Status: + Denied +
+
+ No Known Problems +
+
+ No Known Problems +
+
+ OIT +
+
+ No Known Problems +
+
+ + + + + + + + + + + + + + +
Health Status
+ Problem Section Health Status Free Text + + 5-Jun-2019 10:48 +
+ +
+ + Section Comments + Active Problems Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Active Problem Prognsis Free Text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Active + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + Mental Status + + + + + + + + + + + + + + + + + + + +
+ + Off their meds + + + (Mental Status Ref Range, Another Ref Range) +
+  • + + A.Scale Derivation Text + forty-two + + + 5-Jun-2019 +
+ A.Scale Reference Range +
+ + Interpretation: + A.Scale.interpretation +
+ Comments: + A.Scale Comment Text +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Off their meds + + + 5-Jun-2019 + + (Mental Status Ref Range, Another Ref Range) +
+  • + + A.Scale Derivation Text + forty-two + + + 5-Jun-2019 +
+ A.Scale Reference Range +
+ + Interpretation: + A.Scale.interpretation +
+ Comments: + A.Scale Comment Text +
+ + OIT over a freetext mental status + + + 5-Jun-2019 +
+ + + + + + + + + + + + + + +
Assessments Scale
+ + A.Scale Derivation Text + forty-two + + + 5-Jun-2019 +
+ A.Scale Reference Range +
+ + Interpretation: + A.Scale.interpretation +
+ Comments: + A.Scale Comment Text +
+ + Section Comments + Mental Status Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Derivation Text + + + + + + forty-two + + + + + + + + + + + + + forty-one + 1 + + + + + + + + + + + + + + + + + A.Scale Reference Range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Mental Status Ref Range + + + + + Another Ref Range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Derivation Text + + + + + + forty-two + + + + + + + + + + + + + forty-one + 1 + + + + + + + + + + + + + + + + + A.Scale Reference Range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Mental Status Ref Range + + + + + Another Ref Range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Derivation Text + + + + + + forty-two + + + + + + + + + + + + + forty-one + 1 + + + + + + + + + + + + + + + + + A.Scale Reference Range + + + + + + + + + + + + + +
+
+ +
+ + + + + Functional Status + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Functional Status Observation Text + + + 5-Jun-2018 + + Evaluation Results: + fsObs reference range +
+  • + + A.Scale Derivation + A.Scale Value + + + 1-May-2019 +
+ A.Scale Reference Range +
+ + Interpretation: + A.Scale.Interpretation +
+ Comments: + A.Scale Comment +
+  • + NMS Supply Name + + 5-Jan-2018 + To + 5-Jun-2019 +
+ Status: + normal +
+ Quantity: + 9 +
+ Supplied: + No +
+  • + + SuperCareGiver Ability + + + 5-Jun-2014 + To + 5-Jun-2019 +
+ + ADL/IADL: + Dressing + + + 5-Jun-2019 + + (independent) +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Functional Status Observation Text + + + 5-Jun-2018 + + Evaluation Results: + fsObs reference range +
+  • + + A.Scale Derivation + A.Scale Value + + + 1-May-2019 +
+ A.Scale Reference Range +
+ + Interpretation: + A.Scale.Interpretation +
+ Comments: + A.Scale Comment +
+  • + NMS Supply Name + + 5-Jan-2018 + To + 5-Jun-2019 +
+ Status: + normal +
+ Quantity: + 9 +
+ Supplied: + No +
+  • + + SuperCareGiver Ability + + + 5-Jun-2014 + To + 5-Jun-2019 +
+ + + + + + + + + + + + + +
+ + A.Scale Derivation + A.Scale Value + + + 1-May-2019 +
+ A.Scale Reference Range +
+ + Interpretation: + A.Scale.Interpretation +
+ Comments: + A.Scale Comment +
+ + + + + + + + + + + + + +
+ + SuperCareGiver Ability + + + 5-Jun-2014 + To + 5-Jun-2019 +
+ + + + + + + + + + + + + + + + + + +
+ NMS Supply Name + + 5-Apr-2018 + To + 5-Jun-2019 +
+ Status: + new +
+ Quantity: + 2.20 +
+ Supplied: + Yes +
+  • + + Multiple Lines, no id values +Line 2 +Line 3 +
+
+
+ Instruction Type: + Age-specific patient education (procedure) +
+
+ + + + + + + + + + + + + +
+ + ADL/IADL: + Dressing + + + 5-Jun-2019 + + (independent) +
+ + + + + + + + + + + + + + + + + + +
+ Sensory Status Free Text + + 5-Aug-2017 + To + 5-Jun-2019 +
+  • + + A.Scale Derivation + A.Scale Value + + + 1-May-2019 +
+ A.Scale Reference Range +
+ + Interpretation: + A.Scale.Interpretation +
+ Comments: + A.Scale Comment +
+ + Section Comments + Functional Status V2 Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Derivation + + + + + + A.Scale Value + + + + + + + + + + + + + + + + + A.Scale.Support Value + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Reference Range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + fsObs reference range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Derivation + + + + + + A.Scale Value + + + + + + + + + + + + + + + + + A.Scale.Support Value + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Reference Range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + fsObs reference range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Derivation + + + + + + A.Scale Value + + + + + + + + + + + + + + + + + A.Scale.Support Value + + + + + + + + + + + + + + + + + A.Scale Reference Range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Derivation + + + + + + A.Scale Value + + + + + + + + + + + + + + + + + A.Scale.Support Value + + + + + + + + + + + + + + + + + A.Scale Reference Range + + + + + + + + + + + + + + + +
+
+ +
+ + + + + + + Hospital Admission Diagnosis + + + + + + + + + + + + + + + + + + + +
+ + Hangnail + (ANICD9Code) +
+
+
+ Onset: + 1967/05/21 +
+
+ Status: + Resolved + as of + 1967/05/21 +
+ Comments: + Potentially fatal Hangnail +
+ + Spare Tire + (ANICD9Code) +
+
+
+ Onset: + 5-Jun-2019 +
+
+ Status: + Inactive + as of + 5-Jan-2019 +
+
+ + Section Comments + HAD Section level comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Resolved + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Inactive + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + + + Hospital Discharge Diagnosis + + + + + + + + + + + + + + + + + + + +
+ + Conjunctivitis + (ANICD9Code) +
+
+
+ Onset: + 5-Jun-2019 +
+
+ Status: + Resolved + as of + 5-Jul-2017 +
+ Comments: + Welcome to the hospital, here's your disease. +
+ + Spare Tire + (ANICD9Code) +
+
+
+ Onset: + 5-Jun-2019 +
+
+ Status: + Inactive + as of + 5-Jan-2019 +
+
+ + Section Comments + HDD Section level comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Resolved + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Inactive + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + + + Allergies and Adverse Reactions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ the item patient is Allergic too + ( + Allergy + ) +
+ Criticality: + High criticality +
+ Onset: 1967/05/21 + + + Reaction: + + Hives + + ( + Moderate + ) + + + , + + Speaking in Tongues + + , + + Turning Blue + + ( + Mild + ) + + + +
+ Comments: + Allergy Comment +
+ Intolerance item goes here + ( + Intolerance + ) +
+
+ Onset: 2010 + + Comments: + Allergy 2 Comment +
+ Adverse reaction Item goes here (COCOA) + ( + Adverse Event + ) +
+
+ Onset: Mar-2010 + + + Reaction: + + Hives + + ( + Severe + ) + + + +
+ Status: + Acute + +
+ Comments: + Allergy 3 Comment +
+ OIT - You might think I'm Intolerance +
+
+ Status: + Acute + +
+ Comments: + Allergy that doesn't show the (Allergy), due to OIT usage +
+ Dander Allergy Product Text + ( + Allergy + ) +
+ Criticality: + Low criticality +
+ Status: + Acute + +
+ Comments: + Dander Allergy Comment +
+ + Section Comments + first allergy section comment + second allergy section comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Active + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Active + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + Hospital Admission Medications + + + + + + + + + + + + + + +
+ + HAM Product Name + ; + free text SIG HAM +
+
+
+ Ordered: + 20-Oct-2009 +
+
+ Start: + 1967/05/21 + End: + 5-Jul-2019 +
+ + Reaction: + + Chills + + ( + Moderate to severe + ) + + + +
+ Comments: + HAM Comment +
+ + Section Comments + HAM Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HAM Brand Name + + + + + + + + + + + + + + + + + + + + + + HAM Brand Name + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + + + + + Hospital Discharge Medications + + + + + + + + + + + + + + + + + + + +
+ + HDM Product Name 1 + ; + free text SIG HDM 1 +
+
+
+ Comments: + HDM 1 Comment +
+ + HDM Product Name + ; + free text SIG HDM +
+
+
+ Ordered: + 20-Oct-2009 +
+
+ Start: + 1967/05/21 + End: + 5-Jul-2019 +
+ + Reaction: + + Hives + + ( + Severe + ) + + + +
+ + Indication: + HDM/medication/indication text + +
+ Comments: + HDM 2 Comment +
+ + Section Comments + HDM Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HDM Brand Name 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HDM Brand Name + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HDM Brand Name + + + + + + + + + + + + + + + + + + + + + + + + + HDM Brand Name + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + + + Procedures + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Procedure Text #1 + + Date: + 1967/05/21 +
+ Site: + Abdominal and pelvic vascular structure + , + Abdominal aorta structure +
+ Location: + Procedure SDL Name Procedure Service Delivery AK 99999 tel:+1-(111)222-3333 +
+ Location: + Out Back Montgomery AL tel:+1-(111)555-0199 +
+
+ Method: + Procedure Method +
+ + Indication: + Procedure Indication + ; + Procedure Indication 2 + +
+ + Reaction: + + Procedure Reaction Text + + , + + Procedure Reaction Text w/Severity + + ( + Severe + ) + + + +
+ Comments: + Ordered, Date and CDate specified and equal +
+  • + + Procedure Medication Product Name + ; + Procedure/Medication/FreeTextSig + + + Start: + 5-Jun-2019 +
+ End: + 5-Jun-2019 +
+  • + + Procedure Instruction Text + + + Start: + 12-May-2019 +
+ End: + 29-Jun-2019 +
+  • + + 10-Oct-2013 +
+ Large blob of text on a procedure, no a really large blob of text. No a really really large blob of text on a procedure, I need to see the indention w/ wrap functionality. +
+ Comments: + Note on a Procedure comment +
+
+ Procedure with Method (without display Name) + Instruction + + Date: + 31-May-2019 +
+
+ Status: + Aborted + 10-Jun-2019 +
+ Comments: + No Code, Negated, Method, Aborted, Both dates specified different +
+  • + + Procedure Instruction Text + + + End: + 29-Jun-2019 +
+ Procedure Cancelled + + Date: + 31-May-2019 +
+
+ Status: + Cancelled +
+ Comments: + No Code, Cancelled, only date +
+ Procedure Denied, Complete Date only + + Status: + Cancelled + 5-Jun-2019 +
+ Comments: + No Code +
+ Procedure Complete + + Status: + Completed + 31-May-2019 +
+ Comments: + No Code +
+ Other Act + + Date: + 1967/05/21 +
+ Site: + Abomasum +
+
+ Method: + Procedure OA Method +
+ + Indication: + OA Procedure Indication + ; + OA Procedure Indication 2 + +
+ Comments: + OA Comment, Active both dates specified different +
+  • + + Medici, MD James Middle Dr + - + 10-Oct-2010 +
+ Large blob of text on a procedure Other Act, no a really large blob of text. No a really really large blob of text on a procedure, I need to see the indention w/ wrap functionality. +
+ Comments: + Note on a Procedure comment +
+
+ Other Act 2 + + Date: + 18-May-2019 +
+
+ Status: + Cancelled + 19-May-2019 +
+ Comments: + OA Comment +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Value of Procedure Text in a Resulted Procedure + Result: + Procedure Result Text in Resulted Procedure -- Item Contains Interpretation and Range. + + Date: + 1967/05/21 +
+ Site: + Adipose tissue +
+ Range: + funny - not funny +
+ Interpretation: + Worse +
+ Method: + Witch Doctor +
+ + Indication: + RP Procedure Indication + +
+ Location: + Out Back Montgomery AL tel:+1-(111)555-0199 +
+ Location: + Over Yonder Birmingham AL tel:+1-(111)555-0198 +
+ Comments: + RP Comment - Full Pop +
+  • + + Typical Procedure Medication + ; + Take 1 gallon per hour as needed + +
+  • + + Typical Procedure Instruction + + + Start: + 3-Mar-2009 +
+
+  • + + Medici, MD James Middle Dr + - + 10-Oct-2009 +
+ Large blob of text on a resulted procedure, no a really large blob of text. No a really really large blob of text on a procedure, I need to see the indention w/ wrap functionality. +
+ Comments: + Note on a Resulted Procedure comment +
+
+ Resulted Procedure 2 Text + Result: + 7 mg + + Date: + 16-May-2019 +
+ Interpretation: + Significant change down +
+ Comments: + RP 2 Comment - light pop + instruction + Interpretation (no Range) +
+  • + + A-Typical Procedure Instruction + +
+ Resulted Procedure 3 Text + Result: + Resulted Procedure 3 Result Text -- Contains Range (no Interpretation) + + Date: + 17-May-2019 +
+ Range: + thin - thick +
+ Comments: + RP 3 Comment +
+ Abdominal CT Scan Series #3 - The patient was instructed to swallow ordered barium. +CT images were obtained at different angles through the chest and abdomen. +CT produces images by sending X-ray radiation through the tissues +of the body to a film on the opposite side of the patient's body. As the radiation penetrates the body, it is +absorbed in varying amounts by different body tissues. + Result: + The liver is of generally low density, consistent with fatty infiltration. The liver, spleen, pancreas, and left adrenal gland remain unremarkable. + The left lobe is unremarkable. No focal liver or splenic lesions identified. The gallbladder appears with evidence of biliary or pancreatic duct dilatation. + There is some stable scarring towards the lower pole of right kidney. No hydronephrosis. No abnormally enlarged retrocrural, anterior disphragmatic, retroperitoneal, metastatic nodes are identified. + Rectal contrast was not administered. Degenerative changes are noted. Please see associated CT chest report. + + Date: + 18-May-2019 +
+ Comments: + RP 4 Comment +
+ + Section Comments + Section Comment for Procedures + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + Organization Provider + Organization City + PR + 00867-5309 + + + + Organization Provider Name + + + Organization Provider + Organization City + PR + 00867-5309 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Procedure + Service Delivery + AK + 99999 + + + + Procedure SDL Name + + + + + + + + + + Montgomery + AL + + + + Out Back + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Laughing Gasex + + + Happy Clown, Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Laughing Gasex + + + Happy Clown, Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Procedure Result Text in Resulted Procedure -- Item Contains Interpretation and Range. + + + + + + + + + + Montgomery + AL + + + + Out Back + + + + + + + + + + Birmingham + AL + + + + Over Yonder + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Resulted Procedure 3 Result Text -- Contains Range (no Interpretation) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The liver is of generally low density, consistent with fatty infiltration. The liver, spleen, pancreas, and left adrenal gland remain unremarkable. + The left lobe is unremarkable. No focal liver or splenic lesions identified. The gallbladder appears with evidence of biliary or pancreatic duct dilatation. + There is some stable scarring towards the lower pole of right kidney. No hydronephrosis. No abnormally enlarged retrocrural, anterior disphragmatic, retroperitoneal, metastatic nodes are identified. + Rectal contrast was not administered. Degenerative changes are noted. Please see associated CT chest report. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + + + Immunizations + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Immunization Product Name 1 +
+
+
+ + Reaction: + + This is a med reaction + + , + + This is another reaction + + ( + Mild to moderate + ) + + + +
+ Comments: + Immunization 1; No administered date, reaction +
+ + Immunization Product Name 2 + 2 +
+ Lot #: + LOT42 + , mfgname +
+
+
+ On: + 1967/05/21 + + + Reaction: + + Immunization Reaction Text + + ( + Mild + ) + + + +
+ Site: + 20 to 29 percent of body surface +
+ Comments: + Immunization 2; Administered Date, dose, lotnumber, route, reactions, body site +
+ + Anti-goofball injectable +
+
+
+ Not Administered +
+ On: + 5-Jun-2019 +
+ Philosophical Objection +
+ Comments: + Immunization 3; Not administered w/ reason, w/ Date +
+ + Section Comments + Immunizations Sections Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LOT42 + + + mfgname + + + + + + + + + + Immunization Drug Vehicle Text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Immunization Precondition Text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + + + Medications + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Med Product Name + ; + free text sig of the med +
+ Site: + Structure of vertebral artery(body structure) + Quantity: + 30 +
+ Refills: + 19 +
+ Medication Patient Instructions +
+
+ Ordered: + 1967/05/21 +
+ Medici, MD James Middle Dr +
+ Start: + 1967/05/21 + End: + 1967/05/21 +
+ + Reaction: + + This is a med reaction + + , + + This is another reaction + + ( + Moderate to severe + ) + + + +
+ + Indication: + Past Problem 2 Text + +
+ Medication Fulfillment Instructions +
+ Comments: + Medication Comment +
+ + Med Product Name 2 + ; + free text SIG 2 +
+
+
+ Ordered: + 20-Oct-2009 +
+ Syd, MD Vlad +
+ Start: + 31-May-2019 + End: + 5-Jul-2019 +
+ Status: + Completed +
+ + Reaction: + + nausea + + ( + Fatal + ) + + + +
+ Comments: + Medication 2 Comment +
+ + Medication #3 + ; + Free Text SIG Med 3 +
+ Quantity: + 1900 +
+
+
+ Start: + 5-Jun-2019 + End: + 5-Jun-2019 +
+ Comments: + Minimal Medication + Comment +
+ + No Dates Medication #4 + ; + Free Text SIG Med 5 +
+ Quantity: + 1900 +
+
+
+ + Section Comments + Medication Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Med Brand Name + + + PillsRUs + + + + + + + + + + + + + + + Medication Drug Vehicle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Med Brand Name + + + PillsRUs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Med Brand Name + + + PillsRUs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Medication Precondition Free Text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Med Brand Name 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + Med Brand Name 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Med Brand Name 2 + + + + + + + + + + + + + + + + + + + + + + + + + + Med Brand Name 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Brand #3 + + + + + + + + + + + + + + + + + + + + + + + Brand #3 + + + + + + + + + + + + + + + + + + + + + + + + + Brand #3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Brand #4 + + + + + + + + + + + + + + + + + + + + + + + Brand #4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + Medications Administered + + + + + + + + + + + + + + + + + + + +
+ + Administered Medication Name + ; + free text SIG of the administered medication +
+
+
+ Ordered: + 5-Jun-2019 +
+
+ Comments: + comment for an administered medication +
+ + Med 2 product Name Administered + ; + Another Med Sig Given Freely +
+
+
+ Start: + 1967/05/21 + End: + 6-Apr-2019 +
+ Comments: + comment for an administered med 2 +
+ + Section Comments + AM Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Administered Med brandName + + + + + + + + + + + + + + + + + + + + + + Administered Med brandName + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Med 2 brandName Administered + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + Past Medical History + + + + + + + + + + + + + + + + + + + +
+ Past Problem Text + (ANICD9CODE) +
+
+ Onset: + 1967/05/21 +
+
+ Status: + Resolved + as of + 1967/05/21 +
+ Comments: + Past Problem Comment +
+ Past Problem 2 Text + (ANICD9CODE) +
+
+ Onset: + 21-May-2001 5:21 +
+
+ Status: + Deleted + as of + 5-Jun-2019 10:48 +
+ Comments: + Past Problem Comment +
+ + Section Comments + Past Problems Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Resolved + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deleted + + + + + + + + + + + + + + +
+
+ +
+ + + + + Family History + + + + + + + + + + + + + + + +
Unknown Family Member (deceased)
+ This Family History NOT linked + (H61.119) + + Onset: + 1967/05/21 +
+ (one cause of death) +
+ Status: + Resolved + as of + 1967/05/21 +
+ Comments: + Family History Comment +
+ + + + + + + + + + + + + + +
Father
+ This Family History linked to a family member (FM1) + (306915005) + + Onset: + 5-Jun-2019 +
+ Status: + Active + as of + 5-Jun-2019 +
+ + + + + + + + + + + + + + +
Mother
+ This Family History linked to a family member (FM2) + (306915005) + + Onset: + 5-Jun-2019 +
+ Status: + Active + as of + 5-Jun-2019 +
+ + + + + + + + + + + + + + +
adopted child
+ This Family History linked to a family member (A1) + (306915005) + + Onset: + 5-Jun-2019 +
+ Status: + Active + as of + 5-Jun-2019 +
+ + + + + + + + + + + + + + +
step child
+ This Family History linked to a family member (STEP) + (306915005) + + Onset: + 5-Jun-2019 +
+ Status: + Active + as of + 5-Jun-2019 +
+ + + + + + + + + + + + + + +
Family Member
+ This Family History linked to a family member (FAM) + (306915005) + + Onset: + 5-Jun-2019 +
+ Status: + Active + as of + 5-Jun-2019 +
+ + + + + + + + + + + + + + +
Maternal Aunt
+ This Family History linked to a family member (MA) + (306915005) + + Onset: + 5-Jun-2019 +
+ Status: + Active + as of + 5-Jun-2019 +
+ + + + + + + + + + + + + + +
Maternal Cousin
+ This Family History linked to a family member (MC) + (306915005) + + Onset: + 5-Jun-2019 +
+ Status: + Active + as of + 5-Jun-2019 +
+ + + + + + + + + + + + + + +
Maternal Grandparent
+ This Family History linked to a family member (MG) + (306915005) + + Onset: + 5-Jun-2019 +
+ Status: + Active + as of + 5-Jun-2019 +
+ + + + + + + + + + + + + + +
Maternal Great Grandparent
+ This Family History linked to a family member (MGG) + (306915005) + + Onset: + 5-Jun-2019 +
+ Status: + Active + as of + 5-Jun-2019 +
+ + + + + + + + + + + + + + +
Maternal Uncle
+ This Family History linked to a family member (MU) + (306915005) + + Onset: + 5-Jun-2019 +
+ Status: + Active + as of + 5-Jun-2019 +
+ + + + + + + + + + + + + + +
Paternal Aunt
+ This Family History linked to a family member (PA) + (306915005) + + Onset: + 5-Jun-2019 +
+ Status: + Active + as of + 5-Jun-2019 +
+ + + + + + + + + + + + + + +
Paternal Cousin
+ This Family History linked to a family member (PC) + (306915005) + + Onset: + 5-Jun-2019 +
+ Status: + Active + as of + 5-Jun-2019 +
+ + + + + + + + + + + + + + +
Paternal Grandparent
+ This Family History linked to a family member (PG) + (306915005) + + Onset: + 5-Jun-2019 +
+ Status: + Active + as of + 5-Jun-2019 +
+ + + + + + + + + + + + + + +
Paternal Great Grandparent
+ This Family History linked to a family member (PGG) + (306915005) + + Onset: + 5-Jun-2019 +
+ Status: + Active + as of + 5-Jun-2019 +
+ + + + + + + + + + + + + + +
Paternal Uncle
+ This Family History linked to a family member (PU) + (306915005) + + Onset: + 5-Jun-2019 +
+ Status: + Active + as of + 5-Jun-2019 +
+ + + + + + + + + + + + + + +
Paternal Great-Grandfather
+ This Family History linked to a family member (PGGF) + (306915005) + + Onset: + 5-Jun-2019 +
+ Status: + Active + as of + 5-Jun-2019 +
+ + Section Comments + Family History Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + Social History + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Smoker + 2 Packs per day + (1234-5) + + Onset: 1967/05/21 + + Status: Resolved + as of 1967/05/21 +
+ Comments: + Social History 1 Comment +
+ Smoker + Golf Cart from Bed to Kitchen and Back + (1234-5) + + Onset: 5-Jun-2019 + + Status: Resolved + as of 5-Jun-2019 +
+ Comments: + Social History 2 Comment +
+ Occupation: + Actors (Management, Business, Science, and Arts Occupations) + + Onset: 1-May-1967 + + Status: Resolved + as of 5-Jun-2019 +
+ Comments: + Social History From Employment Item Comment, negated +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Pregnancy Status
+ Pregnant + + Start: + 1967/05/21 + + EDD: + 1967/05/21 +
+
+ Babies, Babies, Babies! + + Start: + 5-Jul-2017 +
+ End: + 5-Nov-2017 +
+ EDD: + 5-Dec-2017 +
+ Comments: + Pregnancy Comment 2 +
+ Unknown Pregnancy + + Start: + 5-Sep-2015 +
+ End: + 5-Oct-2015 +
+ Comments: + endDate, negation, isUnknown +
+ Not Pregnant + + Start: + 5-Aug-2016 + + Comments: + No OIT, negation +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Smoking Status
+ Current every day smoker + + Recorded: 1967/05/21 +
+ Heavy tobacco smoker + + Recorded: 1-Jan-2004 + + Comments: + Smoking Status 2 Comment +
+ Smoker. current status unknown + + Recorded: 1-Jan-2007 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Tobacco Use
+ Aggressive non-smoker + + Started: + 1967/05/21 +
+ Stopped: + 1967/05/21 +
+ Comments: + Tobacco Use 1 Comment +
+ Failed attempt to stop smoking + + Started: + 1-Jan-2002 +
+ Stopped: + 1-Oct-2005 +
+ Comments: + Tobacco Use 2 Comment +
+ Hookah pipe smoker (finding) + + Started: + 1-Jan-2000 +
+ Admitted tobacco consumption possibly untrue + + Stopped: + 5-Jun-2018 +
+ + + + + + + + + + + + + + +
Care Giver
+ + Social History, Caregiver Char, Ability Free Text + + + 5-Apr-2019 + To + 5-Jun-2019 +
+ + + + + + + + + + + + + +
Home Environment
+ + Social History, CHE, characteristic) + + + 5-Jun-2019 10:48 + +
+ + + + + + + + + + + + + + +
Cultural and Religious Belief
+ + Social History/Belief/Free Text Belief + + + 5-Jun-2019 10:48 +
+ + + + + + + +
Birth Sex
+ Female +
+ + Section Comments + Social History Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 Packs per day + + + + + + + + + Fatal + + + Fatal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Golf Cart from Bed to Kitchen and Back + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Actors (Management, Business, Science, and Arts Occupations) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Social History, CHE, characteristic) + + + + + + + + + + + + +
+
+ +
+ + + + + Health Concerns + + + + + + + + + + + + + + + + + + + + +
Health Status
+ Health Status Free Text + + 5-Jun-2019 +
+ sutatS htlaeH + + 1967/05/21 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Concerns
+ + Primary Health Concern Text + + Start: + 5-Nov-2018 +
+ End: + 5-Jun-2019 +
+ Status: + Active +
+
+ Related Health Concern: + Secondary Health Concern Text (Reference) +
+ Associated Health Concern: + Secondary Health Concern Text (Component) +
+ Related To: +
+  • + Text of the Problem + + Onset: + 1967/05/21 +
+ Resolved: + 1967/05/21 +
+ Status: + Resolved +
+  • + The patient says, 'No, Diabetes.' + + Onset: + 31-Dec-2017 +
+ Resolved: + 2-Nov-2018 +
+ Status: + Chronic +
+  • + No code problem + + Status: + Active +
+  • + IMO Code Problem + + Status: + Denied +
+  • + No Known Problems +
+  • + No Known Problems +
+  • + OIT +
+  • + No Known Problems +
+  • + + Allergy: + the item patient is Allergic too +
+ Criticality: + High criticality +
+
+ Status: + Active +
+ Onset: + 1967/05/21 +
+ Resolved: + 5-Jun-2019 +
+ Allergy +
+ + Reaction: + + Hives + + ( + Moderate + ) + + + , + + Speaking in Tongues + + , + + Turning Blue + + ( + Mild + ) + + + +
+  • + + Allergy: + Intolerance item goes here + + + Status: + Active +
+ Onset: + 2010 +
+
+ Intolerance +
+
+  • + + Allergy: + Adverse reaction Item goes here (COCOA) + + + Status: + Acute +
+ Onset: + Mar-2010 +
+
+ Adverse Event +
+ + Reaction: + + Hives + + ( + Severe + ) + + + +
+  • + + Allergy: + OIT - You might think I'm Intolerance + + + Status: + Acute +
+
+  • + + Allergy: + Dander Allergy Product Text +
+ Criticality: + Low criticality +
+
+ Status: + Acute +
+
+ Allergy +
+
+  • + Off their meds + + 5-Jun-2019 +
+  • + OIT over a freetext mental status + + 5-Jun-2019 +
+  • + + A.Scale Derivation + A.Scale Value + + + 1-May-2019 + + + + Interpretation: A.Scale.Interpretation +
+  • + + Smoking Status: + Current every day smoker + + + Recorded: + 1967/05/21 +
+  • + + Smoking Status: + Heavy tobacco smoker + + + Recorded: + 1-Jan-2004 +
+  • + + Smoking Status: + Smoker. current status unknown + + + Recorded: + 1-Jan-2007 +
+  • + + Pregnancy Status: + Pregnant + + + Start: + 1967/05/21 +
+
+ EDD: + 1967/05/21 +
+  • + + Pregnancy Status: + Babies, Babies, Babies! + + + Start: + 5-Jul-2017 +
+ End: + 5-Nov-2017 +
+ EDD: + 5-Dec-2017 +
+  • + + Pregnancy Status: + Unknown Pregnancy + + + Start: + 5-Sep-2015 +
+ End: + 5-Oct-2015 +
+  • + + Pregnancy Status: + Not Pregnant + + + Start: + 5-Aug-2016 +
+
+  • + + Tobbacco Use: + Aggressive non-smoker + + + Start: + 1967/05/21 +
+ End: + 1967/05/21 +
+  • + + Tobbacco Use: + Failed attempt to stop smoking + + + Start: + Jan-2002 +
+ End: + Oct-2005 +
+  • + + Tobbacco Use: + Hookah pipe smoker (finding) + + + Start: + 2000 +
+
+  • + + Tobbacco Use: + Admitted tobacco consumption possibly untrue + + + End: + Jun-2018 +
+  • + SuperCareGiver Ability + + Start: + 5-Jun-2014 +
+ End: + 5-Jun-2019 +
+  • + + Home Environment: + cluttered living space (finding) + + + 5-Jun-2019 +
+  • + I Believe you + + 5-Jun-2019 +
+  • + + Encounter Diagnosis: + Risk|Health Concern/Encounter Diagnosis/Problem Text + + + Status: + Suspect +
+ Onset: + 5-Jun-2019 +
+
+  • + + Family History: + This Family History NOT linked + + + Status: + Resolved +
+ Onset: + 1967/05/21 +
+ Resolved: + 1967/05/21 +
+ Relative: + Unknown Family Member (deceased) +
+  • + + Family History: + This Family History linked to a family member (FM1) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Father +
+  • + + Family History: + This Family History linked to a family member (FM2) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Mother +
+  • + + Family History: + This Family History linked to a family member (A1) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + adopted child +
+  • + + Family History: + This Family History linked to a family member (STEP) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + step child +
+  • + + Family History: + This Family History linked to a family member (FAM) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Family Member +
+  • + + Family History: + This Family History linked to a family member (MA) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Maternal Aunt +
+  • + + Family History: + This Family History linked to a family member (MC) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Maternal Cousin +
+  • + + Family History: + This Family History linked to a family member (MG) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Maternal Grandparent +
+  • + + Family History: + This Family History linked to a family member (MGG) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Maternal Great Grandparent +
+  • + + Family History: + This Family History linked to a family member (MU) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Maternal Uncle +
+  • + + Family History: + This Family History linked to a family member (PA) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Paternal Aunt +
+  • + + Family History: + This Family History linked to a family member (PC) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Paternal Cousin +
+  • + + Family History: + This Family History linked to a family member (PG) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Paternal Grandparent +
+  • + + Family History: + This Family History linked to a family member (PGG) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Paternal Great Grandparent +
+  • + + Family History: + This Family History linked to a family member (PU) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Paternal Uncle +
+  • + + Family History: + This Family History linked to a family member (PGGF) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Paternal Great-Grandfather +
+  • + + Functional Status Observation Text + + + 5-Jun-2018 + + Evaluation Results: + fsObs reference range +
+  • + + Hospital Admission Diagnosis: + Hangnail + + + Status: + Resolved +
+ Onset: + 1967/05/21 +
+ Resolved: + 1967/05/21 +
+  • + + Hospital Admission Diagnosis: + Spare Tire + + + Status: + Inactive +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jan-2019 +
+  • + A Wound + + Wound Type: + Diabetic skin ulcer +
+  • + Another Wound + + Wound Type: + Open wound +
+  • + + Nutrition Status: + Nuts + + + 5-Jun-2019 +
+  • + + Nutrition: + Eat to Live + + + 5-Jun-2019 +
+  • + + Nutrition: + OIT, Nutri assessment, negated + +
+  • + + Reaction: + Doesn't like it + + ( + Severe + ) + + + + Onset: + 5-May-2019 +
+ Resolved: + 5-Jun-2019 +
+  • + + Reaction: + Doesn't want it + + + Onset: + 5-May-2019 +
+
+  • + + Post-procedure Diagnosis: + Post Procedure Diagnosis Text + + + Status: + Acute +
+ Onset: + 5-Jan-2019 +
+ Resolved: + 5-Jun-2019 +
+  • + + Pre-operative Diagnosis: + Pre-Operative Diagnosis Text + + + Status: + Acute +
+ Onset: + 5-Jan-2019 +
+ Resolved: + 5-Jun-2019 +
+  • + Organizer Order Name + + Ordered On: + 1967/05/21 + + Comments: + Result Organizer Comment +
+   ◦ + + 10-Oct-2013 +
+ Large blob of text on a result organizer +
+
+   ◦ + + Result with Interpretation, Range and discrete UOM + 42 + mg/dL + (Weakly reactive) + +
+    ▪ + + Medici, MD James Middle Dr + - + 10-Oct-2013 +
+ Large blob of text on a result observation. Now even more data to show span across the page and wrapping of the data. This sentence is worthless. This is a worthless followup to a worthless sentence. +
+ Comments: + Note Comment on a result observation +
+
+   ◦ + + Result with interpretation (no range) and no UOM + 7.2 + (Indeterminate) + + + 5-Jun-2019 10:46 +
+   ◦ + + Result with interpretation (no range), string value (containing UOM) and no UOM discrete + 7.2 mb + (Positive) + + + 5-Jun-2019 10:45 +
+   ◦ + + Result with range (no interpretation), string value (containing UOM) and no UOM discrete + 7.2 mb + + + 5-Jun-2019 10:44 +
+  • + 1 Result, same name + + Ordered On: + 2-Nov-2018 + + Comments: + Result Organizer 2 Comment +
+   ◦ + + 1 Result, same name + 23 + [lb_av] + (Negative) + + + 1967/05/21 +
+  • + More Results + (Pending) +
+   ◦ + + Result with no UOM + 7.3 + + + 5-Jun-2019 10:41 +
+   ◦ + + Result with no UOM + 7.4 + + + 1967/05/21 +
+   ◦ + + Result with no UOM + 7.5 + + + 5-Jun-2019 10:39 +
+  • + Lab Result + + Comments: + Lab Result Organizer Comment +
+   ◦ + + Lab Result + Lab Result: Lab One, Two, Three +Test: Fake Cardiomyopathy endurance +Course: Patient Arrived +Items included: Interpretation, Range, 1 result same name +ops +ipso +more Latin phrases +------------------ +Findings: Inconceivable + + ml/min + (High) + + + 24-May-2019 10:48 +
+  • + Trigger It + + Ordered On: + 5-Jun-2019 + + Comments: + Trigger Result Organizer +
+   ◦ + + Trigger Result Test + 7.3 + + + 5-Jun-2019 10:41 +
+   ◦ + + Trigger Result Value + 7.3 + +
+  • + + Running + Like a Horse + + + 1967/05/21 +
+  • + + Flying + Like a Brick + + + 5-Jun-2019 10:48 +
+  • + + ADL/IADL: + Dressing + + + 5-Jun-2019 + + (independent) +
+  • + Sensory Status Free Text + + Onset: + 5-Aug-2017 +
+ Resolved: + 5-Jun-2019 +
+  • + + Social History: + Smoker + + + Status: + Resolved +
+ Start: + 1967/05/21 +
+ End: + 1967/05/21 +
+ 2 Packs per day +
+  • + + Social History: + Smoker + + + Status: + Resolved +
+ Start: + 5-Jun-2019 +
+ End: + 5-Jun-2019 +
+ Golf Cart from Bed to Kitchen and Back +
+  • + + Social History: + Occupation: + + + Status: + Resolved +
+ Start: + 1-May-1967 +
+ End: + 5-Jun-2019 +
+ Actors (Management, Business, Science, and Arts Occupations) +
+  • + + Head Circumference + 10 + cm + + + 5-Jun-2018 10:48 +
+  • + + LMP + 20150521 + + + 5-Jun-2019 10:48 +
+  • + + Troponin I.cardiac [Mass/​volume] in Serum or Plasma + 90 + ng/mL + + + 5-Jun-2019 10:48 +
+ Supported By: +
+  • + Past Problem Text + + Status: + Resolved +
+ Onset: + 1967/05/21 +
+ Resolved: + 1967/05/21 +
+  • + Past Problem 2 Text + + Status: + Deleted +
+ Onset: + 21-May-2001 +
+ Resolved: + 5-Jun-2019 +
+ Related Documents: +
+  • + + http://www.yahoo.com + +
+ + Secondary Health Concern Text (Related) + + Status: + Active +
+
+ + Secondary Health Concern Text (Reference) + + Status: + Active +
+
+ + Secondary Health Concern Text (Component) + + Status: + Active +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Risks
+ + Risk Concern Text + + Start: + 5-Sep-2018 +
+ End: + 5-May-2019 +
+ Status: + Completed +
+
+ Related Health Concern: + Secondary Health Concern Text (Related) +
+ Associated Health Concern: + Primary Health Concern Text +
+ Related To: +
+  • + Text of the Problem + + Onset: + 1967/05/21 +
+ Resolved: + 1967/05/21 +
+ Status: + Resolved +
+  • + The patient says, 'No, Diabetes.' + + Onset: + 31-Dec-2017 +
+ Resolved: + 2-Nov-2018 +
+ Status: + Chronic +
+  • + No code problem + + Status: + Active +
+  • + IMO Code Problem + + Status: + Denied +
+  • + No Known Problems +
+  • + No Known Problems +
+  • + OIT +
+  • + No Known Problems +
+  • + + Allergy: + the item patient is Allergic too +
+ Criticality: + High criticality +
+
+ Status: + Active +
+ Onset: + 1967/05/21 +
+ Resolved: + 5-Jun-2019 +
+ Allergy +
+ + Reaction: + + Hives + + ( + Moderate + ) + + + , + + Speaking in Tongues + + , + + Turning Blue + + ( + Mild + ) + + + +
+  • + + Allergy: + Intolerance item goes here + + + Status: + Active +
+ Onset: + 2010 +
+
+ Intolerance +
+
+  • + + Allergy: + Adverse reaction Item goes here (COCOA) + + + Status: + Acute +
+ Onset: + Mar-2010 +
+
+ Adverse Event +
+ + Reaction: + + Hives + + ( + Severe + ) + + + +
+  • + + Allergy: + OIT - You might think I'm Intolerance + + + Status: + Acute +
+
+  • + + Allergy: + Dander Allergy Product Text +
+ Criticality: + Low criticality +
+
+ Status: + Acute +
+
+ Allergy +
+
+  • + Off their meds + + 5-Jun-2019 +
+  • + OIT over a freetext mental status + + 5-Jun-2019 +
+  • + + A.Scale Derivation + A.Scale Value + + + 1-May-2019 + + + + Interpretation: A.Scale.Interpretation +
+  • + + Smoking Status: + Current every day smoker + + + Recorded: + 1967/05/21 +
+  • + + Smoking Status: + Heavy tobacco smoker + + + Recorded: + 1-Jan-2004 +
+  • + + Smoking Status: + Smoker. current status unknown + + + Recorded: + 1-Jan-2007 +
+  • + + Pregnancy Status: + Pregnant + + + Start: + 1967/05/21 +
+
+ EDD: + 1967/05/21 +
+  • + + Pregnancy Status: + Babies, Babies, Babies! + + + Start: + 5-Jul-2017 +
+ End: + 5-Nov-2017 +
+ EDD: + 5-Dec-2017 +
+  • + + Pregnancy Status: + Unknown Pregnancy + + + Start: + 5-Sep-2015 +
+ End: + 5-Oct-2015 +
+  • + + Pregnancy Status: + Not Pregnant + + + Start: + 5-Aug-2016 +
+
+  • + + Tobbacco Use: + Aggressive non-smoker + + + Start: + 1967/05/21 +
+ End: + 1967/05/21 +
+  • + + Tobbacco Use: + Failed attempt to stop smoking + + + Start: + Jan-2002 +
+ End: + Oct-2005 +
+  • + + Tobbacco Use: + Hookah pipe smoker (finding) + + + Start: + 2000 +
+
+  • + + Tobbacco Use: + Admitted tobacco consumption possibly untrue + + + End: + Jun-2018 +
+  • + SuperCareGiver Ability + + Start: + 5-Jun-2014 +
+ End: + 5-Jun-2019 +
+  • + + Home Environment: + cluttered living space (finding) + + + 5-Jun-2019 +
+  • + I Believe you + + 5-Jun-2019 +
+  • + + Encounter Diagnosis: + Risk|Health Concern/Encounter Diagnosis/Problem Text + + + Status: + Suspect +
+ Onset: + 5-Jun-2019 +
+
+  • + + Family History: + This Family History NOT linked + + + Status: + Resolved +
+ Onset: + 1967/05/21 +
+ Resolved: + 1967/05/21 +
+ Relative: + Unknown Family Member (deceased) +
+  • + + Family History: + This Family History linked to a family member (FM1) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Father +
+  • + + Family History: + This Family History linked to a family member (FM2) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Mother +
+  • + + Family History: + This Family History linked to a family member (A1) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + adopted child +
+  • + + Family History: + This Family History linked to a family member (STEP) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + step child +
+  • + + Family History: + This Family History linked to a family member (FAM) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Family Member +
+  • + + Family History: + This Family History linked to a family member (MA) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Maternal Aunt +
+  • + + Family History: + This Family History linked to a family member (MC) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Maternal Cousin +
+  • + + Family History: + This Family History linked to a family member (MG) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Maternal Grandparent +
+  • + + Family History: + This Family History linked to a family member (MGG) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Maternal Great Grandparent +
+  • + + Family History: + This Family History linked to a family member (MU) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Maternal Uncle +
+  • + + Family History: + This Family History linked to a family member (PA) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Paternal Aunt +
+  • + + Family History: + This Family History linked to a family member (PC) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Paternal Cousin +
+  • + + Family History: + This Family History linked to a family member (PG) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Paternal Grandparent +
+  • + + Family History: + This Family History linked to a family member (PGG) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Paternal Great Grandparent +
+  • + + Family History: + This Family History linked to a family member (PU) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Paternal Uncle +
+  • + + Family History: + This Family History linked to a family member (PGGF) + + + Status: + Active +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jun-2019 +
+ Relative: + Paternal Great-Grandfather +
+  • + + Functional Status Observation Text + + + 5-Jun-2018 + + Evaluation Results: + fsObs reference range +
+  • + + Hospital Admission Diagnosis: + Hangnail + + + Status: + Resolved +
+ Onset: + 1967/05/21 +
+ Resolved: + 1967/05/21 +
+  • + + Hospital Admission Diagnosis: + Spare Tire + + + Status: + Inactive +
+ Onset: + 5-Jun-2019 +
+ Resolved: + 5-Jan-2019 +
+  • + + Nutrition Status: + Nuts + + + 5-Jun-2019 +
+  • + + Nutrition: + Eat to Live + + + 5-Jun-2019 +
+  • + + Nutrition: + OIT, Nutri assessment, negated + +
+  • + + Reaction: + Doesn't like it + + ( + Mild + ) + + + + Onset: + 5-May-2019 +
+ Resolved: + 5-Jun-2019 +
+  • + + Post-procedure Diagnosis: + Post Procedure Diagnosis Text + + + Status: + Acute +
+ Onset: + 5-Jan-2019 +
+ Resolved: + 5-Jun-2019 +
+  • + + Pre-operative Diagnosis: + Pre-Operative Diagnosis Text + + + Status: + Acute +
+ Onset: + 5-Jan-2019 +
+ Resolved: + 5-Jun-2019 +
+  • + Organizer Order Name + + Ordered On: + 1967/05/21 + + Comments: + Result Organizer Comment +
+   ◦ + + 10-Oct-2013 +
+ Large blob of text on a result organizer +
+
+   ◦ + + Result with Interpretation, Range and discrete UOM + 42 + mg/dL + (Weakly reactive) + +
+    ▪ + + Medici, MD James Middle Dr + - + 10-Oct-2013 +
+ Large blob of text on a result observation. Now even more data to show span across the page and wrapping of the data. This sentence is worthless. This is a worthless followup to a worthless sentence. +
+ Comments: + Note Comment on a result observation +
+
+   ◦ + + Result with interpretation (no range) and no UOM + 7.2 + (Indeterminate) + + + 5-Jun-2019 10:46 +
+   ◦ + + Result with interpretation (no range), string value (containing UOM) and no UOM discrete + 7.2 mb + (Positive) + + + 5-Jun-2019 10:45 +
+   ◦ + + Result with range (no interpretation), string value (containing UOM) and no UOM discrete + 7.2 mb + + + 5-Jun-2019 10:44 +
+  • + 1 Result, same name + + Ordered On: + 2-Nov-2018 + + Comments: + Result Organizer 2 Comment +
+   ◦ + + 1 Result, same name + 23 + [lb_av] + (Negative) + + + 1967/05/21 +
+  • + More Results + (Pending) +
+   ◦ + + Result with no UOM + 7.3 + + + 5-Jun-2019 10:41 +
+   ◦ + + Result with no UOM + 7.4 + + + 1967/05/21 +
+   ◦ + + Result with no UOM + 7.5 + + + 5-Jun-2019 10:39 +
+  • + Lab Result + + Comments: + Lab Result Organizer Comment +
+   ◦ + + Lab Result + Lab Result: Lab One, Two, Three +Test: Fake Cardiomyopathy endurance +Course: Patient Arrived +Items included: Interpretation, Range, 1 result same name +ops +ipso +more Latin phrases +------------------ +Findings: Inconceivable + + ml/min + (High) + + + 24-May-2019 10:48 +
+  • + Trigger It + + Ordered On: + 5-Jun-2019 + + Comments: + Trigger Result Organizer +
+   ◦ + + Trigger Result Test + 7.3 + + + 5-Jun-2019 10:41 +
+   ◦ + + Trigger Result Value + 7.3 + +
+  • + + thinking + Like a Brick + (moderately susceptible) + + + 1967/05/21 +
+  • + + Floating + Like a Butterfly + + + 5-Jun-2019 10:48 +
+  • + + ADL/IADL: + Dressing + + + 5-Jun-2019 + + (independent) +
+  • + Sensory Status Free Text + + Onset: + 5-Aug-2017 +
+ Resolved: + 5-Jun-2019 +
+  • + + Social History: + Smoker + + + Status: + Resolved +
+ Start: + 1967/05/21 +
+ End: + 1967/05/21 +
+ 2 Packs per day +
+  • + + Social History: + Smoker + + + Status: + Resolved +
+ Start: + 5-Jun-2019 +
+ End: + 5-Jun-2019 +
+ Golf Cart from Bed to Kitchen and Back +
+  • + + Social History: + Occupation: + + + Status: + Resolved +
+ Start: + 1-May-1967 +
+ End: + 5-Jun-2019 +
+ Actors (Management, Business, Science, and Arts Occupations) +
+  • + + BP Diastolic + 98 + mm[Hg] + Abnormal + + + 1967/05/21 +
+  • + + BP Systolic + 123 + mm[Hg] + Significant change down + + + 5-Jun-2019 10:48 +
+  • + + OIT BSA + 10 + m2 + + + 5-Jun-2019 10:48 +
+ Supported By: +
+  • + Past Problem Text + + Status: + Resolved +
+ Onset: + 1967/05/21 +
+ Resolved: + 1967/05/21 +
+  • + Past Problem 2 Text + + Status: + Deleted +
+ Onset: + 21-May-2001 +
+ Resolved: + 5-Jun-2019 +
+ Related Documents: +
+  • + + http://www.yahoo.com + +
+ + OIT Risk Concern Text + + Status: + Completed +
+
+ Related Health Concern: + Secondary Health Concern Text (Related) +
+ Associated Health Concern: + Secondary Health Concern Text (Component) +
+ Related To: +
+  • + SuperCareGiver Ability + + Start: + 5-Jun-2014 +
+ End: + 5-Jun-2019 +
+ + Section Comments + Health Concerns Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Active Problem Prognsis Free Text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Resolved + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Chronic + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Active + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Denied + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Active + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Active + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Acute + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Acute + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Acute + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Derivation + + + + + + A.Scale Value + + + + + + + + + + + + + + + + + A.Scale.Support Value + + + + + A.Scale Reference Range + A.Scale Reference Range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Derivation Text + + + forty-two + + +A.Scale.interpretation + + + + + + + + + forty-one + 1 + + + + + A.Scale Reference Range + A.Scale Reference Range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Mental Status Ref Range + + + + + Another Ref Range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Current every day smoker + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Heavy tobacco smoker + + + + + + + + + + + + + + + + + + Smoker. current status unknown + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Risk|Health Concern/Encounter Diagnosis/Prognosis + + + + + + + + + Suspect + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Father + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Mother + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + adopted child + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + step child + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Family Member + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Maternal Aunt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Maternal Cousin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Maternal Grandparent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Maternal Great Grandparent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Maternal Uncle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Paternal Aunt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Paternal Cousin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Paternal Grandparent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Paternal Great Grandparent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Paternal Uncle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Paternal Great-Grandfather + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SuperCareGiver Ability + + + + + + + + + + + + + + + + + + + A.Scale Derivation + + + A.Scale Value + + +A.Scale.Interpretation + + + + + + + + + + + + + A.Scale.Support Value + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Reference Range + A.Scale Reference Range + + + + + + + + + + + + + + + + + + + + + + + NMS Supply Name + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + fsObs reference range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Resolved + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Inactive + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Acute + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Acute + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Like a Horse + + + + + + + + + + + + + + + + + + + + + Like a Brick + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Derivation + + + A.Scale Value + + +A.Scale.Interpretation + + + + + + + + + + + + + A.Scale.Support Value + + + + + A.Scale Reference Range + A.Scale Reference Range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 Packs per day + + + + + + + + + Fatal + + + Fatal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Golf Cart from Bed to Kitchen and Back + + + + + + + + + + + + + + + + + + + + + + + Actors (Management, Business, Science, and Arts Occupations) + + + + + + + + + + + + + + + + + + + + + + Aggressive non-smoker + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Failed attempt to stop smoking + + + + + + + + + + + + + + + + + + + Hookah pipe smoker (finding) + + + + + + + + + + + + + + + + + + + Admitted tobacco consumption possibly untrue + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Highest Pressure Ulcer Stage Text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Resolved + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deleted + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Nutrition Assessment Free Text + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 30 - 40 mg/dL + + + + + + + + + + + + + + + + + + + + + 7.2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7.2 mb + + + + + + + + + + + + + + + + + + + + + + + + 7.2 mb + + + 30 - 40 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7.3 + + + + + + + + + + + + + + + + + + + 7.4 + + + + + + + + + + + + + + + + + + + 7.5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Lab Result: Lab One, Two, Three +Test: Fake Cardiomyopathy endurance +Course: Patient Arrived +Items included: Interpretation, Range, 1 result same name +ops +ipso +more Latin phrases +------------------ +Findings: Inconceivable + + + + + + + + + 5 - 21 ml/min + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7.3 + + + + + + + + + + + + + + + + + + + 7.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Active Problem Prognsis Free Text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Resolved + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Chronic + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Active + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Denied + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Active + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Active + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Acute + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Acute + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Acute + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Derivation + + + + + + A.Scale Value + + + + + + + + + + + + + + + + + A.Scale.Support Value + + + + + A.Scale Reference Range + A.Scale Reference Range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Derivation Text + + + forty-two + + +A.Scale.interpretation + + + + + + + + + forty-one + 1 + + + + + A.Scale Reference Range + A.Scale Reference Range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Mental Status Ref Range + + + + + Another Ref Range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Current every day smoker + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Heavy tobacco smoker + + + + + + + + + + + + + + + + + + Smoker. current status unknown + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Risk|Health Concern/Encounter Diagnosis/Prognosis + + + + + + + + + Suspect + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Father + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Mother + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + adopted child + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + step child + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Family Member + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Maternal Aunt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Maternal Cousin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Maternal Grandparent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Maternal Great Grandparent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Maternal Uncle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Paternal Aunt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Paternal Cousin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Paternal Grandparent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Paternal Great Grandparent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Paternal Uncle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Paternal Great-Grandfather + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SuperCareGiver Ability + + + + + + + + + + + + + + + + + + + A.Scale Derivation + + + A.Scale Value + + +A.Scale.Interpretation + + + + + + + + + + + + + A.Scale.Support Value + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Reference Range + A.Scale Reference Range + + + + + + + + + + + + + + + + + + + + + + + NMS Supply Name + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + fsObs reference range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Resolved + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Inactive + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Acute + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Acute + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Like a Brick + + + + + + + + + + Dull - Genius + + + + + + + + + + + + + + + + + + + + + Like a Butterfly + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A.Scale Derivation + + + A.Scale Value + + +A.Scale.Interpretation + + + + + + + + + + + + + A.Scale.Support Value + + + + + A.Scale Reference Range + A.Scale Reference Range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 Packs per day + + + + + + + + + Fatal + + + Fatal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Golf Cart from Bed to Kitchen and Back + + + + + + + + + + + + + + + + + + + + + + + Actors (Management, Business, Science, and Arts Occupations) + + + + + + + + + + + + + + + + + + + + + + Aggressive non-smoker + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Failed attempt to stop smoking + + + + + + + + + + + + + + + + + + + Hookah pipe smoker (finding) + + + + + + + + + + + + + + + + + + + Admitted tobacco consumption possibly untrue + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VS reference Range + + + + + + + + + + + + + + + + + + + + + + + + + + + + Blush Test + + + + + + Kiss - Tell + + + + + + + + + + + + + + + + + + + + + + + + Low - High + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Resolved + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deleted + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Nutrition Assessment Free Text + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 30 - 40 mg/dL + + + + + + + + + + + + + + + + + + + + + 7.2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7.2 mb + + + + + + + + + + + + + + + + + + + + + + + + 7.2 mb + + + 30 - 40 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7.3 + + + + + + + + + + + + + + + + + + + 7.4 + + + + + + + + + + + + + + + + + + + 7.5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Lab Result: Lab One, Two, Three +Test: Fake Cardiomyopathy endurance +Course: Patient Arrived +Items included: Interpretation, Range, 1 result same name +ops +ipso +more Latin phrases +------------------ +Findings: Inconceivable + + + + + + + + + 5 - 21 ml/min + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7.3 + + + + + + + + + + + + + + + + + + + 7.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + Hospital Consultations + + + FT HC Category 1 + + item 1 + + + item 2 + + + item 3 + + + + FT HC Category 2 + + item one + + + item two + + + item three + + + + Section Comments + Hospital Consultations Section Comment + + + + + + + + + + + + + + +
+
+ +
+ + + + Goals + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Gooooooooal! Free Text + + Goal Set: + 5-May-2019 +
+ Goal Date: + 5-Jun-2019 +
+ Related To: +
+  • + + Primary Health Concern Text + +
+ Interventions +
+  • + + Med Product Name + +
+  • + + Med Product Name 2 + +
+  • + + Medication #3 + +
+  • + + No Dates Medication #4 + +
+  • + + Immunization Product Name 1 + +
+  • + + Immunization Product Name 2 + +
+  • + + Not Administered Anti-goofball injectable PhilosophicalObjection + +
+  • + + Procedure Text #1 + +
+  • + + Procedure with Method (without display Name) + Instruction + +
+  • + + Procedure Cancelled + +
+  • + + Procedure Denied, Complete Date only + +
+  • + + Procedure Complete + +
+  • + + Value of Procedure Text in a Resulted Procedure + +
+  • + + Resulted Procedure 2 Text + +
+  • + + Resulted Procedure 3 Text + +
+  • + + Abdominal CT Scan Series #3 - The patient was instructed to swallow ordered barium. +CT images were obtained at different angles through the chest and abdomen. +CT produces images by sending X-ray radiation through the tissues +of the body to a film on the opposite side of the patient's body. As the radiation penetrates the body, it is +absorbed in varying amounts by different body tissues. + +
+  • + + Free Text Encounter Type + +
+  • + + Multiple Lines, no id values +Line 2 +Line 3 + +
+  • + + Awareness, Reference, comment, start Date, end Date, encounter, last modified, internal ID(2) and imported ID(2), link + +
+  • + + internal ID(2), indication(1) + +
+  • + + link, OIT, this is OIT, no displayName on instruction type + +
+  • + + Did not supply formatted dates + +
+  • + + instructionType intentionally left null + +
+  • + + NMS Supply Name + +
+  • + + oral nutritional support + +
+ Planned Interventions +
+  • + BOTULINUM TOXIN TYPE A PER UNIT +
+  • + HDM Product Name 1 +
+  • + HDM Product Name +
+  • + Plan Immu/Immu/Product +
+  • + Plan Immu 2/Immu/Product +
+  • + Immunization Product Name 1 +
+  • + Immunization Product Name 2 +
+  • + Anti-goofball injectable +
+  • + ELECTROLYTE PANEL +
+  • + GENERAL BLOOD DRAW +
+  • + INSERT TISSUE EXPANDERS +
+  • + Removal of Kidney Stone +
+  • + Procedure Text #1 +
+  • + Procedure with Method (without display Name) + Instruction +
+  • + Procedure Cancelled +
+  • + Procedure Denied, Complete Date only +
+  • + Procedure Complete +
+  • + Value of Procedure Text in a Resulted Procedure +
+  • + Resulted Procedure 2 Text +
+  • + Resulted Procedure 3 Text +
+  • + Abdominal CT Scan Series #3 - The patient was instructed to swallow ordered barium. +CT images were obtained at different angles through the chest and abdomen. +CT produces images by sending X-ray radiation through the tissues +of the body to a film on the opposite side of the patient's body. As the radiation penetrates the body, it is +absorbed in varying amounts by different body tissues. +
+  • + Other Act +
+  • + Other Act 2 +
+  • + go to Connectathon +
+  • + Do not do that thing you do +
+  • + Bark in the Park +
+  • + Clinical Follow Up +
+  • + Clinical Follow Up +
+  • + Planned Int/encounter/free text +
+  • + Planned Int/encounter/free text +
+  • + POC Instruction 1, Internal ID(2), Imported ID(1), indication(1) +
+  • + Ins 2 OIT +
+  • + OIT POC Supply +
+  • + CPAP +
+  • + Medical Equipment/nms/supply name +
+  • + total parenteral nutrition (regime/therapy) +
+  • + total parenteral nutrition (regime/therapy) +
+  • + DNR +
+  • + No intubation - OIT +
+  • + No intubation +
+ Milestones +
+  • + Free Text Milestone Goooooal! 10 mm[Hg] +
+ Supported Documents +
+  • + + http://www.google.com + +
+ Free Text Milestone Goooooal! + 10 + mm[Hg] +
+ OIT Goal Text + + Patient Goal +
+ Related To: +
+  • + + Secondary Health Concern Text (Related) + +
+ + Section Comments + Goal Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Free Text Milestone Goooooal! + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + http://www.google.com + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + Hospital Discharge Physical + + + FT HDPF Category 1 + + item 1 + + + item 2 + + + item 3 + + + + FT HDPF Category 2 + + item one + + + item two + + + item three + + + + Section Comments + Hospital Discharge Physical Findings Section Comment + + + + + + + + + + + + + + + +
+
+ +
+ + + + Nutrition + + + + + + + + + + + + + + + + + + + +
+ Nutrition Status: + Nuts + + 5-Jun-2019 +
+ + Nutrition Assessment Free Text + + + 5-Jun-2019 +
+ + Section Comments + Nutrition Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + Hospital Discharge Instructions + + + Home Care + + Get plenty of rest +Line 2 +Line 3 +Line 4 + + + Drink plenty of fluids + + + + Follow Up + + Call in one week to make a follow up appointment + + + In case of emergency, call 911 + + + + Section Comments + HDI Section Comment + + + + + + + + + + + + + + +
+
+ +
+ + + + + Medical Equipment + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Medical Equipment Procedure Text + + Status: + Completed +
+
+  • + + 6-Sep-2003 +
+ Note in an procedure in a Medical Equipment Organizer. +
+
+ Medical Equipment/nms/supply name + + 1-Jun-2019 + To + 5-Jun-2019 +
+ Status: + normal +
+ Quantity: + 42 +
+ Supplied: + Yes +
+  • + + Medical Equipment/Non Medical Supply/Instruction Text +
+
+
+ Start: + 3-Jun-2019 +
+ End: + 5-Jun-2019 +
+ Instruction Type: + Staff education (procedure) +
+ Comments: + Medical Equipment/Non Medical Supply/Instruction Comment +
+ + + + + + + + + + + + + + + + + + +
+ Medical Equipment/nms/supply name + + 1-Jun-2019 + To + 5-Jun-2019 +
+ Status: + normal +
+ Quantity: + 42 +
+ Supplied: + Yes +
+  • + + Medical Equipment/Non Medical Supply/Instruction Text +
+
+
+ Start: + 3-Jun-2019 +
+ End: + 5-Jun-2019 +
+ Instruction Type: + Staff education (procedure) +
+ Comments: + Medical Equipment/Non Medical Supply/Instruction Comment +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ Medical Equipment Procedure Text + + Status: + Completed +
+
+  • + + 6-Sep-2003 +
+ Note in an procedure in a Medical Equipment Organizer. +
+
+ Patient has an X implant of unknown UDI +
+ + Section Comments + Medical Equipment Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + Interventions + + + Interventions Category 1 + + item 1 + + + item 2 + + + item 3 + + + + Interventions Category Two + + item one + + + item two + + + item three + + + + Interventions Category Tree + + tulip poplar + + + copper birch + + + + + + + + + + + + + + + +
+ + Hand-off Communications: +
+ Medici, MD James Middle Dr + To + Medici, MD James Middle Dr +
+
+ 5-Jun-2019 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Intervention For: + Gooooooooal! Free Text; Gooooooooal! Free Text; Free Text Milestone Goooooal! 10 mm[Hg]; Free Text Milestone Goooooal! 10 mm[Hg]; OIT Goal Text; OIT Goal Text + +
+ + Related Documents: + http://www.microsoft.com + +
+  • + + Med Product Name + ; + free text sig of the med + + + Start: + 1967/05/21 +
+ End: + 1967/05/21 +
+ + Reaction: + + This is a med reaction + + , + + This is another reaction + + ( + Moderate to severe + ) + + + +
+  • + + Med Product Name 2 + ; + free text SIG 2 + + + Start: + 31-May-2019 +
+ End: + 5-Jul-2019 +
+ Status: + Completed +
+ + Reaction: + + nausea + + ( + Fatal + ) + + + +
+  • + + Medication #3 + ; + Free Text SIG Med 3 + + + Start: + 5-Jun-2019 +
+ End: + 5-Jun-2019 +
+  • + + No Dates Medication #4 + ; + Free Text SIG Med 5 + +
+  • + Immunization Product Name 1 + + Administered + + + Reaction: + + This is a med reaction + + , + + This is another reaction + + ( + Mild to moderate + ) + + + +
+  • + Immunization Product Name 2 + + 1967/05/21 + + + Reaction: + + Immunization Reaction Text + + ( + Mild + ) + + + +
+  • + Anti-goofball injectable + + Not Administered On: + 5-Jun-2019 + + Philosophical Objection +
+
+  • + Procedure Text #1 + + Date: + 1967/05/21 +
+
+   ◦ + + 10-Oct-2013 +
+ Large blob of text on a procedure, no a really large blob of text. No a really really large blob of text on a procedure, I need to see the indention w/ wrap functionality. +
+ Comments: + Note on a Procedure comment +
+
+   ◦ + + Procedure Medication Product Name + ; + Procedure/Medication/FreeTextSig + + + Start: + 5-Jun-2019 +
+ End: + 5-Jun-2019 +
+   ◦ + + Procedure Instruction Text + + + Start: + 12-May-2019 +
+ End: + 29-Jun-2019 +
+ Instruction Type: + Procedure education (procedure) +
+  • + Procedure with Method (without display Name) + Instruction + + Date: + 31-May-2019 +
+ Status: + Aborted + 10-Jun-2019 +
+
+   ◦ + + Procedure Instruction Text + + + End: + 29-Jun-2019 + + Instruction Type: + Procedure education (procedure) +
+  • + Procedure Cancelled + + Date: + 31-May-2019 +
+ Status: + Cancelled +
+
+  • + Procedure Denied, Complete Date only + + Status: + Cancelled + 5-Jun-2019 +
+
+  • + Procedure Complete + + Date: + 31-May-2019 +
+ Status: + Completed + 31-May-2019 +
+
+  • + + Value of Procedure Text in a Resulted Procedure +
+ Result: + Procedure Result Text in Resulted Procedure -- Item Contains Interpretation and Range. +
+
+ Date: + 1967/05/21 +
+
+   ◦ + + Medici, MD James Middle Dr + - + 10-Oct-2009 +
+ Large blob of text on a resulted procedure, no a really large blob of text. No a really really large blob of text on a procedure, I need to see the indention w/ wrap functionality. +
+ Comments: + Note on a Resulted Procedure comment +
+
+   ◦ + + Typical Procedure Medication + ; + Take 1 gallon per hour as needed + +
+   ◦ + + Typical Procedure Instruction + + + Start: + 3-Mar-2009 +
+
+  • + + Resulted Procedure 2 Text +
+ Result: + 7 mg +
+
+ Date: + 16-May-2019 +
+
+   ◦ + + A-Typical Procedure Instruction + +
+  • + + Resulted Procedure 3 Text +
+ Result: + Resulted Procedure 3 Result Text -- Contains Range (no Interpretation) +
+
+ Date: + 17-May-2019 +
+
+  • + + Abdominal CT Scan Series #3 - The patient was instructed to swallow ordered barium. +CT images were obtained at different angles through the chest and abdomen. +CT produces images by sending X-ray radiation through the tissues +of the body to a film on the opposite side of the patient's body. As the radiation penetrates the body, it is +absorbed in varying amounts by different body tissues. +
+ Result: + The liver is of generally low density, consistent with fatty infiltration. The liver, spleen, pancreas, and left adrenal gland remain unremarkable. + The left lobe is unremarkable. No focal liver or splenic lesions identified. The gallbladder appears with evidence of biliary or pancreatic duct dilatation. + There is some stable scarring towards the lower pole of right kidney. No hydronephrosis. No abnormally enlarged retrocrural, anterior disphragmatic, retroperitoneal, metastatic nodes are identified. + Rectal contrast was not administered. Degenerative changes are noted. Please see associated CT chest report. +
+
+ Date: + 18-May-2019 +
+
+  • + Other Act + + Date: + 1967/05/21 +
+
+   ◦ + + Medici, MD James Middle Dr + - + 10-Oct-2010 +
+ Large blob of text on a procedure Other Act, no a really large blob of text. No a really really large blob of text on a procedure, I need to see the indention w/ wrap functionality. +
+ Comments: + Note on a Procedure comment +
+
+  • + Other Act 2 + + Date: + 18-May-2019 +
+ Status: + Cancelled + 19-May-2019 +
+
+  • + Free Text Encounter Type + + Start: + 2-Feb-2019 10:48 +
+   ◦ + + 6-Sep-2003 +
+ Note in an encounter in an intervention. +
+
+  • + + Multiple Lines, no id values +Line 2 +Line 3 + + + Instruction Type: + Progesterone supplement education (procedure) +
+  • + + Awareness, Reference, comment, start Date, end Date, encounter, last modified, internal ID(2) and imported ID(2), link + + + Start: + 1967/05/21 +
+ End: + 1967/05/21 +
+ Instruction Type: + Emotional and psychosocial support and education (regime/therapy) +
+  • + + internal ID(2), indication(1) + + + Instruction Type: + Disease process or condition education (procedure) +
+  • + + link, OIT, this is OIT, no displayName on instruction type + +
+  • + + Did not supply formatted dates + + + Start: + 5-Jun-2019 +
+ End: + 5-Jun-2019 +
+ Instruction Type: + Education about familial urinary cystine stones (procedure) +
+  • + + instructionType intentionally left null + +
+  • + NMS Supply Name + + Status: + suspended + + Quantity: + 42 +
+ Supplied: + Yes +
+  • + Oral nutritional support (regime/therapy) + + 5-Jun-2019 + + Intent +
+   ◦ + Clinical Follow Up + + Start: + 1967/05/21 + + Appointment Request +
+ Discharge Disposition: + Discharged/transferred to home under care of Home IV provider +
+   ◦ + Clinical Follow Up + + End: + 18-Jul-2019 + + Appointment +
+ Discharge Disposition: + Discharged/transferred to home under care of Home IV provider +
+   ◦ + INSERT TISSUE EXPANDERS + + End: + 1967/05/21 + + Request +
+   ◦ + Removal of Kidney Stone + + Start: + 16-Jan-2013 + + Intent +
+   ◦ + ELECTROLYTE PANEL + + 1967/05/21 + To + 1967/05/21 + + Proposal +
+   ◦ + GENERAL BLOOD DRAW + + 25-Jan-2014 10:00 + To + 25-Jan-2014 + + Request +
+   ◦ + + BOTULINUM TOXIN TYPE A PER UNIT + ; + Planned Medication - Free Text Sig + + + Start: + 1967/05/21 +
+ End: + 5-Sep-2019 +
+ Intent +
+ + Reaction: + + POC Substance Reaction Text + + +
+   ◦ + + go to Connectathon + + + 1967/05/21 + To + 1967/05/21 + + Promise +
+ Comments: + POC Act Comment, Item Negation +
+   ◦ + + Do not do that thing you do + + + 28-Jan-2013 11:21 + To + 2-Feb-2013 12:21 + + Request +
+ Comments: + item Negation, OIT +
+   ◦ + + Bark in the Park + + + Promise +
+ Comments: + Find a Dog Comment +
+   ◦ + OIT POC Supply + + 1967/05/21 + To + 1967/05/21 +
+ Status: + Ordered +
+ Request +
+ Quantity: + 2 {ea} +
+    ▪ + + Plan of Care Supply Instruction + + + Instruction Type: + Body alignment education (procedure) +
+   ◦ + CPAP + + 6-Jun-2019 10:48 + To + 15-Jun-2019 10:48 +
+ Status: + Ordered +
+ Request +
+ Quantity: + 2 +
+  • + DNR + + Effective: + 1967/05/21 +
+  • + No intubation +
+  • + No intubation + + Effective: + 5-Jun-2019 +
+  • + + Hand-off Communications: +
+ Medici, MD James Middle Dr + To + Medici, MD James Middle Dr +
+
+ 5-Jun-2019 +
+ + Intervention For: + Gooooooooal! Free Text; Gooooooooal! Free Text; Free Text Milestone Goooooal! 10 mm[Hg]; Free Text Milestone Goooooal! 10 mm[Hg]; OIT Goal Text; OIT Goal Text + +
+  • + Intervention NMS Supplied Item + + Status: + normal + + Quantity: + 21 +
+ Supplied: + Yes +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Planned
+ Intervention For: +
+ Gooooooooal! Free Text; Gooooooooal! Free Text; Free Text Milestone Goooooal! 10 mm[Hg]; Free Text Milestone Goooooal! 10 mm[Hg]; OIT Goal Text; OIT Goal Text +
+ + Related Documents: + http://www.apple.com + +
+  • + + BOTULINUM TOXIN TYPE A PER UNIT + ; + Planned Medication - Free Text Sig + + + Start: + 1967/05/21 +
+ End: + 5-Sep-2019 +
+ Intent +
+ + Reaction: + + POC Substance Reaction Text + + +
+  • + + HDM Product Name 1 + ; + free text SIG HDM 1 + +
+  • + + HDM Product Name + ; + free text SIG HDM + + + Start: + 1967/05/21 +
+ End: + 5-Jul-2019 +
+ + Reaction: + + Hives + + ( + Severe + ) + + + +
+  • + + Plan Immu/Immu/Product + + + On: + 6-Oct-2019 + + Intent +
+  • + + Plan Immu 2/Immu/Product + + + On: + 17-Jun-2019 + + Promise +
+  • + Immunization Product Name 1 + + Administered + + + Reaction: + + This is a med reaction + + , + + This is another reaction + + ( + Mild to moderate + ) + + + +
+  • + Immunization Product Name 2 + + 1967/05/21 + + + Reaction: + + Immunization Reaction Text + + ( + Mild + ) + + + +
+  • + Anti-goofball injectable + + Not Administered On: + 5-Jun-2019 + + Philosophical Objection +
+
+  • + ELECTROLYTE PANEL + + 1967/05/21 + To + 1967/05/21 + + Proposal +
+  • + GENERAL BLOOD DRAW + + 25-Jan-2014 10:00 + To + 25-Jan-2014 + + Request +
+  • + INSERT TISSUE EXPANDERS + + End: + 1967/05/21 + + Request +
+   ◦ + + Proc Medication #1 + ; + Free Text SIG Procedure Med 1 + +
+  • + Removal of Kidney Stone + + Start: + 16-Jan-2013 + + Intent +
+  • + Procedure Text #1 + + Date: + 1967/05/21 +
+
+   ◦ + + 10-Oct-2013 +
+ Large blob of text on a procedure, no a really large blob of text. No a really really large blob of text on a procedure, I need to see the indention w/ wrap functionality. +
+ Comments: + Note on a Procedure comment +
+
+   ◦ + + Procedure Medication Product Name + ; + Procedure/Medication/FreeTextSig + + + Start: + 5-Jun-2019 +
+ End: + 5-Jun-2019 +
+   ◦ + + Procedure Instruction Text + + + Start: + 12-May-2019 +
+ End: + 29-Jun-2019 +
+ Instruction Type: + Procedure education (procedure) +
+  • + Procedure with Method (without display Name) + Instruction + + Date: + 31-May-2019 +
+ Status: + Aborted + 10-Jun-2019 +
+
+   ◦ + + Procedure Instruction Text + + + End: + 29-Jun-2019 + + Instruction Type: + Procedure education (procedure) +
+  • + Procedure Cancelled + + Date: + 31-May-2019 +
+ Status: + Cancelled +
+
+  • + Procedure Denied, Complete Date only + + Status: + Cancelled + 5-Jun-2019 +
+
+  • + Procedure Complete + + Date: + 31-May-2019 +
+ Status: + Completed + 31-May-2019 +
+
+  • + + Value of Procedure Text in a Resulted Procedure +
+ Result: + Procedure Result Text in Resulted Procedure -- Item Contains Interpretation and Range. +
+
+ Date: + 1967/05/21 +
+
+   ◦ + + Medici, MD James Middle Dr + - + 10-Oct-2009 +
+ Large blob of text on a resulted procedure, no a really large blob of text. No a really really large blob of text on a procedure, I need to see the indention w/ wrap functionality. +
+ Comments: + Note on a Resulted Procedure comment +
+
+   ◦ + + Typical Procedure Medication + ; + Take 1 gallon per hour as needed + +
+   ◦ + + Typical Procedure Instruction + + + Start: + 3-Mar-2009 +
+
+  • + + Resulted Procedure 2 Text +
+ Result: + 7 mg +
+
+ Date: + 16-May-2019 +
+
+   ◦ + + A-Typical Procedure Instruction + +
+  • + + Resulted Procedure 3 Text +
+ Result: + Resulted Procedure 3 Result Text -- Contains Range (no Interpretation) +
+
+ Date: + 17-May-2019 +
+
+  • + + Abdominal CT Scan Series #3 - The patient was instructed to swallow ordered barium. +CT images were obtained at different angles through the chest and abdomen. +CT produces images by sending X-ray radiation through the tissues +of the body to a film on the opposite side of the patient's body. As the radiation penetrates the body, it is +absorbed in varying amounts by different body tissues. +
+ Result: + The liver is of generally low density, consistent with fatty infiltration. The liver, spleen, pancreas, and left adrenal gland remain unremarkable. + The left lobe is unremarkable. No focal liver or splenic lesions identified. The gallbladder appears with evidence of biliary or pancreatic duct dilatation. + There is some stable scarring towards the lower pole of right kidney. No hydronephrosis. No abnormally enlarged retrocrural, anterior disphragmatic, retroperitoneal, metastatic nodes are identified. + Rectal contrast was not administered. Degenerative changes are noted. Please see associated CT chest report. +
+
+ Date: + 18-May-2019 +
+
+  • + Other Act + + Date: + 1967/05/21 +
+
+   ◦ + + Medici, MD James Middle Dr + - + 10-Oct-2010 +
+ Large blob of text on a procedure Other Act, no a really large blob of text. No a really really large blob of text on a procedure, I need to see the indention w/ wrap functionality. +
+ Comments: + Note on a Procedure comment +
+
+  • + Other Act 2 + + Date: + 18-May-2019 +
+ Status: + Cancelled + 19-May-2019 +
+
+  • + + go to Connectathon + + + 1967/05/21 + To + 1967/05/21 + + Promise +
+ Comments: + POC Act Comment, Item Negation +
+  • + + Do not do that thing you do + + + 28-Jan-2013 11:21 + To + 2-Feb-2013 12:21 + + Request +
+ Comments: + item Negation, OIT +
+  • + + Bark in the Park + + + Promise +
+ Comments: + Find a Dog Comment +
+  • + Clinical Follow Up + + Start: + 1967/05/21 + + Appointment Request +
+ Discharge Disposition: + Discharged/transferred to home under care of Home IV provider +
+  • + Clinical Follow Up + + End: + 18-Jul-2019 + + Appointment +
+ Discharge Disposition: + Discharged/transferred to home under care of Home IV provider +
+  • + Planned Int/encounter/free text + + 3-Jun-2019 10:48 + To + 5-Jun-2019 10:48 +
+   ◦ + + 6-Sep-2003 +
+ Note in an encounter in a PLANNED intervention. +
+
+  • + Planned Int/encounter/free text + + 3-Jun-2019 10:48 + To + 5-Jun-2019 10:48 +
+  • + + POC Instruction 1, Internal ID(2), Imported ID(1), indication(1) + + + Instruction Type: + Family medication education (procedure) +
+  • + + Ins 2 OIT + + + Start: + 1967/05/21 +
+ End: + 25-Jun-2019 +
+ Instruction Type: + Lifestyle education (procedure) +
+  • + OIT POC Supply + + 1967/05/21 + To + 1967/05/21 +
+ Status: + Ordered +
+ Request +
+ Quantity: + 2 {ea} +
+   ◦ + + Plan of Care Supply Instruction + + + Instruction Type: + Body alignment education (procedure) +
+  • + CPAP + + 6-Jun-2019 10:48 + To + 15-Jun-2019 10:48 +
+ Status: + Ordered +
+ Request +
+ Quantity: + 2 +
+  • + Medical Equipment/nms/supply name + + 1-Jun-2019 + To + 5-Jun-2019 +
+ Status: + normal +
+ Quantity: + 42 +
+ Supplied: + Yes +
+   ◦ + + Medical Equipment/Non Medical Supply/Instruction Text +
+
+
+ Start: + 3-Jun-2019 +
+ End: + 5-Jun-2019 +
+ Instruction Type: + Staff education (procedure) +
+ Comments: + Medical Equipment/Non Medical Supply/Instruction Comment +
+  • + total parenteral nutrition (regime/therapy) + + 5-Jun-2019 + + Proposal +
+   ◦ + Clinical Follow Up + + Start: + 1967/05/21 + + Appointment Request +
+ Discharge Disposition: + Discharged/transferred to home under care of Home IV provider +
+   ◦ + Clinical Follow Up + + End: + 18-Jul-2019 + + Appointment +
+ Discharge Disposition: + Discharged/transferred to home under care of Home IV provider +
+   ◦ + INSERT TISSUE EXPANDERS + + End: + 1967/05/21 + + Request +
+   ◦ + Removal of Kidney Stone + + Start: + 16-Jan-2013 + + Intent +
+   ◦ + ELECTROLYTE PANEL + + 1967/05/21 + To + 1967/05/21 + + Proposal +
+   ◦ + GENERAL BLOOD DRAW + + 25-Jan-2014 10:00 + To + 25-Jan-2014 + + Request +
+   ◦ + + BOTULINUM TOXIN TYPE A PER UNIT + ; + Planned Medication - Free Text Sig + + + Start: + 1967/05/21 +
+ End: + 5-Sep-2019 +
+ Intent +
+ + Reaction: + + POC Substance Reaction Text + + +
+   ◦ + + go to Connectathon + + + 1967/05/21 + To + 1967/05/21 + + Promise +
+ Comments: + POC Act Comment, Item Negation +
+   ◦ + + Do not do that thing you do + + + 28-Jan-2013 11:21 + To + 2-Feb-2013 12:21 + + Request +
+ Comments: + item Negation, OIT +
+   ◦ + + Bark in the Park + + + Promise +
+ Comments: + Find a Dog Comment +
+   ◦ + OIT POC Supply + + 1967/05/21 + To + 1967/05/21 +
+ Status: + Ordered +
+ Request +
+ Quantity: + 2 {ea} +
+    ▪ + + Plan of Care Supply Instruction + + + Instruction Type: + Body alignment education (procedure) +
+   ◦ + CPAP + + 6-Jun-2019 10:48 + To + 15-Jun-2019 10:48 +
+ Status: + Ordered +
+ Request +
+ Quantity: + 2 +
+  • + total parenteral nutrition (regime/therapy) + + 5-Jun-2019 + + Proposal +
+  • + DNR + + Effective: + 1967/05/21 +
+  • + No intubation +
+  • + No intubation + + Effective: + 5-Jun-2019 +
+  • + + Hand-off Communications: +
+ Medici, MD James Middle Dr + To + Medici, MD James Middle Dr +
+
+ 5-Jun-2019 +
+ + Section Comments + Interventions (Entries) Section Comment + Interventions Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 42 Document Holder Lane + Heaven + MI + 48703 + + + + + + Holder + Document + The + DH + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Patient + Sally + The + Really + Great + Ms + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Patient + Sally + The + Really + Great + Ms + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 20 to 29 percent of body surface + + + + + + + + + + + + + + LOT42 + + + mfgname + + + + + + + + + + Immunization Drug Vehicle Text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Immunization Precondition Text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Med Brand Name + + + PillsRUs + + + + + + + + + + + + + + + Medication Drug Vehicle + + + + + + + + + + + + + + + + + + + Past Problem 2 Text + + + + + + + Past Problem 2 Text + + + + + + + + + + Medication Patient Instructions + + + + + + + + + + + + + + + + + + + + + + + + + + + Med Brand Name + + + PillsRUs + + + + + + + + + + + + + + Medication Fulfillment Instructions + + + + + + + + + + + + + + + + + + + + + + + + + Med Brand Name + + + PillsRUs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Medication Precondition Free Text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Med Brand Name 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + Med Brand Name 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Med Brand Name 2 + + + + + + + + + + + + + + + + + + + + + + + + + + Med Brand Name 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Brand #3 + + + + + + + + + + + + + + + + + + + + + + + Brand #3 + + + + + + + + + + + + + + + + + + + + + + + + + Brand #3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Brand #4 + + + + + + + + + + + + + + + + + + + + + + + Brand #4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OA Procedure Indication + + + + + + + + + + + + + + + + + + + + + OA Procedure Indication 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Procedure Result Text in Resulted Procedure -- Item Contains Interpretation and Range. + + + + + + + + + + Montgomery + AL + + + + Out Back + + + + + + + + + + Birmingham + AL + + + + Over Yonder + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RP Procedure Indication + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + funny - not funny + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Resulted Procedure 3 Result Text -- Contains Range (no Interpretation) + + + + thin - thick + + + + + + + + + + + + + + + + + + + + + + + + + The liver is of generally low density, consistent with fatty infiltration. The liver, spleen, pancreas, and left adrenal gland remain unremarkable. + The left lobe is unremarkable. No focal liver or splenic lesions identified. The gallbladder appears with evidence of biliary or pancreatic duct dilatation. + There is some stable scarring towards the lower pole of right kidney. No hydronephrosis. No abnormally enlarged retrocrural, anterior disphragmatic, retroperitoneal, metastatic nodes are identified. + Rectal contrast was not administered. Degenerative changes are noted. Please see associated CT chest report. + + + + + + + + + + + + + + + + + + + + + + + + + Procedure Method + + + Abdominal and pelvic vascular structure + + + Abdominal aorta structure + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + Organization Provider + Organization City + PR + 00867-5309 + + + + Organization Provider Name + + + Organization Provider + Organization City + PR + 00867-5309 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Procedure + Service Delivery + AK + 99999 + + + + Procedure SDL Name + + + + + + + + + + Montgomery + AL + + + + Out Back + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Procedure Indication + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Procedure Indication 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Laughing Gasex + + + Happy Clown, Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Laughing Gasex + + + Happy Clown, Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Procedure Reaction Text + + + + + + + + + + + + Procedure Reaction Text w/Severity + + + + + + + Severe + + + Severe + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Instruction Indication + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 Médico Blvd + Paraiso + Tabasco + postalCode + MX + + + + + Bones + James + Dem + Sir + MD + + + + + + + + + + POC Encounter + Activity + MA + 90120 + + + + Tomorrowland + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Aberrant main renal artery + + + + + + + + + + + + + BOTULINUM + + + Pills R Us + + + + + + + + + + + + + + + + + + + + + + + + + POC Medication Indication problem text + + + + + + + + + + Lay back and this won't hurt a bit + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOTULINUM + + + Pills R Us + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Proc Medication #1 + + + Proc Brand #1 + + + + + + + + + + + + + + + + + + Proc Medication #1 + + + Proc Brand #1 + + + + + + + + + + + + + + + + + + + + Proc Medication #1 + + + Proc Brand #1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + POC Procedure Indication + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + No code problem + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 42 Document Holder Lane + Heaven + MI + 48703 + + + + + + Holder + Document + The + DH + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Patient + Sally + The + Really + Great + Ms + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Patient + Sally + The + Really + Great + Ms + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 20 to 29 percent of body surface + + + + + + + + + + + + + + LOT42 + + + mfgname + + + + + + + + + + Immunization Drug Vehicle Text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Immunization Precondition Text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HDM Brand Name 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HDM Brand Name + + + + + + + + + + + HDM/medication/indication text + + + + + + + + + + + + + + + + + + + + + + + + + + HDM Brand Name + + + + + + + + + + + + + + + + + + + + + + + + + HDM Brand Name + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OA Procedure Indication + + + + + + + + + + + + + + + + + + + + + OA Procedure Indication 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Procedure Result Text in Resulted Procedure -- Item Contains Interpretation and Range. + + + + + + + + + + Montgomery + AL + + + + Out Back + + + + + + + + + + Birmingham + AL + + + + Over Yonder + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RP Procedure Indication + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + funny - not funny + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Resulted Procedure 3 Result Text -- Contains Range (no Interpretation) + + + + thin - thick + + + + + + + + + + + + + + + + + + + + + + + + + The liver is of generally low density, consistent with fatty infiltration. The liver, spleen, pancreas, and left adrenal gland remain unremarkable. + The left lobe is unremarkable. No focal liver or splenic lesions identified. The gallbladder appears with evidence of biliary or pancreatic duct dilatation. + There is some stable scarring towards the lower pole of right kidney. No hydronephrosis. No abnormally enlarged retrocrural, anterior disphragmatic, retroperitoneal, metastatic nodes are identified. + Rectal contrast was not administered. Degenerative changes are noted. Please see associated CT chest report. + + + + + + + + + + + + + + + + + + + + + + + + + Procedure Method + + + Abdominal and pelvic vascular structure + + + Abdominal aorta structure + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + Organization Provider + Organization City + PR + 00867-5309 + + + + Organization Provider Name + + + Organization Provider + Organization City + PR + 00867-5309 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Procedure + Service Delivery + AK + 99999 + + + + Procedure SDL Name + + + + + + + + + + Montgomery + AL + + + + Out Back + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Procedure Indication + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Procedure Indication 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Laughing Gasex + + + Happy Clown, Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Laughing Gasex + + + Happy Clown, Inc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Procedure Reaction Text + + + + + + + + + + + + Procedure Reaction Text w/Severity + + + + + + + Severe + + + Severe + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Intervention/Planned Intervention/Encounter Location Name + + + + + + + + + + + + + + + + + + Planned Int/encounter/diagnosis text + + + + + + Planned Int/encounter/diagnosis text + + + + + + + + + + + + + Planned Intervention/Encounter/Problem + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Intervention/Planned Intervention/Encounter Location Name + + + + + + + + + + + + + + + + + + + + + + + + + + + + + POC Instruction Indication + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 Médico Blvd + Paraiso + Tabasco + postalCode + MX + + + + + Bones + James + Dem + Sir + MD + + + + + + + + + + POC Encounter + Activity + MA + 90120 + + + + Tomorrowland + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Proc Brand #1 + + + + + + + + + + + + + + + + + + + + + + + Proc Brand #1 + + + + + + + + + + + + + + + + + + + + + + + + + Proc Brand #1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + POC Procedure Indication + + + + + + + + + + + + + + + + + + + + + + + + + + + + Aberrant main renal artery + + + + + + + + + + + + + BOTULINUM + + + Pills R Us + + + + + + + + + + + + + + + + + + + + + + + + + POC Medication Indication problem text + + + + + + + + + + Lay back and this won't hurt a bit + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOTULINUM + + + Pills R Us + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + No code problem + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 Médico Blvd + Paraiso + Tabasco + postalCode + MX + + + + + Bones + James + Dem + Sir + MD + + + + + + + + + + POC Encounter + Activity + MA + 90120 + + + + Tomorrowland + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Aberrant main renal artery + + + + + + + + + + + + + BOTULINUM + + + Pills R Us + + + + + + + + + + + + + + + + + + + + + + + + + POC Medication Indication problem text + + + + + + + + + + Lay back and this won't hurt a bit + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOTULINUM + + + Pills R Us + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Proc Medication #1 + + + Proc Brand #1 + + + + + + + + + + + + + + + + + + Proc Medication #1 + + + Proc Brand #1 + + + + + + + + + + + + + + + + + + + + Proc Medication #1 + + + Proc Brand #1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + POC Procedure Indication + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + No code problem + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Planned Immunization/indication/Problem Text + + + + + + + + + + + + + + + + + + + + Planned Immunization/indication/Prognosis Free Text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + Plan of Treatment + + + + + + + + + + + + + + +
HandOff Communications
+ + Medici, MD James Middle Dr + To + Medici, MD James Middle Dr + + + 5-Jun-2019 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Goals
+ POC/Planned Goal Free Text + 42 + {ohm} + + Goal Set: + 10-May-2017 10:48 +
+ Goal Date: + 5-Jun-2019 10:48 +
+ POC/Planned Goal w/o a code + 42 + km + + Goal Set: + 10-May-2017 10:48 +
+ Goal Date: + 5-Jun-2019 10:48 +
+ POC/Planned OIT LOINC + 42 + mm + + Goal Set: + 10-May-2017 10:48 +
+ Goal Date: + 5-Jun-2019 10:48 +
+ + + + + + + + + + + + + + + + + + + + + +
Planned Immunizations
+ + Plan Immu/Immu/Product +
+
+
+ Scheduled for Administration +
+ On: + 6-Oct-2019 +
+ Intent +
+ + Indication: + Planned Immunization/indication/Problem Text + +
+ Comments: + Planned Immunization/Immunization/Comment Text +
+ + Plan Immu 2/Immu/Product +
+
+
+ Scheduled for Administration +
+ On: + 17-Jun-2019 +
+ Promise +
+
+ Comments: + Planned Immunization 2/Immunization/Comment Text +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Planned Supplies
+ + OIT POC Supply +
+ Quantity: + 2 {ea} +
+
+
+ 1967/05/21 + To + 1967/05/21 + + Type: + Request +
+ + Indication: + No code problem + +
+ Comments: + POC Supply Comment +
+  • + + Plan of Care Supply Instruction +
+
+
+ Instruction Type: + Body alignment education (procedure) +
+
+ + CPAP +
+ Quantity: + 2 +
+
+
+ 6-Jun-2019 10:48 + To + 15-Jun-2019 10:48 + + Type: + Request +
+ Comments: + POC Supply 2 Comment +
+ + + + + + + + + + + + + + +
Planned Medications
+ + BOTULINUM TOXIN TYPE A PER UNIT + ; + Planned Medication - Free Text Sig +
+ Site: + Aberrant main renal artery +
+ Lay back and this won't hurt a bit +
+
+ Start: + 1967/05/21 +
+ End: + 5-Sep-2019 +
+ Intent +
+ + Reaction: + + POC Substance Reaction Text + + +
+ + Indication: + POC Medication Indication problem text + +
+ Comments: + POC Medications 1 comment +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Planned Procedures
+ INSERT TISSUE EXPANDERS + + End: + 1967/05/21 + + Request +
+ Comments: + POC Procedure 1 Comment +
+  • + + Proc Medication #1 + ; + Free Text SIG Procedure Med 1 + +
+ Removal of Kidney Stone + + Start: + 16-Jan-2013 + + Intent +
+ + Indication: + POC Procedure Indication + +
+ Comments: + POC Procedure Comment +
+ + + + + + + + + + + + + + + + + + + + + +
Planned Encounters
+ + Clinical Follow Up +
+ Discharge Disposition: + Discharged/transferred to home under care of Home IV provider +
+ Tomorrowland +
+ POC Encounter Activity MA 90120 +
+ tel:+230-192 123 1234 +
+
+ Start: + 1967/05/21 +
+ Bones, MD James Dem Sir +
+ Appointment Request +
+
+ + Clinical Follow Up +
+ Discharge Disposition: + Discharged/transferred to home under care of Home IV provider +
+ tel:+230-192 123 1234 +
+
+ End: + 18-Jul-2019 +
+
+ Appointment +
+
+ + + + + + + + + + + + + + + + + + + + + +
Planned Observations
+ ELECTROLYTE PANEL +
+
+ 1967/05/21 To 1967/05/21 +
+
+ Proposal +
+ Comments: + POC Observation comment, ordered but may be canceled +
+ GENERAL BLOOD DRAW +
+
+ 25-Jan-2014 10:00 To 25-Jan-2014 +
+
+ Request +
+ Comments: + POC Observation 2 comment, use of leeches is requested +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Planned Acts
+ + go to Connectathon + + + 1967/05/21 + To + 1967/05/21 + + Promise +
+ Comments: + POC Act Comment, Item Negation +
+ + Do not do that thing you do + + + 28-Jan-2013 11:21 + To + 2-Feb-2013 12:21 + + Request +
+ Comments: + item Negation, OIT +
+ + Bark in the Park + + + Promise +
+ Comments: + Find a Dog Comment +
+ + + + + + + + + + + + + + + + + + + + + +
Instructions
+ + POC Instruction 1, Internal ID(2), Imported ID(1), indication(1) +
+ + Indication: + POC Instruction Indication + +
+
+ Instruction Type: + Family medication education (procedure) +
+
+ + Ins 2 OIT +
+
+
+ Start: + 1967/05/21 +
+ End: + 25-Jun-2019 +
+ Instruction Type: + Lifestyle education (procedure) +
+ Comments: + Instruction 2 Comment +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Nutrition Recommendations
+ total parenteral nutrition (regime/therapy) + + 5-Jun-2019 + + Proposal +
+  • + + go to Connectathon + + + 1967/05/21 + To + 1967/05/21 + + Promise +
+ Comments: + POC Act Comment, Item Negation +
+  • + + Do not do that thing you do + + + 28-Jan-2013 11:21 + To + 2-Feb-2013 12:21 + + Request +
+ Comments: + item Negation, OIT +
+  • + + Bark in the Park + + + Promise +
+ Comments: + Find a Dog Comment +
+  • + Clinical Follow Up + + Start: + 1967/05/21 + + Appointment Request +
+ Discharge Disposition: + Discharged/transferred to home under care of Home IV provider +
+  • + Clinical Follow Up + + End: + 18-Jul-2019 + + Appointment +
+ Discharge Disposition: + Discharged/transferred to home under care of Home IV provider +
+  • + + BOTULINUM TOXIN TYPE A PER UNIT + ; + Planned Medication - Free Text Sig + + + Start: + 1967/05/21 +
+ End: + 5-Sep-2019 +
+ Intent +
+ + Reaction: + + POC Substance Reaction Text + + +
+  • + ELECTROLYTE PANEL + + 1967/05/21 + To + 1967/05/21 + + Proposal +
+  • + GENERAL BLOOD DRAW + + 25-Jan-2014 10:00 + To + 25-Jan-2014 + + Request +
+  • + INSERT TISSUE EXPANDERS + + End: + 1967/05/21 + + Request +
+   ◦ + + Proc Medication #1 + ; + Free Text SIG Procedure Med 1 + +
+  • + Removal of Kidney Stone + + Start: + 16-Jan-2013 + + Intent +
+  • + OIT POC Supply + + 1967/05/21 + To + 1967/05/21 +
+ Status: + Ordered +
+ Request +
+ Quantity: + 2 {ea} +
+   ◦ + + Plan of Care Supply Instruction + + + Instruction Type: + Body alignment education (procedure) +
+  • + CPAP + + 6-Jun-2019 10:48 + To + 15-Jun-2019 10:48 +
+ Status: + Ordered +
+ Request +
+ Quantity: + 2 +
+ total parenteral nutrition (regime/therapy) + + 5-Jun-2019 + + Proposal +
+ + Section Comments + POC Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 Médico Blvd + Paraiso + Tabasco + postalCode + MX + + + + + Bones + James + Dem + Sir + MD + + + + + + + + + + POC Encounter + Activity + MA + 90120 + + + + Tomorrowland + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Proc Brand #1 + + + + + + + + + + + + + + + + + + + + + + + Proc Brand #1 + + + + + + + + + + + + + + + + + + + + + + + + + Proc Brand #1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOTULINUM + + + Pills R Us + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOTULINUM + + + Pills R Us + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 Médico Blvd + Paraiso + Tabasco + postalCode + MX + + + + + Bones + James + Dem + Sir + MD + + + + + + + + + + POC Encounter + Activity + MA + 90120 + + + + Tomorrowland + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Aberrant main renal artery + + + + + + + + + + + + + BOTULINUM + + + Pills R Us + + + + + + + + + + + + + + + + + + + + + + + + + POC Medication Indication problem text + + + + + + + + + + Lay back and this won't hurt a bit + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOTULINUM + + + Pills R Us + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Proc Brand #1 + + + + + + + + + + + + + + + + + + + + + + + Proc Brand #1 + + + + + + + + + + + + + + + + + + + + + + + + + Proc Brand #1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + POC Procedure Indication + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + No code problem + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Planned Immunization/indication/Prognosis Free Text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + Hospital Discharge Studies Summary + + + FT HDSS Category 1 + + item 1 + + + item 2 + + + item 3 + + + + FT HDSS Category 2 + + item one + + + item two + + + item three + + + + Section Comments + Hospital Discharge Studies Summaries Section Comment + + + + + + + + + + + + + + + +
+
+ +
+ + + + + + + Results + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Organizer Order Name + + Ordered On: + 1967/05/21 + + Comments: + Result Organizer Comment +
+  • + + 10-Oct-2013 +
+ Large blob of text on a result organizer +
+
+ Result with Interpretation, Range and discrete UOM + 42 + mg/dL + (Weakly reactive) + + + Range: + 30 - 40 mg/dL +
+
+ Method: + A result method +
+ Site: + Periosteum +
+ Comments: + Result Comment +
+  • + + Medici, MD James Middle Dr + - + 10-Oct-2013 +
+ Large blob of text on a result observation. Now even more data to show span across the page and wrapping of the data. This sentence is worthless. This is a worthless followup to a worthless sentence. +
+ Comments: + Note Comment on a result observation +
+
+ 5-Jun-2019 10:46 + + Result with interpretation (no range) and no UOM + 7.2 + (Indeterminate) + + + Range: + 7 + - + 8 +
+
+
+ 5-Jun-2019 10:45 + + Result with interpretation (no range), string value (containing UOM) and no UOM discrete + 7.2 mb + (Positive) +
+ 5-Jun-2019 10:44 + + Result with range (no interpretation), string value (containing UOM) and no UOM discrete + 7.2 mb + + + Range: + 30 - 40 +
+
+
+ 1 Result, same name + + Ordered On: + 2-Nov-2018 + + Comments: + Result Organizer 2 Comment +
+ 1967/05/21 + + 1 Result, same name + 23 + [lb_av] + (Negative) + + Method: + Earwig extraction +
+ Site: + Pelvic arch +
+ Comments: + Result 2-1 Comment +
+ More Results + (Pending) +
+ 5-Jun-2019 10:41 + + Result with no UOM + 7.3 +
+ 1967/05/21 + + Result with no UOM + 7.4 +
+ 5-Jun-2019 10:39 + + Result with no UOM + 7.5 +
+ Lab Result + + Comments: + Lab Result Organizer Comment +
+ 24-May-2019 10:48 + + Lab Result + Lab Result: Lab One, Two, Three +Test: Fake Cardiomyopathy endurance +Course: Patient Arrived +Items included: Interpretation, Range, 1 result same name +ops +ipso +more Latin phrases +------------------ +Findings: Inconceivable + + ml/min + (High) + + + Range: + 5 - 21 ml/min +
+
+ Comments: + A lab result observation comment +
+ Trigger It + + Ordered On: + 5-Jun-2019 + + Comments: + Trigger Result Organizer +
+ 5-Jun-2019 10:41 + + Trigger Result Test + 7.3 +
+ Trigger Result Value + 7.3 +
+ + Section Comments + Results Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 30 - 40 mg/dL + + + + + + + + + + + + + + + + + + + + + 7.2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7.2 mb + + + + + + + + + + + + + + + + + + + + + + + + 7.2 mb + + + + + + 30 - 40 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7.3 + + + + + + + + + + + + + + + + + + + 7.4 + + + + + + + + + + + + + + + + + + + 7.5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Lab Result: Lab One, Two, Three +Test: Fake Cardiomyopathy endurance +Course: Patient Arrived +Items included: Interpretation, Range, 1 result same name +ops +ipso +more Latin phrases +------------------ +Findings: Inconceivable + + + + + + + + + + + + + + + + + + + + + 5 - 21 ml/min + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7.3 + + + + + + + + + + + + + + + + + + + 7.3 + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + Vital Sign Summary + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Vital\Date5-Jun-20195-Jun-2018
BSA Abbr10 m2
Head Circum10 cm
+
+ + + +
+
+ +
+ + + + + + + Vital Signs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Last Charted
BPFiO2BSA AbbrHead Circum
123/98 mm[Hg]10 L/min10 m210 cm
5-Jun-20195-Jun-20195-Jun-20195-Jun-2018
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
As Charted
+ 1967/05/21 + + + Comments: + Vital Organizer Comment + +
+ + BP Diastolic + 98 + mm[Hg] + ( + Abnormal + ) + + + Range: + VS reference Range +
+ Comments: + Body Site (no display Name), Method (no display Name) and interpretation (no range) +
+ + BP Systolic + 123 + mm[Hg] + ( + Significant change down + ) + + + Range: + Kiss - Tell +
+ Method: + Blush Test +
+ Site: + Heart tissue +
+ Comments: + Interpretation, Range, body site and method +
+ + OIT BSA + 10 + m2 + + + Range: + Low - High +
+ Comments: + Range (no interpretation) +
+ 5-Jun-2019 10:48 + + + Comments: + Vital Organizer Comment + +
+ + OIT Fios + 10 + L/min + +
+ 5-Jun-2019 10:48 +
+ + Head Circumference + 10 + cm + +
+ + LMP + 20150521 + +
+ + Troponin I.cardiac [Mass/​volume] in Serum or Plasma + 90 + ng/mL + +
+ + Section Comments + Vitals Section Comment + +
+ + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + + + Advance Directives + + + + + + + + + + + + + + + + + + + + + + + + +
+ DNR + + Effective: + 1967/05/21 +
+ End: + 1967/05/21 +
+
+ Comments: + AD Comment about AD things AD related +
+ No intubation - OIT +
+ No intubation + + Effective: + 5-Jun-2019 +
+ End: + 5-Jun-2020 +
+
+ + Section Comments + Advance Directives Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 42 Document Holder Lane + Heaven + MI + 48703 + + + + + + Holder + Document + The + DH + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Patient + Sally + The + Really + Great + Ms + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Patient + Sally + The + Really + Great + Ms + MD + + + + + + + + + + + + + + + +
+
+ +
+ + + + Encounters + + + + + + + + + + + + + + + + + + + + + + + + +
+ Encounter 1 +
+ + Encounter Reason: + angina complaint + +
+
+ 1967/05/21 + To + 1967/05/21 +
+ Medici, MD James Middle Dr (Primary Care Provider) +
+ Office +
+ 1 Médico Blvd MX12 23V Paraiso Tabasco MX +
+ tel:+1-(222)555-0121 +
+ Discharge Disposition: + Admitted as an inpatient to this hospital +
+
+  • + + 1-Jan-2011 +
+ Encounter Note Text +
+
+ E&M Coded Encounter +
+ + Encounter Diagnosis: + Growth under arm + +
+ 10-Nov-2009 +
+ Bones, MD James Dem Sir (Referring Provider) +
+ Golf Course +
+ 1 Insurance Provider St Claims Department Boston KS 60654 +
+ tel:+36-12345.1232.11;ext=789 +
+ Discharge Disposition: + Expired (i.e., dead) +
+ + Comments: + Encounter Diagnosis Comment + +
+ + Section Comments + Encounter Section Comment + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18 HCP St + Sheboygan + IL + 23458 + US + + + + + Medici + James + Middle + Dr + MD + + + + + + + + + + 1 Médico Blvd + Paraiso + Tabasco + MX12 23V + MX + + + + Office + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 Médico Blvd + Paraiso + Tabasco + postalCode + MX + + + + + Bones + James + Dem + Sir + MD + + + + + + + + + + 1 Insurance Provider St + Claims Department + Boston + KS + 60654 + + + + Golf Course + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 Médico Blvd + Paraiso + Tabasco + postalCode + MX + + + + + Bones + James + Dem + Sir + MD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Acute + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + Hospital Course + + + Admission + + Arrived via ED + + + Told to go home and stop wasting our time. + + + Departed via loading dock. + + + + Section Comments + HC Section Comment + + + + + + + + + + + + + + + +
+
+ +
+ + + + Payers + + + + + + + + + + + + + + + + + + + + +
Insurance Providers
+ Blue Insurance Provider +
+ 1 Insurance Provider St Claims Department Boston KS 60654 +
+ tel:+1-(222)555-0121 +
+ 1967/05/21 + To + 1967/05/21 + + Member ID: + 123456789 +
+ Group Number: + GP878787 +
+ Green Insurance Group +
+ 1 Insurance Provider St Claims Department Boston KS 60654 +
+ tel:+1-(222)555-0121 +
+ 5-Jun-2018 10:48 + To + 5-Jun-2020 10:48 + +
+ Group Number: + G1212121 +
+ + + + + + + + + + + + +
Guarantors
+ Guarantor Contact +
+ 1 Guarantor Way Anywhere NC 27816 +
+ tel:+1-(123)456-0789;ext=1212 +
+
+ + + + + + + + + + + + + + + + + + + + + + 1 Insurance Provider St + Claims Department + Boston + KS + 60654 + + + + Blue Coverage Central + + + 1 Insurance Provider St + Claims Department + Boston + KS + 60654 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 Insurance Provider St + Claims Department + Boston + KS + 60654 + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
\ No newline at end of file diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/vocabAndMdhtSeverityLevelErrorFileBasedConfig.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/vocabAndMdhtSeverityLevelErrorFileBasedConfig.xml new file mode 100644 index 0000000000..bd99a98da9 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/reference/vocabAndMdhtSeverityLevelErrorFileBasedConfig.xml @@ -0,0 +1,102 @@ + + + + + RequiredNodeValidator + + MAY + + v3:prefix + informant/relatedEntity/relatedPerson/name MAY contain a prefix element (not a real rule - just a test) + + + + + + RequiredNodeValidator + + SHOULD + + v3:prefix + informant/relatedEntity/relatedPerson/name SHOULD contain a prefix element (not a real rule - just a test) + + + + + + RequiredNodeValidator + + SHALL + + v3:prefix + informant/relatedEntity/relatedPerson/name SHALL contain a prefix element (not a real rule - just a test) + + + + + + RequiredNodeValidator + + MAY + + v3:prefix + informant/relatedEntity/relatedPerson/name MAY contain a prefix element (not a real rule - just a test) + + + + + + RequiredNodeValidator + + SHOULD + + v3:prefix + informant/relatedEntity/relatedPerson/name SHOULD contain a prefix element (not a real rule - just a test) + + + + + + RequiredNodeValidator + + SHALL + + v3:prefix + informant/relatedEntity/relatedPerson/name SHALL contain a prefix element (not a real rule - just a test) + + + + + + RequiredNodeValidator + + MAY + + v3:prefix + informant/relatedEntity/relatedPerson/name MAY contain a prefix element (not a real rule - just a test) + + + + + + RequiredNodeValidator + + SHOULD + + v3:prefix + informant/relatedEntity/relatedPerson/name SHOULD contain a prefix element (not a real rule - just a test) + + + + + + RequiredNodeValidator + + SHALL + + v3:prefix + informant/relatedEntity/relatedPerson/name SHALL contain a prefix element (not a real rule - just a test) + + + + diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/samples/sampleXDMetadata.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/sampleXDMetadata.xml new file mode 100644 index 0000000000..1267c177f9 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/samples/sampleXDMetadata.xml @@ -0,0 +1,206 @@ + + + + + urn:ihe:iti:2007:ProvideAndRegisterDocumentSet + + mid:AANLkTikLULq=xbbxBFPEnbMwQFZmN6CrtT7pz2EmXPVK@mail.gmail.com + + http://www.w3.org/2005/08/addressing/anonymous + + + http://localhost:2647/DirectXdrService/DirectXDRRecipient.svc + + + + + + + + + + + + + 2.16.840.1.113883.1.11.16926 + + + + + + + + + + + 2.16.840.1.113883.1.11.20448 + + + + + + + + + + + 2.16.840.1.113883.1.11.20448 + + + + + The reason for emergency is.... + + + + + + + + + + + 2.16.840.1.113883.1.11.20445 + + + + + + + + + + + 2.16.840.1.113883.1.11.20446 + + + + + + + + + + 20060105 + + + + + en-us + + + + + + + + + + + + + + + + + 20101111115540 + + + + + + + + >^^Internet^drjones@direct.sunnyfamily.example.org + + + + + + + + + + + + + + + + + + + + + + ||^^ Internet^drsmith@direct.happyvalley.example.com + + + + + + + + + + + + + Original + + + + + + + + + +... + + + + + diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/.DS_Store b/tests/org.hl7.security.ds4p.contentprofile.tests/src/.DS_Store new file mode 100644 index 0000000000..ca5d0e6e71 Binary files /dev/null and b/tests/org.hl7.security.ds4p.contentprofile.tests/src/.DS_Store differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/contentprofile_EcoreAllTests.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/contentprofile_EcoreAllTests.java deleted file mode 100644 index 24f58e0128..0000000000 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/contentprofile_EcoreAllTests.java +++ /dev/null @@ -1,46 +0,0 @@ -/** - */ -package org.hl7.security.ds4p.contentprofile.tests; - -import junit.framework.Test; -import junit.framework.TestSuite; -import junit.textui.TestRunner; - -/** - * - * A test suite for the 'contentprofile_Ecore' model. - * - * @generated - */ -public class contentprofile_EcoreAllTests extends TestSuite { - - /** - * - * - * @generated - */ - public static void main(String[] args) { - TestRunner.run(suite()); - } - - /** - * - * - * @generated - */ - public static Test suite() { - TestSuite suite = new contentprofile_EcoreAllTests("contentprofile_Ecore Tests"); - suite.addTest(CONTENTPROFILETests.suite()); - return suite; - } - - /** - * - * - * @generated - */ - public contentprofile_EcoreAllTests(String name) { - super(name); - } - -} // contentprofile_EcoreAllTests diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/.DS_Store b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/.DS_Store new file mode 100644 index 0000000000..e6dc460bb1 Binary files /dev/null and b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/.DS_Store differ diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/AllTests.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/AllTests.java new file mode 100644 index 0000000000..caae462704 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/AllTests.java @@ -0,0 +1,33 @@ +/******************************************************************************* + * Copyright (c) 2020 seanmuir. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * seanmuir - initial API and implementation + * + *******************************************************************************/ +package org.hl7.security.ds4p.contentprofile.tests; + +import org.junit.runner.RunWith; +import org.junit.runners.Suite; +import org.junit.runners.Suite.SuiteClasses; + +/** + * @author seanmuir + * + */ +@RunWith(Suite.class) +@SuiteClasses({ + ConfidentialitySecurityObservationTest.class, MandatoryDocumentAssignedAuthorTest.class, + MandatoryDocumentProvenanceTest.class, MandatoryEntryAssignedAuthorTest.class, + MandatoryEntryProvenanceTest.class, ObligationPolicySecurityObservationTest.class, + PrivacyAnnotationEntryRelationshipTest.class, PrivacyAnnotationTest.class, PrivacyMarkingsEntryTest.class, + PrivacyMarkingsSectionTest.class, PrivacySegmentedDocumentTest.class, PrivacySegmentedSectionTest.class, + ProtectedProblemTest.class, PurposeOfUseSecurityObservationTest.class, + RefrainPolicySecurityObservationTest.class, SecurityObservationTest.class }) +public class AllTests { + +} diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/CONTENTPROFILEExample.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/CONTENTPROFILEExample.java similarity index 100% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/CONTENTPROFILEExample.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/CONTENTPROFILEExample.java diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/CONTENTPROFILETests.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/CONTENTPROFILETests.java similarity index 100% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/CONTENTPROFILETests.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/CONTENTPROFILETests.java diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest.java similarity index 73% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest.java index ab53178168..9f210f7c5a 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest.java +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/ConfidentialitySecurityObservationTest.java @@ -10,7 +10,6 @@ import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.CDAValidationTest; import org.eclipse.mdht.uml.hl7.datatypes.CD; -import org.eclipse.mdht.uml.hl7.datatypes.CE; import org.eclipse.mdht.uml.hl7.datatypes.DatatypesFactory; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEFactory; import org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation; @@ -25,11 +24,10 @@ *

* The following operations are supported: *

    - *
  • {@link org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation#validateConfidentialitySecurityObservationValueP(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Confidentiality Security Observation Value P}
  • - *
  • {@link org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation#validateConfidentialitySecurityObservationValue(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Confidentiality Security Observation Value}
  • *
  • {@link org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation#validateSecurityObservationTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Template Id}
  • *
  • {@link org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation#validateSecurityObservationCodeP(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code P}
  • *
  • {@link org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation#validateSecurityObservationCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code}
  • + *
  • {@link org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservation#validateSecurityObservationValue(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Value}
  • *
*

* @@ -42,13 +40,11 @@ public class ConfidentialitySecurityObservationTest extends CDAValidationTest { * * @generated */ - @Test - - public void testValidateConfidentialitySecurityObservationValueP() { - OperationsTestCase validateConfidentialitySecurityObservationValuePTestCase = new OperationsTestCase( - "validateConfidentialitySecurityObservationValueP", - operationsForOCL.getOCLValue( - "VALIDATE_CONFIDENTIALITY_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + @org.junit.Test + public void testValidateSecurityObservationTemplateId() { + OperationsTestCase validateSecurityObservationTemplateIdTestCase = new OperationsTestCase( + "validateSecurityObservationTemplateId", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -65,25 +61,24 @@ protected void updateToPass(ConfidentialitySecurityObservation target) { @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return ConfidentialitySecurityObservationOperations.validateConfidentialitySecurityObservationValueP( + return ConfidentialitySecurityObservationOperations.validateSecurityObservationTemplateId( (ConfidentialitySecurityObservation) objectToTest, diagnostician, map); } }; - validateConfidentialitySecurityObservationValuePTestCase.doValidationTest(); + validateSecurityObservationTemplateIdTestCase.doValidationTest(); } /** * - * @generated NOT + * @generated */ @Test - - public void testValidateConfidentialitySecurityObservationValue() { - OperationsTestCase validateConfidentialitySecurityObservationValueTestCase = new OperationsTestCase( - "validateConfidentialitySecurityObservationValue", operationsForOCL.getOCLValue( - "VALIDATE_CONFIDENTIALITY_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationCodeP() { + OperationsTestCase validateSecurityObservationCodePTestCase = new OperationsTestCase( + "validateSecurityObservationCodeP", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -95,40 +90,30 @@ protected void updateToFail(ConfidentialitySecurityObservation target) { protected void updateToPass(ConfidentialitySecurityObservation target) { target.init(); - CE value = DatatypesFactory.eINSTANCE.createCE("NORDSCLCD", "2.16.840.1.113883.5.25"); - target.getValues().add(value); - - } - - @Override - protected void setDependency(ConfidentialitySecurityObservation target) { - Collection passToken = new java.util.ArrayList(3); - passToken.add(target); - map.put("org.hl7.security.ds4p.contentprofile.ConfidentialitySecurityObservationValueP", passToken); } @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return ConfidentialitySecurityObservationOperations.validateConfidentialitySecurityObservationValue( + return ConfidentialitySecurityObservationOperations.validateSecurityObservationCodeP( (ConfidentialitySecurityObservation) objectToTest, diagnostician, map); } }; - validateConfidentialitySecurityObservationValueTestCase.doValidationTest(); + validateSecurityObservationCodePTestCase.doValidationTest(); } /** * - * @generated + * @generated NOT */ @Test - public void testValidateSecurityObservationTemplateId() { - OperationsTestCase validateSecurityObservationTemplateIdTestCase = new OperationsTestCase( - "validateSecurityObservationTemplateId", - operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationCode() { + OperationsTestCase validateSecurityObservationCodeTestCase = new OperationsTestCase( + "validateSecurityObservationCode", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -140,53 +125,30 @@ protected void updateToFail(ConfidentialitySecurityObservation target) { protected void updateToPass(ConfidentialitySecurityObservation target) { target.init(); - } - - @Override - protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - - return ConfidentialitySecurityObservationOperations.validateSecurityObservationTemplateId( - (ConfidentialitySecurityObservation) objectToTest, diagnostician, map); - } - - }; - - validateSecurityObservationTemplateIdTestCase.doValidationTest(); - } - - /** - * - * @generated - */ - @Test - - public void testValidateSecurityObservationCodeP() { - OperationsTestCase validateSecurityObservationCodePTestCase = new OperationsTestCase( - "validateSecurityObservationCodeP", - operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), - objectFactory) { - - @Override - protected void updateToFail(ConfidentialitySecurityObservation target) { + CD cd = DatatypesFactory.eINSTANCE.createCD(); + cd.setCode("SECCLASSOBS"); + cd.setCodeSystem("2.16.840.1.113883.1.11.20471"); + target.setCode(cd); } @Override - protected void updateToPass(ConfidentialitySecurityObservation target) { - target.init(); - + protected void setDependency(ConfidentialitySecurityObservation target) { + Collection passToken = new java.util.ArrayList(3); + passToken.add(target); + map.put("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP", passToken); } @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return ConfidentialitySecurityObservationOperations.validateSecurityObservationCodeP( + return ConfidentialitySecurityObservationOperations.validateSecurityObservationCode( (ConfidentialitySecurityObservation) objectToTest, diagnostician, map); } }; - validateSecurityObservationCodePTestCase.doValidationTest(); + validateSecurityObservationCodeTestCase.doValidationTest(); } /** @@ -195,10 +157,10 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, */ @Test - public void testValidateSecurityObservationCode() { - OperationsTestCase validateSecurityObservationCodeTestCase = new OperationsTestCase( - "validateSecurityObservationCode", - operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationValue() { + OperationsTestCase validateSecurityObservationValueTestCase = new OperationsTestCase( + "validateSecurityObservationValue", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -210,28 +172,21 @@ protected void updateToFail(ConfidentialitySecurityObservation target) { protected void updateToPass(ConfidentialitySecurityObservation target) { target.init(); - CD cd = DatatypesFactory.eINSTANCE.createCD(); - target.setCode(cd); + CD value = DatatypesFactory.eINSTANCE.createCD(); + target.getValues().add(value); } - @Override - protected void setDependency(ConfidentialitySecurityObservation target) { - Collection passToken = new java.util.ArrayList(3); - passToken.add(target); - map.put("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP", passToken); - } - @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return ConfidentialitySecurityObservationOperations.validateSecurityObservationCode( + return ConfidentialitySecurityObservationOperations.validateSecurityObservationValue( (ConfidentialitySecurityObservation) objectToTest, diagnostician, map); } }; - validateSecurityObservationCodeTestCase.doValidationTest(); + validateSecurityObservationValueTestCase.doValidationTest(); } /** @@ -287,7 +242,8 @@ private static class ConstructorTestClass extends ConfidentialitySecurityObserva */ @Test public void testConstructor() { - new ConstructorTestClass(); + @SuppressWarnings("unused") + ConstructorTestClass constructorTestClass = new ConstructorTestClass(); } // testConstructor /** diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/DS4PTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/DS4PTest.java new file mode 100644 index 0000000000..a57c9bb613 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/DS4PTest.java @@ -0,0 +1,74 @@ +/******************************************************************************* + * 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.hl7.security.ds4p.contentprofile.tests; + +import java.io.FileInputStream; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.mdht.uml.cda.ClinicalDocument; +import org.eclipse.mdht.uml.cda.util.CDAUtil; +import org.eclipse.mdht.uml.cda.util.ValidationResult; +import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEFactory; +import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEPackage; +import org.junit.Test; +import org.openhealthtools.mdht.uml.cda.consol.ConsolFactory; + +public class DS4PTest { + + @Test + public void TestTheBuild() throws Exception { + // must load Consol package to validate those templates + CONTENTPROFILEFactory.eINSTANCE.eClass(); + + ConsolFactory.eINSTANCE.eClass(); + + CONTENTPROFILEFactory.eINSTANCE.createPrivacySegmentedDocument().init(); + + // create a validation result object to collect diagnostics produced during validation + ValidationResult result = new ValidationResult(); + + // ClinicalDocument clinicalDocument2 = CDAUtil.loadAs( + // new FileInputStream("samples/NEWcdaPrivacySegmentedDocument.xml"), + // CONTENTPROFILEPackage.eINSTANCE.getPrivacySegmentedDocument()); + + // CDAUtil.loadAs(in, docTypeEClass); + ClinicalDocument clinicalDocument = CDAUtil.loadAs( + new FileInputStream("samples/reference/170.315_b8_ds4p_amb_sample2_v2.xml"), + CONTENTPROFILEPackage.eINSTANCE.getPrivacySegmentedDocument()); + + ; + CDAUtil.validate(clinicalDocument, result); + + System.out.println("\n***** Sample validation results *****"); + for (Diagnostic diagnostic : result.getErrorDiagnostics()) { + System.out.println("ERROR: " + diagnostic.getMessage()); + } + for (Diagnostic diagnostic : result.getWarningDiagnostics()) { + System.out.println("WARNING: " + diagnostic.getMessage()); + } + for (Diagnostic diagnostic : result.getInfoDiagnostics()) { + System.out.println("INFO: " + diagnostic.getMessage()); + } + + System.out.println(); + System.out.println( + "Number of Schema Validation Diagnostics: " + result.getSchemaValidationDiagnostics().size()); + System.out.println("Number of EMF Resource Diagnostics: " + result.getEMFResourceDiagnostics().size()); + System.out.println("Number of EMF Validation Diagnostics: " + result.getEMFValidationDiagnostics().size()); + System.out.println("Number of Total Diagnostics: " + result.getAllDiagnostics().size()); + + if (!result.hasErrors()) { + System.out.println("Document is valid"); + } else { + System.out.println("Document is invalid"); + } + } +} diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest.java similarity index 97% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest.java index b464f11afb..b90f472c45 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest.java +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentAssignedAuthorTest.java @@ -9,6 +9,7 @@ import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.CDAFactory; import org.eclipse.mdht.uml.cda.operations.CDAValidationTest; +import org.eclipse.mdht.uml.hl7.datatypes.DatatypesFactory; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEFactory; import org.hl7.security.ds4p.contentprofile.MandatoryDocumentAssignedAuthor; import org.hl7.security.ds4p.contentprofile.operations.MandatoryDocumentAssignedAuthorOperations; @@ -73,7 +74,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated + * @generated not */ @Test @@ -92,6 +93,7 @@ protected void updateToFail(MandatoryDocumentAssignedAuthor target) { @Override protected void updateToPass(MandatoryDocumentAssignedAuthor target) { target.init(); + target.getTelecoms().add(DatatypesFactory.eINSTANCE.createTEL()); } @@ -128,7 +130,6 @@ protected void updateToFail(MandatoryDocumentAssignedAuthor target) { @Override protected void updateToPass(MandatoryDocumentAssignedAuthor target) { target.init(); - target.setAssignedAuthoringDevice(CDAFactory.eINSTANCE.createAuthoringDevice()); } @@ -147,7 +148,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated NOT + * @generated not */ @Test @@ -184,7 +185,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated NOT + * @generated not */ @Test @@ -202,9 +203,7 @@ protected void updateToFail(MandatoryDocumentAssignedAuthor target) { @Override protected void updateToPass(MandatoryDocumentAssignedAuthor target) { - target.init(); - target.setRepresentedOrganization(CDAFactory.eINSTANCE.createOrganization()); } @@ -274,7 +273,8 @@ private static class ConstructorTestClass extends MandatoryDocumentAssignedAutho */ @Test public void testConstructor() { - new ConstructorTestClass(); + @SuppressWarnings("unused") + ConstructorTestClass constructorTestClass = new ConstructorTestClass(); } // testConstructor /** diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest.java similarity index 95% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest.java index 27ea5d91f5..b5418b0db7 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest.java +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/MandatoryDocumentProvenanceTest.java @@ -8,6 +8,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.CDAValidationTest; +import org.eclipse.mdht.uml.hl7.datatypes.DatatypesFactory; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEFactory; import org.hl7.security.ds4p.contentprofile.MandatoryDocumentProvenance; import org.hl7.security.ds4p.contentprofile.operations.MandatoryDocumentProvenanceOperations; @@ -69,7 +70,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated + * @generated not */ @Test @@ -87,6 +88,7 @@ protected void updateToFail(MandatoryDocumentProvenance target) { @Override protected void updateToPass(MandatoryDocumentProvenance target) { target.init(); + target.setTime(DatatypesFactory.eINSTANCE.createTS()); } @@ -104,7 +106,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated NOT + * @generated not */ @Test @@ -123,9 +125,6 @@ protected void updateToFail(MandatoryDocumentProvenance target) { @Override protected void updateToPass(MandatoryDocumentProvenance target) { target.init(); - - // MandatoryDocumentAssignedAuthor - target.setAssignedAuthor( CONTENTPROFILEFactory.eINSTANCE.createMandatoryDocumentAssignedAuthor().init()); @@ -196,7 +195,8 @@ private static class ConstructorTestClass extends MandatoryDocumentProvenanceOpe */ @Test public void testConstructor() { - new ConstructorTestClass(); + @SuppressWarnings("unused") + ConstructorTestClass constructorTestClass = new ConstructorTestClass(); } // testConstructor /** diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest.java similarity index 92% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest.java index 4458600e0c..f2e2755ee0 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest.java +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryAssignedAuthorTest.java @@ -7,6 +7,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.ecore.EObject; +import org.eclipse.mdht.uml.cda.CDAFactory; import org.eclipse.mdht.uml.cda.operations.CDAValidationTest; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEFactory; import org.hl7.security.ds4p.contentprofile.MandatoryEntryAssignedAuthor; @@ -71,7 +72,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated + * @generated not */ @Test @@ -82,6 +83,11 @@ public void testValidateMandatoryEntryAssignedAuthorAssignedAuthoringDevice() { "VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_AUTHORING_DEVICE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { + { + this.skipFailsTest(); + this.skipPassTest(); + } + @Override protected void updateToFail(MandatoryEntryAssignedAuthor target) { @@ -90,6 +96,7 @@ protected void updateToFail(MandatoryEntryAssignedAuthor target) { @Override protected void updateToPass(MandatoryEntryAssignedAuthor target) { target.init(); + target.setAssignedAuthoringDevice(CDAFactory.eINSTANCE.createAuthoringDevice()); } @@ -107,7 +114,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated + * @generated not */ @Test @@ -118,6 +125,11 @@ public void testValidateMandatoryEntryAssignedAuthorAssignedPerson() { "VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_ASSIGNED_PERSON__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { + { + this.skipFailsTest(); + this.skipPassTest(); + } + @Override protected void updateToFail(MandatoryEntryAssignedAuthor target) { @@ -126,6 +138,7 @@ protected void updateToFail(MandatoryEntryAssignedAuthor target) { @Override protected void updateToPass(MandatoryEntryAssignedAuthor target) { target.init(); + target.setAssignedPerson(CDAFactory.eINSTANCE.createPerson()); } @@ -143,7 +156,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated + * @generated not */ @Test @@ -154,6 +167,11 @@ public void testValidateMandatoryEntryAssignedAuthorRepresentedOrganization() { "VALIDATE_MANDATORY_ENTRY_ASSIGNED_AUTHOR_REPRESENTED_ORGANIZATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { + { + this.skipFailsTest(); + this.skipPassTest(); + } + @Override protected void updateToFail(MandatoryEntryAssignedAuthor target) { @@ -162,6 +180,7 @@ protected void updateToFail(MandatoryEntryAssignedAuthor target) { @Override protected void updateToPass(MandatoryEntryAssignedAuthor target) { target.init(); + target.setRepresentedOrganization(CDAFactory.eINSTANCE.createOrganization()); } @@ -230,7 +249,8 @@ private static class ConstructorTestClass extends MandatoryEntryAssignedAuthorOp */ @Test public void testConstructor() { - new ConstructorTestClass(); + @SuppressWarnings("unused") + ConstructorTestClass constructorTestClass = new ConstructorTestClass(); } // testConstructor /** diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest.java similarity index 95% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest.java index aef484d13d..417c26f4a3 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest.java +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/MandatoryEntryProvenanceTest.java @@ -8,6 +8,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.CDAValidationTest; +import org.eclipse.mdht.uml.hl7.datatypes.DatatypesFactory; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEFactory; import org.hl7.security.ds4p.contentprofile.MandatoryEntryProvenance; import org.hl7.security.ds4p.contentprofile.operations.MandatoryEntryProvenanceOperations; @@ -69,7 +70,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated + * @generated not */ @Test @@ -87,6 +88,7 @@ protected void updateToFail(MandatoryEntryProvenance target) { @Override protected void updateToPass(MandatoryEntryProvenance target) { target.init(); + target.setTime(DatatypesFactory.eINSTANCE.createTS()); } @@ -104,7 +106,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated NOT + * @generated not */ @Test @@ -122,7 +124,6 @@ protected void updateToFail(MandatoryEntryProvenance target) { @Override protected void updateToPass(MandatoryEntryProvenance target) { target.init(); - target.setAssignedAuthor(CONTENTPROFILEFactory.eINSTANCE.createMandatoryEntryAssignedAuthor().init()); } @@ -192,7 +193,8 @@ private static class ConstructorTestClass extends MandatoryEntryProvenanceOperat */ @Test public void testConstructor() { - new ConstructorTestClass(); + @SuppressWarnings("unused") + ConstructorTestClass constructorTestClass = new ConstructorTestClass(); } // testConstructor /** diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest.java similarity index 81% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest.java index 7660f47a78..d47d817f51 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest.java +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/ObligationPolicySecurityObservationTest.java @@ -25,11 +25,11 @@ *

* The following operations are supported: *

    - *
  • {@link org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation#validateObligationPolicySecurityObservationValueP(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Obligation Policy Security Observation Value P}
  • - *
  • {@link org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation#validateObligationPolicySecurityObservationValue(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Obligation Policy Security Observation Value}
  • *
  • {@link org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation#validateSecurityObservationTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Template Id}
  • *
  • {@link org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation#validateSecurityObservationCodeP(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code P}
  • *
  • {@link org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation#validateSecurityObservationCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code}
  • + *
  • {@link org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation#validateSecurityObservationValueP(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Value P}
  • + *
  • {@link org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservation#validateSecurityObservationValue(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Value}
  • *
*

* @@ -40,15 +40,14 @@ public class ObligationPolicySecurityObservationTest extends CDAValidationTest { /** * - * @generated NOT + * @generated */ @Test - public void testValidateObligationPolicySecurityObservationValueP() { - OperationsTestCase validateObligationPolicySecurityObservationValuePTestCase = new OperationsTestCase( - "validateObligationPolicySecurityObservationValueP", - operationsForOCL.getOCLValue( - "VALIDATE_OBLIGATION_POLICY_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationTemplateId() { + OperationsTestCase validateSecurityObservationTemplateIdTestCase = new OperationsTestCase( + "validateSecurityObservationTemplateId", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -60,33 +59,30 @@ protected void updateToFail(ObligationPolicySecurityObservation target) { protected void updateToPass(ObligationPolicySecurityObservation target) { target.init(); - target.getValues().add(DatatypesFactory.eINSTANCE.createCD()); - } @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return ObligationPolicySecurityObservationOperations.validateObligationPolicySecurityObservationValueP( + return ObligationPolicySecurityObservationOperations.validateSecurityObservationTemplateId( (ObligationPolicySecurityObservation) objectToTest, diagnostician, map); } }; - validateObligationPolicySecurityObservationValuePTestCase.doValidationTest(); + validateSecurityObservationTemplateIdTestCase.doValidationTest(); } /** * - * @generated NOT + * @generated */ @Test - public void testValidateObligationPolicySecurityObservationValue() { - OperationsTestCase validateObligationPolicySecurityObservationValueTestCase = new OperationsTestCase( - "validateObligationPolicySecurityObservationValue", - operationsForOCL.getOCLValue( - "VALIDATE_OBLIGATION_POLICY_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationCodeP() { + OperationsTestCase validateSecurityObservationCodePTestCase = new OperationsTestCase( + "validateSecurityObservationCodeP", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -98,41 +94,30 @@ protected void updateToFail(ObligationPolicySecurityObservation target) { protected void updateToPass(ObligationPolicySecurityObservation target) { target.init(); - // ' and (value.code = 'CPLYCD' - CE value = DatatypesFactory.eINSTANCE.createCE("CPLYCD", "2.16.840.1.113883.1.11.20471"); - target.getValues().add(value); - - } - - @Override - protected void setDependency(ObligationPolicySecurityObservation target) { - Collection passToken = new java.util.ArrayList(3); - passToken.add(target); - map.put("org.hl7.security.ds4p.contentprofile.ObligationPolicySecurityObservationValueP", passToken); } @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return ObligationPolicySecurityObservationOperations.validateObligationPolicySecurityObservationValue( + return ObligationPolicySecurityObservationOperations.validateSecurityObservationCodeP( (ObligationPolicySecurityObservation) objectToTest, diagnostician, map); } }; - validateObligationPolicySecurityObservationValueTestCase.doValidationTest(); + validateSecurityObservationCodePTestCase.doValidationTest(); } /** * - * @generated + * @generated not */ @Test - public void testValidateSecurityObservationTemplateId() { - OperationsTestCase validateSecurityObservationTemplateIdTestCase = new OperationsTestCase( - "validateSecurityObservationTemplateId", - operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationCode() { + OperationsTestCase validateSecurityObservationCodeTestCase = new OperationsTestCase( + "validateSecurityObservationCode", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -144,30 +129,41 @@ protected void updateToFail(ObligationPolicySecurityObservation target) { protected void updateToPass(ObligationPolicySecurityObservation target) { target.init(); + CD cd = DatatypesFactory.eINSTANCE.createCD("SECCONOBS", "2.16.840.1.113883.1.11.20457"); + // target.getValues().add(DatatypesFactory.eINSTANCE.createCE("CPLYCD", "2.16.840.1.113883.5.1063")); + target.setCode(cd); + + } + + @Override + protected void setDependency(ObligationPolicySecurityObservation target) { + Collection passToken = new java.util.ArrayList(3); + passToken.add(target); + map.put("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP", passToken); } @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return ObligationPolicySecurityObservationOperations.validateSecurityObservationTemplateId( + return ObligationPolicySecurityObservationOperations.validateSecurityObservationCode( (ObligationPolicySecurityObservation) objectToTest, diagnostician, map); } }; - validateSecurityObservationTemplateIdTestCase.doValidationTest(); + validateSecurityObservationCodeTestCase.doValidationTest(); } /** * - * @generated + * @generated not */ @Test - public void testValidateSecurityObservationCodeP() { - OperationsTestCase validateSecurityObservationCodePTestCase = new OperationsTestCase( - "validateSecurityObservationCodeP", - operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationValueP() { + OperationsTestCase validateSecurityObservationValuePTestCase = new OperationsTestCase( + "validateSecurityObservationValueP", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -178,31 +174,32 @@ protected void updateToFail(ObligationPolicySecurityObservation target) { @Override protected void updateToPass(ObligationPolicySecurityObservation target) { target.init(); + target.getValues().add(DatatypesFactory.eINSTANCE.createCE("CPLYCD", "2.16.840.1.113883.5.1063")); } @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return ObligationPolicySecurityObservationOperations.validateSecurityObservationCodeP( + return ObligationPolicySecurityObservationOperations.validateSecurityObservationValueP( (ObligationPolicySecurityObservation) objectToTest, diagnostician, map); } }; - validateSecurityObservationCodePTestCase.doValidationTest(); + validateSecurityObservationValuePTestCase.doValidationTest(); } /** * - * @generated NOT + * @generated not */ @Test - public void testValidateSecurityObservationCode() { - OperationsTestCase validateSecurityObservationCodeTestCase = new OperationsTestCase( - "validateSecurityObservationCode", - operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationValue() { + OperationsTestCase validateSecurityObservationValueTestCase = new OperationsTestCase( + "validateSecurityObservationValue", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -213,9 +210,11 @@ protected void updateToFail(ObligationPolicySecurityObservation target) { @Override protected void updateToPass(ObligationPolicySecurityObservation target) { target.init(); - // SECCONOBS' and value.codeSystem = '2.16.840.1.113883.1.11.20471' - CD cd = DatatypesFactory.eINSTANCE.createCD("SECCONOBS", "2.16.840.1.113883.1.11.20471"); - target.setCode(cd); + + CE value = DatatypesFactory.eINSTANCE.createCE(); + value.setCode("ENCRYPT"); + value.setCodeSystem("2.16.840.1.113883.5.1063"); + target.getValues().add(value); } @@ -223,19 +222,19 @@ protected void updateToPass(ObligationPolicySecurityObservation target) { protected void setDependency(ObligationPolicySecurityObservation target) { Collection passToken = new java.util.ArrayList(3); passToken.add(target); - map.put("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP", passToken); + map.put("org.hl7.security.ds4p.contentprofile.SecurityObservationValueP", passToken); } @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return ObligationPolicySecurityObservationOperations.validateSecurityObservationCode( + return ObligationPolicySecurityObservationOperations.validateSecurityObservationValue( (ObligationPolicySecurityObservation) objectToTest, diagnostician, map); } }; - validateSecurityObservationCodeTestCase.doValidationTest(); + validateSecurityObservationValueTestCase.doValidationTest(); } /** @@ -291,7 +290,8 @@ private static class ConstructorTestClass extends ObligationPolicySecurityObserv */ @Test public void testConstructor() { - new ConstructorTestClass(); + @SuppressWarnings("unused") + ConstructorTestClass constructorTestClass = new ConstructorTestClass(); } // testConstructor /** diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest.java similarity index 96% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest.java index 491d8fc1f8..f889e7c526 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest.java +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationEntryRelationshipTest.java @@ -69,7 +69,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated + * @generated not */ @Test @@ -87,7 +87,9 @@ protected void updateToFail(PrivacyAnnotationEntryRelationship target) { @Override protected void updateToPass(PrivacyAnnotationEntryRelationship target) { + target.init(); + target.setOrganizer(CONTENTPROFILEFactory.eINSTANCE.createPrivacyAnnotation()); } @@ -156,7 +158,8 @@ private static class ConstructorTestClass extends PrivacyAnnotationEntryRelation */ @Test public void testConstructor() { - new ConstructorTestClass(); + @SuppressWarnings("unused") + ConstructorTestClass constructorTestClass = new ConstructorTestClass(); } // testConstructor /** diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest.java similarity index 95% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest.java index d62d35af04..0e5ff25bf0 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest.java +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacyAnnotationTest.java @@ -187,7 +187,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated NOT + * @generated not */ @Test @@ -232,7 +232,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated + * @generated not */ @Test @@ -251,6 +251,8 @@ protected void updateToFail(PrivacyAnnotation target) { @Override protected void updateToPass(PrivacyAnnotation target) { target.init(); + target.addObservation( + CONTENTPROFILEFactory.eINSTANCE.createObligationPolicySecurityObservation().init()); } @@ -268,7 +270,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated + * @generated not */ @Test @@ -287,6 +289,7 @@ protected void updateToFail(PrivacyAnnotation target) { @Override protected void updateToPass(PrivacyAnnotation target) { target.init(); + target.addObservation(CONTENTPROFILEFactory.eINSTANCE.createRefrainPolicySecurityObservation().init()); } @@ -323,6 +326,7 @@ protected void updateToFail(PrivacyAnnotation target) { @Override protected void updateToPass(PrivacyAnnotation target) { target.init(); + target.addObservation(CONTENTPROFILEFactory.eINSTANCE.createPurposeOfUseSecurityObservation().init()); } @@ -340,7 +344,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated + * @generated not */ @Test @@ -358,6 +362,8 @@ protected void updateToFail(PrivacyAnnotation target) { @Override protected void updateToPass(PrivacyAnnotation target) { + target.addObservation( + CONTENTPROFILEFactory.eINSTANCE.createConfidentialitySecurityObservation().init()); target.init(); } @@ -479,7 +485,8 @@ private static class ConstructorTestClass extends PrivacyAnnotationOperations { */ @Test public void testConstructor() { - new ConstructorTestClass(); + @SuppressWarnings("unused") + ConstructorTestClass constructorTestClass = new ConstructorTestClass(); } // testConstructor /** diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest.java similarity index 97% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest.java index a9c6df9bb2..4da4471b86 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest.java +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsEntryTest.java @@ -68,7 +68,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated NOT + * @generated not */ @Test @@ -86,7 +86,6 @@ protected void updateToFail(PrivacyMarkingsEntry target) { @Override protected void updateToPass(PrivacyMarkingsEntry target) { target.init(); - target.setOrganizer(CONTENTPROFILEFactory.eINSTANCE.createPrivacyAnnotation().init()); } @@ -156,7 +155,8 @@ private static class ConstructorTestClass extends PrivacyMarkingsEntryOperations */ @Test public void testConstructor() { - new ConstructorTestClass(); + @SuppressWarnings("unused") + ConstructorTestClass constructorTestClass = new ConstructorTestClass(); } // testConstructor /** diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest.java similarity index 95% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest.java index c44933d7c3..d0618519ea 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest.java +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacyMarkingsSectionTest.java @@ -8,6 +8,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.CDAFactory; +import org.eclipse.mdht.uml.cda.Entry; import org.eclipse.mdht.uml.cda.StrucDocText; import org.eclipse.mdht.uml.cda.operations.CDAValidationTest; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEFactory; @@ -181,7 +182,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated + * @generated not */ @Test @@ -199,7 +200,12 @@ protected void updateToFail(PrivacyMarkingsSection target) { @Override protected void updateToPass(PrivacyMarkingsSection target) { target.init(); + Entry e = CONTENTPROFILEFactory.eINSTANCE.createPrivacyMarkingsEntry().init(); + e.setObservation(CONTENTPROFILEFactory.eINSTANCE.createPurposeOfUseSecurityObservation().init()); + target.getEntries().add(e); + // target.addObservation(); + // } @Override @@ -267,7 +273,8 @@ private static class ConstructorTestClass extends PrivacyMarkingsSectionOperatio */ @Test public void testConstructor() { - new ConstructorTestClass(); + @SuppressWarnings("unused") + ConstructorTestClass constructorTestClass = new ConstructorTestClass(); } // testConstructor /** diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest.java similarity index 90% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest.java index 187b47cb84..771bc249e6 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest.java +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedDocumentTest.java @@ -9,7 +9,9 @@ import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.CDAValidationTest; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEFactory; +import org.hl7.security.ds4p.contentprofile.PrivacyMarkingsSection; import org.hl7.security.ds4p.contentprofile.PrivacySegmentedDocument; +import org.hl7.security.ds4p.contentprofile.PrivacySegmentedSection; import org.hl7.security.ds4p.contentprofile.operations.PrivacySegmentedDocumentOperations; import org.junit.Test; @@ -72,7 +74,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated NOT + * @generated not */ @Test @@ -89,10 +91,8 @@ protected void updateToFail(PrivacySegmentedDocument target) { @Override protected void updateToPass(PrivacySegmentedDocument target) { - target.init(); - - // target.getAuthors().add(CONTENTPROFILEFactory.eINSTANCE.createMandatoryDocumentProvenance().init()); + target.getAuthors().add(CONTENTPROFILEFactory.eINSTANCE.createMandatoryDocumentProvenance().init()); } @@ -110,7 +110,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated NOT + * @generated */ @Test @@ -130,16 +130,12 @@ protected void updateToFail(PrivacySegmentedDocument target) { protected void updateToPass(PrivacySegmentedDocument target) { target.init(); - target.addSection(CONTENTPROFILEFactory.eINSTANCE.createPrivacySegmentedSection().init()); + /* SegmentedSection */ + PrivacySegmentedSection section = - // - // /* SegmentedSection */ - // SegmentedSection section = - // + CONTENTPROFILEFactory.eINSTANCE.createPrivacySegmentedSection().init(); - // - // - // target.addSection(section); + target.addSection(section); } @@ -157,7 +153,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated NOT + * @generated */ @Test @@ -177,19 +173,11 @@ protected void updateToFail(PrivacySegmentedDocument target) { protected void updateToPass(PrivacySegmentedDocument target) { target.init(); - target.addSection(CONTENTPROFILEFactory.eINSTANCE.createPrivacyMarkingsSection().init()); - - ; + /* PrivacyAndSecurityMarkingsSection */ + PrivacyMarkingsSection section = - // PrivacyMarkingsSection - // /* PrivacyAndSecurityMarkingsSection */ - // PrivacyAndSecurityMarkingsSection section = - // - // CONTENTPROFILEFactory.eINSTANCE.createPrivacyAndSecurityMarkingsSection().init(); - // - // - // target.addSection(section); - // + CONTENTPROFILEFactory.eINSTANCE.createPrivacyMarkingsSection().init(); + target.addSection(section); } @@ -284,7 +272,8 @@ private static class ConstructorTestClass extends PrivacySegmentedDocumentOperat */ @Test public void testConstructor() { - new ConstructorTestClass(); + @SuppressWarnings("unused") + ConstructorTestClass constructorTestClass = new ConstructorTestClass(); } // testConstructor /** diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest.java similarity index 95% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest.java index ad8f9cb3d1..b9724be45e 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest.java +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PrivacySegmentedSectionTest.java @@ -8,6 +8,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.CDAValidationTest; +import org.eclipse.mdht.uml.hl7.datatypes.DatatypesFactory; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEFactory; import org.hl7.security.ds4p.contentprofile.PrivacySegmentedSection; import org.hl7.security.ds4p.contentprofile.operations.PrivacySegmentedSectionOperations; @@ -70,7 +71,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated NOT + * @generated not */ @Test @@ -89,10 +90,7 @@ protected void updateToFail(PrivacySegmentedSection target) { @Override protected void updateToPass(PrivacySegmentedSection target) { target.init(); - - // target.getClinicalDocument().getCode().setCode("N"); - - target.getConfidentialityCode().setCode("N"); + target.setConfidentialityCode(DatatypesFactory.eINSTANCE.createCE("N", "2.16.840.1.113883.5.25")); } @@ -146,7 +144,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated NOT + * @generated not */ @Test @@ -164,7 +162,6 @@ protected void updateToFail(PrivacySegmentedSection target) { @Override protected void updateToPass(PrivacySegmentedSection target) { target.init(); - target.getAuthors().add(CONTENTPROFILEFactory.eINSTANCE.createMandatoryEntryProvenance().init()); } @@ -234,7 +231,8 @@ private static class ConstructorTestClass extends PrivacySegmentedSectionOperati */ @Test public void testConstructor() { - new ConstructorTestClass(); + @SuppressWarnings("unused") + ConstructorTestClass constructorTestClass = new ConstructorTestClass(); } // testConstructor /** diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest.java similarity index 93% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest.java index 00f39c18d8..cd0d2fba0a 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest.java +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/ProtectedProblemTest.java @@ -34,7 +34,7 @@ public class ProtectedProblemTest extends CDAValidationTest { /** * - * @generated + * @generated not */ @Test @@ -52,6 +52,7 @@ protected void updateToFail(ProtectedProblem target) { @Override protected void updateToPass(ProtectedProblem target) { target.init(); + target.getAuthors().add(CONTENTPROFILEFactory.eINSTANCE.createMandatoryEntryProvenance().init()); } @@ -69,7 +70,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated + * @generated not */ @Test @@ -87,7 +88,8 @@ protected void updateToFail(ProtectedProblem target) { @Override protected void updateToPass(ProtectedProblem target) { target.init(); - + target.getEntryRelationships().add( + CONTENTPROFILEFactory.eINSTANCE.createPrivacyAnnotationEntryRelationship().init()); } @Override @@ -190,7 +192,8 @@ private static class ConstructorTestClass extends ProtectedProblemOperations { */ @Test public void testConstructor() { - new ConstructorTestClass(); + @SuppressWarnings("unused") + ConstructorTestClass constructorTestClass = new ConstructorTestClass(); } // testConstructor /** diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest.java similarity index 63% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest.java index dd9b42f87d..39ce1199cf 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest.java +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/PurposeOfUseSecurityObservationTest.java @@ -25,11 +25,11 @@ *

* The following operations are supported: *

    - *
  • {@link org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation#validatePurposeOfUseSecurityObservationCodeP(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Purpose Of Use Security Observation Code P}
  • - *
  • {@link org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation#validatePurposeOfUseSecurityObservationCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Purpose Of Use Security Observation Code}
  • - *
  • {@link org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation#validatePurposeOfUseSecurityObservationValueP(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Purpose Of Use Security Observation Value P}
  • - *
  • {@link org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation#validatePurposeOfUseSecurityObservationValue(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Purpose Of Use Security Observation Value}
  • *
  • {@link org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation#validateSecurityObservationTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Template Id}
  • + *
  • {@link org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation#validateSecurityObservationCodeP(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code P}
  • + *
  • {@link org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation#validateSecurityObservationCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code}
  • + *
  • {@link org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation#validateSecurityObservationValueP(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Value P}
  • + *
  • {@link org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservation#validateSecurityObservationValue(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Value}
  • *
*

* @@ -44,10 +44,10 @@ public class PurposeOfUseSecurityObservationTest extends CDAValidationTest { */ @Test - public void testValidatePurposeOfUseSecurityObservationCodeP() { - OperationsTestCase validatePurposeOfUseSecurityObservationCodePTestCase = new OperationsTestCase( - "validatePurposeOfUseSecurityObservationCodeP", operationsForOCL.getOCLValue( - "VALIDATE_PURPOSE_OF_USE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationTemplateId() { + OperationsTestCase validateSecurityObservationTemplateIdTestCase = new OperationsTestCase( + "validateSecurityObservationTemplateId", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -64,13 +64,13 @@ protected void updateToPass(PurposeOfUseSecurityObservation target) { @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return PurposeOfUseSecurityObservationOperations.validatePurposeOfUseSecurityObservationCodeP( + return PurposeOfUseSecurityObservationOperations.validateSecurityObservationTemplateId( (PurposeOfUseSecurityObservation) objectToTest, diagnostician, map); } }; - validatePurposeOfUseSecurityObservationCodePTestCase.doValidationTest(); + validateSecurityObservationTemplateIdTestCase.doValidationTest(); } /** @@ -79,10 +79,10 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, */ @Test - public void testValidatePurposeOfUseSecurityObservationCode() { - OperationsTestCase validatePurposeOfUseSecurityObservationCodeTestCase = new OperationsTestCase( - "validatePurposeOfUseSecurityObservationCode", operationsForOCL.getOCLValue( - "VALIDATE_PURPOSE_OF_USE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationCodeP() { + OperationsTestCase validateSecurityObservationCodePTestCase = new OperationsTestCase( + "validateSecurityObservationCodeP", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -94,41 +94,30 @@ protected void updateToFail(PurposeOfUseSecurityObservation target) { protected void updateToPass(PurposeOfUseSecurityObservation target) { target.init(); - CD cd = DatatypesFactory.eINSTANCE.createCD(); - target.setCode(cd); - - } - - @Override - protected void setDependency(PurposeOfUseSecurityObservation target) { - Collection passToken = new java.util.ArrayList(3); - passToken.add(target); - map.put("org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservationCodeP", passToken); } @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return PurposeOfUseSecurityObservationOperations.validatePurposeOfUseSecurityObservationCode( + return PurposeOfUseSecurityObservationOperations.validateSecurityObservationCodeP( (PurposeOfUseSecurityObservation) objectToTest, diagnostician, map); } }; - validatePurposeOfUseSecurityObservationCodeTestCase.doValidationTest(); + validateSecurityObservationCodePTestCase.doValidationTest(); } /** * - * @generated + * @generated not */ @Test - public void testValidatePurposeOfUseSecurityObservationValueP() { - OperationsTestCase validatePurposeOfUseSecurityObservationValuePTestCase = new OperationsTestCase( - "validatePurposeOfUseSecurityObservationValueP", - operationsForOCL.getOCLValue( - "VALIDATE_PURPOSE_OF_USE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationCode() { + OperationsTestCase validateSecurityObservationCodeTestCase = new OperationsTestCase( + "validateSecurityObservationCode", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -140,30 +129,41 @@ protected void updateToFail(PurposeOfUseSecurityObservation target) { protected void updateToPass(PurposeOfUseSecurityObservation target) { target.init(); + CD cd = DatatypesFactory.eINSTANCE.createCD("SECCONOBS", "2.16.840.1.113883.1.11.20457"); + + target.setCode(cd); + + } + + @Override + protected void setDependency(PurposeOfUseSecurityObservation target) { + Collection passToken = new java.util.ArrayList(3); + passToken.add(target); + map.put("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP", passToken); } @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return PurposeOfUseSecurityObservationOperations.validatePurposeOfUseSecurityObservationValueP( + return PurposeOfUseSecurityObservationOperations.validateSecurityObservationCode( (PurposeOfUseSecurityObservation) objectToTest, diagnostician, map); } }; - validatePurposeOfUseSecurityObservationValuePTestCase.doValidationTest(); + validateSecurityObservationCodeTestCase.doValidationTest(); } /** * - * @generated NOT + * @generated not */ @Test - public void testValidatePurposeOfUseSecurityObservationValue() { - OperationsTestCase validatePurposeOfUseSecurityObservationValueTestCase = new OperationsTestCase( - "validatePurposeOfUseSecurityObservationValue", operationsForOCL.getOCLValue( - "VALIDATE_PURPOSE_OF_USE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationValueP() { + OperationsTestCase validateSecurityObservationValuePTestCase = new OperationsTestCase( + "validateSecurityObservationValueP", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -174,41 +174,32 @@ protected void updateToFail(PurposeOfUseSecurityObservation target) { @Override protected void updateToPass(PurposeOfUseSecurityObservation target) { target.init(); + target.getValues().add(DatatypesFactory.eINSTANCE.createCE()); - CE value = DatatypesFactory.eINSTANCE.createCE("TREAT", "2.16.840.1.113883.1.11.20471"); - target.getValues().add(value); - - } - - @Override - protected void setDependency(PurposeOfUseSecurityObservation target) { - Collection passToken = new java.util.ArrayList(3); - passToken.add(target); - map.put("org.hl7.security.ds4p.contentprofile.PurposeOfUseSecurityObservationValueP", passToken); } @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return PurposeOfUseSecurityObservationOperations.validatePurposeOfUseSecurityObservationValue( + return PurposeOfUseSecurityObservationOperations.validateSecurityObservationValueP( (PurposeOfUseSecurityObservation) objectToTest, diagnostician, map); } }; - validatePurposeOfUseSecurityObservationValueTestCase.doValidationTest(); + validateSecurityObservationValuePTestCase.doValidationTest(); } /** * - * @generated + * @generated not */ @Test - public void testValidateSecurityObservationTemplateId() { - OperationsTestCase validateSecurityObservationTemplateIdTestCase = new OperationsTestCase( - "validateSecurityObservationTemplateId", - operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationValue() { + OperationsTestCase validateSecurityObservationValueTestCase = new OperationsTestCase( + "validateSecurityObservationValue", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -220,18 +211,30 @@ protected void updateToFail(PurposeOfUseSecurityObservation target) { protected void updateToPass(PurposeOfUseSecurityObservation target) { target.init(); + CE value = DatatypesFactory.eINSTANCE.createCE(); + value.setCode("HRESCH"); + value.setCodeSystem("2.16.840.1.113883.5.1063"); + target.getValues().add(value); + + } + + @Override + protected void setDependency(PurposeOfUseSecurityObservation target) { + Collection passToken = new java.util.ArrayList(3); + passToken.add(target); + map.put("org.hl7.security.ds4p.contentprofile.SecurityObservationValueP", passToken); } @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return PurposeOfUseSecurityObservationOperations.validateSecurityObservationTemplateId( + return PurposeOfUseSecurityObservationOperations.validateSecurityObservationValue( (PurposeOfUseSecurityObservation) objectToTest, diagnostician, map); } }; - validateSecurityObservationTemplateIdTestCase.doValidationTest(); + validateSecurityObservationValueTestCase.doValidationTest(); } /** @@ -287,7 +290,8 @@ private static class ConstructorTestClass extends PurposeOfUseSecurityObservatio */ @Test public void testConstructor() { - new ConstructorTestClass(); + @SuppressWarnings("unused") + ConstructorTestClass constructorTestClass = new ConstructorTestClass(); } // testConstructor /** diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest.java similarity index 63% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest.java index 73222c555a..a7acf051b1 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest.java +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/RefrainPolicySecurityObservationTest.java @@ -10,6 +10,7 @@ import org.eclipse.emf.ecore.EObject; import org.eclipse.mdht.uml.cda.operations.CDAValidationTest; import org.eclipse.mdht.uml.hl7.datatypes.CD; +import org.eclipse.mdht.uml.hl7.datatypes.CE; import org.eclipse.mdht.uml.hl7.datatypes.DatatypesFactory; import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEFactory; import org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation; @@ -24,11 +25,11 @@ *

* The following operations are supported: *

    - *
  • {@link org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation#validateRefrainPolicySecurityObservationCodeP(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Refrain Policy Security Observation Code P}
  • - *
  • {@link org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation#validateRefrainPolicySecurityObservationCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Refrain Policy Security Observation Code}
  • - *
  • {@link org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation#validateRefrainPolicySecurityObservationValueP(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Refrain Policy Security Observation Value P}
  • - *
  • {@link org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation#validateRefrainPolicySecurityObservationValue(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Refrain Policy Security Observation Value}
  • *
  • {@link org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation#validateSecurityObservationTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Template Id}
  • + *
  • {@link org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation#validateSecurityObservationCodeP(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code P}
  • + *
  • {@link org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation#validateSecurityObservationCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code}
  • + *
  • {@link org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation#validateSecurityObservationValueP(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Value P}
  • + *
  • {@link org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservation#validateSecurityObservationValue(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Value}
  • *
*

* @@ -43,10 +44,10 @@ public class RefrainPolicySecurityObservationTest extends CDAValidationTest { */ @Test - public void testValidateRefrainPolicySecurityObservationCodeP() { - OperationsTestCase validateRefrainPolicySecurityObservationCodePTestCase = new OperationsTestCase( - "validateRefrainPolicySecurityObservationCodeP", operationsForOCL.getOCLValue( - "VALIDATE_REFRAIN_POLICY_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationTemplateId() { + OperationsTestCase validateSecurityObservationTemplateIdTestCase = new OperationsTestCase( + "validateSecurityObservationTemplateId", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -63,13 +64,13 @@ protected void updateToPass(RefrainPolicySecurityObservation target) { @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return RefrainPolicySecurityObservationOperations.validateRefrainPolicySecurityObservationCodeP( + return RefrainPolicySecurityObservationOperations.validateSecurityObservationTemplateId( (RefrainPolicySecurityObservation) objectToTest, diagnostician, map); } }; - validateRefrainPolicySecurityObservationCodePTestCase.doValidationTest(); + validateSecurityObservationTemplateIdTestCase.doValidationTest(); } /** @@ -78,10 +79,10 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, */ @Test - public void testValidateRefrainPolicySecurityObservationCode() { - OperationsTestCase validateRefrainPolicySecurityObservationCodeTestCase = new OperationsTestCase( - "validateRefrainPolicySecurityObservationCode", operationsForOCL.getOCLValue( - "VALIDATE_REFRAIN_POLICY_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationCodeP() { + OperationsTestCase validateSecurityObservationCodePTestCase = new OperationsTestCase( + "validateSecurityObservationCodeP", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -93,41 +94,30 @@ protected void updateToFail(RefrainPolicySecurityObservation target) { protected void updateToPass(RefrainPolicySecurityObservation target) { target.init(); - CD cd = DatatypesFactory.eINSTANCE.createCD(); - target.setCode(cd); - - } - - @Override - protected void setDependency(RefrainPolicySecurityObservation target) { - Collection passToken = new java.util.ArrayList(3); - passToken.add(target); - map.put("org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservationCodeP", passToken); } @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return RefrainPolicySecurityObservationOperations.validateRefrainPolicySecurityObservationCode( + return RefrainPolicySecurityObservationOperations.validateSecurityObservationCodeP( (RefrainPolicySecurityObservation) objectToTest, diagnostician, map); } }; - validateRefrainPolicySecurityObservationCodeTestCase.doValidationTest(); + validateSecurityObservationCodePTestCase.doValidationTest(); } /** * - * @generated + * @generated not */ @Test - public void testValidateRefrainPolicySecurityObservationValueP() { - OperationsTestCase validateRefrainPolicySecurityObservationValuePTestCase = new OperationsTestCase( - "validateRefrainPolicySecurityObservationValueP", - operationsForOCL.getOCLValue( - "VALIDATE_REFRAIN_POLICY_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationCode() { + OperationsTestCase validateSecurityObservationCodeTestCase = new OperationsTestCase( + "validateSecurityObservationCode", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -139,30 +129,41 @@ protected void updateToFail(RefrainPolicySecurityObservation target) { protected void updateToPass(RefrainPolicySecurityObservation target) { target.init(); + CD cd = DatatypesFactory.eINSTANCE.createCD("SECCONOBS", "2.16.840.1.113883.1.11.20457"); + + target.setCode(cd); + + } + + @Override + protected void setDependency(RefrainPolicySecurityObservation target) { + Collection passToken = new java.util.ArrayList(3); + passToken.add(target); + map.put("org.hl7.security.ds4p.contentprofile.SecurityObservationCodeP", passToken); } @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return RefrainPolicySecurityObservationOperations.validateRefrainPolicySecurityObservationValueP( + return RefrainPolicySecurityObservationOperations.validateSecurityObservationCode( (RefrainPolicySecurityObservation) objectToTest, diagnostician, map); } }; - validateRefrainPolicySecurityObservationValuePTestCase.doValidationTest(); + validateSecurityObservationCodeTestCase.doValidationTest(); } /** * - * @generated + * @generated not */ @Test - public void testValidateRefrainPolicySecurityObservationValue() { - OperationsTestCase validateRefrainPolicySecurityObservationValueTestCase = new OperationsTestCase( - "validateRefrainPolicySecurityObservationValue", operationsForOCL.getOCLValue( - "VALIDATE_REFRAIN_POLICY_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationValueP() { + OperationsTestCase validateSecurityObservationValuePTestCase = new OperationsTestCase( + "validateSecurityObservationValueP", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_VALUE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -173,41 +174,32 @@ protected void updateToFail(RefrainPolicySecurityObservation target) { @Override protected void updateToPass(RefrainPolicySecurityObservation target) { target.init(); + target.getValues().add(DatatypesFactory.eINSTANCE.createCE()); - CD value = DatatypesFactory.eINSTANCE.createCD(); - target.getValues().add(value); - - } - - @Override - protected void setDependency(RefrainPolicySecurityObservation target) { - Collection passToken = new java.util.ArrayList(3); - passToken.add(target); - map.put("org.hl7.security.ds4p.contentprofile.RefrainPolicySecurityObservationValueP", passToken); } @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return RefrainPolicySecurityObservationOperations.validateRefrainPolicySecurityObservationValue( + return RefrainPolicySecurityObservationOperations.validateSecurityObservationValueP( (RefrainPolicySecurityObservation) objectToTest, diagnostician, map); } }; - validateRefrainPolicySecurityObservationValueTestCase.doValidationTest(); + validateSecurityObservationValuePTestCase.doValidationTest(); } /** * - * @generated + * @generated not */ @Test - public void testValidateSecurityObservationTemplateId() { - OperationsTestCase validateSecurityObservationTemplateIdTestCase = new OperationsTestCase( - "validateSecurityObservationTemplateId", - operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + public void testValidateSecurityObservationValue() { + OperationsTestCase validateSecurityObservationValueTestCase = new OperationsTestCase( + "validateSecurityObservationValue", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { @Override @@ -219,18 +211,28 @@ protected void updateToFail(RefrainPolicySecurityObservation target) { protected void updateToPass(RefrainPolicySecurityObservation target) { target.init(); + CE value = DatatypesFactory.eINSTANCE.createCE("NORDSLCD", "2.16.840.1.113883.5.1063"); + target.getValues().add(value); + + } + + @Override + protected void setDependency(RefrainPolicySecurityObservation target) { + Collection passToken = new java.util.ArrayList(3); + passToken.add(target); + map.put("org.hl7.security.ds4p.contentprofile.SecurityObservationValueP", passToken); } @Override protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - return RefrainPolicySecurityObservationOperations.validateSecurityObservationTemplateId( + return RefrainPolicySecurityObservationOperations.validateSecurityObservationValue( (RefrainPolicySecurityObservation) objectToTest, diagnostician, map); } }; - validateSecurityObservationTemplateIdTestCase.doValidationTest(); + validateSecurityObservationValueTestCase.doValidationTest(); } /** @@ -286,7 +288,8 @@ private static class ConstructorTestClass extends RefrainPolicySecurityObservati */ @Test public void testConstructor() { - new ConstructorTestClass(); + @SuppressWarnings("unused") + ConstructorTestClass constructorTestClass = new ConstructorTestClass(); } // testConstructor /** diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest.java similarity index 92% rename from tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest.java rename to tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest.java index 195c7731c9..752d94e402 100644 --- a/tests/org.hl7.security.ds4p.contentprofile.tests/src/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest.java +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/SecurityObservationTest.java @@ -25,11 +25,11 @@ * The following operations are supported: *
    *
  • {@link org.hl7.security.ds4p.contentprofile.SecurityObservation#validateSecurityObservationTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Template Id}
  • + *
  • {@link org.hl7.security.ds4p.contentprofile.SecurityObservation#validateSecurityObservationMoodCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Mood Code}
  • *
  • {@link org.hl7.security.ds4p.contentprofile.SecurityObservation#validateSecurityObservationCodeP(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code P}
  • *
  • {@link org.hl7.security.ds4p.contentprofile.SecurityObservation#validateSecurityObservationCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Code}
  • *
  • {@link org.hl7.security.ds4p.contentprofile.SecurityObservation#validateSecurityObservationValue(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Value}
  • *
  • {@link org.hl7.security.ds4p.contentprofile.SecurityObservation#validateSecurityObservationValueP(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Value P}
  • - *
  • {@link org.hl7.security.ds4p.contentprofile.SecurityObservation#validateSecurityObservationMoodCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Security Observation Mood Code}
  • *
*

* @@ -40,7 +40,7 @@ public class SecurityObservationTest extends CDAValidationTest { /** * - * @generated + * @generated not */ @Test @@ -50,6 +50,10 @@ public void testValidateSecurityObservationTemplateId() { operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { + { + skipFailsTest(); + } + @Override protected void updateToFail(SecurityObservation target) { @@ -75,7 +79,45 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated + * @generated not + */ + @Test + + public void testValidateSecurityObservationMoodCode() { + OperationsTestCase validateSecurityObservationMoodCodeTestCase = new OperationsTestCase( + "validateSecurityObservationMoodCode", + operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), + objectFactory) { + { + skipFailsTest(); + } + + @Override + protected void updateToFail(SecurityObservation target) { + + } + + @Override + protected void updateToPass(SecurityObservation target) { + target.init(); + + } + + @Override + protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { + + return SecurityObservationOperations.validateSecurityObservationMoodCode( + (SecurityObservation) objectToTest, diagnostician, map); + } + + }; + + validateSecurityObservationMoodCodeTestCase.doValidationTest(); + } + + /** + * + * @generated not */ @Test @@ -84,6 +126,9 @@ public void testValidateSecurityObservationCodeP() { "validateSecurityObservationCodeP", operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_CODE_P__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { + { + skipFailsTest(); + } @Override protected void updateToFail(SecurityObservation target) { @@ -93,6 +138,7 @@ protected void updateToFail(SecurityObservation target) { @Override protected void updateToPass(SecurityObservation target) { target.init(); + target.setCode(DatatypesFactory.eINSTANCE.createCD()); } @@ -110,7 +156,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated + * @generated not */ @Test @@ -120,6 +166,10 @@ public void testValidateSecurityObservationCode() { operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) { + { + skipFailsTest(); + } + @Override protected void updateToFail(SecurityObservation target) { @@ -129,7 +179,8 @@ protected void updateToFail(SecurityObservation target) { protected void updateToPass(SecurityObservation target) { target.init(); - CD cd = DatatypesFactory.eINSTANCE.createCD(); + CD cd = DatatypesFactory.eINSTANCE.createCD("SECCONOBS", "2.16.840.1.113883.1.11.20457"); + target.setCode(cd); } @@ -155,7 +206,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated + * @generated not */ @Test @@ -174,8 +225,7 @@ protected void updateToFail(SecurityObservation target) { protected void updateToPass(SecurityObservation target) { target.init(); - CD value = DatatypesFactory.eINSTANCE.createCD(); - target.getValues().add(value); + target.getValues().add(DatatypesFactory.eINSTANCE.createCE("CPLYCD", "2.16.840.1.113883.5.1063")); } @@ -193,7 +243,7 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, /** * - * @generated + * @generated not */ @Test @@ -211,6 +261,7 @@ protected void updateToFail(SecurityObservation target) { @Override protected void updateToPass(SecurityObservation target) { target.init(); + target.getValues().add(DatatypesFactory.eINSTANCE.createCE()); } @@ -226,41 +277,6 @@ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, validateSecurityObservationValuePTestCase.doValidationTest(); } - /** - * - * @generated - */ - @Test - - public void testValidateSecurityObservationMoodCode() { - OperationsTestCase validateSecurityObservationMoodCodeTestCase = new OperationsTestCase( - "validateSecurityObservationMoodCode", - operationsForOCL.getOCLValue("VALIDATE_SECURITY_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), - objectFactory) { - - @Override - protected void updateToFail(SecurityObservation target) { - - } - - @Override - protected void updateToPass(SecurityObservation target) { - target.init(); - - } - - @Override - protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) { - - return SecurityObservationOperations.validateSecurityObservationMoodCode( - (SecurityObservation) objectToTest, diagnostician, map); - } - - }; - - validateSecurityObservationMoodCodeTestCase.doValidationTest(); - } - /** * * @generated @@ -285,7 +301,7 @@ public String getOCLValue(String fieldName) { */ private static class ObjectFactory implements TestObjectFactory { public SecurityObservation create() { - return CONTENTPROFILEFactory.eINSTANCE.createPurposeOfUseSecurityObservation(); + return CONTENTPROFILEFactory.eINSTANCE.createConfidentialitySecurityObservation().init(); } } @@ -314,7 +330,8 @@ private static class ConstructorTestClass extends SecurityObservationOperations */ @Test public void testConstructor() { - new ConstructorTestClass(); + @SuppressWarnings("unused") + ConstructorTestClass constructorTestClass = new ConstructorTestClass(); } // testConstructor /** diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/contentprofile_EcoreAllTests.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/contentprofile_EcoreAllTests.java new file mode 100644 index 0000000000..427a3c371f --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/contentprofile_EcoreAllTests.java @@ -0,0 +1,44 @@ +/** + */ +package org.hl7.security.ds4p.contentprofile.tests; + +import junit.framework.TestSuite; + +/** + * + * A test suite for the 'contentprofile_Ecore' model. + * + * @generated + */ +public class contentprofile_EcoreAllTests extends TestSuite { + + // /** + // * + // * + // * @generated + // */ + // public static void main(String[] args) { + // TestRunner.run(suite()); + // } + // + // /** + // * + // * + // * @generated + // */ + // public static Test suite() { + // TestSuite suite = new contentprofile_EcoreAllTests("contentprofile_Ecore Tests"); + // suite.addTest(CONTENTPROFILETests.suite()); + // return suite; + // } + // + // /** + // * + // * + // * @generated + // */ + // public contentprofile_EcoreAllTests(String name) { + // super(name); + // } + +} // contentprofile_EcoreAllTests diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/resource/end.tag b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/resource/end.tag new file mode 100644 index 0000000000..a30c9acbcd --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/resource/end.tag @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/resource/start.tag b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/resource/start.tag new file mode 100644 index 0000000000..7b115499d0 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/resource/start.tag @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/temp/junit-frames.xsl b/tests/org.hl7.security.ds4p.contentprofile.tests/temp/junit-frames.xsl new file mode 100644 index 0000000000..1a32556e39 --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/temp/junit-frames.xsl @@ -0,0 +1,1001 @@ + + + + + + + + + + + + + + +Unit Test Results. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="$TITLE"/> + + + + + + + + + <h2>Frame Alert</h2> + <p> + This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. + </p> + + + + + + + +body { + font:normal 68% verdana,arial,helvetica; + color:#000000; +} +table tr td, table tr th { + font-size: 68%; +} +table.details tr th{ + font-weight: bold; + text-align:left; + background:#a6caf0; +} +table.details tr td{ + background:#eeeee0; +} + +p { + line-height:1.5em; + margin-top:0.5em; margin-bottom:1.0em; +} +h1 { + margin: 0px 0px 5px; font: 165% verdana,arial,helvetica +} +h2 { + margin-top: 1em; margin-bottom: 0.5em; font: bold 125% verdana,arial,helvetica +} +h3 { + margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica +} +h4 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +h5 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +h6 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +.Error { + font-weight:bold; color:red; +} +.Failure { + font-weight:bold; color:purple; +} +.Properties { + text-align:right; +} + + + + + + + + + + All Failures + + + All Errors + + + All Tests + + + + + Unit Test Results: <xsl:value-of select="$title"/> + + + + + + open('allclasses-frame.html','classListFrame') + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + + + + + . + + + Unit Test Results: <xsl:value-of select="$class.name"/> + + + + + + + + +

Class

+ + + + + +
+ + + +

Failures

+
+ +

Errors

+
+ +

Tests

+
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + cur = TestCases['.'] = new Array(); + + + cur[''] = ''; + + + + + + + + + + + Unit Test Classes: <xsl:value-of select="$name"/> + + + + + + + + + +
+

+ + <none> +

+
+ +

Classes

+ + + + + + + +
+ +
+ + +
+ + + + + + + All Unit Test Classes + + + + + +

Classes

+ + + + +
+ + +
+ + + + + + + + + / + _.html + + + + + + + + + + + + + All Unit Test Packages + + + + + +

Home

+

Packages

+ + + + +
+ + +
+ + + + + + + <none> + + + + + + + + + + Unit Test Results: Summary + + + + + + open('allclasses-frame.html','classListFrame') + +

Summary

+ + + + + + + + + + + + + + + + + Error + Failure + Pass + + + + + + + + +
TestsFailuresErrorsSuccess rateTime
+ + + + + + + +
+ + + + +
+ Note: failures are anticipated and checked for with assertions while errors are unanticipated. +
+ +

Packages

+ + + + + + + + + + + Error + Failure + Pass + + + + + + + + + + + +
+ + <none> + + + + +
+ + +
+ + + + + + + + + + + + open('package-frame.html','classListFrame') + +

Package

+ + + + + +

Classes

+

+ + + + + +
+

+
+ + +
+ + + + + + + ../ + + + + + + ../ + + + + + + + + stylesheet.css + + + + + +

+ + + + + +
Designed for use with JUnit and Ant.
+
+
+ + + + + Name + Tests + Errors + Failures + Time(s) + Time Stamp + Host + + + + + + + + + Class + + Name + Status + Result + + + Time(s) + + + + + + + + + + Error + Failure + Pass + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error + Failure + TableRowColor + + + + + + + + + + + + + + + + +

Constraint

+

+

+ + + + + +

+

+

OCL
+

+

+ + + + +

+
+ + + + + Failure + Invalid XML +

+ + + +

+ Valid XML +

+ + + +

+
+ + Error + Invalid XML +

+ + + +

+ Valid XML +

+ + + +

+
+ + Success + + Invalid XML +

+ + + +

+ Valid XML +

+ + + +

+ +
+
+ + + + + + + + + +
+ + + + + + + + + + + + + + + N/A + + + + + +

+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+ + + + + + + + +

+
+ + + +

+ + + + + + + + +

+
+ + + +

+ + + + + + + + +

+
+ + + +

+ + + + + + + + + +

+
+ + +
diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/temp/new.xsl b/tests/org.hl7.security.ds4p.contentprofile.tests/temp/new.xsl new file mode 100644 index 0000000000..1a84a5bc4a --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/temp/new.xsl @@ -0,0 +1,931 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + Standard Output from <xsl:value-of select="@name"/> + + +
+ + +
+
+ + + + + Standard Error from <xsl:value-of select="@name"/> + + +
+ + +
+
+ + + + + + + + + + + + + + +
+
+ + + + + AntUnit Test Results. + + + + + + + + + <h2>Frame Alert</h2> + <p> + This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. + </p> + + + + + + + +body { + font:normal 68% verdana,arial,helvetica; + color:#000000; +} +table tr td, table tr th { + font-size: 68%; +} +table.details tr th{ + font-weight: bold; + text-align:left; + background:#a6caf0; +} +table.details tr td{ + background:#eeeee0; +} + +p { + line-height:1.5em; + margin-top:0.5em; margin-bottom:1.0em; +} +h1 { + margin: 0px 0px 5px; font: 165% verdana,arial,helvetica +} +h2 { + margin-top: 1em; margin-bottom: 0.5em; font: bold 125% verdana,arial,helvetica +} +h3 { + margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica +} +h4 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +h5 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +h6 { + margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica +} +.Error { + font-weight:bold; color:red; +} +.Failure { + font-weight:bold; color:purple; +} +.Properties { + text-align:right; +} + + + + + + + + + + All Failures + + + All Errors + + + All Tests + + + + + AntUnit Test Results: <xsl:value-of select="$title"/> + + + + + + open('allprojects-frame.html','projectListFrame') + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + + + + + . + + + AntUnit Test Results: <xsl:value-of select="$project.name"/> + + + + + + + + +

Project

+ + + + + +
+ + + +

Failures

+
+ +

Errors

+
+ +

Tests

+
+
+ + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + cur = TestCases['.'] = new Array(); + + + cur[''] = ''; + + + + + + + + + + + AntUnit Test Projects: <xsl:value-of select="$name"/> + + + + + + + + + +
+

+ + <none> +

+
+ +

Projects

+ + + + + + + +
+ +
+ + +
+ + + + + + + All AntUnit Test Projects + + + + + +

Projects

+ + + + +
+ + +
+ + + + + + + + + / + _.html + + + + + + + + + + + + + All AntUnit Test Directories + + + + + +

Home

+

Directories

+ + + + +
+ + +
+ + + + + + + <none> + + + + + + + + + + AntUnit Test Results: Summary + + + + + + open('allprojects-frame.html','projectListFrame') + +

Summary

+ + + + + + + + + + + + + + + + + Error + Failure + Pass + + + + + + + + +
TestsFailuresErrorsSuccess rateTime
+ + + + + + + +
+ + + + +
+ Note: failures are anticipated and checked for with assertions while errors are unanticipated. +
+ +

Directories

+ + + + + + + + + + + Error + Failure + Pass + + + + + + + + + + + +
+ + <none> + + + + +
+ + +
+ + + + + + + + + + + + open('directory-frame.html','projectListFrame') + +

Directory

+ + + + + +

Projects

+

+ + + + + +
+

+
+ + +
+ + + + + + + ../ + + + + + + ../ + + + + + + + + stylesheet.css + + + + + +

AntUnit Test Results

+ + + + + +
Designed for use with AntUnit and Ant.
+
+
+ + + + + Name + Tests + Errors + Failures + Time(s) + Time Stamp + Host + + + + + + + + + Project + + Name + Status + Type + Time(s) + + + + + + + + + + Error + Failure + Pass + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error + Failure + TableRowColor + + + + + + + + + + + + + + + + + + + + + + Failure + + + + Error + + + + Success + + + + + + + + + + + + + + + + + + + + +

+ + + + + + + +
+ + + + + N/A + + + + + + +

+ at line + + + , column + + +
+
+
+ + + + + + + + + + + + + 32 + + + + + + + + + + + + +
+ + + +
+ + +
+ + + +
+ + + +
+
+ + + + + + + + + + +
\ No newline at end of file diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/temp/t.out.html b/tests/org.hl7.security.ds4p.contentprofile.tests/temp/t.out.html new file mode 100644 index 0000000000..5232f694eb --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/temp/t.out.html @@ -0,0 +1,1466 @@ + + + self.assignedAuthoringDevice->one(assignedAuthoringDevice : cda::AuthoringDevice | not assignedAuthoringDevice.oclIsUndefined() and assignedAuthoringDevice.oclIsKindOf(cda::AuthoringDevice)) + + + <assignedauthor xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Mandatory Document Assigned Author SHOULD contain zero or one [0..1] assignedAuthoringDevice, where its type is Consol Authoring Device (CONF:5449) + + + <assignedauthor xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.3"/> + + <assignedAuthoringDevice/> + + </assignedauthor> + + + + + Skip Pass Test + + + + + self.assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)) + + + <assignedauthor xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Mandatory Document Assigned Author SHOULD contain zero or one [0..1] assignedPerson, where its type is Consol Person (CONF:5450) + + + <assignedauthor xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.3"/> + + <assignedPerson/> + + </assignedauthor> + + + + + Skip Pass Test + + + + + self.representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(rim::Entity)) + + + <assignedauthor xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Mandatory Document Assigned Author SHOULD contain [0..1] representedOrganization such that it (CONF:5451) Conforms to Organization from CDA + + + <assignedauthor xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.3"/> + + <representedOrganization/> + + </assignedauthor> + + + + + Skip Pass Test + + + + + (self.telecom->isEmpty() or self.telecom->exists(element | element.isNullFlavorUndefined())) implies (( not self.telecom->isEmpty()) ) + + + <assignedauthor xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Mandatory Document Assigned Author SHALL contain at least one [1..*] telecom (CONF:5428) such that it One of telecommunication methods for providers could be the email address. + + + <assignedauthor xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.3"/> + + <telecom/> + + </assignedauthor> + + + + + Skip Pass Test + + + + + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.3') + + + <assignedauthor xmlns="urn:hl7-org:v3"/> + + + SHALL contain exactly one [1..1] templateId ( CONF-DS4P-3 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.3" + + + <assignedauthor xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.3"/> + + </assignedauthor> + + + + + Skip Pass Test + + + + + self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(contentprofile::MandatoryDocumentAssignedAuthor)) + + + <author xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Mandatory Document Provenance SHALL contain [1..1] assignedAuthor such that it (CONF:16792) Conforms to Mandatory Document Assigned Author (templateId: 2.16.840.1.113883.3.3251.1.3) + + + <author xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.2"/> + + <assignedAuthor> + + <templateId root="2.16.840.1.113883.3.3251.1.3"/> + + </assignedAuthor> + + </author> + + + + + Skip Pass Test + + + + + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.2') + + + <author xmlns="urn:hl7-org:v3"/> + + + SHALL contain exactly one [1..1] templateId ( CONF-DS4P-2 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.2" + + + <author xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.2"/> + + </author> + + + + + Skip Pass Test + + + + + not self.time.oclIsUndefined() + + + <author xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Mandatory Document Provenance SHALL contain exactly one [1..1] time (CONF:16831) + + + <author xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.2"/> + + <time/> + + </author> + + + + + Skip Pass Test + + + + + true + + + Skip Fail Test + + + + + Skip Pass Test + + + + + Skip Pass Test + + + + + true + + + Skip Fail Test + + + + + Skip Pass Test + + + + + Skip Pass Test + + + + + true + + + Skip Fail Test + + + + + Skip Pass Test + + + + + Skip Pass Test + + + + + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.7') + + + <assignedauthor xmlns="urn:hl7-org:v3"/> + + + SHALL contain exactly one [1..1] templateId ( CONF-DS4P-7 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.7" + + + <assignedauthor xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.7"/> + + </assignedauthor> + + + + + Skip Pass Test + + + + + self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(contentprofile::MandatoryEntryAssignedAuthor)) + + + <author xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Mandatory Entry Provenance SHALL contain [1..1] assignedAuthor such that it (CONF:9064) Conforms to Mandatory Entry Assigned Author (templateId: 2.16.840.1.113883.3.3251.1.7) + + + <author xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.6"/> + + <assignedAuthor> + + <templateId root="2.16.840.1.113883.3.3251.1.7"/> + + </assignedAuthor> + + </author> + + + + + Skip Pass Test + + + + + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.6') + + + <author xmlns="urn:hl7-org:v3"/> + + + SHALL contain exactly one [1..1] templateId ( CONF-DS4P-6 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.6" + + + <author xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.6"/> + + </author> + + + + + Skip Pass Test + + + + + not self.time.oclIsUndefined() + + + <author xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Mandatory Entry Provenance SHALL contain exactly one [1..1] time (CONF:16832) + + + <author xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.6"/> + + <time/> + + </author> + + + + + Skip Pass Test + + + + + isDefined('classCode') + + + <organizer xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Annotation SHALL contain exactly one [1..1] @classCode="CLUSTER" (CodeSystem: 2.16.840.1.113883.5.6 HL7ActClass) (CONF:16829) + + + <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.3251.1.4"/> + + <statusCode code="active"/> + + </organizer> + + + + + Skip Pass Test + + + + + self.component->one(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::ConfidentialitySecurityObservation)) + + + <organizer xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Annotation SHALL contain [1..1] component such that it (CONF:16796) Conforms to Confidentiality Security Observation (templateId: 2.16.840.1.113883.3.445.12) + + + <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.3251.1.4"/> + + <statusCode code="active"/> + + <component> + + <observation moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.445.12"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <code code="SECCLASSOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Category"/> + + </observation> + + </component> + + </organizer> + + + + + Skip Pass Test + + + + + self.organizer->one(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(contentprofile::PrivacyAnnotation)) + + + <entryrelationship xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Annotation Entry Relationship SHALL contain [1..1] organizer such that it (CONF:14892) Conforms to Privacy Annotation (templateId: 2.16.840.1.113883.3.3251.1.4) + + + <entryrelationship xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.11"/> + + <organizer/> + + </entryrelationship> + + + + + Skip Pass Test + + + + + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.11') + + + <entryrelationship xmlns="urn:hl7-org:v3"/> + + + SHALL contain exactly one [1..1] templateId ( CONF-DS4P-15 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.11" + + + <entryrelationship xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.11"/> + + </entryrelationship> + + + + + Skip Pass Test + + + + + isDefined('moodCode') + + + <organizer xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Annotation SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: 2.16.840.1.113883.5.1001 HL7ActMood) (CONF:16830) + + + <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.3251.1.4"/> + + <statusCode code="active"/> + + </organizer> + + + + + Skip Pass Test + + + + + self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::ObligationPolicySecurityObservation)) + + + <organizer xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Annotation MAY contain [0..*] component such that it (CONF:9053) Conforms to Obligation Policy Security Observation (templateId: 2.16.840.1.113883.3.445.14) + + + <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.3251.1.4"/> + + <statusCode code="active"/> + + <component> + + <observation moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.445.14"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <code code="SECCONOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Control"/> + + </observation> + + </component> + + </organizer> + + + + + Skip Pass Test + + + + + self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::PurposeOfUseSecurityObservation)) + + + <organizer xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Annotation MAY contain [0..*] component such that it (CONF:14890) Conforms to Purpose Of Use Security Observation (templateId: 2.16.840.1.113883.3.445.22) + + + <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.3251.1.4"/> + + <statusCode code="active"/> + + <component> + + <observation moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.445.22"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <code code="SECCONOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Control"/> + + </observation> + + </component> + + </organizer> + + + + + Skip Pass Test + + + + + self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::RefrainPolicySecurityObservation)) + + + <organizer xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Annotation MAY contain [0..*] component such that it (CONF:14889) Conforms to Refrain Policy Security Observation (templateId: 2.16.840.1.113883.3.445.23) + + + <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.3251.1.4"/> + + <statusCode code="active"/> + + <component> + + <observation moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.445.23"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <code code="SECCONOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Control Observation Type"/> + + </observation> + + </component> + + </organizer> + + + + + Skip Pass Test + + + + + not self.statusCode.oclIsUndefined() and self.statusCode.oclIsKindOf(datatypes::CS) and let value : datatypes::CS = self.statusCode.oclAsType(datatypes::CS) in value.code = 'active' + + + <organizer xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Annotation SHALL contain exactly one [1..1] statusCode (CONF:9054)/@code="active" Active (CodeSystem: 2.16.840.1.113883.5.14 ActStatus) (CONF:16831) + + + <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.3251.1.4"/> + + <statusCode code="active"/> + + </organizer> + + + + + Skip Pass Test + + + + + not self.statusCode.oclIsUndefined() + + + <organizer xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Annotation SHALL contain exactly one [1..1] statusCode (CONF:9054)/@code="active" Active (CodeSystem: 2.16.840.1.113883.5.14 ActStatus) (CONF:16831) + + + <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.3251.1.4"/> + + <statusCode code="active"/> + + </organizer> + + + + + Skip Pass Test + + + + + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.4') + + + <organizer xmlns="urn:hl7-org:v3"/> + + + SHALL contain exactly one [1..1] templateId ( CONF-DS4P-4 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.4" + + + <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.3251.1.4"/> + + <statusCode code="active"/> + + </organizer> + + + + + Skip Pass Test + + + + + self.organizer->one(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(contentprofile::PrivacyAnnotation)) + + + <entry xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Markings Entry SHALL contain [1..1] organizer such that it (CONF:14893) Conforms to Privacy Annotation (templateId: 2.16.840.1.113883.3.3251.1.4) + + + <entry xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.9"/> + + <organizer classCode="CLUSTER" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.3251.1.4"/> + + <statusCode code="active"/> + + </organizer> + + </entry> + + + + + Skip Pass Test + + + + + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.9') + + + <entry xmlns="urn:hl7-org:v3"/> + + + SHALL contain exactly one [1..1] templateId ( CONF-DS4P-9 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.9" + + + <entry xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.9"/> + + </entry> + + + + + Skip Pass Test + + + + + (self.code.oclIsUndefined() or self.code.isNullFlavorUndefined()) implies (not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CE) and let value : datatypes::CE = self.code.oclAsType(datatypes::CE) in value.code = '57017-6' and value.codeSystem = '2.16.840.1.113883.6.1') + + + <section xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Markings Section SHALL contain exactly one [1..1] code (CONF:16835)/@code="57017-6" Privacy Policy (CodeSystem: 2.16.840.1.113883.6.1 LOINC) (CONF:16836) + + + <section xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.5"/> + + <code code="57017-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Privacy Policy"/> + + </section> + + + + + Skip Pass Test + + + + + (self.code.oclIsUndefined() or self.code.isNullFlavorUndefined()) implies (not self.code.oclIsUndefined()) + + + <section xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Markings Section SHALL contain exactly one [1..1] code (CONF:16835)/@code="57017-6" Privacy Policy (CodeSystem: 2.16.840.1.113883.6.1 LOINC) (CONF:16836) + + + <section xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.5"/> + + <code code="57017-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Privacy Policy"/> + + </section> + + + + + Skip Pass Test + + + + + self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.oclIsUndefined() and entry.oclIsKindOf(contentprofile::PrivacyMarkingsEntry) and entry.typeCode = vocab::x_ActRelationshipEntry::COMP) + + + <section xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Markings Section If section/@nullFlavor is not present, MAY contain [0..*] entry such that it (CONF:16802) Conforms to Privacy Markings Entry (templateId: 2.16.840.1.113883.3.3251.1.9) + + + <section xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.5"/> + + <code code="57017-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Privacy Policy"/> + + <entry> + + <templateId root="2.16.840.1.113883.3.3251.1.9"/> + + <observation moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.445.22"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <code code="SECCONOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Control"/> + + </observation> + + </entry> + + </section> + + + + + Skip Pass Test + + + + + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.5') + + + <section xmlns="urn:hl7-org:v3"/> + + + SHALL contain exactly one [1..1] templateId ( CONF-DS4P-5 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.5" + + + <section xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.5"/> + + <code code="57017-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Privacy Policy"/> + + </section> + + + + + Skip Pass Test + + + + + not self.text.oclIsUndefined() + + + <section xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Markings Section SHALL contain exactly one [1..1] text (CONF:9059) + + + <section xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.5"/> + + <code code="57017-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Privacy Policy"/> + + <text/> + + </section> + + + + + Skip Pass Test + + + + + self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryDocumentProvenance)) + + + <?xml version="1.0" encoding="UTF-8"?> + + <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_SDTC.xsd"/> + + + CONTENTPROFILE Privacy Segmented Document SHALL contain [1..*] author such that it (CONF:5444) Conforms to Mandatory Document Provenance (templateId: 2.16.840.1.113883.3.3251.1.2) + + + <?xml version="1.0" encoding="UTF-8"?> + + <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_SDTC.xsd"> + + <realmCode code="US"/> + + <templateId root="2.16.840.1.113883.3.3251.1.1"/> + + <templateId root="2.16.840.1.113883.10.20.22.1.1"/> + + <confidentialityCode codeSystem="2.16.840.1.113883.5.25" codeSystemName="ConfidentialityCode"/> + + <author> + + <templateId root="2.16.840.1.113883.3.3251.1.2"/> + + </author> + + </ClinicalDocument> + + + + + Skip Pass Test + + + + + self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacyMarkingsSection))->size() >= 1 + + + <?xml version="1.0" encoding="UTF-8"?> + + <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_SDTC.xsd"/> + + + CONTENTPROFILE Privacy Segmented Document SHOULD contain [1..*] component such that it (CONF:16789) Conforms to Privacy Markings Section (templateId: 2.16.840.1.113883.3.3251.1.5) + + + <?xml version="1.0" encoding="UTF-8"?> + + <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_SDTC.xsd"> + + <realmCode code="US"/> + + <templateId root="2.16.840.1.113883.3.3251.1.1"/> + + <templateId root="2.16.840.1.113883.10.20.22.1.1"/> + + <confidentialityCode codeSystem="2.16.840.1.113883.5.25" codeSystemName="ConfidentialityCode"/> + + <component> + + <structuredBody> + + <component> + + <section> + + <templateId root="2.16.840.1.113883.3.3251.1.5"/> + + <code code="57017-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Privacy Policy"/> + + </section> + + </component> + + </structuredBody> + + </component> + + </ClinicalDocument> + + + + + Skip Pass Test + + + + + self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacySegmentedSection))->size() >= 1 + + + <?xml version="1.0" encoding="UTF-8"?> + + <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_SDTC.xsd"/> + + + CONTENTPROFILE Privacy Segmented Document MAY contain [0..*] component such that it (CONF:16790) Conforms to Privacy Segmented Section (templateId: 2.16.840.1.113883.3.3251.1.10) + + + <?xml version="1.0" encoding="UTF-8"?> + + <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_SDTC.xsd"> + + <realmCode code="US"/> + + <templateId root="2.16.840.1.113883.3.3251.1.1"/> + + <templateId root="2.16.840.1.113883.10.20.22.1.1"/> + + <confidentialityCode codeSystem="2.16.840.1.113883.5.25" codeSystemName="ConfidentialityCode"/> + + <component> + + <structuredBody> + + <component> + + <section> + + <templateId root="2.16.840.1.113883.3.3251.1.10"/> + + <confidentialityCode codeSystem="2.16.840.1.113883.5.25" codeSystemName="ConfidentialityCode"/> + + </section> + + </component> + + </structuredBody> + + </component> + + </ClinicalDocument> + + + + + Skip Pass Test + + + + + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.1') + + + <?xml version="1.0" encoding="UTF-8"?> + + <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_SDTC.xsd"/> + + + SHALL contain exactly one [1..1] templateId ( CONF-DS4P-1 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.1" + + + <?xml version="1.0" encoding="UTF-8"?> + + <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_SDTC.xsd"> + + <realmCode code="US"/> + + <templateId root="2.16.840.1.113883.3.3251.1.1"/> + + <templateId root="2.16.840.1.113883.10.20.22.1.1"/> + + <confidentialityCode codeSystem="2.16.840.1.113883.5.25" codeSystemName="ConfidentialityCode"/> + + </ClinicalDocument> + + + + + Skip Pass Test + + + + + self.nullFlavor <> vocab::NullFlavor::NI implies author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryEntryProvenance)) + + + <section xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Segmented Section SHOULD contain [0..*] author such that it (CONF:5460) Conforms to Mandatory Entry Provenance (templateId: 2.16.840.1.113883.3.3251.1.6) + + + <section xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.10"/> + + <confidentialityCode codeSystem="2.16.840.1.113883.5.25" codeSystemName="ConfidentialityCode"/> + + <author> + + <templateId root="2.16.840.1.113883.3.3251.1.6"/> + + </author> + + </section> + + + + + Skip Pass Test + + + + + not self.confidentialityCode.oclIsUndefined() and self.confidentialityCode.oclIsKindOf(datatypes::CE) and let value : datatypes::CE = self.confidentialityCode.oclAsType(datatypes::CE) in value.codeSystem = '2.16.840.1.113883.5.25' and (value.code = 'N' or value.code = 'R' or value.code = 'V') + + + <section xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Segmented Section SHOULD contain exactly one [1..1] confidentialityCode (CONF:16834), where the @code SHALL be selected from ValueSet HL7 BasicConfidentialityKind 2.16.840.1.113883.1.11.16926 STATIC (CONF:16833) + + + <section xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.10"/> + + <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/> + + </section> + + + + + Skip Pass Test + + + + + not self.confidentialityCode.oclIsUndefined() + + + <section xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Privacy Segmented Section SHOULD contain exactly one [1..1] confidentialityCode (CONF:16834), where the @code SHALL be selected from ValueSet HL7 BasicConfidentialityKind 2.16.840.1.113883.1.11.16926 STATIC (CONF:16833) + + + <section xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.10"/> + + <confidentialityCode codeSystem="2.16.840.1.113883.5.25" codeSystemName="ConfidentialityCode"/> + + </section> + + + + + Skip Pass Test + + + + + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.10') + + + <section xmlns="urn:hl7-org:v3"/> + + + SHALL contain exactly one [1..1] templateId ( CONF-DS4P-10 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.10" + + + <section xmlns="urn:hl7-org:v3"> + + <templateId root="2.16.840.1.113883.3.3251.1.10"/> + + <confidentialityCode codeSystem="2.16.840.1.113883.5.25" codeSystemName="ConfidentialityCode"/> + + </section> + + + + + Skip Pass Test + + + + + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.8') + + + <observation xmlns="urn:hl7-org:v3"/> + + + SHALL contain exactly one [1..1] templateId ( CONF-DS4P-8 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.8" + + + <observation xmlns="urn:hl7-org:v3" classCode="OBS" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.3251.1.8"/> + + <templateId root="2.16.840.1.113883.10.20.22.4.4"/> + + <code codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMEDCT"/> + + <statusCode code="completed"/> + + </observation> + + + + + Skip Pass Test + + + + + self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(contentprofile::PrivacyAnnotationEntryRelationship)) + + + <observation xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Protected Problem SHALL contain [1..1] entryRelationship such that it (CONF:16798) Conforms to Privacy Annotation Entry Relationship (templateId: 2.16.840.1.113883.3.3251.1.11) + + + <observation xmlns="urn:hl7-org:v3" classCode="OBS" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.3251.1.8"/> + + <templateId root="2.16.840.1.113883.10.20.22.4.4"/> + + <code codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMEDCT"/> + + <statusCode code="completed"/> + + <entryRelationship> + + <templateId root="2.16.840.1.113883.3.3251.1.11"/> + + </entryRelationship> + + </observation> + + + + + Skip Pass Test + + + + + self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryEntryProvenance)) + + + <observation xmlns="urn:hl7-org:v3"/> + + + CONTENTPROFILE Protected Problem SHALL contain [1..1] author such that it (CONF:16797) Conforms to Mandatory Entry Provenance (templateId: 2.16.840.1.113883.3.3251.1.6) + + + <observation xmlns="urn:hl7-org:v3" classCode="OBS" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.3251.1.8"/> + + <templateId root="2.16.840.1.113883.10.20.22.4.4"/> + + <code codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMEDCT"/> + + <statusCode code="completed"/> + + <author> + + <templateId root="2.16.840.1.113883.3.3251.1.6"/> + + </author> + + </observation> + + + + + Skip Pass Test + + + + + not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in value.codeSystem = '2.16.840.1.113883.1.11.20457' + + + Skip Fail Test + + + + + <observation xmlns="urn:hl7-org:v3" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.445.12"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <templateId root="2.16.840.1.113883.3.445.12"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <code code="SECCONOBS" codeSystem="2.16.840.1.113883.1.11.20457"/> + + </observation> + + + + + Skip Pass Test + + + + + not self.code.oclIsUndefined() + + + Skip Fail Test + + + + + <observation xmlns="urn:hl7-org:v3" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.445.12"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <templateId root="2.16.840.1.113883.3.445.12"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <code/> + + </observation> + + + + + Skip Pass Test + + + + + self.moodCode=vocab::x_ActMoodDocumentObservation::EVN + + + Skip Fail Test + + + + + <observation xmlns="urn:hl7-org:v3" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.445.12"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <templateId root="2.16.840.1.113883.3.445.12"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <code code="SECCLASSOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Category"/> + + </observation> + + + + + Skip Pass Test + + + + + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.445.21') + + + Skip Fail Test + + + + + <observation xmlns="urn:hl7-org:v3" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.445.12"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <templateId root="2.16.840.1.113883.3.445.12"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <code code="SECCLASSOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Category"/> + + </observation> + + + + + Skip Pass Test + + + + + self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and let value : datatypes::CE = element.oclAsType(datatypes::CE) in value.codeSystem = '2.16.840.1.113883.5.1063') + + + <observation xmlns="urn:hl7-org:v3" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.445.12"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <code code="SECCLASSOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Category"/> + + </observation> + + + CONTENTPROFILE Security Observation SHALL contain exactly one [1..1] value with @xsi:type="CE" (CONF:16839), where the @code SHALL be selected from (CodeSystem: 2.16.840.1.113883.5.1063 SecurityObservationValueCodeSystem) (CONF:16840) + + + <observation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.445.12"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <templateId root="2.16.840.1.113883.3.445.12"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <code code="SECCLASSOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Category"/> + + <value xsi:type="CE" code="CPLYCD" codeSystem="2.16.840.1.113883.5.1063"/> + + </observation> + + + + + Skip Pass Test + + + + + self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CE)) + + + <observation xmlns="urn:hl7-org:v3" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.445.12"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <code code="SECCLASSOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Category"/> + + </observation> + + + CONTENTPROFILE Security Observation SHALL contain exactly one [1..1] value with @xsi:type="CE" (CONF:16839), where the @code SHALL be selected from (CodeSystem: 2.16.840.1.113883.5.1063 SecurityObservationValueCodeSystem) (CONF:16840) + + + <observation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" moodCode="EVN"> + + <templateId root="2.16.840.1.113883.3.445.12"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <templateId root="2.16.840.1.113883.3.445.12"/> + + <templateId root="2.16.840.1.113883.3.445.21"/> + + <code code="SECCLASSOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Category"/> + + <value xsi:type="CE"/> + + </observation> + + + + + Skip Pass Test + + + diff --git a/tests/org.hl7.security.ds4p.contentprofile.tests/temp/t.xml b/tests/org.hl7.security.ds4p.contentprofile.tests/temp/t.xml new file mode 100644 index 0000000000..2635ed07ca --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/temp/t.xml @@ -0,0 +1,1468 @@ + + + + self.assignedAuthoringDevice->one(assignedAuthoringDevice : cda::AuthoringDevice | not assignedAuthoringDevice.oclIsUndefined() and assignedAuthoringDevice.oclIsKindOf(cda::AuthoringDevice)) + +
+ <assignedauthor xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Mandatory Document Assigned Author SHOULD contain zero or one [0..1] assignedAuthoringDevice, where its type is Consol Authoring Device (CONF:5449) + +
+ <assignedauthor xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.3"/> +
+ <assignedAuthoringDevice/> +
+ </assignedauthor> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.assignedPerson->one(assignedPerson : cda::Person | not assignedPerson.oclIsUndefined() and assignedPerson.oclIsKindOf(cda::Person)) + +
+ <assignedauthor xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Mandatory Document Assigned Author SHOULD contain zero or one [0..1] assignedPerson, where its type is Consol Person (CONF:5450) + +
+ <assignedauthor xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.3"/> +
+ <assignedPerson/> +
+ </assignedauthor> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.representedOrganization->one(representedOrganization : cda::Organization | not representedOrganization.oclIsUndefined() and representedOrganization.oclIsKindOf(rim::Entity)) + +
+ <assignedauthor xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Mandatory Document Assigned Author SHOULD contain [0..1] representedOrganization such that it (CONF:5451) Conforms to Organization from CDA + +
+ <assignedauthor xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.3"/> +
+ <representedOrganization/> +
+ </assignedauthor> +
+
+ +
+ Skip Pass Test +
+
+
+ + (self.telecom->isEmpty() or self.telecom->exists(element | element.isNullFlavorUndefined())) implies (( not self.telecom->isEmpty()) ) + +
+ <assignedauthor xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Mandatory Document Assigned Author SHALL contain at least one [1..*] telecom (CONF:5428) such that it One of telecommunication methods for providers could be the email address. + +
+ <assignedauthor xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.3"/> +
+ <telecom/> +
+ </assignedauthor> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.3') + +
+ <assignedauthor xmlns="urn:hl7-org:v3"/> +
+
+ SHALL contain exactly one [1..1] templateId ( CONF-DS4P-3 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.3" + +
+ <assignedauthor xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.3"/> +
+ </assignedauthor> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(contentprofile::MandatoryDocumentAssignedAuthor)) + +
+ <author xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Mandatory Document Provenance SHALL contain [1..1] assignedAuthor such that it (CONF:16792) Conforms to Mandatory Document Assigned Author (templateId: 2.16.840.1.113883.3.3251.1.3) + +
+ <author xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.2"/> +
+ <assignedAuthor> +
+ <templateId root="2.16.840.1.113883.3.3251.1.3"/> +
+ </assignedAuthor> +
+ </author> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.2') + +
+ <author xmlns="urn:hl7-org:v3"/> +
+
+ SHALL contain exactly one [1..1] templateId ( CONF-DS4P-2 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.2" + +
+ <author xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.2"/> +
+ </author> +
+
+ +
+ Skip Pass Test +
+
+
+ + not self.time.oclIsUndefined() + +
+ <author xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Mandatory Document Provenance SHALL contain exactly one [1..1] time (CONF:16831) + +
+ <author xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.2"/> +
+ <time/> +
+ </author> +
+
+ +
+ Skip Pass Test +
+
+
+ + true + +
+ Skip Fail Test +
+
+ +
+ Skip Pass Test +
+
+ +
+ Skip Pass Test +
+
+
+ + true + +
+ Skip Fail Test +
+
+ +
+ Skip Pass Test +
+
+ +
+ Skip Pass Test +
+
+
+ + true + +
+ Skip Fail Test +
+
+ +
+ Skip Pass Test +
+
+ +
+ Skip Pass Test +
+
+
+ + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.7') + +
+ <assignedauthor xmlns="urn:hl7-org:v3"/> +
+
+ SHALL contain exactly one [1..1] templateId ( CONF-DS4P-7 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.7" + +
+ <assignedauthor xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.7"/> +
+ </assignedauthor> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.assignedAuthor->one(assignedAuthor : cda::AssignedAuthor | not assignedAuthor.oclIsUndefined() and assignedAuthor.oclIsKindOf(contentprofile::MandatoryEntryAssignedAuthor)) + +
+ <author xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Mandatory Entry Provenance SHALL contain [1..1] assignedAuthor such that it (CONF:9064) Conforms to Mandatory Entry Assigned Author (templateId: 2.16.840.1.113883.3.3251.1.7) + +
+ <author xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.6"/> +
+ <assignedAuthor> +
+ <templateId root="2.16.840.1.113883.3.3251.1.7"/> +
+ </assignedAuthor> +
+ </author> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.6') + +
+ <author xmlns="urn:hl7-org:v3"/> +
+
+ SHALL contain exactly one [1..1] templateId ( CONF-DS4P-6 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.6" + +
+ <author xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.6"/> +
+ </author> +
+
+ +
+ Skip Pass Test +
+
+
+ + not self.time.oclIsUndefined() + +
+ <author xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Mandatory Entry Provenance SHALL contain exactly one [1..1] time (CONF:16832) + +
+ <author xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.6"/> +
+ <time/> +
+ </author> +
+
+ +
+ Skip Pass Test +
+
+
+ + isDefined('classCode') + +
+ <organizer xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Annotation SHALL contain exactly one [1..1] @classCode="CLUSTER" (CodeSystem: 2.16.840.1.113883.5.6 HL7ActClass) (CONF:16829) + +
+ <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.4"/> +
+ <statusCode code="active"/> +
+ </organizer> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.component->one(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::ConfidentialitySecurityObservation)) + +
+ <organizer xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Annotation SHALL contain [1..1] component such that it (CONF:16796) Conforms to Confidentiality Security Observation (templateId: 2.16.840.1.113883.3.445.12) + +
+ <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.4"/> +
+ <statusCode code="active"/> +
+ <component> +
+ <observation moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.445.12"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <code code="SECCLASSOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Category"/> +
+ </observation> +
+ </component> +
+ </organizer> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.organizer->one(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(contentprofile::PrivacyAnnotation)) + +
+ <entryrelationship xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Annotation Entry Relationship SHALL contain [1..1] organizer such that it (CONF:14892) Conforms to Privacy Annotation (templateId: 2.16.840.1.113883.3.3251.1.4) + +
+ <entryrelationship xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.11"/> +
+ <organizer/> +
+ </entryrelationship> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.11') + +
+ <entryrelationship xmlns="urn:hl7-org:v3"/> +
+
+ SHALL contain exactly one [1..1] templateId ( CONF-DS4P-15 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.11" + +
+ <entryrelationship xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.11"/> +
+ </entryrelationship> +
+
+ +
+ Skip Pass Test +
+
+
+ + isDefined('moodCode') + +
+ <organizer xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Annotation SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: 2.16.840.1.113883.5.1001 HL7ActMood) (CONF:16830) + +
+ <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.4"/> +
+ <statusCode code="active"/> +
+ </organizer> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::ObligationPolicySecurityObservation)) + +
+ <organizer xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Annotation MAY contain [0..*] component such that it (CONF:9053) Conforms to Obligation Policy Security Observation (templateId: 2.16.840.1.113883.3.445.14) + +
+ <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.4"/> +
+ <statusCode code="active"/> +
+ <component> +
+ <observation moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.445.14"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <code code="SECCONOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Control"/> +
+ </observation> +
+ </component> +
+ </organizer> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::PurposeOfUseSecurityObservation)) + +
+ <organizer xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Annotation MAY contain [0..*] component such that it (CONF:14890) Conforms to Purpose Of Use Security Observation (templateId: 2.16.840.1.113883.3.445.22) + +
+ <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.4"/> +
+ <statusCode code="active"/> +
+ <component> +
+ <observation moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.445.22"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <code code="SECCONOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Control"/> +
+ </observation> +
+ </component> +
+ </organizer> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(contentprofile::RefrainPolicySecurityObservation)) + +
+ <organizer xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Annotation MAY contain [0..*] component such that it (CONF:14889) Conforms to Refrain Policy Security Observation (templateId: 2.16.840.1.113883.3.445.23) + +
+ <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.4"/> +
+ <statusCode code="active"/> +
+ <component> +
+ <observation moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.445.23"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <code code="SECCONOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Control Observation Type"/> +
+ </observation> +
+ </component> +
+ </organizer> +
+
+ +
+ Skip Pass Test +
+
+
+ + not self.statusCode.oclIsUndefined() and self.statusCode.oclIsKindOf(datatypes::CS) and let value : datatypes::CS = self.statusCode.oclAsType(datatypes::CS) in value.code = 'active' + +
+ <organizer xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Annotation SHALL contain exactly one [1..1] statusCode (CONF:9054)/@code="active" Active (CodeSystem: 2.16.840.1.113883.5.14 ActStatus) (CONF:16831) + +
+ <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.4"/> +
+ <statusCode code="active"/> +
+ </organizer> +
+
+ +
+ Skip Pass Test +
+
+
+ + not self.statusCode.oclIsUndefined() + +
+ <organizer xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Annotation SHALL contain exactly one [1..1] statusCode (CONF:9054)/@code="active" Active (CodeSystem: 2.16.840.1.113883.5.14 ActStatus) (CONF:16831) + +
+ <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.4"/> +
+ <statusCode code="active"/> +
+ </organizer> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.4') + +
+ <organizer xmlns="urn:hl7-org:v3"/> +
+
+ SHALL contain exactly one [1..1] templateId ( CONF-DS4P-4 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.4" + +
+ <organizer xmlns="urn:hl7-org:v3" classCode="CLUSTER" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.4"/> +
+ <statusCode code="active"/> +
+ </organizer> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.organizer->one(organizer : cda::Organizer | not organizer.oclIsUndefined() and organizer.oclIsKindOf(contentprofile::PrivacyAnnotation)) + +
+ <entry xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Markings Entry SHALL contain [1..1] organizer such that it (CONF:14893) Conforms to Privacy Annotation (templateId: 2.16.840.1.113883.3.3251.1.4) + +
+ <entry xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.9"/> +
+ <organizer classCode="CLUSTER" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.4"/> +
+ <statusCode code="active"/> +
+ </organizer> +
+ </entry> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.9') + +
+ <entry xmlns="urn:hl7-org:v3"/> +
+
+ SHALL contain exactly one [1..1] templateId ( CONF-DS4P-9 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.9" + +
+ <entry xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.9"/> +
+ </entry> +
+
+ +
+ Skip Pass Test +
+
+
+ + (self.code.oclIsUndefined() or self.code.isNullFlavorUndefined()) implies (not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CE) and let value : datatypes::CE = self.code.oclAsType(datatypes::CE) in value.code = '57017-6' and value.codeSystem = '2.16.840.1.113883.6.1') + +
+ <section xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Markings Section SHALL contain exactly one [1..1] code (CONF:16835)/@code="57017-6" Privacy Policy (CodeSystem: 2.16.840.1.113883.6.1 LOINC) (CONF:16836) + +
+ <section xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.5"/> +
+ <code code="57017-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Privacy Policy"/> +
+ </section> +
+
+ +
+ Skip Pass Test +
+
+
+ + (self.code.oclIsUndefined() or self.code.isNullFlavorUndefined()) implies (not self.code.oclIsUndefined()) + +
+ <section xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Markings Section SHALL contain exactly one [1..1] code (CONF:16835)/@code="57017-6" Privacy Policy (CodeSystem: 2.16.840.1.113883.6.1 LOINC) (CONF:16836) + +
+ <section xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.5"/> +
+ <code code="57017-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Privacy Policy"/> +
+ </section> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.nullFlavor <> vocab::NullFlavor::NI implies entry->exists(entry : cda::Entry | not entry.oclIsUndefined() and entry.oclIsKindOf(contentprofile::PrivacyMarkingsEntry) and entry.typeCode = vocab::x_ActRelationshipEntry::COMP) + +
+ <section xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Markings Section If section/@nullFlavor is not present, MAY contain [0..*] entry such that it (CONF:16802) Conforms to Privacy Markings Entry (templateId: 2.16.840.1.113883.3.3251.1.9) + +
+ <section xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.5"/> +
+ <code code="57017-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Privacy Policy"/> +
+ <entry> +
+ <templateId root="2.16.840.1.113883.3.3251.1.9"/> +
+ <observation moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.445.22"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <code code="SECCONOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Control"/> +
+ </observation> +
+ </entry> +
+ </section> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.5') + +
+ <section xmlns="urn:hl7-org:v3"/> +
+
+ SHALL contain exactly one [1..1] templateId ( CONF-DS4P-5 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.5" + +
+ <section xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.5"/> +
+ <code code="57017-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Privacy Policy"/> +
+ </section> +
+
+ +
+ Skip Pass Test +
+
+
+ + not self.text.oclIsUndefined() + +
+ <section xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Markings Section SHALL contain exactly one [1..1] text (CONF:9059) + +
+ <section xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.5"/> +
+ <code code="57017-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Privacy Policy"/> +
+ <text/> +
+ </section> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryDocumentProvenance)) + +
+ <?xml version="1.0" encoding="UTF-8"?> +
+ <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_SDTC.xsd"/> +
+
+ CONTENTPROFILE Privacy Segmented Document SHALL contain [1..*] author such that it (CONF:5444) Conforms to Mandatory Document Provenance (templateId: 2.16.840.1.113883.3.3251.1.2) + +
+ <?xml version="1.0" encoding="UTF-8"?> +
+ <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_SDTC.xsd"> +
+ <realmCode code="US"/> +
+ <templateId root="2.16.840.1.113883.3.3251.1.1"/> +
+ <templateId root="2.16.840.1.113883.10.20.22.1.1"/> +
+ <confidentialityCode codeSystem="2.16.840.1.113883.5.25" codeSystemName="ConfidentialityCode"/> +
+ <author> +
+ <templateId root="2.16.840.1.113883.3.3251.1.2"/> +
+ </author> +
+ </ClinicalDocument> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacyMarkingsSection))->size() >= 1 + +
+ <?xml version="1.0" encoding="UTF-8"?> +
+ <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_SDTC.xsd"/> +
+
+ CONTENTPROFILE Privacy Segmented Document SHOULD contain [1..*] component such that it (CONF:16789) Conforms to Privacy Markings Section (templateId: 2.16.840.1.113883.3.3251.1.5) + +
+ <?xml version="1.0" encoding="UTF-8"?> +
+ <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_SDTC.xsd"> +
+ <realmCode code="US"/> +
+ <templateId root="2.16.840.1.113883.3.3251.1.1"/> +
+ <templateId root="2.16.840.1.113883.10.20.22.1.1"/> +
+ <confidentialityCode codeSystem="2.16.840.1.113883.5.25" codeSystemName="ConfidentialityCode"/> +
+ <component> +
+ <structuredBody> +
+ <component> +
+ <section> +
+ <templateId root="2.16.840.1.113883.3.3251.1.5"/> +
+ <code code="57017-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Privacy Policy"/> +
+ </section> +
+ </component> +
+ </structuredBody> +
+ </component> +
+ </ClinicalDocument> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.getAllSections()->select(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(contentprofile::PrivacySegmentedSection))->size() >= 1 + +
+ <?xml version="1.0" encoding="UTF-8"?> +
+ <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_SDTC.xsd"/> +
+
+ CONTENTPROFILE Privacy Segmented Document MAY contain [0..*] component such that it (CONF:16790) Conforms to Privacy Segmented Section (templateId: 2.16.840.1.113883.3.3251.1.10) + +
+ <?xml version="1.0" encoding="UTF-8"?> +
+ <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_SDTC.xsd"> +
+ <realmCode code="US"/> +
+ <templateId root="2.16.840.1.113883.3.3251.1.1"/> +
+ <templateId root="2.16.840.1.113883.10.20.22.1.1"/> +
+ <confidentialityCode codeSystem="2.16.840.1.113883.5.25" codeSystemName="ConfidentialityCode"/> +
+ <component> +
+ <structuredBody> +
+ <component> +
+ <section> +
+ <templateId root="2.16.840.1.113883.3.3251.1.10"/> +
+ <confidentialityCode codeSystem="2.16.840.1.113883.5.25" codeSystemName="ConfidentialityCode"/> +
+ </section> +
+ </component> +
+ </structuredBody> +
+ </component> +
+ </ClinicalDocument> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.1') + +
+ <?xml version="1.0" encoding="UTF-8"?> +
+ <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_SDTC.xsd"/> +
+
+ SHALL contain exactly one [1..1] templateId ( CONF-DS4P-1 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.1" + +
+ <?xml version="1.0" encoding="UTF-8"?> +
+ <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_SDTC.xsd"> +
+ <realmCode code="US"/> +
+ <templateId root="2.16.840.1.113883.3.3251.1.1"/> +
+ <templateId root="2.16.840.1.113883.10.20.22.1.1"/> +
+ <confidentialityCode codeSystem="2.16.840.1.113883.5.25" codeSystemName="ConfidentialityCode"/> +
+ </ClinicalDocument> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.nullFlavor <> vocab::NullFlavor::NI implies author->exists(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryEntryProvenance)) + +
+ <section xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Segmented Section SHOULD contain [0..*] author such that it (CONF:5460) Conforms to Mandatory Entry Provenance (templateId: 2.16.840.1.113883.3.3251.1.6) + +
+ <section xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.10"/> +
+ <confidentialityCode codeSystem="2.16.840.1.113883.5.25" codeSystemName="ConfidentialityCode"/> +
+ <author> +
+ <templateId root="2.16.840.1.113883.3.3251.1.6"/> +
+ </author> +
+ </section> +
+
+ +
+ Skip Pass Test +
+
+
+ + not self.confidentialityCode.oclIsUndefined() and self.confidentialityCode.oclIsKindOf(datatypes::CE) and let value : datatypes::CE = self.confidentialityCode.oclAsType(datatypes::CE) in value.codeSystem = '2.16.840.1.113883.5.25' and (value.code = 'N' or value.code = 'R' or value.code = 'V') + +
+ <section xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Segmented Section SHOULD contain exactly one [1..1] confidentialityCode (CONF:16834), where the @code SHALL be selected from ValueSet HL7 BasicConfidentialityKind 2.16.840.1.113883.1.11.16926 STATIC (CONF:16833) + +
+ <section xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.10"/> +
+ <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/> +
+ </section> +
+
+ +
+ Skip Pass Test +
+
+
+ + not self.confidentialityCode.oclIsUndefined() + +
+ <section xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Privacy Segmented Section SHOULD contain exactly one [1..1] confidentialityCode (CONF:16834), where the @code SHALL be selected from ValueSet HL7 BasicConfidentialityKind 2.16.840.1.113883.1.11.16926 STATIC (CONF:16833) + +
+ <section xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.10"/> +
+ <confidentialityCode codeSystem="2.16.840.1.113883.5.25" codeSystemName="ConfidentialityCode"/> +
+ </section> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.10') + +
+ <section xmlns="urn:hl7-org:v3"/> +
+
+ SHALL contain exactly one [1..1] templateId ( CONF-DS4P-10 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.10" + +
+ <section xmlns="urn:hl7-org:v3"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.10"/> +
+ <confidentialityCode codeSystem="2.16.840.1.113883.5.25" codeSystemName="ConfidentialityCode"/> +
+ </section> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.3251.1.8') + +
+ <observation xmlns="urn:hl7-org:v3"/> +
+
+ SHALL contain exactly one [1..1] templateId ( CONF-DS4P-8 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3251.1.8" + +
+ <observation xmlns="urn:hl7-org:v3" classCode="OBS" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.8"/> +
+ <templateId root="2.16.840.1.113883.10.20.22.4.4"/> +
+ <code codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMEDCT"/> +
+ <statusCode code="completed"/> +
+ </observation> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.entryRelationship->one(entryRelationship : cda::EntryRelationship | not entryRelationship.oclIsUndefined() and entryRelationship.oclIsKindOf(contentprofile::PrivacyAnnotationEntryRelationship)) + +
+ <observation xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Protected Problem SHALL contain [1..1] entryRelationship such that it (CONF:16798) Conforms to Privacy Annotation Entry Relationship (templateId: 2.16.840.1.113883.3.3251.1.11) + +
+ <observation xmlns="urn:hl7-org:v3" classCode="OBS" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.8"/> +
+ <templateId root="2.16.840.1.113883.10.20.22.4.4"/> +
+ <code codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMEDCT"/> +
+ <statusCode code="completed"/> +
+ <entryRelationship> +
+ <templateId root="2.16.840.1.113883.3.3251.1.11"/> +
+ </entryRelationship> +
+ </observation> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.author->one(author : cda::Author | not author.oclIsUndefined() and author.oclIsKindOf(contentprofile::MandatoryEntryProvenance)) + +
+ <observation xmlns="urn:hl7-org:v3"/> +
+
+ CONTENTPROFILE Protected Problem SHALL contain [1..1] author such that it (CONF:16797) Conforms to Mandatory Entry Provenance (templateId: 2.16.840.1.113883.3.3251.1.6) + +
+ <observation xmlns="urn:hl7-org:v3" classCode="OBS" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.3251.1.8"/> +
+ <templateId root="2.16.840.1.113883.10.20.22.4.4"/> +
+ <code codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMEDCT"/> +
+ <statusCode code="completed"/> +
+ <author> +
+ <templateId root="2.16.840.1.113883.3.3251.1.6"/> +
+ </author> +
+ </observation> +
+
+ +
+ Skip Pass Test +
+
+
+ + not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CD) and let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in value.codeSystem = '2.16.840.1.113883.1.11.20457' + +
+ Skip Fail Test +
+
+ +
+ <observation xmlns="urn:hl7-org:v3" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.445.12"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <templateId root="2.16.840.1.113883.3.445.12"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <code code="SECCONOBS" codeSystem="2.16.840.1.113883.1.11.20457"/> +
+ </observation> +
+
+ +
+ Skip Pass Test +
+
+
+ + not self.code.oclIsUndefined() + +
+ Skip Fail Test +
+
+ +
+ <observation xmlns="urn:hl7-org:v3" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.445.12"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <templateId root="2.16.840.1.113883.3.445.12"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <code/> +
+ </observation> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.moodCode=vocab::x_ActMoodDocumentObservation::EVN + +
+ Skip Fail Test +
+
+ +
+ <observation xmlns="urn:hl7-org:v3" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.445.12"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <templateId root="2.16.840.1.113883.3.445.12"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <code code="SECCLASSOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Category"/> +
+ </observation> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.3.445.21') + +
+ Skip Fail Test +
+
+ +
+ <observation xmlns="urn:hl7-org:v3" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.445.12"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <templateId root="2.16.840.1.113883.3.445.12"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <code code="SECCLASSOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Category"/> +
+ </observation> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.value->size() = 1 and self.value->forAll(element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and let value : datatypes::CE = element.oclAsType(datatypes::CE) in value.codeSystem = '2.16.840.1.113883.5.1063') + +
+ <observation xmlns="urn:hl7-org:v3" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.445.12"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <code code="SECCLASSOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Category"/> +
+ </observation> +
+
+ CONTENTPROFILE Security Observation SHALL contain exactly one [1..1] value with @xsi:type="CE" (CONF:16839), where the @code SHALL be selected from (CodeSystem: 2.16.840.1.113883.5.1063 SecurityObservationValueCodeSystem) (CONF:16840) + +
+ <observation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.445.12"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <templateId root="2.16.840.1.113883.3.445.12"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <code code="SECCLASSOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Category"/> +
+ <value xsi:type="CE" code="CPLYCD" codeSystem="2.16.840.1.113883.5.1063"/> +
+ </observation> +
+
+ +
+ Skip Pass Test +
+
+
+ + self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CE)) + +
+ <observation xmlns="urn:hl7-org:v3" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.445.12"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <code code="SECCLASSOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Category"/> +
+ </observation> +
+
+ CONTENTPROFILE Security Observation SHALL contain exactly one [1..1] value with @xsi:type="CE" (CONF:16839), where the @code SHALL be selected from (CodeSystem: 2.16.840.1.113883.5.1063 SecurityObservationValueCodeSystem) (CONF:16840) + +
+ <observation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" moodCode="EVN"> +
+ <templateId root="2.16.840.1.113883.3.445.12"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <templateId root="2.16.840.1.113883.3.445.12"/> +
+ <templateId root="2.16.840.1.113883.3.445.21"/> +
+ <code code="SECCLASSOBS" codeSystem="2.16.840.1.113883.1.11.20457" codeSystemName="SecurityObservationTypeCodeSystem" displayName="Security Category"/> +
+ <value xsi:type="CE"/> +
+ </observation> +
+
+ +
+ Skip Pass Test +
+
+
+
\ No newline at end of file diff --git a/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/.DS_Store b/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/.DS_Store new file mode 100644 index 0000000000..6fe743685d Binary files /dev/null and b/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/.DS_Store differ diff --git a/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/.settings/org.eclipse.jdt.core.prefs index b17e64399b..13f2dc574c 100644 --- a/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/.settings/org.eclipse.jdt.core.prefs +++ b/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/.settings/org.eclipse.jdt.core.prefs @@ -10,6 +10,7 @@ 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.methodParameters=do not generate org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve org.eclipse.jdt.core.compiler.compliance=1.7 diff --git a/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/META-INF/MANIFEST.MF b/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/META-INF/MANIFEST.MF index 4fb5f783c3..cddb8e230d 100644 --- a/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/META-INF/MANIFEST.MF +++ b/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/META-INF/MANIFEST.MF @@ -6,7 +6,6 @@ Bundle-Version: 3.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.consol.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.consol2;visibility:=reexport, diff --git a/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/pom.xml b/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/pom.xml index d6f4662474..521479b56c 100644 --- a/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/pom.xml +++ b/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/pom.xml @@ -54,7 +54,7 @@ org.apache.maven.plugins maven-compiler-plugin - 2.5.1 + 3.7.0 compiletests diff --git a/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/src/test/java/org/openhealthtools/mdht/uml/cda/consol/tests/RequiresParentTemplateIDTest.java b/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/src/test/java/org/openhealthtools/mdht/uml/cda/consol/tests/RequiresParentTemplateIDTest.java index e51f643685..4e856870c5 100644 --- a/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/src/test/java/org/openhealthtools/mdht/uml/cda/consol/tests/RequiresParentTemplateIDTest.java +++ b/tests/org.openhealthtools.mdht.uml.cda.consol2.tests/src/test/java/org/openhealthtools/mdht/uml/cda/consol/tests/RequiresParentTemplateIDTest.java @@ -25,6 +25,7 @@ import org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler; import org.eclipse.mdht.uml.hl7.datatypes.DatatypesFactory; import org.eclipse.mdht.uml.hl7.datatypes.II; +import org.eclipse.mdht.uml.hl7.datatypes.util.DatatypesUtil.ValidationStatistics; import org.junit.Assert; import org.junit.Before; import org.junit.Ignore; @@ -78,6 +79,24 @@ public void handleInfo(Diagnostic diagnostic) { System.out.println("Info: " + diagnostic.getMessage()); } } + + @Override + public boolean isCaptureValidationStatistics() { + // TODO Auto-generated method stub + return false; + } + + @Override + public ValidationStatistics getValidationStatistics() { + // TODO Auto-generated method stub + return null; + } + + @Override + public void setValidationStatistics(ValidationStatistics validationStatistics) { + // TODO Auto-generated method stub + + } }; } diff --git a/tests/org.openhealthtools.mdht.uml.cda.mu2consol.tests/META-INF/MANIFEST.MF b/tests/org.openhealthtools.mdht.uml.cda.mu2consol.tests/META-INF/MANIFEST.MF index e879469ab6..d96f8db1a4 100644 --- a/tests/org.openhealthtools.mdht.uml.cda.mu2consol.tests/META-INF/MANIFEST.MF +++ b/tests/org.openhealthtools.mdht.uml.cda.mu2consol.tests/META-INF/MANIFEST.MF @@ -6,7 +6,6 @@ Bundle-Version: 3.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.mu2consol.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.mu2consol;visibility:=reexport, diff --git a/tests/org.openhealthtools.mdht.uml.cda.phmr.tests/META-INF/MANIFEST.MF b/tests/org.openhealthtools.mdht.uml.cda.phmr.tests/META-INF/MANIFEST.MF index 9473d8ac32..74a5fb76e1 100644 --- a/tests/org.openhealthtools.mdht.uml.cda.phmr.tests/META-INF/MANIFEST.MF +++ b/tests/org.openhealthtools.mdht.uml.cda.phmr.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.5.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.phmr.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.phmr;visibility:=reexport, diff --git a/tests/org.openhealthtools.mdht.uml.cda.sdtm.tests/META-INF/MANIFEST.MF b/tests/org.openhealthtools.mdht.uml.cda.sdtm.tests/META-INF/MANIFEST.MF index 84ff0caffc..5cf4f360e1 100644 --- a/tests/org.openhealthtools.mdht.uml.cda.sdtm.tests/META-INF/MANIFEST.MF +++ b/tests/org.openhealthtools.mdht.uml.cda.sdtm.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.5.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.sdtm.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.sdtm;visibility:=reexport, diff --git a/tests/org.openhealthtools.mdht.uml.cda.vsbr.tests/META-INF/MANIFEST.MF b/tests/org.openhealthtools.mdht.uml.cda.vsbr.tests/META-INF/MANIFEST.MF index d03b279926..a80fdda3c3 100644 --- a/tests/org.openhealthtools.mdht.uml.cda.vsbr.tests/META-INF/MANIFEST.MF +++ b/tests/org.openhealthtools.mdht.uml.cda.vsbr.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.5.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Export-Package: org.openhealthtools.mdht.uml.cda.vsbr.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.vsbr;visibility:=reexport, diff --git a/tests/pom.xml b/tests/pom.xml index 5b7e8ca063..c9ea03ba0d 100644 --- a/tests/pom.xml +++ b/tests/pom.xml @@ -29,6 +29,7 @@ +org.hl7.security.ds4p.contentprofile.tests org.openhealthtools.mdht.uml.cda.consol2.tests org.openhealthtools.mdht.uml.cda.mu2consol.tests